From patchwork Mon Nov 17 16:47:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 40933 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f198.google.com (mail-lb0-f198.google.com [209.85.217.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 37FBA24035 for ; Mon, 17 Nov 2014 16:48:39 +0000 (UTC) Received: by mail-lb0-f198.google.com with SMTP id 10sf11692668lbg.9 for ; Mon, 17 Nov 2014 08:48:38 -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=svAN8wcGrwSwGJXg6OqBkt+U570Dtp+8TAUAEKqhwR8=; b=RqFRBfIm2bNJa5XP53P/5gydqqPSFSuTA1ldBzZFnEnKUyTqKFsMPPD1X1anOiZyaW O49T8ih7lPBWeWJxKjlARsx8AumxRdFYR+uY+D/CkX82KvLQYZpJf5IIle6ogX47Q0sG Cq5uhN0tApZtg+Dm7m8dLkWyA0mAszzJLrGaUEm5mDYZnbDf2Gj/J3yPro9CllHG8MOh eHwdJBCVujKzQxpgiETFrBgBpqwyAhfFa+HUX62qHJFNB4dnywhV49wHDQP3KeOIHOKS PRFenLMeurtE86fcI9ZdlFFwat7K7Me70eg0uBiR07qYs1U8lhB4taQwyoSCHUh44wvt 4qrQ== X-Gm-Message-State: ALoCoQnS9fAIQ7Pom/KwP67Os/Yl1gFnk4dsuMxKhqiX3hxJew/BYjh2pVgcibxqua7aGSPmFPge X-Received: by 10.112.89.195 with SMTP id bq3mr1828421lbb.9.1416242918020; Mon, 17 Nov 2014 08:48:38 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.5.166 with SMTP id t6ls1338827lat.20.gmail; Mon, 17 Nov 2014 08:48:37 -0800 (PST) X-Received: by 10.153.4.2 with SMTP id ca2mr12866855lad.30.1416242917741; Mon, 17 Nov 2014 08:48:37 -0800 (PST) Received: from mail-la0-f46.google.com (mail-la0-f46.google.com. [209.85.215.46]) by mx.google.com with ESMTPS id xz9si32806117lbb.126.2014.11.17.08.48.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 17 Nov 2014 08:48:36 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.46 as permitted sender) client-ip=209.85.215.46; Received: by mail-la0-f46.google.com with SMTP id gd6so2820609lab.5 for ; Mon, 17 Nov 2014 08:48:36 -0800 (PST) X-Received: by 10.153.7.170 with SMTP id dd10mr28810190lad.44.1416242916466; Mon, 17 Nov 2014 08:48:36 -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 ew9csp1186692lbc; Mon, 17 Nov 2014 08:48:32 -0800 (PST) X-Received: by 10.66.154.10 with SMTP id vk10mr30237064pab.26.1416242911168; Mon, 17 Nov 2014 08:48:31 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id rd7si35646530pab.141.2014.11.17.08.48.30 for ; Mon, 17 Nov 2014 08:48:31 -0800 (PST) Received-SPF: none (google.com: devicetree-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 S1751809AbaKQQsV (ORCPT + 4 others); Mon, 17 Nov 2014 11:48:21 -0500 Received: from mail-wi0-f182.google.com ([209.85.212.182]:53799 "EHLO mail-wi0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750806AbaKQQsU (ORCPT ); Mon, 17 Nov 2014 11:48:20 -0500 Received: by mail-wi0-f182.google.com with SMTP id h11so9720955wiw.9 for ; Mon, 17 Nov 2014 08:48:19 -0800 (PST) X-Received: by 10.194.103.232 with SMTP id fz8mr10718192wjb.110.1416242898903; Mon, 17 Nov 2014 08:48:18 -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 t7sm52235628wjy.24.2014.11.17.08.48.17 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Nov 2014 08:48:18 -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 v3 01/11] ARM: STi: DT: STiH416: Add pinctl setup for usb controllers. Date: Mon, 17 Nov 2014 16:47:54 +0000 Message-Id: <1416242884-5261-2-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1416242884-5261-1-git-send-email-peter.griffin@linaro.org> References: <1416242884-5261-1-git-send-email-peter.griffin@linaro.org> Sender: devicetree-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: devicetree@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.46 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 {