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

dt-bindings: usb: convert lpc32xx-udc.txt to yaml format

Convert lpc32xx-udc.txt to yaml format.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
Link: https://lore.kernel.org/r/20250623203011.2473290-1-Frank.Li@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Frank Li and committed by
Greg Kroah-Hartman
c6efba92 b4b4dbfa

+50 -28
-28
Documentation/devicetree/bindings/usb/lpc32xx-udc.txt
··· 1 - * NXP LPC32xx SoC USB Device Controller (UDC) 2 - 3 - Required properties: 4 - - compatible: Must be "nxp,lpc3220-udc" 5 - - reg: Physical base address of the controller and length of memory mapped 6 - region. 7 - - interrupts: The USB interrupts: 8 - * USB Device Low Priority Interrupt 9 - * USB Device High Priority Interrupt 10 - * USB Device DMA Interrupt 11 - * External USB Transceiver Interrupt (OTG ATX) 12 - - transceiver: phandle of the associated ISP1301 device - this is necessary for 13 - the UDC controller for connecting to the USB physical layer 14 - 15 - Example: 16 - 17 - isp1301: usb-transceiver@2c { 18 - compatible = "nxp,isp1301"; 19 - reg = <0x2c>; 20 - }; 21 - 22 - usbd@31020000 { 23 - compatible = "nxp,lpc3220-udc"; 24 - reg = <0x31020000 0x300>; 25 - interrupt-parent = <&mic>; 26 - interrupts = <0x3d 0>, <0x3e 0>, <0x3c 0>, <0x3a 0>; 27 - transceiver = <&isp1301>; 28 - };
+50
Documentation/devicetree/bindings/usb/nxp,lpc3220-udc.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/usb/nxp,lpc3220-udc.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: NXP LPC32xx SoC USB Device Controller (UDC) 8 + 9 + maintainers: 10 + - Frank Li <Frank.Li@nxp.com> 11 + 12 + properties: 13 + compatible: 14 + const: nxp,lpc3220-udc 15 + 16 + reg: 17 + maxItems: 1 18 + 19 + interrupts: 20 + items: 21 + - description: USB Device Low Priority Interrupt 22 + - description: USB Device High Priority Interrupt 23 + - description: USB Device DMA Interrupt 24 + - description: External USB Transceiver Interrupt (OTG ATX) 25 + 26 + clocks: 27 + maxItems: 1 28 + 29 + transceiver: 30 + description: 31 + phandle of the associated ISP1301 device - this is necessary for 32 + the UDC controller for connecting to the USB physical layer 33 + 34 + required: 35 + - compatible 36 + - reg 37 + - interrupts 38 + - transceiver 39 + 40 + additionalProperties: false 41 + 42 + examples: 43 + - | 44 + usbd@31020000 { 45 + compatible = "nxp,lpc3220-udc"; 46 + reg = <0x31020000 0x300>; 47 + interrupt-parent = <&mic>; 48 + interrupts = <0x3d 0>, <0x3e 0>, <0x3c 0>, <0x3a 0>; 49 + transceiver = <&isp1301>; 50 + };