From patchwork Wed Mar 9 09:41:59 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlo Caione X-Patchwork-Id: 8544331 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.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1CF73C0553 for ; Wed, 9 Mar 2016 09:45:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2C12120263 for ; Wed, 9 Mar 2016 09:45:06 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 468E3200E7 for ; Wed, 9 Mar 2016 09:45:05 +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 1adaeH-0005PM-Pg; Wed, 09 Mar 2016 09:43:21 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1adae9-0005NT-9n for linux-arm-kernel@lists.infradead.org; Wed, 09 Mar 2016 09:43:15 +0000 Received: by mail-wm0-x244.google.com with SMTP id p65so8965210wmp.1 for ; Wed, 09 Mar 2016 01:42:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=fyElC9M6iKqm+CIPzq2SID1X6dnJp0QnFsTID6BTj00=; b=nzRcCI/MtIH/dqMpYA1yYL9uqk4k8ei2E4vF5vdJCsW9E3LQajHXiYd1/ce2Ra4/fG NpNSzHqkblq28kje4TmFYANYy5kfM4Eeh66vxaUAFkOxd4dt6g2Sjv4CowBmh1U1mofr zjyUxgoCoMPkzGyisj2SstH+MHCJ5Uz0ByotgbJgKeyubulYxnBLAn8cbwDHE9CBDCM1 HBeD1Yts+3GZCzDukXAvoEEyPZ019F8bhfawu/gUH9YydbT7BfW1faiMClXq+ybX2g9R Rolfm7uLuMWus8rdhZ8c2ybI3vKzsquS9XJzfXf+OBquw17GcySpSKg+2bY1QL6hVDyl iHmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=fyElC9M6iKqm+CIPzq2SID1X6dnJp0QnFsTID6BTj00=; b=Twmb+LtagCDT9tFWo95bW2fQ3wiV3D1CXprqlLFy6x7JaxJsc/j74qPA+0a4dUzQ9k 9wQCHuRbEUycbeLHJAgcFACH8KL8TM4Df91Tj20SNvswoTqL2p2Jn1d+YLpV9181OscI IoQzk3aJ5kwax0OJZmCilFCucnPg/qQ8hteSOdDuv3aQP8/hoZaqqQmOoRnXhnXYMGs/ FEfc+GL5XMlMundIS66gtqiqSr0J+h87iEyi4Ku7fTKBZwNlpOHzJtzFkxsWqd9LR9mg 4Vk3c88Dio4jSPvTEp1Zr7WrjVdsHWHqqXCpt1CfkmSbbgivO5ItqobXpY6D30CpQciz K98g== X-Gm-Message-State: AD7BkJLYYMPqUt4NpWfzUkOe7GvEAqnpec9/5wRcv/Af/RqHWuLY4zhgawt/6apGnzy/qw== X-Received: by 10.28.45.132 with SMTP id t126mr5546705wmt.86.1457516570043; Wed, 09 Mar 2016 01:42:50 -0800 (PST) Received: from localhost.localdomain ([212.91.95.170]) by smtp.gmail.com with ESMTPSA id u202sm23024696wmd.24.2016.03.09.01.42.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Mar 2016 01:42:48 -0800 (PST) From: Carlo Caione To: robh@kernel.org, linux-arm-kernel@lists.infradead.org, linux-meson@googlegroups.com, linux@endlessm.com Subject: [PATCH v2 4/4] documentation: Fix pinctrl documentation for Meson8 / Meson8b Date: Wed, 9 Mar 2016 10:41:59 +0100 Message-Id: <1457516519-15319-1-git-send-email-carlo@caione.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <20160305042646.GL13525@rob-hp-laptop> References: <20160305042646.GL13525@rob-hp-laptop> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160309_014313_650995_1FC2B401 X-CRM114-Status: GOOD ( 13.26 ) X-Spam-Score: -2.4 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Carlo Caione 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=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,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 From: Carlo Caione Fix pin controller documentation introducing the new compatibles for the pinctrl drivers specific for aobus / cbus. This is needed because we have changed the pin controller driver: we have now a single specialized pinctrl driver / compatible for each bus the controller is attached to, instead of one single driver dealing with all the controllers we have on different buses. Signed-off-by: Carlo Caione --- Hey Rob, I'm resubmitting a V2 only for this patch since the driver changes have been already taken by Linus. Thanks, --- .../devicetree/bindings/pinctrl/meson,pinctrl.txt | 38 ++++------------------ 1 file changed, 7 insertions(+), 31 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt b/Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt index 3f6a524..ca6d283 100644 --- a/Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt +++ b/Documentation/devicetree/bindings/pinctrl/meson,pinctrl.txt @@ -1,13 +1,16 @@ == Amlogic Meson pinmux controller == Required properties for the root node: - - compatible: "amlogic,meson8-pinctrl" or "amlogic,meson8b-pinctrl" + - compatible: one of "amlogic,meson8-cbus-pinctrl" + "amlogic,meson8b-cbus-pinctrl" + "amlogic,meson8-aobus-pinctrl" + "amlogic,meson8b-aobus-pinctrl" - reg: address and size of registers controlling irq functionality === GPIO sub-nodes === -The 2 power domains of the controller (regular and always-on) are -represented as sub-nodes and each of them acts as a GPIO controller. +Each power domain of the controller (regular and always-on) is +represented as a sub-node and it acts as a GPIO controller. Required properties for sub-nodes are: - reg: should contain address and size for mux, pull-enable, pull and @@ -18,10 +21,6 @@ Required properties for sub-nodes are: - gpio-controller: identifies the node as a gpio controller - #gpio-cells: must be 2 -Valid sub-node names are: - - "banks" for the regular domain - - "ao-bank" for the always-on domain - === Other sub-nodes === Child nodes without the "gpio-controller" represent some desired @@ -45,7 +44,7 @@ pinctrl-bindings.txt === Example === pinctrl: pinctrl@c1109880 { - compatible = "amlogic,meson8-pinctrl"; + compatible = "amlogic,meson8-cbus-pinctrl"; reg = <0xc1109880 0x10>; #address-cells = <1>; #size-cells = <1>; @@ -61,15 +60,6 @@ pinctrl-bindings.txt #gpio-cells = <2>; }; - gpio_ao: ao-bank@c1108030 { - reg = <0xc8100014 0x4>, - <0xc810002c 0x4>, - <0xc8100024 0x8>; - reg-names = "mux", "pull", "gpio"; - gpio-controller; - #gpio-cells = <2>; - }; - nand { mux { groups = "nand_io", "nand_io_ce0", "nand_io_ce1", @@ -79,18 +69,4 @@ pinctrl-bindings.txt function = "nand"; }; }; - - uart_ao_a { - mux { - groups = "uart_tx_ao_a", "uart_rx_ao_a", - "uart_cts_ao_a", "uart_rts_ao_a"; - function = "uart_ao"; - }; - - conf { - pins = "GPIOAO_0", "GPIOAO_1", - "GPIOAO_2", "GPIOAO_3"; - bias-disable; - }; - }; };