Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1236133ybl; Tue, 3 Dec 2019 04:04:21 -0800 (PST) X-Google-Smtp-Source: APXvYqylGcKFa2dzfZQdZ0kHsuPq+u8vbmS8YC6uTisOcXFGR5UT1YUQpKx41LckCGqWNAwMNH6q X-Received: by 2002:a05:6808:117:: with SMTP id b23mr3012319oie.151.1575374661291; Tue, 03 Dec 2019 04:04:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575374661; cv=none; d=google.com; s=arc-20160816; b=yRBhQ1M9VrUXyf2tS+7i/GudRzaQTK6vmANPjrde2fBCups9w9Ir+v7ifB3OIzk4GS cnsUr1wzDqGqS0bZBYFAoAqERBdw2SE/kccs4Y2oqTuhFOOO+IckUBF/7sdGFAHDDrw3 cyqCeWHIxMXqofzJ/MXndiSwCeN27d657gMTnBLaonETl70vqWuyehDmAd3EXt5LpXR6 Ei02WbB4KbSljvRlYaVB7JO837YwKIA6cZLOnba2mUs6YjsEusJHWyYBSJMoscmM3Hwi 9fzJCTH7GeCSJBrdA+Uyz7nN2Eei8Y/+8fXNPCstGfiqUXFNXlKdMMjnMryqlUuUASlE LBtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=HvGKvLGsejv5q6GtTUOtGOukBgIcidGBW9MonuS68ho=; b=CP759J40lZliEJbZc/UFkRIbB03WWMCZiZKfp2CUJEM2TEkkdgvfhcRc3fBSHUxsmP EE65vHvffjky8mRqP414smUtzOt5mG3fUQ1qCP32wHJ3TEZaOGzW9esPWoq7FMAyiw0b i6YZ2oYl79QsRgYP5WxmQ3QnxnyAGzSdjjDZHobaJUhLJ9zBuC/TkZxPjHJC699NW5Q/ spyM1havMJyD8D0Qg86V3nIYj1Z7BgRaEFaM/zNAlNj7Jo13I7CtRNEGAU0RejLsJBVb kBlCRmbDPVqDFZ6olIvf7+n57KinfXkJT6DAbY4XgSsSVes+pJyg1wn6RdsZnrXtjAk1 j/VA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm1 header.b=ZhrnwV6u; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=sl0EBSwP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q12si1204671oic.195.2019.12.03.04.04.03; Tue, 03 Dec 2019 04:04:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm1 header.b=ZhrnwV6u; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=sl0EBSwP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726318AbfLCMCu (ORCPT + 99 others); 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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