Re: [PATCH] dt-bindings: phy: rockchip: Convert RK3399 Type-C PHY to schema

From: Rob Herring (Arm)
Date: Mon Apr 14 2025 - 22:30:48 EST



On Mon, 14 Apr 2025 20:18:13 -0500, Rob Herring (Arm) wrote:
> Convert the Rockchip RK3399 Type-C PHY to DT schema format. Add the
> missing "power-domains" property and "port" and "orientation-switch"
> properties in the child nodes.
>
> Omit the previously deprecated properties as they aren't used anywhere.
>
> Drop the 2nd example which was pretty much identical to the 1st example.
>
> Signed-off-by: Rob Herring (Arm) <robh@xxxxxxxxxx>
> ---
> .../bindings/phy/phy-rockchip-typec.txt | 84 -------------
> .../phy/rockchip,rk3399-typec-phy.yaml | 116 ++++++++++++++++++
> 2 files changed, 116 insertions(+), 84 deletions(-)
> delete mode 100644 Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt
> create mode 100644 Documentation/devicetree/bindings/phy/rockchip,rk3399-typec-phy.yaml
>

My bot found errors running 'make dt_binding_check' on your patch:

yamllint warnings/errors:

dtschema/dtc warnings/errors:


doc reference errors (make refcheckdocs):
Warning: Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml references a file that doesn't exist: Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt
Documentation/devicetree/bindings/usb/rockchip,dwc3.yaml: Documentation/devicetree/bindings/phy/phy-rockchip-typec.txt

See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20250415011814.2319719-1-robh@xxxxxxxxxx

The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.

If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:

pip3 install dtschema --upgrade

Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.