arm64: dts: rockchip: use hdmi-ddc for ddc bus in rk3399
authorNickey Yang <nickey.yang@rock-chips.com>
Fri, 3 Mar 2017 07:56:35 +0000 (15:56 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Thu, 9 Mar 2017 07:00:17 +0000 (15:00 +0800)
Using the builtin I2C controller in dw_hdmi is better than using the
normal RK3399 I2C controller(I2C3).

Change-Id: I6a2de7221263e8564f7cca56ea5c52e1a133c138
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com>
arch/arm64/boot/dts/rockchip/rk3399-android.dtsi
arch/arm64/boot/dts/rockchip/rk3399-sapphire-excavator-linux.dts
arch/arm64/boot/dts/rockchip/rk3399.dtsi

index b6338ff4203d345653455cdbd738b49c8264d1fb..bfda5a3f7e279ac2a2e61441606c8cea5a1500de 100644 (file)
        status = "okay";
 };
 
-&i2c3 {
-       status = "okay";
-       i2c-scl-rising-time-ns = <450>;
-       i2c-scl-falling-time-ns = <15>;
-};
-
 &hdmi {
        #address-cells = <1>;
        #size-cells = <0>;
        #sound-dai-cells = <0>;
-       pinctrl-names = "default";
-       pinctrl-0 = <&hdmi_i2c_xfer>;
        status = "okay";
 };
 
index c4e97df32633c05eccb2897020bb69e1a071bf04..44ad11832682cc19e28664012a797429bca6f265 100644 (file)
        #address-cells = <1>;
        #size-cells = <0>;
        #sound-dai-cells = <0>;
-       ddc-i2c-bus = <&i2c3>;
        status = "okay";
 };
 
        };
 };
 
-&i2c3 {
-       status = "okay";
-       i2c-scl-rising-time-ns = <450>;
-       i2c-scl-falling-time-ns = <15>;
-};
-
 &i2s2 {
        #sound-dai-cells = <0>;
        status = "okay";
index e7ce3ca71ef3389c3870afa02dc8d09ee2366cb1..ede4851428474c8358299902402bc3b73e001387 100644 (file)
                reg = <0x0 0xff940000 0x0 0x20000>;
                reg-io-width = <4>;
                rockchip,grf = <&grf>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&hdmi_i2c_xfer>;
                power-domains = <&power RK3399_PD_HDCP>;
                interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH 0>;
                clocks = <&cru PCLK_HDMI_CTRL>, <&cru SCLK_HDMI_SFR>, <&cru PLL_VPLL>, <&cru PCLK_VIO_GRF>;