From patchwork Wed Sep 19 21:02:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 10606581 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 11E87913 for ; Wed, 19 Sep 2018 21:03:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 816C628500 for ; Wed, 19 Sep 2018 21:03:23 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 757D0287C6; Wed, 19 Sep 2018 21:03:23 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id CCA7128500 for ; Wed, 19 Sep 2018 21:03:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=+CjNuO83L6708r2iZRzU5DZjsIa1wFpAQ9PjCjykghs=; b=hu5rEUQihIDtTx zukjPqXzSXoPm2V/GjeFuqaGzJgfN6Q80RiCgq1btoY0sfPh66b/9ycKtRTLeMMt0o19PyNwgOXox U9Vv22WcCaLhCDQ4qSjYWej1Y9mSUHyAgr4WCmzoiSCuZmdjhO8nAkBK1Bgme1Wa7tOy30M2XMIWw /A+tGo2nhcj+MAhdIErlyh5SjZPfg8ZY6/73Kxs4mbVba+FzmlHEvPPmDC8eLCMq6b06CMeoeRwYm FM//yQoIgw9wZH96YG594lgR8Xome0weK+2GXTd1kGcvK+As3DquNBduMNGtE1s5amJ+ZhNLtL0gp eF9VkVWY76LWmH8tkbgw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g2jcy-0007ZV-Jx; Wed, 19 Sep 2018 21:03:16 +0000 Received: from mail-lj1-x244.google.com ([2a00:1450:4864:20::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g2jcu-0007Xm-EX for linux-arm-kernel@lists.infradead.org; Wed, 19 Sep 2018 21:03:14 +0000 Received: by mail-lj1-x244.google.com with SMTP id l15-v6so6365153lji.6 for ; Wed, 19 Sep 2018 14:03:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SjLfIVY+ZSAHdXuluR8I+iIHKz6Dk5sattt8USRnDkw=; b=D/E5P2nuP5J7hnYo6Ou6oz+p1OEJB885Bn06MLO8fdAX3i3AxYGFG79XbdArPNec8u wXg1D+BE1Qvh9nPEUK49EgCH9Eb0rd8INyTI/2nLtuLXW1nu//3x/OQOmEME0PVpsH6W ABNm8pKmNQf3mGFH4wT1dM/038SYvZdGjv2hMT58Or/3tBS1wQgq9wulNCBgsveh81RH Ryc2hitbMey/L1J/aMUW7tBnNFwvPoOdH/UhCUc+z/RuQb4AtHoohUv0fzF3AyN7UycN kPwp5Tk4C+ZCCVbp3pv7fHV4lOdHoZnewR5c1hPYRc935CcfsSTYEX38AlZIcz7dtmuT TNxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=SjLfIVY+ZSAHdXuluR8I+iIHKz6Dk5sattt8USRnDkw=; b=aRhcOx3xUSq+fuEpLbYykXxvX+swT5rRKX4KiBfczqKih6Fo18yxy/8aoiREOustbl G8XMQYqnicdLHMfZ88w7atFDT/zEExSKG50QJdYTPIzcQhF8T0WdMKNkLzmmZMhV8NHB mvTAu5ADlgYG5pFGxeQj0Fr4YYrKWOjYi4iDAEXS1HAMyLRHGDohJv1Gp3X7PPNTBzla 4g9pZjf8FAyv7rYAjuKOuOlR3bExEXhrf+sg/e5QhHJetTXsBu0yW7e63iw4LaG8Hct2 wirAm3KpIls5CvlBKRhWm3g65flKQe9+87Fr8K3zzDrqTw3X8cnxL4r1wl4vx9pQyYM5 vxww== X-Gm-Message-State: APzg51DE1I6S8yn+L1PGePckAh63Ljn/8OF5xYBoCZfCjOOOWJkUIh27 v8nbeuYlLZ6iGZACimTnOKQ= X-Google-Smtp-Source: ANB0Vdbjzi7/8FcUGxsJWqezWqmrSWLCyhYDLGv6fhKHMT2eloAPptAA7WilHVP4yw0QGKKsiI5KCA== X-Received: by 2002:a2e:9ec9:: with SMTP id h9-v6mr17069561ljk.133.1537390979771; Wed, 19 Sep 2018 14:02:59 -0700 (PDT) Received: from linux-veee.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id a27-v6sm1263743lfi.59.2018.09.19.14.02.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 19 Sep 2018 14:02:58 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Linus Walleij , linux-gpio@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org Subject: [PATCH 1/2] dt-bindings: pinctrl: document Broadcom Northstar pin mux controller Date: Wed, 19 Sep 2018 23:02:18 +0200 Message-Id: <20180919210219.21921-1-zajec5@gmail.com> X-Mailer: git-send-email 2.13.7 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180919_140312_507672_93EBAF96 X-CRM114-Status: GOOD ( 14.43 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Scott Branden , Jon Mason , Ray Jui , bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Rafał Miłecki Northstar has mux controller just like Northstar Plus and Northstar2. It's a bit different though (different registers & pins) so it requires its own binding. It's needed to allow other block bindings specify required mux setup. Signed-off-by: Rafał Miłecki Reviewed-by: Florian Fainelli --- .../devicetree/bindings/pinctrl/brcm,ns-pinmux.txt | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 Documentation/devicetree/bindings/pinctrl/brcm,ns-pinmux.txt diff --git a/Documentation/devicetree/bindings/pinctrl/brcm,ns-pinmux.txt b/Documentation/devicetree/bindings/pinctrl/brcm,ns-pinmux.txt new file mode 100644 index 000000000000..0e913721ae9e --- /dev/null +++ b/Documentation/devicetree/bindings/pinctrl/brcm,ns-pinmux.txt @@ -0,0 +1,29 @@ +Broadcom Northstar pins mux controller + +Some of Northstar SoCs's pins can be used for various purposes thanks to the mux +controller. This binding allows describing mux controller and listing available +functions. They can be referenced later by other bindings to let system +configure controller correctly. + +Required properties: +- compatible: brcm,ns-pinmux +- reg: iomem address range of CRU (Central Resource Unit) pin registers +- reg-names: "cru_pins_control" - the only needed & supported reg right now + +List of supported functions and their groups: +- "spi": "spi_grp" + +For documentation of subnodes see: +Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt + +Example: + pinctrl@1800c1c0 { + compatible = "brcm,ns-pinmux"; + reg = <0x1800c1c0 0x24>; + reg-names = "cru_pins_control"; + + spi { + function = "spi"; + groups = "spi_grp"; + }; + };