drm/rockchip: dw_hdmi-rockchip: get phy config from dts
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / display / rockchip / dw_hdmi-rockchip.txt
index 668091f276742592158e9062ed81e100cb5bee15..5936883df121621f03ad7b3ecccbb609a03e845c 100644 (file)
@@ -2,7 +2,8 @@ Rockchip specific extensions to the Synopsys Designware HDMI
 ================================
 
 Required properties:
-- compatible: "rockchip,rk3288-dw-hdmi";
+- compatible: "rockchip,rk3288-dw-hdmi",
+             "rockchip,rk3399-dw-hdmi";
 - reg: Physical base address and length of the controller's registers.
 - clocks: phandle to hdmi iahb and isfr clocks.
 - clock-names: should be "iahb" "isfr"
@@ -16,7 +17,10 @@ Required properties:
 
 Optional properties
 - ddc-i2c-bus: phandle of an I2C controller used for DDC EDID probing
-- clocks, clock-names: phandle to the HDMI CEC clock, name should be "cec"
+- clocks, clock-names: phandle to the HDMI CEC clock, name should be "cec",
+                      phandle to the VPLL clock, name should be "vpll",
+                      phandle to the GRF clock, name should be "grf".
+- rockchip,phy-table: the parameter table of hdmi phy configuration.
 
 Example:
 hdmi: hdmi@ff980000 {
@@ -43,4 +47,9 @@ hdmi: hdmi@ff980000 {
                        };
                };
        };
+       rockchip,phy-table = <74250000 0x8009 0x0004 0x0272>,
+               <165000000 0x802b 0x0004 0x0209>,
+               <297000000 0x8039 0x0005 0x028d>,
+               <594000000 0x8039 0x0000 0x019d>,
+               <000000000 0x0000 0x0000 0x0000>;
 };