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: 40718 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A7F03240ED for ; Thu, 13 Nov 2014 11:01:12 +0000 (UTC) Received: by mail-wg0-f71.google.com with SMTP id b13sf7790239wgh.6 for ; Thu, 13 Nov 2014 03:01:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=3yS+o3K2/q6IL5O9iEHiZaKXub5HsUoeYAmnEb+ZHj8=; b=XsTCJS+1nl1+cpU6bi0fLjH3xYypN3kWNAGK+ExXQA/d+7lEwzRPytoo1oI4QwdlCZ O1FV32B9E/ZvIHCn7DTzBb0DHWStNBPWJQztfMHkmU/n7yfnNEr1a3pefOyma99Oj1zM Pgg/9qszcLrE53Z7no57qhx3mf2aw6VrM2MICqGAXGaBDP222SU9OKrzEl8MuOqXckci JE/w51nfbl+mjql3aojMOb23nY5cluAV5G6Lwad80APK7dsx91q90dU/1Mw9/unRB1U6 zPRl6Yy2YKe3MCA1fR5YTsmv5KF0BVvENzu36QDlzVR8xBv+lhkRn0TLRd0J2l9ilvQE ZhIQ== X-Gm-Message-State: ALoCoQnnpuig2Whx/0xfRL4DXvN62oIRF7RDFwXwSm2YA7597F9QpkB6WF1eDcXW7ObhG9Kg+Oeb X-Received: by 10.112.137.202 with SMTP id qk10mr641200lbb.11.1415876471865; Thu, 13 Nov 2014 03:01:11 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.39 with SMTP id p7ls8312lap.5.gmail; Thu, 13 Nov 2014 03:01:11 -0800 (PST) X-Received: by 10.112.130.132 with SMTP id oe4mr1715220lbb.82.1415876471691; Thu, 13 Nov 2014 03:01:11 -0800 (PST) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com. [209.85.215.52]) by mx.google.com with ESMTPS id xz9si18235992lbb.126.2014.11.13.03.01.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Nov 2014 03:01:11 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by mail-la0-f52.google.com with SMTP id pv20so12724501lab.39 for ; Thu, 13 Nov 2014 03:01:11 -0800 (PST) X-Received: by 10.152.37.69 with SMTP id w5mr1635099laj.67.1415876471605; Thu, 13 Nov 2014 03:01:11 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp570481lbc; Thu, 13 Nov 2014 03:01:10 -0800 (PST) X-Received: by 10.66.151.202 with SMTP id us10mr1290989pab.78.1415876469893; Thu, 13 Nov 2014 03:01:09 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gm10si3888638pbd.44.2014.11.13.03.01.09 for ; Thu, 13 Nov 2014 03:01:09 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932737AbaKMLAp (ORCPT + 26 others); Thu, 13 Nov 2014 06:00:45 -0500 Received: from mail-wi0-f180.google.com ([209.85.212.180]:57413 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932540AbaKMLAn (ORCPT ); Thu, 13 Nov 2014 06:00:43 -0500 Received: by mail-wi0-f180.google.com with SMTP id hi2so7824895wib.1 for ; Thu, 13 Nov 2014 03:00:42 -0800 (PST) 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 Cc: peter.griffin@linaro.org, lee.jones@linaro.org, devicetree@vger.kernel.org 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> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: peter.griffin@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 {