mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 12:44:11 +08:00
dt-bindings: pinctrl: Add apple,npins property to apple,pinctrl
This property is used to describe the total number of pins on this particular pinctrl hardware block. Signed-off-by: Joey Gouly <joey.gouly@arm.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20211026175815.52703-4-joey.gouly@arm.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
69533cd3a1
commit
aa68e1b80d
@ -34,6 +34,10 @@ properties:
|
||||
gpio-ranges:
|
||||
maxItems: 1
|
||||
|
||||
apple,npins:
|
||||
$ref: /schemas/types.yaml#/definitions/uint32
|
||||
description: The number of pins in this GPIO controller.
|
||||
|
||||
interrupts:
|
||||
description: One interrupt for each of the (up to 7) interrupt
|
||||
groups supported by the controller sorted by interrupt group
|
||||
@ -69,6 +73,7 @@ required:
|
||||
- gpio-controller
|
||||
- '#gpio-cells'
|
||||
- gpio-ranges
|
||||
- apple,npins
|
||||
|
||||
additionalProperties: false
|
||||
|
||||
@ -89,6 +94,7 @@ examples:
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
gpio-ranges = <&pinctrl 0 0 212>;
|
||||
apple,npins = <212>;
|
||||
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
|
Loading…
Reference in New Issue
Block a user