From patchwork Wed Sep 14 13:27:52 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Griffin X-Patchwork-Id: 76186 Delivered-To: patch@linaro.org Received: by 10.140.106.72 with SMTP id d66csp1876241qgf; Wed, 14 Sep 2016 06:29:25 -0700 (PDT) X-Received: by 10.66.43.164 with SMTP id x4mr4520336pal.11.1473859763558; Wed, 14 Sep 2016 06:29:23 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pe3si4807122pac.96.2016.09.14.06.29.23; Wed, 14 Sep 2016 06:29:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-gpio-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-gpio-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762425AbcINN3W (ORCPT + 4 others); Wed, 14 Sep 2016 09:29:22 -0400 Received: from mail-wm0-f43.google.com ([74.125.82.43]:38420 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762376AbcINN3T (ORCPT ); Wed, 14 Sep 2016 09:29:19 -0400 Received: by mail-wm0-f43.google.com with SMTP id 1so31259535wmz.1 for ; Wed, 14 Sep 2016 06:29:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=IrT4EXm5iVt254XFz7mDQ+tAi9hMDJ29dvkDO6YGkHI=; b=Jo7AnXFessKOgjOHUc1ZWkuDAVixxc5MsvueLHhUHqcfKMt4aA+h53XPL+rSRn3PKR 2OVvqWSnVbaytwM82pmIS8eiDGREnOSqH6fg16L5Oc/PNzbULQJyX5sbTMeyVPHLlPyd nAIJS3HD1eBlFGpJrJLJjRidAYJV86xMzIEpE= 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=IrT4EXm5iVt254XFz7mDQ+tAi9hMDJ29dvkDO6YGkHI=; b=KM8CKRmrsQ1XaoxBT3UYCyFcpK/n7U5si83TjQgOEflePr8BGFUR5UEKxNra8LfKRH pImNaMooWtqgQNRpyoUQjVi7PQNmAGIpYJLuYkD+IOB1y8eBf8nIyf8qr7fdzx4cw8pV JgsspZ3Lhi7FaHYPFt6ShIR8uPntEFgsS0DHl+Hn1KJcGp5NT7tS2wyjX6JZE0USeYEX k0momDXRyCXZE/xdqmZcvv5ZwUPhv4BpmUVZp/HtWLLoUm+QPTd8hD9DUGMdzLbhJ8yj Q8v/HFVCX/BkUb4+kjBD7eUQUYFq0pYVm25dQYHTZgQeD8et1STDAAPK0TtfCCP/BnBk j73A== X-Gm-Message-State: AE9vXwPTsC5ZQWiUvpAkc8QHGAqBARPy9d4AwD2Rj/LF12/DJckFOMBjV0x90wrQFMbPpYvl X-Received: by 10.194.231.99 with SMTP id tf3mr2653716wjc.61.1473859758060; Wed, 14 Sep 2016 06:29:18 -0700 (PDT) Received: from localhost.localdomain (cpc89244-aztw30-2-0-cust4998.18-1.cable.virginm.net. [86.31.179.135]) by smtp.gmail.com with ESMTPSA id c5sm4212812wjw.29.2016.09.14.06.29.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 14 Sep 2016 06:29:17 -0700 (PDT) From: Peter Griffin To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@stlinux.com, patrice.chotard@st.com, devicetree@vger.kernel.org Cc: peter.griffin@linaro.org, lee.jones@linaro.org, , , Subject: [PATCH 14/19] pinctrl: st: Remove obsolete platforms from pinctrl-st dt doc Date: Wed, 14 Sep 2016 14:27:52 +0100 Message-Id: <1473859677-9231-15-git-send-email-peter.griffin@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1473859677-9231-1-git-send-email-peter.griffin@linaro.org> References: <1473859677-9231-1-git-send-email-peter.griffin@linaro.org> Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org STiH415/6 SoC support is being removed from the kernel. This patch updates the ST pinctrl dt doc and removes references to these obsolete platforms. It also updates the dt example to the currently supported STiH407 platform. Signed-off-by: Peter Griffin Cc: Cc: Cc: --- .../devicetree/bindings/pinctrl/pinctrl-st.txt | 33 +++++++++++----------- 1 file changed, 16 insertions(+), 17 deletions(-) -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-st.txt b/Documentation/devicetree/bindings/pinctrl/pinctrl-st.txt index 26bcb18..78160cc 100644 --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-st.txt +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-st.txt @@ -30,8 +30,7 @@ Second type has a dedicated interrupt per gpio bank. Pin controller node: Required properties: -- compatible : should be "st,--pinctrl" - like st,stih415-sbc-pinctrl, st,stih415-front-pinctrl and so on. +- compatible : should be "st,stih407--pinctrl" - st,syscfg : Should be a phandle of the syscfg node. - st,retime-pin-mask : Should be mask to specify which pins can be retimed. If the property is not present, it is assumed that all the pins in the @@ -76,23 +75,23 @@ include/dt-bindings/interrupt-controller/irq.h Example: pin-controller-sbc { - #address-cells = <1>; - #size-cells = <1>; - compatible = "st,stih415-sbc-pinctrl"; - st,syscfg = <&syscfg_sbc>; - reg = <0xfe61f080 0x4>; - reg-names = "irqmux"; - interrupts = ; - interrupt-names = "irqmux"; - ranges = <0 0xfe610000 0x5000>; - - PIO0: gpio@fe610000 { + #address-cells = <1>; + #size-cells = <1>; + compatible = "st,stih407-sbc-pinctrl"; + st,syscfg = <&syscfg_sbc>; + reg = <0x0961f080 0x4>; + reg-names = "irqmux"; + interrupts = ; + interrupt-names = "irqmux"; + ranges = <0 0x09610000 0x6000>; + + pio0: gpio@09610000 { gpio-controller; - #gpio-cells = <1>; + #gpio-cells = <1>; interrupt-controller; #interrupt-cells = <2>; - reg = <0 0x100>; - st,bank-name = "PIO0"; + reg = <0x0 0x100>; + st,bank-name = "PIO0"; }; ... pin-functions nodes follow... @@ -162,7 +161,7 @@ pin-controller { sdhci0:sdhci@fe810000{ ... - interrupt-parent = <&PIO3>; + interrupt-parent = <&pio3>; #interrupt-cells = <2>; interrupts = <3 IRQ_TYPE_LEVEL_HIGH>; /* Interrupt line via PIO3-3 */ interrupt-names = "card-detect";