This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // fan_fake_pwm.c | |
| // | |
| // Purpose | |
| // Minimal-overhead "fake PWM" for a fan sysfs attribute that effectively supports | |
| // only two discrete values: 0 (OFF) and 255 (ON). | |
| // | |
| // Behaviour | |
| // 1) One-time screen check via Android system properties: | |
| // - If sys.screen.state == "off" OR debug.tracing.screen_brightness == "0.0", | |
| // the fan is forced OFF and the process exits. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version='1.0' encoding='utf-8'?> | |
| <root> | |
| <general name="MTK_PLATFORM_CFG"> | |
| <config_version name="V2.2.0"> | |
| <platform>MT6897</platform> | |
| <project>duchamp</project> | |
| </config_version> | |
| </general> | |
| <storage_type name="UFS"> | |
| <general name="MTK_STORAGE_CFG"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /dts-v1/; | |
| / { | |
| #address-cells = <0x02>; | |
| model = "Qualcomm Technologies, Inc. Panda PVT IDP"; | |
| qcom,board-id = <0x22 0x02>; | |
| #size-cells = <0x02>; | |
| interrupt-parent = <0x01>; | |
| compatible = "qcom,bengal-idp", "qcom,bengal", "qcom,idp"; | |
| qcom,msm-id = <0x1a1 0x10000 0x1bc 0x10000>; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /dts-v1/; | |
| / { | |
| #address-cells = <0x02>; | |
| model = "Anbernic RG DS (rk3568)"; | |
| serial-number = "72ece2687e9c7853"; | |
| #size-cells = <0x02>; | |
| interrupt-parent = <0x01>; | |
| compatible = "rockchip,rk3566-rk817-tablet", "rockchip,rk3566"; |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /dts-v1/; | |
| / { | |
| #address-cells = <0x02>; | |
| model = "Qualcomm Technologies, Inc. KalamaP HDK"; | |
| qcom,board-id = <0x1001f 0x00>; | |
| #size-cells = <0x02>; | |
| interrupt-parent = <0x01>; | |
| compatible = "qcom,kalamap-hdk", "qcom,kalamap", "qcom,hdk"; | |
| qcom,msm-id = <0x25b 0x20000>; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * RetroidPad.c | |
| * | |
| * − Uses select() + ioctl(FIONREAD) to batch‐read all available bytes in one | |
| * go (instead of VMIN) so that we only wake up once per MCU‐burst. | |
| * − Adds an “idle skip” mechanism: if the button state remains unchanged for | |
| * several consecutive packets, we skip the detailed per-packet parsing until | |
| * a new packet arrives or a threshold is reached. | |
| * − Performs a simple 50‐frame auto‐center calibration of both analog sticks | |
| * at startup. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * RetroidPad.c | |
| * | |
| * − Uses select() + ioctl(FIONREAD) to batch‐read all available bytes in one | |
| * go (instead of VMIN) so that we only wake up once per MCU‐burst. | |
| * − Adds an “idle skip” mechanism: if the button state remains unchanged for | |
| * several consecutive packets, we skip the detailed per-packet parsing until | |
| * a new packet arrives or a threshold is reached. | |
| * | |
| * Compile (on AArch64): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /dts-v1/; | |
| / { | |
| model = "Qualcomm Technologies, Inc. Ravelin IDP Overlay"; | |
| #size-cells = <0x02>; | |
| qcom,msm-id = <0x28d 0x10000 0x28e 0x10000>; | |
| #address-cells = <0x02>; | |
| interrupt-parent = <0x01>; | |
| compatible = "qcom,ravelin-idp\0qcom,ravelin\0qcom,idp"; | |
| qcom,board-id = <0x22 0x00>; |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /dts-v1/; | |
| / { | |
| model = "Qualcomm Technologies, Inc. kona HDK"; | |
| #size-cells = <0x02>; | |
| qcom,msm-id = <0x164 0x20001>; | |
| #address-cells = <0x02>; | |
| interrupt-parent = <0x01>; | |
| compatible = "qcom,kona-hdk\0qcom,kona\0qcom,hdk"; | |
| qcom,board-id = <0x1001f 0x01>; |
This file has been truncated, but you can view the full file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /dts-v1/; | |
| / { | |
| model = "Qualcomm Technologies, Inc. kona HDK"; | |
| #size-cells = <0x02>; | |
| qcom,msm-id = <0x164 0x20001>; | |
| #address-cells = <0x02>; | |
| interrupt-parent = <0x01>; | |
| compatible = "qcom,kona-hdk\0qcom,kona\0qcom,hdk"; |
NewerOlder