Skip to content

Commit 30b7748

Browse files
nmenonlinusw
authored andcommitted
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: 677a624 ("dt-bindings: pinctrl: Update pinctrl-single to use yaml") Signed-off-by: Nishanth Menon <nm@ti.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/20240627150610.469645-1-nm@ti.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 1024f53 commit 30b7748

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Documentation/devicetree/bindings/pinctrl/pinctrl-single.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ properties:
7575
description: Optional list of pin base, nr pins & gpio function
7676
$ref: /schemas/types.yaml#/definitions/phandle-array
7777
items:
78-
- items:
79-
- description: phandle of a gpio-range node
80-
- description: pin base
81-
- description: number of pins
82-
- description: gpio function
78+
items:
79+
- description: phandle of a gpio-range node
80+
- description: pin base
81+
- description: number of pins
82+
- description: gpio function
8383

8484
'#gpio-range-cells':
8585
description: No longer needed, may exist in older files for gpio-ranges

0 commit comments

Comments
 (0)