dt-bindings: connector: usb: allow a single HS port
authorFabrice Gasnier <fabrice.gasnier@foss.st.com>
Tue, 20 Jun 2023 08:56:33 +0000 (10:56 +0200)
committerRob Herring <robh@kernel.org>
Thu, 22 Jun 2023 02:14:05 +0000 (20:14 -0600)
commit876c38eb7b1e3de83ef824d34fd7ac416e350eb0
tree0c24c6f6eb304c7e91fdfffd349256c00c84225f
parente8b4858b158eb31c0c3699280af78f34cdc9d993
dt-bindings: connector: usb: allow a single HS port

Allow a single HS port to be used e.g. without reg property and a unit
address. OF graph allows a single port node, without 'reg' property.

This removes a couple of Warnings or errors on STM32MP boards.
When using single HS port currently, when doing building with W=1:
arch/arm/boot/dts/stm32mp157c-dk2.dtb: stusb1600@28: connector:
Unevaluated properties are not allowed ('port' was unexpected)

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@foss.st.com>
Link: https://lore.kernel.org/r/20230620085633.533187-1-fabrice.gasnier@foss.st.com
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/connector/usb-connector.yaml