From patchwork Wed Nov 16 10:52:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 82481 Delivered-To: patch@linaro.org Received: by 10.140.97.165 with SMTP id m34csp83008qge; Wed, 16 Nov 2016 02:53:19 -0800 (PST) X-Received: by 10.99.216.21 with SMTP id b21mr7006212pgh.159.1479293599779; Wed, 16 Nov 2016 02:53:19 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3si31309359pfh.232.2016.11.16.02.53.19; Wed, 16 Nov 2016 02:53:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-usb-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; 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-usb-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-usb-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755469AbcKPKxR (ORCPT + 4 others); Wed, 16 Nov 2016 05:53:17 -0500 Received: from mail-wm0-f51.google.com ([74.125.82.51]:35093 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755061AbcKPKwe (ORCPT ); Wed, 16 Nov 2016 05:52:34 -0500 Received: by mail-wm0-f51.google.com with SMTP id a197so230886347wmd.0 for ; Wed, 16 Nov 2016 02:52:34 -0800 (PST) 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=101gw570iL+1yJM+un5y51jCwUtquRKwznJoQP6dvFKCZaQnZuIPc31HH+t/HT5/Fg PVU2S38AJqCgonVgy/5YxUrOPBVvoP8CBkxx3unFK92lGZLAYiVixHqiJVu937/vciCz Z/SGnH5S2ZUUUMlGlskzJVmbBbKF3DGrBKeBFu9zSj+smM8FuckXl0lzl4XbI/kgFhlz rsHlDOdEoFk/07BPNq8009MfYqTRP16UOeWxXNLzz8BYfo7NXGuPyNDvmLpUV4GQmQy8 1nFmxi3VQvgxecsgT81cA6OnUDB3ridqLVgw4G78ueH/DvgG2G4b3Kemp8p1W9PF2dYO 2QzQ== 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=Nczzg65XdJnp0w4yyJqMVXaITfGJb7KAmuWzxRLMkHfMvMFzlqgt8PMe3jaiGQIFP8 hRsyN/U7/A6K3nXmVmVgCHBZiETwv0Fx6zWxE4x/LIMLrPw0Cilg91bxEG2taqsPgW2+ /4B7qvtEQ9MRzFEGXKQQRvfelh7j/DmYCfklmAUu/AlwvUJ9Ft1g6XBhAhXJorBMMEBs 3ppYnWxpgzxmpzir6I89MbTciUDuIJiPYT7myD9bGwcXjuOsfdxtlCk5mpfP0nn7h6qP +UnQYk186jpwMpH9/seEc28CEpyzG/eTvJeWmJgpYddOtK/XKS6T6Ky0o3aYLq/XIlDW LfkA== X-Gm-Message-State: ABUngvcaOL1HDZiSOlkNvAZHpdXBMBOH8v8S/ts1wl149u9OVqe9praSxq98xSfGdCBchXBh X-Received: by 10.28.230.197 with SMTP id e66mr9519188wmi.12.1479293553522; Wed, 16 Nov 2016 02:52:33 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id m9sm9444479wma.0.2016.11.16.02.52.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 16 Nov 2016 02:52:33 -0800 (PST) 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 v5 1/3] dt/bindings: Add binding for the DA8xx MUSB driver Date: Wed, 16 Nov 2016 11:52:23 +0100 Message-Id: <1479293545-7516-2-git-send-email-abailon@baylibre.com> X-Mailer: git-send-email 2.7.3 In-Reply-To: <1479293545-7516-1-git-send-email-abailon@baylibre.com> References: <1479293545-7516-1-git-send-email-abailon@baylibre.com> Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@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 -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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"; + };