From patchwork Thu Nov 13 11:00:12 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 40731 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 7E177240ED for ; Thu, 13 Nov 2014 11:07:27 +0000 (UTC) Received: by mail-wi0-f199.google.com with SMTP id r20sf3116479wiv.6 for ; Thu, 13 Nov 2014 03:07:26 -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=u8Xr53CMAiYFyeNwZ5IQBURO8BvyvOIhBi0TnMFIGf8=; b=Qkjv9gE/SUODlHcOiB671ii/oFJz3FIaXjhyTpjWamM+fUYe9ZH6dVUDS4sDTlplWe fPCRF9dQZa/sM9mk7r7uV/vWDTm0a5menvIn2EI/LHdK8bXBE0GWd1V80y3/Pc/+jyG6 ba4MTLORDRuzSnfNlzCNjzqdLHBEjxmryD70vS5L0GHAB/EaOBnF1KmtqCmINIw71Su0 Gsj/Un6ST+98Ph6jO0M/7nqNA4WbBY4XE1Sb5Hzn+QsZmmetD6PWhFh7A1J7BJsBKHHW FVpGIlRStyI89SrRThfNq6rrdxG5cBiyEVA9X/MncaSUFy/Qhp4XbtdMoOj2xXq37J8F N2qw== X-Gm-Message-State: ALoCoQlTf7D3v4fyqZ8lLMep70FtbEFL34gOfk3YsPxqwzCh2pjqZopEhi+rY19MDksCXXhlZgaM X-Received: by 10.181.8.194 with SMTP id dm2mr7835388wid.2.1415876501049; Thu, 13 Nov 2014 03:01:41 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.206.1 with SMTP id lk1ls810799lac.9.gmail; Thu, 13 Nov 2014 03:01:40 -0800 (PST) X-Received: by 10.152.9.225 with SMTP id d1mr1736914lab.38.1415876500596; Thu, 13 Nov 2014 03:01:40 -0800 (PST) Received: from mail-la0-f42.google.com (mail-la0-f42.google.com. [209.85.215.42]) by mx.google.com with ESMTPS id pw1si38137562lbb.13.2014.11.13.03.01.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Nov 2014 03:01:40 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.42 as permitted sender) client-ip=209.85.215.42; Received: by mail-la0-f42.google.com with SMTP id gq15so13178882lab.1 for ; Thu, 13 Nov 2014 03:01:40 -0800 (PST) X-Received: by 10.112.14.69 with SMTP id n5mr1755287lbc.34.1415876500511; Thu, 13 Nov 2014 03:01:40 -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 ew9csp570553lbc; Thu, 13 Nov 2014 03:01:39 -0800 (PST) X-Received: by 10.68.135.229 with SMTP id pv5mr1805677pbb.23.1415876498753; Thu, 13 Nov 2014 03:01:38 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gm10si3889808pbd.44.2014.11.13.03.01.38 for ; Thu, 13 Nov 2014 03:01:38 -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 S932876AbaKMLBN (ORCPT + 26 others); Thu, 13 Nov 2014 06:01:13 -0500 Received: from mail-wi0-f180.google.com ([209.85.212.180]:47489 "EHLO mail-wi0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932818AbaKMLBE (ORCPT ); Thu, 13 Nov 2014 06:01:04 -0500 Received: by mail-wi0-f180.google.com with SMTP id hi2so7802132wib.13 for ; Thu, 13 Nov 2014 03:01:03 -0800 (PST) X-Received: by 10.194.81.6 with SMTP id v6mr2690482wjx.39.1415876463415; Thu, 13 Nov 2014 03:01:03 -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.01.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 13 Nov 2014 03:01:02 -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 09/14] ARM: STi: DT: STiH410: Add pinctl config for usb controllers. Date: Thu, 13 Nov 2014 11:00:12 +0000 Message-Id: <1415876417-28728-10-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.42 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 configiguration for the extra usb controllers found on the stih410 device. Signed-off-by: Peter Griffin --- arch/arm/boot/dts/stih410-pinctrl.dtsi | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 arch/arm/boot/dts/stih410-pinctrl.dtsi diff --git a/arch/arm/boot/dts/stih410-pinctrl.dtsi b/arch/arm/boot/dts/stih410-pinctrl.dtsi new file mode 100644 index 0000000..b3e9dfc --- /dev/null +++ b/arch/arm/boot/dts/stih410-pinctrl.dtsi @@ -0,0 +1,34 @@ +/* + * Copyright (C) 2014 STMicroelectronics Limited. + * Author: Peter Griffin + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * publishhed by the Free Software Foundation. + */ +#include "st-pincfg.h" +/ { + + soc { + pin-controller-rear { + + usb0 { + pinctrl_usb0: usb2-0 { + st,pins { + usb-oc-detect = <&pio35 0 ALT1 IN>; + usb-pwr-enable = <&pio35 1 ALT1 OUT>; + }; + }; + }; + + usb1 { + pinctrl_usb1: usb2-1 { + st,pins { + usb-oc-detect = <&pio35 2 ALT1 IN>; + usb-pwr-enable = <&pio35 3 ALT1 OUT>; + }; + }; + }; + }; + }; +};