From patchwork Thu Nov 13 11:00:04 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 5295351 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 4BFDD9F2F1 for ; Thu, 13 Nov 2014 11:03:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 85DD92009C for ; Thu, 13 Nov 2014 11:03:40 +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 B4622201F4 for ; Thu, 13 Nov 2014 11:03: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 1Xos9I-0005AP-Vz; Thu, 13 Nov 2014 11:01:12 +0000 Received: from mail-wi0-f170.google.com ([209.85.212.170]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xos9B-0004oY-Cb for linux-arm-kernel@lists.infradead.org; Thu, 13 Nov 2014 11:01:06 +0000 Received: by mail-wi0-f170.google.com with SMTP id r20so1472082wiv.1 for ; Thu, 13 Nov 2014 03:00:42 -0800 (PST) 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:in-reply-to :references; bh=zV6hVXi3+pmtjimlKLygSHCy1rWu9jct0hRCuCydo9Q=; b=k5XxveFVF2ByOe66YRmzoXgkzZI5B9eCoXTXzhk3rVQRKyte7KSYW+NtJJzch3M/ni u3S10pxH8TZI/emrl8j+QAetDB5o135o3k+yVE+pN0aS5XKaX1Xy5FDYzBADwYBc/vFd MI68RvNiG6wsL98KngFW043DDI3M+Z0SoMPx2nIb6g+uG8LY2qQ8Ggi7kqXYOQR4btMJ 6S1lqNtpSVPMJDBcD5Y0Y/XM3zqwVpFUokJFP+oQKNUEmq3ZRjxzFJG27xcJxkjJjCvu 0Quk9BP6V8at+FHQgmi0SAOtfAlqcHuew2Bs0bAWBraSp4rNm/NtCh9UB32uhuV+CF9E TK4Q== X-Gm-Message-State: ALoCoQnaq7zmFYoQ0uZzZhH2ZWHAQwSn9Um6uLq0ynkhDWvlMXl1GVT1T1pcQHLLmFBW6Y3btglJ X-Received: by 10.180.99.105 with SMTP id ep9mr2726815wib.82.1415876441961; Thu, 13 Nov 2014 03:00:41 -0800 (PST) Received: from localhost.localdomain (cpc14-aztw22-2-0-cust189.18-1.cable.virginm.net. [82.45.1.190]) by mx.google.com with ESMTPSA id p3sm35037554wjf.49.2014.11.13.03.00.39 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 13 Nov 2014 03:00:41 -0800 (PST) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, maxime.coquelin@st.com, srinivas.kandagatla@gmail.com, patrice.chotard@st.com, arnd@arndb.de Subject: [PATCH v2 01/14] ARM: STi: DT: STiH416: Add pinctl setup for usb controllers. Date: Thu, 13 Nov 2014 11:00:04 +0000 Message-Id: <1415876417-28728-2-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1415876417-28728-1-git-send-email-peter.griffin@linaro.org> References: <1415876417-28728-1-git-send-email-peter.griffin@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141113_030105_701397_A013A70E X-CRM114-Status: UNSURE ( 9.28 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: peter.griffin@linaro.org, devicetree@vger.kernel.org, lee.jones@linaro.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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, 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 This patch adds the required pin config for all usb controllers on the stih416. Signed-off-by: Peter Griffin Acked-by: Lee Jones --- arch/arm/boot/dts/stih416-pinctrl.dtsi | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/arch/arm/boot/dts/stih416-pinctrl.dtsi b/arch/arm/boot/dts/stih416-pinctrl.dtsi index c2025bc..9cccf2d 100644 --- a/arch/arm/boot/dts/stih416-pinctrl.dtsi +++ b/arch/arm/boot/dts/stih416-pinctrl.dtsi @@ -147,6 +147,15 @@ }; }; + usb { + pinctrl_usb3: usb3 { + st,pins { + oc-detect = <&pio40 0 ALT1 IN>; + pwr-enable = <&pio40 1 ALT1 OUT>; + }; + }; + }; + sbc_i2c1 { pinctrl_sbc_i2c1_default: sbc_i2c1-default { st,pins { @@ -318,6 +327,16 @@ }; }; + usb { + pinctrl_usb0: usb0 { + st,pins { + oc-detect = <&pio9 4 ALT1 IN>; + pwr-enable = <&pio9 5 ALT1 OUT>; + }; + }; + }; + + i2c1 { pinctrl_i2c1_default: i2c1-default { st,pins { @@ -506,6 +525,21 @@ }; }; }; + + usb { + pinctrl_usb1: usb1 { + st,pins { + oc-detect = <&pio18 0 ALT1 IN>; + pwr-enable = <&pio18 1 ALT1 OUT>; + }; + }; + pinctrl_usb2: usb2 { + st,pins { + oc-detect = <&pio18 2 ALT1 IN>; + pwr-enable = <&pio18 3 ALT1 OUT>; + }; + }; + }; }; pin-controller-fvdp-fe {