From patchwork Thu Nov 3 15:59:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 80689 Delivered-To: patch@linaro.org Received: by 10.80.170.210 with SMTP id r18csp691917edc; Thu, 3 Nov 2016 08:59:29 -0700 (PDT) X-Received: by 10.98.150.79 with SMTP id c76mr17950667pfe.154.1478188769573; Thu, 03 Nov 2016 08:59:29 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f3si10372954pfb.28.2016.11.03.08.59.29; Thu, 03 Nov 2016 08:59:29 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758337AbcKCP70 (ORCPT + 27 others); Thu, 3 Nov 2016 11:59:26 -0400 Received: from mail-wm0-f53.google.com ([74.125.82.53]:37909 "EHLO mail-wm0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758478AbcKCP7U (ORCPT ); Thu, 3 Nov 2016 11:59:20 -0400 Received: by mail-wm0-f53.google.com with SMTP id n67so110246559wme.1 for ; Thu, 03 Nov 2016 08:59:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1dl3ST9xu6alPpSjXvSU6dN1X+b5kCmWIiL3CapDsRU=; b=DQHpHLIGeNOKEA68gV1U6+Mvw730hfiiTv0pCbXBW35EYKT0uUXCcJ7GMEntKJMql6 ghYMMFmlZvNB5jelLBD4ijmGAX7PMR5BqiT3UIclF3o1ux6vkhbxSSYQRSp43gJJfHUk 0Q58+OREzoqHO7PXVnOX0xr9shLhexpcfhXAH7M5W+Ga8g1zJWHmYyts2pRIYpV4eA6J 2BQFtWYQWwD7ry5PIdSxKCu07RVU9OQTX8RRzj7dL0QPS9E57CcX3pVQ0FhpJ6Iro5V9 ebB04GGhtmSfp/KedWyPj8eMY7ZwhjELEOmfnTvkbvOpyROiDW2F4A7ACjWZ+6jSBRkM nwdg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1dl3ST9xu6alPpSjXvSU6dN1X+b5kCmWIiL3CapDsRU=; b=Hj2qV9X5YugAwhkBtlXigjxO8ExuAFT9j41QbvRt/O35dkbRHEr5cwXpy4CyOKyse5 vT+02ro8oMM9r/R8XAT2SjxRKHIa1e0Fj4+atSYtf10hA6aNLEG6cDJ5nB+X83E1xjrd yWJ0wcVznUHN+2g8Z8nFW5bvbg2KhjtNK4938+q5hUgNhtYBwpP6uWTNJaUPPjgz7cUT 73d64m6sdwNIcfrI9P7QigNWVwgn1AKEm3z3xe1ng5AWlDXnWO/7lV+Uftgxe46paXQT d47WbAE1VKISWAHIaQHEZjbSdDrPvH+F5p+7DLxOshdDR2xRK0XRpoywtfhNcq93AqJw OTug== X-Gm-Message-State: ABUngveb/L1A2kmzx7xgmwujKEk/Lw2r8iemJIlcpAEwdv5glQzmhVwzdEVv+M2VXOGYpQK2 X-Received: by 10.194.193.100 with SMTP id hn4mr10056938wjc.77.1478188757112; Thu, 03 Nov 2016 08:59:17 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id k17sm42957574wmd.8.2016.11.03.08.59.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 03 Nov 2016 08:59:16 -0700 (PDT) From: Alexandre Bailon To: khilman@baylibre.com, robh+dt@kernel.org, b-liu@ti.com Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, nsekhar@ti.com, Petr Kulhavy , Alexandre Bailon Subject: [PATCH v4 1/4] dt/bindings: Add binding for the DA8xx MUSB driver Date: Thu, 3 Nov 2016 16:59:09 +0100 Message-Id: <1478188752-22447-2-git-send-email-abailon@baylibre.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1478188752-22447-1-git-send-email-abailon@baylibre.com> References: <1478188752-22447-1-git-send-email-abailon@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Petr Kulhavy DT binding for the TI DA8xx/OMAP-L1x/AM17xx/AM18xx MUSB driver. Signed-off-by: Petr Kulhavy Signed-off-by: Alexandre Bailon Acked-by: Rob Herring --- .../devicetree/bindings/usb/da8xx-usb.txt | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/da8xx-usb.txt -- 2.7.3 diff --git a/Documentation/devicetree/bindings/usb/da8xx-usb.txt b/Documentation/devicetree/bindings/usb/da8xx-usb.txt new file mode 100644 index 0000000..ccb844a --- /dev/null +++ b/Documentation/devicetree/bindings/usb/da8xx-usb.txt @@ -0,0 +1,43 @@ +TI DA8xx MUSB +~~~~~~~~~~~~~ +For DA8xx/OMAP-L1x/AM17xx/AM18xx platforms. + +Required properties: +~~~~~~~~~~~~~~~~~~~~ + - compatible : Should be set to "ti,da830-musb". + + - reg: Offset and length of the USB controller register set. + + - interrupts: The USB interrupt number. + + - interrupt-names: Should be set to "mc". + + - dr_mode: The USB operation mode. Should be one of "host", "peripheral" or "otg". + + - phys: Phandle for the PHY device + + - phy-names: Should be "usb-phy" + +Optional properties: +~~~~~~~~~~~~~~~~~~~~ + - vbus-supply: Phandle to a regulator providing the USB bus power. + +Example: + usb_phy: usb-phy { + compatible = "ti,da830-usb-phy"; + #phy-cells = <0>; + status = "okay"; + }; + usb0: usb@200000 { + compatible = "ti,da830-musb"; + reg = <0x00200000 0x10000>; + interrupts = <58>; + interrupt-names = "mc"; + + dr_mode = "host"; + vbus-supply = <&usb_vbus>; + phys = <&usb_phy 0>; + phy-names = "usb-phy"; + + status = "okay"; + };