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: 5054901 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BE07FC11AB for ; Wed, 8 Oct 2014 18:04:15 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 12E91201F2 for ; Wed, 8 Oct 2014 18:04:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3EDCF201DD for ; Wed, 8 Oct 2014 18:04:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751257AbaJHSEJ (ORCPT ); Wed, 8 Oct 2014 14:04:09 -0400 Received: from mail-lb0-f175.google.com ([209.85.217.175]:44168 "EHLO mail-lb0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751056AbaJHSEI (ORCPT ); Wed, 8 Oct 2014 14:04:08 -0400 Received: by mail-lb0-f175.google.com with SMTP id u10so8795939lbd.34 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=Hnflof+9aunoXaq1v1zMNteEu+Sf0lxyyP+HZim99QWd3jiW6oiWw9E90bpskVhrzg 6uMdpZJ9eGugENufvBNkhzj4g3MAXOPafb6l3JugD/To5hMsqeV3hcZ4grGxGePjuy2X UHzlPp1wWLyVzubG0vWvKBIxfblvnJ5MIfa06FnBFCcuT2jqomkHamahwlAY4UCwRlkA V7XUg/y3TB0hyw15/1uXy06ZkUgXqpXv0M/jJFyelCl8RpyXKLElcRPZDmfVUeSONwsB cqYObDgxhTLQnZ48z2KeKoI2zPMBI+q+/tVWzvyr1IfumcishIpd3C2sT8XBXTQpCK5R Ig6w== X-Gm-Message-State: ALoCoQkbJ5c8PbSG+yFqYdQDLljxMz2mPfM52/xl/rsCnLzsj17b1Vnfh+zHxnEslJFMHYqeARMq 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 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 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 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 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(+) -- 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-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"; };