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: 9411125 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CDC8C6022E for ; Thu, 3 Nov 2016 16:01:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BE3D32ACFB for ; Thu, 3 Nov 2016 16:01:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B307B2ACFD; Thu, 3 Nov 2016 16:01:25 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D342F2ACFB for ; Thu, 3 Nov 2016 16:01:23 +0000 (UTC) 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 1c2KQl-0004Ek-1N; Thu, 03 Nov 2016 15:59:55 +0000 Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1c2KQV-000432-5L for linux-arm-kernel@lists.infradead.org; Thu, 03 Nov 2016 15:59:40 +0000 Received: by mail-wm0-x22b.google.com with SMTP id t79so109892519wmt.0 for ; Thu, 03 Nov 2016 08:59:18 -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=GEDTs02Mo9uEZAkKB0geQsB0CKvhYuZEsEiNu3OFZDfB9Mpao3PSRie+ObzNz+iRaB QnyXMwMrbjdp4cYLhMN46elenaNNUgV3k7jIL35Ff2mz5JYc/bdx9CB+6kB3KrzyAD5L 1fyIemrKsx6Wyq5vvnUZPahGIYqDI4zhZXToENbWifNSI+xbr/Oo/8xlic87m0cmCpLx 5F2croXe+lG4yZsazUnPdCdI9OHWawOCH+XkK1KogklXL67k6Dm10dsur+nOfHjheDcV J3VGe8cbZsLRWb8Wdvd3MMIKwfdxuTubtr4mczOS+Hlp4muMZ9tuzKHoWoYhL8B/e5aE 2N1w== X-Gm-Message-State: ABUngvd/zheFxm6lLYDrmNiw0WTnjhnPBOQy5We3TVnJx9GdFg1vQj4jxAUPrRh6d4zYtT8E 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161103_085939_449230_3044541F X-CRM114-Status: GOOD ( 12.98 ) 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, nsekhar@ti.com, 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+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP 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 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"; + };