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

dt-bindings: Add bindings for phy-da8xx-usb

Device tree binding for new phy-da8xx-usb driver.

Signed-off-by: David Lechner <david@lechnology.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>

authored by

David Lechner and committed by
Kishon Vijay Abraham I
5358aa3e 6f7d2346

+40
+40
Documentation/devicetree/bindings/phy/phy-da8xx-usb.txt
··· 1 + TI DA8xx/OMAP-L1xx/AM18xx USB PHY 2 + 3 + Required properties: 4 + - compatible: must be "ti,da830-usb-phy". 5 + - #phy-cells: must be 1. 6 + 7 + This device controls the PHY for both the USB 1.1 OHCI and USB 2.0 OTG 8 + controllers on DA8xx SoCs. Consumers of this device should use index 0 for 9 + the USB 2.0 phy device and index 1 for the USB 1.1 phy device. 10 + 11 + It also requires a "syscon" node with compatible = "ti,da830-cfgchip", "syscon" 12 + to access the CFGCHIP2 register. 13 + 14 + Example: 15 + 16 + cfgchip: cfgchip@1417c { 17 + compatible = "ti,da830-cfgchip", "syscon"; 18 + reg = <0x1417c 0x14>; 19 + }; 20 + 21 + usb_phy: usb-phy { 22 + compatible = "ti,da830-usb-phy"; 23 + #phy-cells = <1>; 24 + }; 25 + 26 + usb20: usb@200000 { 27 + compatible = "ti,da830-musb"; 28 + reg = <0x200000 0x1000>; 29 + interrupts = <58>; 30 + phys = <&usb_phy 0>; 31 + phy-names = "usb-phy"; 32 + }; 33 + 34 + usb11: usb@225000 { 35 + compatible = "ti,da830-ohci"; 36 + reg = <0x225000 0x1000>; 37 + interrupts = <59>; 38 + phys = <&usb_phy 1>; 39 + phy-names = "usb-phy"; 40 + };