Skip to content

Commit 78d8815

Browse files
inochisalinusw
authored andcommitted
dt-bindings: pinctrl: pinctrl-single: fix schmitt related properties
The "pinctrl-single,input-schmitt" have four arguments in the bindings but the driver needs two. According to the meaning of other properties and driver, it should have "enable" suffix. Fortunately, there is no dts using this property, so it is safe to correct this property with the right name. Rename existed property "pinctrl-single,input-schmitt" to "pinctrl-single,input-schmitt-enable" and add the right description for property "pinctrl-single,input-schmitt" used by the driver. Fixes: 677a624 ("dt-bindings: pinctrl: Update pinctrl-single to use yaml") Signed-off-by: Inochi Amaoto <inochiama@outlook.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/IA1PR20MB4953D5E7D7D68DDCE31C0031BBCF2@IA1PR20MB4953.namprd20.prod.outlook.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent cb3cb99 commit 78d8815

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,13 @@ patternProperties:
144144
- description: drive strength mask
145145

146146
pinctrl-single,input-schmitt:
147+
description: Optional schmitt strength configuration
148+
$ref: /schemas/types.yaml#/definitions/uint32-array
149+
items:
150+
- description: schmitt strength current
151+
- description: schmitt strength mask
152+
153+
pinctrl-single,input-schmitt-enable:
147154
description: Optional input schmitt configuration
148155
$ref: /schemas/types.yaml#/definitions/uint32-array
149156
items:

0 commit comments

Comments
 (0)