diff mbox series

[4/4,DO,NOT,MERGE] arm64: allwinner: dts: a64: enable K101-IM2BYL02 panel for PineTab

Message ID 20200719171134.276652-1-icenowy@aosc.io (mailing list archive)
State New, archived
Headers show
Series Add support for Feixin K101-IM2BYL02 panel | expand

Commit Message

Icenowy Zheng July 19, 2020, 5:11 p.m. UTC
Newer PineTab may switch to K101-IM2BYL02.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
---
 arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts
index dc4ab6b434f97..15c4f5b5b17a7 100644
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinetab.dts
@@ -152,6 +152,7 @@  &dsi {
 	vcc-dsi-supply = <&reg_dldo1>;
 	status = "okay";
 
+#if 0
 	panel@0 {
 		compatible = "feixin,k101-im2ba02";
 		reg = <0>;
@@ -161,6 +162,15 @@  panel@0 {
 		reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */
 		backlight = <&backlight>;
 	};
+#endif
+
+	panel@0 {
+		compatible = "feixin,k101-im2byl02";
+		reg = <0>;
+		power-supply = <&reg_dc1sw>;
+		reset-gpios = <&pio 3 24 GPIO_ACTIVE_LOW>; /* PD24 */
+		backlight = <&backlight>;
+	};
 };
 
 &ehci0 {