Re: [PATCH v2 1/2] dt-bindings: pinctrl: Add bindings for Intel Thunderbay pinctrl driver
From: Linus Walleij <hidden>
Date: 2021-12-09 02:23:08
Also in:
linux-gpio, lkml
From: Linus Walleij <hidden>
Date: 2021-12-09 02:23:08
Also in:
linux-gpio, lkml
Hi Lakshmi, On Wed, Dec 1, 2021 at 8:26 AM [off-list ref] wrote:
+patternProperties: + '^gpio@[0-9a-f]*$': + type: object + + description: + Child nodes can be specified to contain pin configuration information, + which can then be utilized by pinctrl client devices. + The following properties are supported. + + properties: + pins: + description: | + The name(s) of the pins to be configured in the child node. + Supported pin names are "GPIO0" up to "GPIO66". + + bias-disable: true + + bias-pull-down: true + + bias-pull-up: true + + drive-strength: + description: Drive strength for the pad. + enum: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15] + + bias-bus-hold: + type: boolean + + input-schmitt-enable: + type: boolean + + slew-rate: + description: GPIO slew rate control. + 0 - Slow + 1 - Fast + enum: [0, 1] + +additionalProperties: false
Can't you reference Documentation/devicetree/bindings/pinctrl/pincfg-node.yaml here? Look at for example: Documentation/devicetree/bindings/pinctrl/actions,s500-pinctrl.yaml Yours, Linus Walleij