From patchwork Fri Nov 7 11:57:43 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 40381 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-lb0-f199.google.com (mail-lb0-f199.google.com [209.85.217.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 8A3F0240F7 for ; Fri, 7 Nov 2014 11:58:35 +0000 (UTC) Received: by mail-lb0-f199.google.com with SMTP id n15sf1776690lbi.6 for ; Fri, 07 Nov 2014 03:58:34 -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=XVyEky84yRvvCQ0VKBHGNpJOle1ksqhdC0rE11OfZaE=; b=BABC/+yHx9whrC977BgsFPJ6p4w8idq/A6QJLFkIyzofqAYB46jGchS0xjFTUCfrzQ A9cIF4eLY9yFl81DlGWmZouytFYeNHcs9oOuDN68p3HnNZt0VSWOYUx0ykjIby9eWeJU SHBlqVrhcJOqZTA5s41rOmGDBfsAi2+NKBu55CSEl6lFNZx372zVVs3lNaop+k4A+zLF Nx+wz1Mo1wy/g4GmezVd1hDsBhIn+srCK7GRiebhOvepzLC0MsVoUWhx1MGX2JROpRre CNJwgINGAm2IEj+2FAZdFslKIuoNjFto+IBt1tIVQBer9aOGOkPA8GcGF82C/qdiakzl tivA== X-Gm-Message-State: ALoCoQnEhwXe6wsMzsCXomg9rKxalSD7M8uvUP540MUJt7gWjKoiKhKsBfZMEhLl2pDsOXyXfbmb X-Received: by 10.112.16.35 with SMTP id c3mr320995lbd.13.1415361514254; Fri, 07 Nov 2014 03:58:34 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.206.1 with SMTP id lk1ls204690lac.9.gmail; Fri, 07 Nov 2014 03:58:33 -0800 (PST) X-Received: by 10.152.87.100 with SMTP id w4mr10648484laz.27.1415361513915; Fri, 07 Nov 2014 03:58:33 -0800 (PST) Received: from mail-la0-f50.google.com (mail-la0-f50.google.com. [209.85.215.50]) by mx.google.com with ESMTPS id oz1si8848362lbb.88.2014.11.07.03.58.33 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 07 Nov 2014 03:58:33 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.50 as permitted sender) client-ip=209.85.215.50; Received: by mail-la0-f50.google.com with SMTP id hz20so4263181lab.37 for ; Fri, 07 Nov 2014 03:58:33 -0800 (PST) X-Received: by 10.152.5.38 with SMTP id p6mr10799178lap.44.1415361513788; Fri, 07 Nov 2014 03:58:33 -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 ew9csp185332lbc; Fri, 7 Nov 2014 03:58:32 -0800 (PST) X-Received: by 10.68.90.225 with SMTP id bz1mr11230743pbb.153.1415361512210; Fri, 07 Nov 2014 03:58:32 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h2si8869085pdk.90.2014.11.07.03.58.30 for ; Fri, 07 Nov 2014 03:58:32 -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 S1751886AbaKGL6Z (ORCPT + 25 others); Fri, 7 Nov 2014 06:58:25 -0500 Received: from mail-wi0-f176.google.com ([209.85.212.176]:59505 "EHLO mail-wi0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752160AbaKGL6T (ORCPT ); Fri, 7 Nov 2014 06:58:19 -0500 Received: by mail-wi0-f176.google.com with SMTP id h11so4322682wiw.3 for ; Fri, 07 Nov 2014 03:58:18 -0800 (PST) X-Received: by 10.194.19.4 with SMTP id a4mr15287612wje.3.1415361498116; Fri, 07 Nov 2014 03:58: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 dw9sm1793500wib.0.2014.11.07.03.58.16 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 07 Nov 2014 03:58:17 -0800 (PST) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, srinivas.kandagatla@gmail.com, maxime.coquelin@st.com, patrice.chotard@st.com Cc: peter.griffin@linaro.org, lee.jones@linaro.org, devicetree@vger.kernel.org Subject: [PATCH 01/13] ARM: STi: DT: STiH416: Add pinctl setup for usb controllers. Date: Fri, 7 Nov 2014 11:57:43 +0000 Message-Id: <1415361475-6218-2-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1415361475-6218-1-git-send-email-peter.griffin@linaro.org> References: <1415361475-6218-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.50 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 {