Re: [PATCH v2] dt-bindings: usb: dwc2: document the port when usb-role-switch is used
From: Rob Herring <robh@kernel.org>
Date: 2021-11-01 21:32:28
Also in:
linux-devicetree, lkml
From: Rob Herring <robh@kernel.org>
Date: 2021-11-01 21:32:28
Also in:
linux-devicetree, lkml
On Wed, 27 Oct 2021 14:12:32 +0200, Fabrice Gasnier wrote:
Document the "port" property, which is used with "usb-role-switch"
to describe the bus connector.
Definition is inspired from mediatek,mtu3.yaml.
This fixes some errors seen when running "make dtbs_check":
... 'port' does not match any of the regexes: 'pinctrl-[0-9]+'
From schema: ... Documentation/devicetree/bindings/usb/dwc2.yaml
Note: add dependencies so that 'usb-role-switch' without port is valid or
both must be present.
Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
---
Changes in v2:
Rob's review comments:
- drop reference to graph.txt
- drop unneeded quotes
---
Documentation/devicetree/bindings/usb/dwc2.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)Reviewed-by: Rob Herring <robh@kernel.org>