diff options
| author | Bhargav Joshi <j.bhargav.u@gmail.com> | 2026-09-01 04:53:08 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-09-10 14:50:30 +0200 |
| commit | 185bb9305937f5c8718d989139fee7b3aea8683a (patch) | |
| tree | 076313eab4cbc8201245cddff4f21a04d9ac28ad | |
| parent | 1c09fe2edad271cb0e1e8c71c2e66a414be7ece8 (diff) | |
| download | linux-next-185bb9305937f5c8718d989139fee7b3aea8683a.tar.gz linux-next-185bb9305937f5c8718d989139fee7b3aea8683a.zip | |
dt-bindings: usb: ti,am335x-usb-ctrl-module: Convert to DT schema
Convert the TI AM335x USB Control Module text bindings to DT schema. No
functional changes.
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Bhargav Joshi <j.bhargav.u@gmail.com>
Link: https://patch.msgid.link/20260901-ti-am33-usb-v3-4-5e15c617d2e9@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| -rw-r--r-- | Documentation/devicetree/bindings/usb/am33xx-usb.txt | 9 | ||||
| -rw-r--r-- | Documentation/devicetree/bindings/usb/ti,am335x-usb-ctrl-module.yaml | 38 |
2 files changed, 38 insertions, 9 deletions
diff --git a/Documentation/devicetree/bindings/usb/am33xx-usb.txt b/Documentation/devicetree/bindings/usb/am33xx-usb.txt index 5973f88bcc65..94312ad8ec8c 100644 --- a/Documentation/devicetree/bindings/usb/am33xx-usb.txt +++ b/Documentation/devicetree/bindings/usb/am33xx-usb.txt @@ -8,15 +8,6 @@ The glue layer contains multiple child nodes. It is required to have at least a control module node, USB node and a PHY node. The second USB node and its PHY node are optional. The DMA node is also optional. -Reset module -~~~~~~~~~~~~ -- compatible: ti,am335x-usb-ctrl-module -- reg: offset and length of the "USB control registers" in the "Control - Module" block. A second offset and length for the USB wake up control - in the same memory block. -- reg-names: "phy_ctrl" for the "USB control registers" and "wakeup" for - the USB wake up control register. - Example: ~~~~~~~~ The following example contains all the nodes as used on am335x-evm: diff --git a/Documentation/devicetree/bindings/usb/ti,am335x-usb-ctrl-module.yaml b/Documentation/devicetree/bindings/usb/ti,am335x-usb-ctrl-module.yaml new file mode 100644 index 000000000000..f8ac0af745c6 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/ti,am335x-usb-ctrl-module.yaml @@ -0,0 +1,38 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/usb/ti,am335x-usb-ctrl-module.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: TI AM335x USB Control Module + +maintainers: + - Sebastian Andrzej Siewior <bigeasy@linutronix.de> + +properties: + compatible: + const: ti,am335x-usb-ctrl-module + + reg: + maxItems: 2 + + reg-names: + items: + - const: phy_ctrl + - const: wakeup + +required: + - compatible + - reg + - reg-names + +additionalProperties: false + +examples: + - | + control@44e10000 { + compatible = "ti,am335x-usb-ctrl-module"; + reg = <0x44e10620 0x10>, + <0x44e10648 0x4>; + reg-names = "phy_ctrl", "wakeup"; + }; |
