From patchwork Wed Oct 8 18:04:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 5054971 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id E59FC9F30B for ; Wed, 8 Oct 2014 18:06:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1D06E20123 for ; Wed, 8 Oct 2014 18:06:46 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3738E201CD for ; Wed, 8 Oct 2014 18:06:45 +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 1XbvbG-0003jJ-Ko; Wed, 08 Oct 2014 18:04:34 +0000 Received: from mail-lb0-f173.google.com ([209.85.217.173]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1XbvbC-0003Z4-4R for linux-arm-kernel@lists.infradead.org; Wed, 08 Oct 2014 18:04:30 +0000 Received: by mail-lb0-f173.google.com with SMTP id 10so8674000lbg.4 for ; Wed, 08 Oct 2014 11:04:07 -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=wK70y2ajZzM4c99dzKmhxHvupgJ1jVUk0qxnuDIYseM=; b=XKVRXaztcKGxU3jndw1H15wKi3eAUQUmBWrFxA6oIEPDJHFZhrhPTfuKmt0C47Kp// ZsPrQhFDV6ThpwTtxebWDemt8DoIgzyFuRISRyFb6Q658AFBir4OyQo877PwsMVLT8RR y2yvXrh7a5rfwyIOEbOFc9HDt+ldfnhld2RX62O/1amNvNS4u1FtPQ7wOqJ01pmbH7LH gwwhp7TqwM8hugw1l0FNprAKBf1rgXdJB2FGZAZcPlno8AZjBsKJsB//L1kDSuizeE0/ wI6gCVQz+bnAbbWL+qEaWqKJvc0VKiQYpWDcbYjFPoBSv5LHrXWidJ8vNXP2bGMhiCZw VScw== X-Gm-Message-State: ALoCoQkuMIRxdJ0Mt+WjS1XqOrcMKdsY7nKG7U00he2t+GZuDvfy4vLrF/BhXTz/K78HV59KoJpg X-Received: by 10.112.77.5 with SMTP id o5mr12669552lbw.71.1412791447214; Wed, 08 Oct 2014 11:04:07 -0700 (PDT) Received: from wasted.cogentembedded.com (ppp83-237-248-242.pppoe.mtu-net.ru. [83.237.248.242]) by mx.google.com with ESMTPSA id ld7sm243890lac.23.2014.10.08.11.04.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Oct 2014 11:04:06 -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 v3 3/3] ARM: shmobile: henninger: enable HS-USB Date: Wed, 08 Oct 2014 22:04:04 +0400 Message-ID: <2594830.xOnLuo3vQq@wasted.cogentembedded.com> Organization: Cogent Embedded Inc. User-Agent: KMail/4.14.1 (Linux/3.16.3-200.fc20.x86_64; KDE/4.14.1; x86_64; ; ) In-Reply-To: <1511869.4ca9KHmSFr@wasted.cogentembedded.com> References: <1511869.4ca9KHmSFr@wasted.cogentembedded.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141008_110430_358311_3F9B52C1 X-CRM114-Status: GOOD ( 10.00 ) X-Spam-Score: -0.7 (/) Cc: linux@arm.linux.org.uk, yoshihiro.shimoda.uh@renesas.com, linux-usb@vger.kernel.org, magnus.damm@gmail.com, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, 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 From: Yoshihiro Shimoda Enable HS-USB device for the Henninger 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. Signed-off-by: Yoshihiro Shimoda [Sergei: added pin function/group and prop, moved device node, fixed summary, added changelog] Signed-off-by: Sergei Shtylyov --- Changes in version 2: - added pinctrl-related properties; - moved the HS-USB node to precede the USB PHY node; - uppercased "arm" in the summary; - added changelog. arch/arm/boot/dts/r8a7791-henninger.dts | 7 +++++++ 1 file changed, 7 insertions(+) Index: renesas/arch/arm/boot/dts/r8a7791-henninger.dts =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7791-henninger.dts +++ renesas/arch/arm/boot/dts/r8a7791-henninger.dts @@ -272,6 +272,13 @@ pinctrl-names = "default"; }; +&hsusb { + status = "okay"; + pinctrl-0 = <&usb0_pins>; + pinctrl-names = "default"; + renesas,enable-gpio = <&gpio5 31 GPIO_ACTIVE_HIGH>; +}; + &usbphy { status = "okay"; };