summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/usb
diff options
context:
space:
mode:
authorJohan Jonker <jbx6244@gmail.com>2020-04-25 19:08:33 +0200
committerRob Herring <robh@kernel.org>2020-05-11 17:25:46 -0500
commit0b7140098667b3b50b8c5431c92ea94c0f9a00bd (patch)
tree9b48d0d48d61324c3755ef609c46271b18f52968 /Documentation/devicetree/bindings/usb
parent2c905f6c3334691a3d96d7dcdffdff0e0a9dadb5 (diff)
downloadlinux-0b7140098667b3b50b8c5431c92ea94c0f9a00bd.tar.bz2
dt-bindings: usb: dwc2: add power-domains property
A test with the command below gives this error: arch/arm64/boot/dts/rockchip/px30-evb.dt.yaml: usb@ff300000: 'power-domains' does not match any of the regexes: 'pinctrl-[0-9]+' With the conversion to yaml it also filters things in a node that are used by other drivers like 'power-domains' for Rockchip px30 usb nodes, so add them to 'dwc2.yaml'. make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/usb/dwc2.yaml Signed-off-by: Johan Jonker <jbx6244@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/usb')
-rw-r--r--Documentation/devicetree/bindings/usb/dwc2.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/usb/dwc2.yaml b/Documentation/devicetree/bindings/usb/dwc2.yaml
index fb2f62aef5fa..9352a8ef60a6 100644
--- a/Documentation/devicetree/bindings/usb/dwc2.yaml
+++ b/Documentation/devicetree/bindings/usb/dwc2.yaml
@@ -78,6 +78,9 @@ properties:
phy-names:
const: usb2-phy
+ power-domains:
+ maxItems: 1
+
vbus-supply:
description: reference to the VBUS regulator. Depending on the current mode
this is enabled (in "host" mode") or disabled (in "peripheral" mode). The