Re: [PATCH] dt-bindings: soc: rockchip: drop unnecessary #phy-cells from grf.yaml

From: Johan Jonker
Date: Mon Jun 07 2021 - 11:38:11 EST




On 6/7/21 4:18 PM, Heiko Stuebner wrote:
> The recent yaml conversion of the grf and inno-usb2-phy bindings
> left the #phy-cells in place in the main usb2phy node inside the
> example in grf.yaml, causing new warnings.
>
> Drop it to make the bindingcheck happy.
>
> Fixes: e71ccdff376b ("dt-bindings: phy: rename phy nodename in phy-rockchip-inno-usb2.yaml")
> Signed-off-by: Heiko Stuebner <heiko@xxxxxxxxx>
> ---

> Like this I guess?

Hi Heiko,

When I apply this patch locally and give the command below the
notifications are gone.

make ARCH=arm dt_binding_check
DT_SCHEMA_FILES=Documentation/devicetree/bindings/soc/rockchip/grf.yaml

Thanks,

Johan

>
> Documentation/devicetree/bindings/soc/rockchip/grf.yaml | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/soc/rockchip/grf.yaml b/Documentation/devicetree/bindings/soc/rockchip/grf.yaml
> index 8c1c46fef157..62fa72cfea34 100644
> --- a/Documentation/devicetree/bindings/soc/rockchip/grf.yaml
> +++ b/Documentation/devicetree/bindings/soc/rockchip/grf.yaml
> @@ -242,7 +242,6 @@ examples:
> clock-names = "phyclk";
> #clock-cells = <0>;
> clock-output-names = "clk_usbphy0_480m";
> - #phy-cells = <0>;
>
> u2phy0_host: host-port {
> #phy-cells = <0>;
>