summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml
diff options
context:
space:
mode:
authorAndrew Jeffery <andrew@aj.id.au>2019-12-03 15:04:02 +0300
committerJoel Stanley <joel@jms.id.au>2019-12-17 02:35:26 +0300
commit89d6d772f613690eec9540a24b6b0ce60a99540c (patch)
treeb966a50a19bc1786c0f185e2eb3e4ddf08f5a211 /Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml
parente42617b825f8073569da76dc4510bfa019b1c35a (diff)
downloadlinux-89d6d772f613690eec9540a24b6b0ce60a99540c.tar.xz
dt-bindings: pinctrl: aspeed: Add reg property as a hint
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 <linus.walleij@linaro.org> Cc: linux-gpio@vger.kernel.org Signed-off-by: Andrew Jeffery <andrew@aj.id.au> Acked-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml')
-rw-r--r--Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml3
1 files changed, 3 insertions, 0 deletions
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:
'^.*$':