Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: usb: usb-drd: Add "otg-rev" property constraints

There are only four OTG revisions are currently supported by the kernel:
0x0100, 0x0120, 0x0130, 0x0200. Any another value is considered as
invalid.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Link: https://lore.kernel.org/r/20201210090944.16283-4-Sergey.Semin@baikalelectronics.ru
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Serge Semin and committed by
Greg Kroah-Hartman
5c67b97e b0864e1a

+1
+1
Documentation/devicetree/bindings/usb/usb-drd.yaml
··· 18 18 features (HNP/SRP/ADP) is enabled. If ADP is required, otg-rev should be 19 19 0x0200 or above. 20 20 $ref: /schemas/types.yaml#/definitions/uint32 21 + enum: [0x0100, 0x0120, 0x0130, 0x0200] 21 22 22 23 dr_mode: 23 24 description: