Skip to content

Commit

Permalink
arm64: allwinner: a64: enable ANX6345 bridge on Pinebook
Browse files Browse the repository at this point in the history
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, and add a usable EDID from the panel's
datasheet (at least 14" Pinebook used a panel without EDID).

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
  • Loading branch information
Icenowy authored and anarsoul committed Sep 10, 2018
1 parent 3716369 commit 2101114
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions arch/arm64/boot/dts/allwinner/sun50i-a64-pinebook.dts
Expand Up @@ -98,10 +98,18 @@
status = "okay";
};

&de {
status = "okay";
};

&ehci1 {
status = "okay";
};

&mixer0 {
status = "okay";
};

&mmc0 {
pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins>;
Expand Down Expand Up @@ -151,6 +159,35 @@
status = "okay";
};

&r_i2c {
pinctrl-names = "default";
pinctrl-0 = <&r_i2c_pins_a>;
status = "okay";

anx6345: anx6345@38 {
compatible = "analogix,anx6345";
reg = <0x38>;
reset-gpios = <&pio 3 24 GPIO_ACTIVE_HIGH>; /* PD24 */
panel-supply = <&reg_dc1sw>;
dvdd25-supply = <&reg_dldo2>;
dvdd12-supply = <&reg_fldo1>;
edid = [00 ff ff ff ff ff ff 00 09 e5 37 00 00 00 00 00
01 16 01 04 80 1f 11 78 0a b0 90 97 58 54 92 26
1d 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01
01 01 01 01 01 01 3e 1c 56 a0 50 00 16 30 30 20
36 00 35 ad 10 00 00 1a 3e 1c 56 a0 50 00 16 30
30 20 36 00 35 ad 10 00 00 1a 00 00 00 fe 00 42
4f 45 20 48 46 0a 20 20 20 20 20 20 00 00 00 fe
00 48 42 31 34 30 57 58 31 2d 35 30 31 0a 00 81];

port {
anx6345_in: endpoint {
remote-endpoint = <&tcon0_out_anx6345>;
};
};
};
};

&r_rsb {
status = "okay";

Expand Down

0 comments on commit 2101114

Please sign in to comment.