Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arm/dts Add eDP transmitter and enable display pipe...



details:   https://anonhg.NetBSD.org/src/rev/f3198b9d3a65
branches:  trunk
changeset: 448465:f3198b9d3a65
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Feb 03 13:19:20 2019 +0000

description:
Add eDP transmitter and enable display pipeline

diffstat:

 sys/arch/arm/dts/sun50i-a64-pinebook.dts |  63 +++++++++++++++++++++++++++++++-
 1 files changed, 62 insertions(+), 1 deletions(-)

diffs (74 lines):

diff -r 14290a9ac6eb -r f3198b9d3a65 sys/arch/arm/dts/sun50i-a64-pinebook.dts
--- a/sys/arch/arm/dts/sun50i-a64-pinebook.dts  Sun Feb 03 13:18:52 2019 +0000
+++ b/sys/arch/arm/dts/sun50i-a64-pinebook.dts  Sun Feb 03 13:19:20 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sun50i-a64-pinebook.dts,v 1.14 2019/01/22 15:28:45 jmcneill Exp $ */
+/* $NetBSD: sun50i-a64-pinebook.dts,v 1.15 2019/02/03 13:19:20 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2017-2019 Jared McNeill <jmcneill%invisible.ca@localhost>
@@ -102,3 +102,64 @@
 &sound {
        status = "okay";
 };
+
+&de {
+       status = "okay";
+};
+
+&mixer0 {
+       status = "okay";
+};
+
+&pio {
+       lcd_rgb666_pins: lcd-rgb666 {
+               pins = "PD0", "PD1", "PD2", "PD3", "PD4",
+                      "PD5", "PD6", "PD7", "PD8", "PD9",
+                      "PD10", "PD11", "PD12", "PD13",
+                      "PD14", "PD15", "PD16", "PD17",
+                      "PD18", "PD19", "PD20", "PD21";
+               function = "lcd0";
+       };
+};
+
+&tcon0 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&lcd_rgb666_pins>;
+
+       status = "okay";
+};
+
+&tcon0_out {
+       tcon0_out_anx6345: endpoint@0 {
+               reg = <0>;
+               remote-endpoint = <&anx6345_in>;
+       };
+};
+
+&r_pio {
+       r_i2c_pins_a: i2c-a {
+               pins = "PL8", "PL9";
+               function = "s_i2c";
+       };
+};
+
+&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>;
+
+               port {
+                       anx6345_in: endpoint {
+                               remote-endpoint = <&tcon0_out_anx6345>;
+                       };
+               };
+       };
+};



Home | Main Index | Thread Index | Old Index