From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751064AbdAQIMk (ORCPT ); Tue, 17 Jan 2017 03:12:40 -0500 Received: from mail-qt0-f169.google.com ([209.85.216.169]:36403 "EHLO mail-qt0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750831AbdAQILp (ORCPT ); Tue, 17 Jan 2017 03:11:45 -0500 From: Raviteja Garimella To: Rob Herring , Mark Rutland , Greg Kroah-Hartman , Felipe Balbi Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-usb@vger.kernel.org Subject: [RFC v2 4/5] DT bindings documentation for Synopsys UDC platform driver Date: Tue, 17 Jan 2017 13:35:07 +0530 Message-Id: <1484640308-25976-5-git-send-email-raviteja.garimella@broadcom.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1484640308-25976-1-git-send-email-raviteja.garimella@broadcom.com> References: <1484640308-25976-1-git-send-email-raviteja.garimella@broadcom.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds device tree bindings documentation for Synopsys USB device controller platform driver. Signed-off-by: Raviteja Garimella --- .../devicetree/bindings/usb/snps,dw-ahb-udc.txt | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/snps,dw-ahb-udc.txt diff --git a/Documentation/devicetree/bindings/usb/snps,dw-ahb-udc.txt b/Documentation/devicetree/bindings/usb/snps,dw-ahb-udc.txt new file mode 100644 index 0000000..0c18327 --- /dev/null +++ b/Documentation/devicetree/bindings/usb/snps,dw-ahb-udc.txt @@ -0,0 +1,27 @@ +Synopsys USB Device controller. + +The device node is used for Synopsys Designware Cores AHB +Subsystem Device Controller (UDC). + +This device node is used by UDCs integrated it Broadcom's +Northstar2 and Cygnus SoC's. + +Required properties: + - compatible: should be "snps,dw-ahb-udc" + - reg: Offset and length of UDC register set + - interrupts: description of interrupt line + - phys: phandle to phy node. + - extcon: phandle to the extcon device. This is optional and + not required for those that don't require extcon support. + Extcon support will be required if the UDC is connected to + a Dual Role Device Phy that supports both Host and Device + mode based on the external cable. + +Example: + udc_dwc: usb@664e0000 { + compatible = "snps,dw-ahb-udc"; + reg = <0x664e0000 0x2000>; + interrupts = ; + phys = <&usbdrd_phy>; + extcon = <&usbdrd_phy>"; + }; -- 2.1.0