diff options
author | Nishanth Menon <[email protected]> | 2024-06-27 10:06:10 -0500 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2024-07-03 14:50:35 +0200 |
commit | 30b7748b2bc888ac1283a2715119b32d6d50cead (patch) | |
tree | 731401eeec6c2b9a553cb47f78ce6a3224ae6965 | |
parent | 1024f5356715aa0699361a08e9dc1e5f798c8ae7 (diff) |
dt-bindings: pinctrl: pinctrl-single: Fix pinctrl-single,gpio-range description
The binding is supposed to describe the properties of each element
of the pinctrl-single,gpio-range array entry, however when we use
"- items:" instead of "items:", it explicitly describes that there
is just a single entry in the array.
The pinctrl-single,gpio-range property should describe more than one
entry in the array. Fix the typo and adjust the alignment of the
description of the entries appropriately.
Fixes: 677a62482bd6 ("dt-bindings: pinctrl: Update pinctrl-single to use yaml")
Signed-off-by: Nishanth Menon <[email protected]>
Reviewed-by: Rob Herring (Arm) <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/pinctrl-single.yaml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/pinctrl-single.yaml b/Documentation/devicetree/bindings/pinctrl/pinctrl-single.yaml index e8177cc1115c..e02595316c9f 100644 --- a/Documentation/devicetree/bindings/pinctrl/pinctrl-single.yaml +++ b/Documentation/devicetree/bindings/pinctrl/pinctrl-single.yaml @@ -75,11 +75,11 @@ properties: description: Optional list of pin base, nr pins & gpio function $ref: /schemas/types.yaml#/definitions/phandle-array items: - - items: - - description: phandle of a gpio-range node - - description: pin base - - description: number of pins - - description: gpio function + items: + - description: phandle of a gpio-range node + - description: pin base + - description: number of pins + - description: gpio function '#gpio-range-cells': description: No longer needed, may exist in older files for gpio-ranges |