From patchwork Wed Oct 14 19:35:46 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 7397891 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 521B79F1B9 for ; Wed, 14 Oct 2015 19:37:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 890A020774 for ; Wed, 14 Oct 2015 19:37:40 +0000 (UTC) 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.kernel.org (Postfix) with ESMTPS id A318820772 for ; Wed, 14 Oct 2015 19:37:39 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZmRqQ-0004VS-GU; Wed, 14 Oct 2015 19:36:14 +0000 Received: from mail-lf0-f48.google.com ([209.85.215.48]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1ZmRqM-0004Ov-QB for linux-arm-kernel@lists.infradead.org; Wed, 14 Oct 2015 19:36:11 +0000 Received: by lffv3 with SMTP id v3so17742179lff.0 for ; Wed, 14 Oct 2015 12:35:48 -0700 (PDT) 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:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=EbbJKeAgWtxonrgQDDUim86sW8TA3VS8nqINRlc7yTU=; b=EXbJdYziG3SIBz/Sj6wUhwQrfSURknMiMGOeaoGx62039gE0n5f6SsR48EiWsj0Arg ucfmKQPqZrajyTVA05BNo7XTN4fMJGgarpVfa6k38MRhiIp9069mEjEaU0Pi/pEKlq3N 5BnFDkTVI/QS6yW+fVCDx8e6u7uOxdyj4Z6bfDmQRhXlCTZDCZf3Whn56TdCjA0x7Z1W H7zHTcpB1lipM8kQkVVd/zCwCmVSnHzzktCsRJZqS8gBwcc1icpqJaWPDFWV+XFFNiUu w0jWy5eBua41M1oh9YiZhEIxOuKOEcnLcw2daXeyEtxhIu4vcKn1kUKviM103BwHQzEz Ssmw== X-Gm-Message-State: ALoCoQn+59rMOqsoibY8fsq2AmGQG1n6vS2Q+7naB6gZvh1V0gNYh8VWv7DZJz1UlPlkhIJ4d9wy X-Received: by 10.25.38.9 with SMTP id m9mr1627165lfm.112.1444851348467; Wed, 14 Oct 2015 12:35:48 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp83-237-254-79.pppoe.mtu-net.ru. [83.237.254.79]) by smtp.gmail.com with ESMTPSA id e13sm1558425lfb.4.2015.10.14.12.35.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Oct 2015 12:35:47 -0700 (PDT) From: Sergei Shtylyov To: horms@verge.net.au, linux-sh@vger.kernel.org, robh+dt@kernel.org, pawel.moll@arm.com, mark.rutland@arm.com, ijc+devicetree@hellion.org.uk, galak@codeaurora.org, devicetree@vger.kernel.org Subject: [PATCH] ARM: shmobile: porter: add HS-USB DT support Date: Wed, 14 Oct 2015 22:35:46 +0300 Message-ID: <80272771.MSjafmr6yE@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.9 (Linux/4.1.8-100.fc21.x86_64; KDE/4.14.9; x86_64; ; ) In-Reply-To: <1674850.BZpGW9kEud@wasted.cogentembedded.com> References: <1674850.BZpGW9kEud@wasted.cogentembedded.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151014_123611_037648_3BAB5446 X-CRM114-Status: GOOD ( 12.44 ) X-Spam-Score: -2.6 (--) 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: linux@arm.linux.org.uk, magnus.damm@gmail.com, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Enable HS-USB device for the Porter board, defining the GPIO that the driver should check when probing (which is the ID output from MAX3355 OTG chip). Note that there will be pinctrl-related error messages if both internal PCI and HS-USB drivers are enabled but they should be just ignored. This patch is analogous to the commit 6f4f7156e0e6 (ARM: shmobile: henninger: enable HS-USB) as there are no differences between the boards in this respect. Signed-off-by: Sergei Shtylyov --- This patch is against 'renesas-devel-20151013v2-v4.3-rc5' tag of Simon Horman's 'renesas.git' repo. arch/arm/boot/dts/r8a7791-porter.dts | 8 ++++++++ 1 file changed, 8 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7791-porter.dts =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7791-porter.dts +++ renesas/arch/arm/boot/dts/r8a7791-porter.dts @@ -269,6 +269,14 @@ status = "okay"; }; +&hsusb { + pinctrl-0 = <&usb0_pins>; + pinctrl-names = "default"; + + status = "okay"; + renesas,enable-gpio = <&gpio5 31 GPIO_ACTIVE_HIGH>; +}; + &usbphy { status = "okay"; };