Re: [RFC PATCH v2 4/4] dt-bindings: add document for rk3229-hdmi

From: Rob Herring
Date: Sun Jan 10 2016 - 21:06:28 EST


On Thu, Jan 07, 2016 at 05:05:11PM +0800, Yakir Yang wrote:
> Signed-off-by: Yakir Yang <ykk@xxxxxxxxxxxxxx>
> ---
> Changes in v2: None
>
> .../devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt b/Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt
> index 668091f..1cdc627 100644
> --- a/Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt
> +++ b/Documentation/devicetree/bindings/display/rockchip/dw_hdmi-rockchip.txt
> @@ -2,7 +2,7 @@ Rockchip specific extensions to the Synopsys Designware HDMI
> ================================
>
> Required properties:
> -- compatible: "rockchip,rk3288-dw-hdmi";
> +- compatible: "rockchip,rk3288-dw-hdmi", "rockchip,rk3229-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"
> @@ -15,8 +15,10 @@ Required properties:
> rk3288 platform
>
> Optional properties
> +- reg: Physical base address and length of the external HDMI PHY's registers.

This is already required...

> - 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"
> + phandle to the external HDMI PHY clock, name should be "extphy"

Does this change apply to rk3288 or just rk3229? If the latter, you
should make that clear. The driver needs to allow for old dtb's that
only have 1 clock.

Based on Philipp's feedback, you also need to add a phys property.

Rob