From patchwork Sun May 21 16:44:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Wahren X-Patchwork-Id: 9739191 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 EE1CB60326 for ; Sun, 21 May 2017 16:57:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E029F28648 for ; Sun, 21 May 2017 16:57:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D4E2228699; Sun, 21 May 2017 16:57:19 +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=-1.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_SORBS_SPAM autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 4C2BA28648 for ; Sun, 21 May 2017 16:57:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=oiahHJu85UF5y+EELyHVWjsCQkp9Y4OxQch/gCBjmVg=; b=L64W51GYM053zBZQo7dljWiZs2 uGS+cBEebJVNFiX/jHaVRvOgu1ny6GDdLyfezqZ8kNOom95xj8MG86VZFxkmnTfyWJ4cTfKleiW2z lpi5tM4KEupr/Hcym2I9BWY1o7tr54t68B7TS5uxpUERQlFQJUwBsD4gsi+AA8AuuZjTktC2oMMy3 9Nvi3n02yB62IpTVbBiBYzphpt9MXCTdpQ9qb8jky9r/poCo0XFh4n1n5OowbyGn/Mi1llKCF9Pl9 nuiKHbKaC9LT3nVNTgU8e6APxz1Ujy6+HksxxICCTliFUdjDyRpdgbHRcBoMuONDh4wHfHRekqB5f bt4ZtzOA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dCUAN-0008CB-Fd; Sun, 21 May 2017 16:57:15 +0000 Received: from mout.kundenserver.de ([212.227.126.130]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dCTzb-0003XN-1Q; Sun, 21 May 2017 16:46:10 +0000 Received: from localhost.localdomain ([95.90.210.50]) by mrelayeu.kundenserver.de (mreue004 [212.227.15.167]) with ESMTPSA (Nemesis) id 0MUjkW-1dSy823JU4-00Y6Pb; Sun, 21 May 2017 18:45:34 +0200 From: Stefan Wahren To: Rob Herring , Mark Rutland , Eric Anholt Subject: [PATCH 2/4] ARM: dts: bcm283x: Add generic USB PHY Date: Sun, 21 May 2017 18:44:37 +0200 Message-Id: <1495385079-3697-3-git-send-email-stefan.wahren@i2se.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1495385079-3697-1-git-send-email-stefan.wahren@i2se.com> References: <1495385079-3697-1-git-send-email-stefan.wahren@i2se.com> X-Provags-ID: V03:K0:aNRYRGMfo1abipmWIjX5s8wkeLf1Zjg5K0QaDWejVvsiVKJF2GM uyhvOs1+Io39wYaVxuplmNdw4uGGazmmnfbQh5BCINMovjmJUBoD0Gkrb+fbVLibjib9vmr s75dcMmMSJQjNY9J8oCFuzo8NX2txgx2aBGvJLrzbib/ZuCoKHa8zbXS1SD7DVu3L+17eOO tRMxIJsfxtAVHWG+qdy9w== X-UI-Out-Filterresults: notjunk:1; V01:K0:OOfuOjrgNWA=:uJKvY+xmkve17SeyIqYUl1 al8Nn49upZ3+2yzqmqyvuJqeBsoNOSpkZ54imoXu95IZ3cVwPGELAxnpBbE/z2M7j9POmeW+D qC9p8GfidfL6KZ+Jd/M5lW6poAmpWKqpaXCFeMat+tD2X2mAM+0Op4xJaaT2Z4zIU6+Jokl1z UfBlLx6aLVH6MYZNMdownw7Vr5S51r8HWIMfsFRWzYUZCXcQLQCNhYz2DDRK7/C1a05xaisD4 q780Dl8/kr26W+Wut5leTubsuVcZ4RUyNRJLG47W2HMB3tFThcwtqzdNI+KoW4/lpbTYfx9iS AxqRmoXeLEdoIH4o7qh41BIbUGRS5mKxJkRwCgWD/g4mfppB6apoSJJNEO3NjmZ3/8EiXcgCn 1rs6mS2dcydZjB1M7loz8zyw6Mt+W19W+kCWtTtD1q9wwGKAUxWVvtIqlLqNnrVIjekvgREta SVy1rAdpMNlnZJNO0pJu7BDsauVxwaa3u2xHdA7pQDpYos8nyDXy/lJhGaGTYeQWuVYh6Aame M+ZJCcy3549bcvg2EbbHrAX7HbAAFk12fZ25DOdmyVzxy3L3bCR8SJj4fT/hcSDbjXOhosdId FDu2z8AbVnMxr/ZUqGsk0+MTSlz18ZUffkkGMI2frATJ8KDZ3IqM2lG+/+De88sPNmqU5GDKG TW5+lstf9koX5Qry6RCiAM8d+nY6x8y1MIFcoo/wnrcA1YRQ7UddP0Nj8umuCA8gA49I= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170521_094607_423651_D901F9CA X-CRM114-Status: UNSURE ( 7.95 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Stefan Wahren , devicetree@vger.kernel.org, Florian Fainelli , Phil Elwell , linux-rpi-kernel@lists.infradead.org, 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 In order to use dwc2 in OTG or gadget mode the USB PHY should be specified. Since there is no bcm283x USB PHY driver use the generic one. Signed-off-by: Stefan Wahren Acked-by: Stephen Warren --- arch/arm/boot/dts/bcm283x.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/bcm283x.dtsi b/arch/arm/boot/dts/bcm283x.dtsi index 86a5db5..9a05cde 100644 --- a/arch/arm/boot/dts/bcm283x.dtsi +++ b/arch/arm/boot/dts/bcm283x.dtsi @@ -589,6 +589,8 @@ #size-cells = <0>; clocks = <&clk_usb>; clock-names = "otg"; + phys = <&usbphy>; + phy-names = "usb2-phy"; }; v3d: v3d@7ec00000 { @@ -624,4 +626,8 @@ clock-frequency = <480000000>; }; }; + + usbphy: phy { + compatible = "usb-nop-xceiv"; + }; };