From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1000FC43141 for ; Tue, 3 Dec 2019 12:03:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D5068206EC for ; Tue, 3 Dec 2019 12:03:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=aj.id.au header.i=@aj.id.au header.b="ZhrnwV6u"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="sl0EBSwP" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726224AbfLCMCu (ORCPT ); Tue, 3 Dec 2019 07:02:50 -0500 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:58355 "EHLO out2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725954AbfLCMCs (ORCPT ); Tue, 3 Dec 2019 07:02:48 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 4163E22387; Tue, 3 Dec 2019 07:02:47 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 03 Dec 2019 07:02:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h=from :to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm1; bh=HvGKvLGsejv5q 6GtTUOtGOukBgIcidGBW9MonuS68ho=; b=ZhrnwV6uViMAZA7DE3VsRIv2y8sXN 5hjKHMWJ5RYy9gvC9/tDa/mbWucW2WyxnS8FwW1AWnkdNLaDGfxda3KuB3/81y4j cW8JaWy0IOTZaho+6PeoguX7l0sgJbWlHwrEENGPUqTs15nzNG976FKax/nQXDBN VAgTCntkVjKE49ShbL/PZOuhzJ1EcpAFARviacyck2vqg4KHgnjYFTVTeHi3n+B9 iPDYjLBMJRhIgH1Mx98lb2L0hADXmBQcimcoprWRN1SkT3BPAnzI5FaAJMoMPQ/B MXacJHmGEZuiIsNp2GA/1m+QVpVnJ/tb0BxCaJyjxEgFvexJ9TxI5LqFQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=HvGKvLGsejv5q6GtTUOtGOukBgIcidGBW9MonuS68ho=; b=sl0EBSwP fgLfdNvtYWMq/0qrx0ZGOv27mt4dcztUaChUrZSERre07/ihve3kCbQCOjm3Voqk MRlo1nOvuXOveWhBPRLP03b86a8F+hNZjuL72+V7zau/vOzmvCfJGx8ShAD5lfUA f4zujIHv0dBHSZnocs88gc5oRZQ/rzDVwN3WkKUX7+8pocg9S4vfs3Mc0ievGkHL mEk071WC5LjbtQWZkI544+n+zDbtS+2t86TkFgLVZXZgRNbxuukVGtaScoiy3EHb rw83Ewf+/9xPZBonrbAhRnM5ipX3MKBRVx7bDjibtpVLn63sj+f3phhz/Qd8stkB KQZJ0JxpCFCTOQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudejjedgfeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeetnhgurhgv ficulfgvfhhfvghrhicuoegrnhgurhgvfiesrghjrdhiugdrrghuqeenucfkphepudduke drvdduuddrledvrddufeenucfrrghrrghmpehmrghilhhfrhhomheprghnughrvgifsegr jhdrihgurdgruhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from mistburn.lan (unknown [118.211.92.13]) by mail.messagingengine.com (Postfix) with ESMTPA id C0480306010D; Tue, 3 Dec 2019 07:02:43 -0500 (EST) From: Andrew Jeffery To: linux-aspeed@lists.ozlabs.org Cc: joel@jms.id.au, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linus Walleij , linux-gpio@vger.kernel.org Subject: [PATCH 01/14] dt-bindings: pinctrl: aspeed: Add reg property as a hint Date: Tue, 3 Dec 2019 22:34:02 +1030 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-gpio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org The pinctrl node sits under a syscon device, and can assume offsets from the base of the syscon based on the compatible. However, for devicetree correctness allow a reg property to be specified, which an associated driver may choose to use to discover associated resources. Cc: Linus Walleij Cc: linux-gpio@vger.kernel.org Signed-off-by: Andrew Jeffery Acked-by: Linus Walleij Reviewed-by: Joel Stanley --- Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml | 3 +++ Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml index 39ad8657d018..bb690e20c368 100644 --- a/Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml @@ -22,6 +22,9 @@ description: |+ properties: compatible: const: aspeed,ast2400-pinctrl + reg: + description: | + A hint for the memory regions associated with the pin-controller patternProperties: '^.*$': diff --git a/Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml index 3c6405be07ed..f7f5d57f2c9a 100644 --- a/Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml @@ -23,6 +23,9 @@ description: |+ properties: compatible: const: aspeed,ast2500-pinctrl + reg: + description: | + A hint for the memory regions associated with the pin-controller aspeed,external-nodes: minItems: 2 maxItems: 2 -- git-series 0.9.1