From: Zheng Yang Date: Tue, 11 Jul 2017 08:33:16 +0000 (+0800) Subject: arm64: dts: rockchip: rk3328: hdmi enable inno-hdmi-phy driver X-Git-Tag: release-20171130_firefly~4^2~232 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=07de9f1996d0db387cab2e770293b09d4823413e;p=firefly-linux-kernel-4.4.55.git arm64: dts: rockchip: rk3328: hdmi enable inno-hdmi-phy driver Change-Id: I3d4c6dfcaffeb6679666fcedf58e645d26205efa Signed-off-by: Zheng Yang --- diff --git a/arch/arm64/boot/dts/rockchip/rk3328.dtsi b/arch/arm64/boot/dts/rockchip/rk3328.dtsi index 48655ef0b715..b859b6b3b139 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3328.dtsi @@ -796,24 +796,18 @@ hdmi: hdmi@ff3c0000 { compatible = "rockchip,rk3328-dw-hdmi"; - reg = <0x0 0xff3c0000 0x0 0x20000>, - <0x0 0xff430000 0x0 0x10000>; + reg = <0x0 0xff3c0000 0x0 0x20000>; reg-io-width = <4>; interrupts = , - , - ; + ; clocks = <&cru PCLK_HDMI>, <&cru SCLK_HDMI_SFC>, - <&cru PCLK_HDMIPHY>, <&cru HCLK_VIO>; clock-names = "iahb", "isfr", - "pclk_hdmiphy", "hclk_vio"; - #clock-cells = <0>; - clock-output-names = "hdmi_phy"; - assigned-clocks = <&cru HDMIPHY>; - assigned-clock-parents = <&hdmi>; + phys = <&hdmiphy>; + phy-names = "hdmi_phy"; pinctrl-names = "default", "gpio"; pinctrl-0 = <&hdmi_cec &hdmii2c_xfer &hdmi_hpd>; pinctrl-1 = <&i2c3_gpio>; @@ -877,6 +871,18 @@ status = "disabled"; }; + hdmiphy: hdmiphy@ff430000 { + compatible = "rockchip,rk3328-hdmi-phy"; + reg = <0x0 0xff430000 0x0 0x10000>; + interrupts = ; + #phy-cells = <0>; + clocks = <&cru PCLK_HDMIPHY>, <&xin24m>; + clock-names = "sysclk", "refclk"; + #clock-cells = <0>; + clock-output-names = "hdmi_phy"; + status = "disabled"; + }; + cru: clock-controller@ff440000 { compatible = "rockchip,rk3328-cru", "rockchip,cru", "syscon"; reg = <0x0 0xff440000 0x0 0x1000>;