Merge pull request #1789 from loki666/ayaneo-dts

dts: ayaneo: panel compatible cleanup
This commit is contained in:
Philippe Simons
2025-08-28 22:43:41 +02:00
committed by GitHub
5 changed files with 5 additions and 16 deletions

View File

@@ -265,7 +265,7 @@ index 000000000000..fe76ac9fab2c
+}
+
+static const struct of_device_id ar06_4inch_of_match[] = {
+ { .compatible = "ayaneo,pocket-ace" },
+ { .compatible = "ayaneo,pocket-ace-panel" },
+ { /* sentinel */ }
+};
+MODULE_DEVICE_TABLE(of, ar06_4inch_of_match);

View File

@@ -678,7 +678,7 @@ index 000000000000..67151480f1aa
+}
+
+static const struct of_device_id ar02_3inch_of_match[] = {
+ { .compatible = "ayaneo,pocket-dmg" },
+ { .compatible = "ayaneo,pocket-dmg-panel" },
+ { /* sentinel */ }
+};
+MODULE_DEVICE_TABLE(of, ar02_3inch_of_match);

View File

@@ -122,7 +122,7 @@ diff -rupbN linux.orig/arch/arm64/boot/dts/qcom/qcs8550-ayaneo-pocketace.dts lin
+};
+
+&display_panel {
+ compatible = "ayaneo,pocket-ace";
+ compatible = "ayaneo,pocket-ace-panel";
+
+ avdd-supply = <&sgm3804>;
+ vci-supply = <&vreg_l13b_3p0>;

View File

@@ -47,7 +47,7 @@ diff -rupbN linux.orig/arch/arm64/boot/dts/qcom/qcs8550-ayaneo-pocketdmg.dts lin
+};
+
+&display_panel {
+ compatible = "ayaneo,pocket-dmg";
+ compatible = "ayaneo,pocket-dmg-panel";
+
+ avdd-supply = <&sgm3804>;
+ vci-supply = <&vreg_l13b_3p0>;

View File

@@ -3,7 +3,7 @@ new file mode 100644
index 000000000..2dd554820
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/qcs8550-ayaneo-pocketevo.dts
@@ -0,0 +1,43 @@
@@ -0,0 +1,32 @@
+// SPDX-License-Identifier: BSD-3-Clause
+/*
+ * Copyright (c) 2025, Teguh Sobirin.
@@ -21,20 +21,9 @@ index 000000000..2dd554820
+ compatible = "ayaneo,pocketevo", "qcom,qcs8550", "qcom,sm8550";
+};
+
+&tlmm {
+ panel_pwr_active: panel-pwr-active-state {
+ pins = "gpio152", "gpio153";
+ function = "gpio";
+ drive-strength = <8>;
+ bias-disable;
+ output-high;
+ };
+};
+
+&i2c0 {
+ clock-frequency = <400000>;
+ status = "okay";
+
+};
+
+&display_panel {