Commit 89d6d772 authored by Andrew Jeffery's avatar Andrew Jeffery Committed by Joel Stanley

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: default avatarAndrew Jeffery <andrew@aj.id.au>
Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Reviewed-by: default avatarJoel Stanley <joel@jms.id.au>
Signed-off-by: default avatarJoel Stanley <joel@jms.id.au>
parent e42617b8
...@@ -22,6 +22,9 @@ description: |+ ...@@ -22,6 +22,9 @@ description: |+
properties: properties:
compatible: compatible:
const: aspeed,ast2400-pinctrl const: aspeed,ast2400-pinctrl
reg:
description: |
A hint for the memory regions associated with the pin-controller
patternProperties: patternProperties:
'^.*$': '^.*$':
......
...@@ -23,6 +23,9 @@ description: |+ ...@@ -23,6 +23,9 @@ description: |+
properties: properties:
compatible: compatible:
const: aspeed,ast2500-pinctrl const: aspeed,ast2500-pinctrl
reg:
description: |
A hint for the memory regions associated with the pin-controller
aspeed,external-nodes: aspeed,external-nodes:
minItems: 2 minItems: 2
maxItems: 2 maxItems: 2
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment