From patchwork Thu Oct 27 09:34:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 79641 Delivered-To: patch@linaro.org Received: by 10.140.97.247 with SMTP id m110csp550988qge; Thu, 27 Oct 2016 03:56:20 -0700 (PDT) X-Received: by 10.98.31.4 with SMTP id f4mr13240188pff.67.1477565780528; Thu, 27 Oct 2016 03:56:20 -0700 (PDT) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id q6si7347923pgc.60.2016.10.27.03.56.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Oct 2016 03:56:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) client-ip=2001:1868:205::9; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@baylibre-com.20150623.gappssmtp.com; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 2001:1868:205::9 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bziL5-0003J6-4R; Thu, 27 Oct 2016 10:55:15 +0000 Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bziKo-00022w-AX for linux-arm-kernel@lists.infradead.org; Thu, 27 Oct 2016 10:55:07 +0000 Received: by mail-wm0-x22c.google.com with SMTP id b80so25833030wme.1 for ; Thu, 27 Oct 2016 03:54:37 -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=qFz3zOvy3AnGZD85l2FWasqilDMcnZHehsgUg0zDcWI=; b=hsW5qKnkSi827P09s+03uhed+ZXwWhZphue13foc+J2VPMeQZ7/wtlJDrm8ZuItRKY 6l5bVwBwDtb3VcEV8x5MOeU50YDfTgbsoAKDZLXVkXBwAs2gOyokZbBocHxj/1U8vEps eVg6oMNouvcHeiTyHL1wVZ2URfjhbLobIZIAFxQKRvoib+qTQlrB7awFGqszb9LrhLue c0yEpn2ISqx/JZ6lWJbH5wAggAU4qCdsEEVAn5yWruZlBiyIMCdFO8yy2I2R67Y7y4WS bhywizSTp6yOrij5MYJjK9vfMPpmWAut1kN+OXR42nin8X6qWHjmlT/SWHojMZyLMJfv 0SuQ== 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=qFz3zOvy3AnGZD85l2FWasqilDMcnZHehsgUg0zDcWI=; b=mfbLtNIWBRtEWPe7LH2JV62GpM2PzxWDAUSRS1d4kDYfvdUSDckl0bCfjS9q1T9c6F DvO+klDxffrZ+KPjZI5iXxDwLLg6OIaAUvtndQrhHMnQTkzv8w/Ji9WraJCxiB98rkOc bXcjbC8Bshm1jUYE2QF1lgoWMUH8plKxu0kkbycsMdWJzp+EmUuxitFyG1YcvVgfvm93 jGzWv2YZEdyDDZTAgXEoU6VxTVnGbCro2O2V9Zx80uA2db1D4vJP01dRf0eJvGQQxXDC cV4uG6RkJAA6jm0XVCWnthZStEHgNQXLpcn14BW5v8t8oDjLimCj5Y0ToeBXjjKdwKxm QmzQ== X-Gm-Message-State: ABUngvfPZOW5PYUQM+cSK9PFPV4dqo86nZfWdpTy0JyLSyZG46pzLunx8NKOr1tKhwKIWezv X-Received: by 10.194.100.169 with SMTP id ez9mr6010745wjb.9.1477560861564; Thu, 27 Oct 2016 02:34:21 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id im3sm7412558wjb.13.2016.10.27.02.34.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 27 Oct 2016 02:34:21 -0700 (PDT) From: Alexandre Bailon To: khilman@baylibre.com, robh+dt@kernel.org, b-liu@ti.com Subject: [PATCH v3 1/4] dt/bindings: Add binding for the DA8xx MUSB driver Date: Thu, 27 Oct 2016 11:34:04 +0200 Message-Id: <1477560847-8929-2-git-send-email-abailon@baylibre.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1477560847-8929-1-git-send-email-abailon@baylibre.com> References: <1477560847-8929-1-git-send-email-abailon@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161027_035458_923317_A1E2C69D X-CRM114-Status: GOOD ( 12.83 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2a00:1450:400c:c09:0:0:0:22c listed in] [list.dnswl.org] 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Petr Kulhavy , Alexandre Bailon , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.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 --- .../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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel 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"; + };