OSDN Git Service

ARM: dts: rockchip: enable the hdmi output on the rk3288-firefly-reload
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 20 Oct 2017 10:07:32 +0000 (12:07 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 21 Oct 2017 19:53:04 +0000 (21:53 +0200)
The vdd10_lcd and vcc18_lcd regulators need to be enabled for HDMI output
to work, so add 'regulator-always-on', just as is done in rk3288-firefly.dtsi.

Also enable i2c5, the hdmi block and configure the correc cec pin.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-firefly-reload-core.dtsi
arch/arm/boot/dts/rk3288-firefly-reload.dts

index 5f05815..5f1e336 100644 (file)
                                regulator-name = "vdd10_lcd";
                                regulator-min-microvolt = <1000000>;
                                regulator-max-microvolt = <1000000>;
+                               regulator-always-on;
                        };
 
                        vcca_18: REG7  {
                                regulator-name = "vcc18_lcd";
                                regulator-min-microvolt = <1800000>;
                                regulator-max-microvolt = <1800000>;
+                               regulator-always-on;
                        };
                };
        };
index 7da0947..eab176e 100644 (file)
        };
 };
 
+&hdmi {
+       ddc-i2c-bus = <&i2c5>;
+       pinctrl-names = "default";
+       pinctrl-0 = <&hdmi_cec_c0>;
+       status = "okay";
+};
+
 &i2c0 {
        hym8563: hym8563@51 {
                compatible = "haoyu,hym8563";
        };
 };
 
+&i2c5 {
+       status = "okay";
+};
+
 &i2s {
        status = "okay";
 };