Re: [PATCH v2 5/6] DT bindings documentation for Broadcom IPROC USB Device controller.

From: Rob Herring
Date: Mon Feb 27 2017 - 15:56:02 EST


On Tue, Feb 21, 2017 at 05:13:03PM +0530, Raviteja Garimella wrote:
> The device node is used for UDCs integrated into Broadcom's
> iProc family of SoCs'. The UDC is based on Synopsys Designware
> Cores AHB Subsystem USB Device Controller IP.

For subject:
dt-bindings: usb: Add Broadcom IPROC USB Device controller

>
> Signed-off-by: Raviteja Garimella <raviteja.garimella@xxxxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/usb/iproc-udc.txt | 21 +++++++++++++++++++++
> 1 file changed, 21 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/usb/iproc-udc.txt
>
> diff --git a/Documentation/devicetree/bindings/usb/iproc-udc.txt b/Documentation/devicetree/bindings/usb/iproc-udc.txt
> new file mode 100644
> index 0000000..c2ce803
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/usb/iproc-udc.txt
> @@ -0,0 +1,21 @@
> +Broadcom IPROC USB Device controller.
> +
> +The device node is used for UDCs integrated into Broadcom's
> +iProc family (Northstar2, Cygnus) of SoCs'. The UDC is based
> +on Synopsys Designware Cores AHB Subsystem Device Controller
> +IP.
> +
> +Required properties:
> + - compatible: Add the compatibility strings for supported platforms.
> + For Broadcom NS2 platform, add "brcm,ns2-udc".
> + For Broadcom Cygnus platform, add "brcm,cygnus-udc".
> + - reg: Offset and length of UDC register set
> + - interrupts: description of interrupt line
> + - phys: phandle to phy node.
> +
> +Example:
> + udc_dwc: usb@664e0000 {
> + compatible = "brcm,ns2-udc", "brcm,cygnus-udc";

This doesn't look right?

> + reg = <0x664e0000 0x2000>;
> + interrupts = <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>;
> + phys = <&usbdrd_phy>;
> --
> 2.1.0
>