mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-23 13:29:33 +00:00
* Port ANX78xx Pinebook / Teres LCD panel driver from 5.6-rc1 * Move Teres U-boot to 2020.01 ... it boots with enabled screen now. * U-boot 2020 needs some extra Pyton utils when packing sunxi bootloader. Adding to native and Docker build dependencies. * Add Pinebook lid wakeup * python3-dev is also needed dependency
91 lines
1.9 KiB
Diff
91 lines
1.9 KiB
Diff
From b68d225323c9a479b26ee22a2cb4bf4eefe13cc5 Mon Sep 17 00:00:00 2001
|
|
From: Icenowy Zheng <icenowy@aosc.io>
|
|
Date: Sun, 7 May 2017 14:41:24 +0800
|
|
Subject: [PATCH] arm64: allwinner: a64: enable ANX6345 bridge on Pinebook
|
|
|
|
Pinebook has an ANX6345 bridge connected to the RGB666 LCD output, and
|
|
the I2C controlling signals are connected to R_I2C bus.
|
|
|
|
Enable it in the device tree.
|
|
|
|
Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
|
|
---
|
|
.../dts/allwinner/sun50i-a64-pinebook.dts | 37 +++++++++++++++++++
|
|
1 file changed, 37 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts
|
|
index c06c540e6c08a..83f555a6995ce 100644
|
|
--- a/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts
|
|
+++ b/arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts
|
|
@@ -109,6 +109,10 @@
|
|
status = "okay";
|
|
};
|
|
|
|
+&de {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&ehci0 {
|
|
phys = <&usbphy 0>;
|
|
phy-names = "usb";
|
|
@@ -119,6 +123,10 @@
|
|
status = "okay";
|
|
};
|
|
|
|
+&mixer0 {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&mmc0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&mmc0_pins>;
|
|
@@ -183,6 +191,20 @@
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&r_i2c_pl89_pins>;
|
|
status = "okay";
|
|
+
|
|
+ anx6345: anx6345@38 {
|
|
+ compatible = "analogix,anx6345";
|
|
+ reg = <0x38>;
|
|
+ reset-gpios = <&pio 3 24 GPIO_ACTIVE_LOW>; /* PD24 */
|
|
+ dvdd25-supply = <®_dldo2>;
|
|
+ dvdd12-supply = <®_fldo1>;
|
|
+
|
|
+ port {
|
|
+ anx6345_in: endpoint {
|
|
+ remote-endpoint = <&tcon0_out_anx6345>;
|
|
+ };
|
|
+ };
|
|
+ };
|
|
};
|
|
|
|
&r_pio {
|
|
@@ -238,6 +260,7 @@
|
|
|
|
®_dc1sw {
|
|
regulator-name = "vcc-lcd";
|
|
+ regulator-always-on; // HACK
|
|
};
|
|
|
|
®_dcdc1 {
|
|
@@ -357,6 +380,20 @@
|
|
"MIC2", "Internal Microphone Right";
|
|
};
|
|
|
|
+&tcon0 {
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&lcd_rgb666_pins>;
|
|
+
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&tcon0_out {
|
|
+ tcon0_out_anx6345: endpoint@0 {
|
|
+ reg = <0>;
|
|
+ remote-endpoint = <&anx6345_in>;
|
|
+ };
|
|
+};
|
|
+
|
|
&uart0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart0_pb_pins>;
|