Merge pull request #1797 from r3claimer/next

More pocketDS changes
This commit is contained in:
r3claimer
2025-08-29 08:54:19 -07:00
committed by GitHub
4 changed files with 22 additions and 2 deletions

View File

@@ -89,7 +89,7 @@
<file short="odin2mini" full="AYN Odin2 Mini">qcs8550-ayn-odin2mini</file>
<file short="pocketace" full="AYANEO Pocket ACE">qcs8550-ayaneo-pocketace</file>
<file short="pocketdmg" full="AYANEO Pocket DMG">qcs8550-ayaneo-pocketdmg</file>
<file short="pocketdmg" full="AYANEO Pocket DMG">qcs8550-ayaneo-pocketds</file>
<file short="pocketds" full="AYANEO Pocket DS">qcs8550-ayaneo-pocketds</file>
<file short="pocketevo" full="AYANEO Pocket EVO">qcs8550-ayaneo-pocketevo</file>
</SM8550>
</dtb>

View File

@@ -16,7 +16,7 @@ diff -rupbN linux.orig/arch/arm64/boot/dts/qcom/qcs8550-ayaneo-pocketds.dts linu
+ model = "AYANEO Pocket DS";
+ qcom,board-id = <0x1000b 0x01>;
+ qcom,msm-id = <0x258 0x20000>, <0x259 0x20000>;
+ compatible = "ayaneo,ds", "qcom,qcs8550", "qcom,sm8550";
+ compatible = "ayaneo,pocketds", "qcom,qcs8550", "qcom,sm8550";
+};
+
+&i2c0 {

View File

@@ -0,0 +1,8 @@
diff --git a/ucm2/conf.d/sm8550/ayaneo-AYANEOPocketDS-.conf b/ucm2/conf.d/sm8550/ayaneo-AYANEOPocketDS-.conf
new file mode 120000
index 0000000..414976a
--- /dev/null
+++ b/ucm2/conf.d/sm8550/ayaneo-AYANEOPocketDS-.conf
@@ -0,0 +1 @@
+../../AYANEO/Pocket/AYANEO-Pocket.conf
\ No newline at end of file

View File

@@ -0,0 +1,12 @@
#!/bin/sh
# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2025 ROCKNIX (https://github.com/ROCKNIX)
cat <<EOF >/storage/.config/profile.d/020-fan_control
FANPATH="\$(ls /sys/class/hwmon/hwmon*/pwm1 | grep hwmon | cut -c 18-24)"
DEVICE_HAS_FAN="true"
DEVICE_PWM_FAN="/sys/class/hwmon/\${FANPATH}/pwm1"
DEVICE_FAN_INPUT="/sys/class/hwmon/\${FANPATH}/pwm1"
EOF