From patchwork Wed Oct 8 18:02:44 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergei Shtylyov X-Patchwork-Id: 5054871 Return-Path: X-Original-To: patchwork-linux-sh@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 420109F30B for ; Wed, 8 Oct 2014 18:02:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E9A73201F2 for ; Wed, 8 Oct 2014 18:02:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 139FB201CD for ; Wed, 8 Oct 2014 18:02:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751928AbaJHSCt (ORCPT ); Wed, 8 Oct 2014 14:02:49 -0400 Received: from mail-lb0-f179.google.com ([209.85.217.179]:42323 "EHLO mail-lb0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750743AbaJHSCs (ORCPT ); Wed, 8 Oct 2014 14:02:48 -0400 Received: by mail-lb0-f179.google.com with SMTP id l4so8511460lbv.24 for ; Wed, 08 Oct 2014 11:02:47 -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=Kh/umsOU5wTwEyNOle/qDcDkfi47BTiSdrrlMaY/9mY=; b=hhEg0mndvWiNyUr+THDLT0xvEYj9PKjOkku3Bg/fQvXxx0qD15G5+kN0+GkWpGnvYc aFGS5GIvg1glexPxoQjb7bqzKM/Ahr23pmUZfwjzhFzuwI+UmptuEAViyy7cE7wV8VnZ IHOHKqFdxiExpuyv8HFewUwwYxtxLGENinC0NVI/dVYihDFwjcllUmNOD++tSeglCnNh +W2x92wNaXBT7QaZYb0Tdx/DZXrMcBzC51M6ow4EccWlDrSEq77Eiztj+oWsoUESgquT eonm4mQVK2r0JHJcXi4l0cnZCI07tN8QMMBjKlVQVDYDA2oV2oOchUeQN7nnraNpElUf jxbQ== X-Gm-Message-State: ALoCoQnB4pa7MnCt5+rwiY3F5qclK8xzTPnBiQJMnBeDAMGnvknpKpypHnLV0wsSdbrjp7mlPFqO X-Received: by 10.152.198.138 with SMTP id jc10mr13512867lac.59.1412791367216; Wed, 08 Oct 2014 11:02:47 -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 k3sm237073lam.33.2014.10.08.11.02.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Oct 2014 11:02:46 -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 Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.org, linux-usb@vger.kernel.org, yoshihiro.shimoda.uh@renesas.com Subject: [PATCH v3 2/3] ARM: shmobile: koelsch: enable HS-USB Date: Wed, 08 Oct 2014 22:02:44 +0400 Message-ID: <8674731.7YYzQeH0h1@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 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Koelsch 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 3: - 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-koelsch.dts | 7 +++++++ 1 file changed, 7 insertions(+) -- To unsubscribe from this list: send the line "unsubscribe linux-sh" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Index: renesas/arch/arm/boot/dts/r8a7791-koelsch.dts =================================================================== --- renesas.orig/arch/arm/boot/dts/r8a7791-koelsch.dts +++ renesas/arch/arm/boot/dts/r8a7791-koelsch.dts @@ -464,6 +464,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"; };