Re: [PATCH 2/3] usb: add DT bindings for farady fotg2 host controller

Rob Herring
2017-02-15T23:01:45Z

On Wed, Feb 08, 2017 at 09:00:09PM +0100, Hans Ulli Kroll wrote:
> This adds DT bindings for the Faraday FOTG2 host controller.
>
> Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
> ---
> Documentation/devicetree/bindings/usb/fotg2-host.txt | 15 +++++++++++++++
> 1 file changed, 15 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/usb/fotg2-host.txt
>
> diff --git a/Documentation/devicetree/bindings/usb/fotg2-host.txt b/Documentation/devicetree/bindings/usb/fotg2-host.txt
> new file mode 100644
> index 000000000000..4c07566a4bf5
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/usb/fotg2-host.txt
> @@ -0,0 +1,15 @@
> +Faraday FOTG Host controller
> +
> +Required properties:
> +
> +- compatible: should be "faraday,fotg210-hcd"

hcd as in "host controller driver"? Bindings describe h/w not drivers.

It's an OTG controller or host controller?

> +- reg: should contain one register range i.e. start and length
> +- interrupts: description of the interrupt line
> +
> +Example for Gemini:
> +
> +usb@68000000 {
> + compatible = "faraday,fotg210-hcd";
> + reg = <0x68000000 0x1000>;
> + interrupts = <10 IRQ_TYPE_LEVEL_HIGH>;
> +};
> --
> 2.11.0
>