dt-bindings: usb: Clean-up "usb-phy" constraints
authorRob Herring <robh@kernel.org>
Wed, 24 Jan 2024 19:07:24 +0000 (13:07 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 28 Jan 2024 01:36:42 +0000 (17:36 -0800)
commit665029ecd1e0e21718d284c4024add683c05e9f8
tree00a00d407cdfe040096fb234ab6ef23ebd30f749
parentfd2a052ccd69f3780b96291cacc21089e198d02c
dt-bindings: usb: Clean-up "usb-phy" constraints

"usb-phy" has multiple type definitions. Unify the type with the looser
definition, phandle-array, as there are cases with multiple entries
(USB2 and USB3). However, the 'phandle-array' type alone is a bit
ambiguous. It can be either just an array of phandles or an array of
phandles plus args. "usb-phy" is the former and needs to constrain each
entry to a single phandle value.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20240124190725.1554080-1-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/ci-hdrc-usb2.yaml
Documentation/devicetree/bindings/usb/usb.yaml