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: 5295461 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D95BAC11AC for ; Thu, 13 Nov 2014 11:06:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0BD8B20120 for ; Thu, 13 Nov 2014 11:06:28 +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 40BBD200E8 for ; Thu, 13 Nov 2014 11:06:27 +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 1XosBj-0007EV-0d; Thu, 13 Nov 2014 11:03:43 +0000 Received: from mail-wg0-f42.google.com ([74.125.82.42]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xos9T-00055k-DI for linux-arm-kernel@lists.infradead.org; Thu, 13 Nov 2014 11:01:24 +0000 Received: by mail-wg0-f42.google.com with SMTP id y19so1074327wgg.1 for ; Thu, 13 Nov 2014 03:01:03 -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=L6HmuilZClQfvne481oqE1o0+0Sk/65ggV1LfQ5jAoY=; b=cVHoBP4jam90cjoPIW80fBlBHrOac/ZIKOsKzCAbJyVwbn/MQVs8ZwkJSdRwk0iw52 3VidLLruqRVAZxDlPqfo4og/ryHRG+rlKkaHX1D3WguGia/umnIIhCeSfdM+A0BhzRb9 d58r141URmiqnQe2BMntP/WFNnU6FRWopjZhrNYMYSUnOT/5U6znl2Fdx6aIHxooKDTv ywlTDY7UiNXfLJrXz2ulEKOaq95OJmKvqqlAYOHEx9wrEiBFbhj4AdDgfuqEWZq53ulA ehYxJJjPYxUJiaJzAeEShupfkZ3e01QdhmO9Ly5s1GC1MV5jZXyFvt9Q8jHtVGd4xnub g6Lw== X-Gm-Message-State: ALoCoQnGZg8zQICxZ2VytcoCP/3ugGyvxkqLaOS07gEsB7wmpRhkDmw/9rygPiMx/syQtTO/tBso 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141113_030123_648217_C68C0088 X-CRM114-Status: GOOD ( 11.15 ) 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 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>; + }; + }; + }; + }; + }; +};