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: 7397871 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.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1D2169F1B9 for ; Wed, 14 Oct 2015 19:35:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4561B2066C for ; Wed, 14 Oct 2015 19:35:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 61EC220481 for ; Wed, 14 Oct 2015 19:35:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753904AbbJNTfv (ORCPT ); Wed, 14 Oct 2015 15:35:51 -0400 Received: from mail-lf0-f53.google.com ([209.85.215.53]:34436 "EHLO mail-lf0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753370AbbJNTfu (ORCPT ); Wed, 14 Oct 2015 15:35:50 -0400 Received: by lfaz124 with SMTP id z124so17649334lfa.1 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=EWz84Si78ufp439l6A5ucojyVEsYJTkGdpn8dAB426MHmmynSCkZNX/i4TAnZLHNf1 3410UVOfJxOw4W3vQoH+weoQYprhbNG0Y3yuTnIQFMzdHp3/s/TFebt/EDcNzDZXCNfR j4uaKvMqXsiW4V/KuQPCou2lxkHx1HgiigIt6xYE6BvidLl4gnMXealQZjf3oKkNCCcM ii4vqyfCmiyh4PZ7QBIMYVRZCED7rA72B2bzxV2hAr0wVSPqoUlp6HHUXZ+9NYFAFdd2 sl2MvzRaGcAu4fgXytktepS4z99kmEtPfUXM4tRYukBWSkPnlxGkgD6Kjz8jB/H1Ml5o 2h9w== X-Gm-Message-State: ALoCoQnSrevuimMyTxTs897tDiEUiEVgXwNWeS0bItlaP7VCg5v+Od3hSVgNU1s59U9G9GXGmqVD 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 Cc: magnus.damm@gmail.com, linux@arm.linux.org.uk, linux-arm-kernel@lists.infradead.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 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 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(+) -- 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-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"; };