Re: [PATCH 1/9] usb: host: add DT bindings for faraday fotg2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Wed, Apr 26, 2017 at 09:41:12PM +0200, Hans Ulli Kroll wrote:
> This adds device tree bindings for the Faraday FOTG2
> dual-mode host controller.
> 
> Cc: devicetree@xxxxxxxxxxxxxxx
> Signed-off-by: Hans Ulli Kroll <ulli.kroll@xxxxxxxxxxxxxx>
> Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
> ---
>  .../devicetree/bindings/usb/faraday,fotg210.txt    | 40 ++++++++++++++++++++++
>  1 file changed, 40 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/usb/faraday,fotg210.txt
> 
> diff --git a/Documentation/devicetree/bindings/usb/faraday,fotg210.txt b/Documentation/devicetree/bindings/usb/faraday,fotg210.txt
> new file mode 100644
> index 000000000000..dc2cdaf20d9f
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/usb/faraday,fotg210.txt
> @@ -0,0 +1,40 @@
> +Faraday FOTG Dual role controller
> +
> +This OTG-capable host/device mode USB controller is found in Cortina Systems
> +Gemini and other SoC products.
> +On Gemini currently host mode is used
> +
> +Required properties:
> +- compatible: should be one of:
> +  "faraday,fotg210-dr"
> +  "cortina,gemini-usb", "faraday,fotg210-dr"
> +- reg: should contain one register range i.e. start and length
> +- interrupts: description of the interrupt line
> +
> +Optional properties:
> +- clocks: should contain the IP block clock
> +- clock-names: should be "PCLK" for the IP block clock
> +- dr_mode : indicates the working mode for "faraday,fotg210-dr" compatible
> +   controllers.  Can be "host" or "peripheral"
> +   Default to "host" if not defined for backward compatibility.
> +
> +
> +Required properties for "cortina,gemini-usb" compatible:
> +- syscon: a phandle to the system controller to access PHY registers
> +
> +Optional properties for "cortina,gemini-usb" compatible:
> +- cortina,gemini-mini-b: boolean property that indicates that a Mini-B
> +  OTH connector is in use

s/OTH/OTG/

With that,

Acked-by: Rob Herring <robh@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux