Message ID | 20250422162250.436169-2-uwu@icenowy.me |
---|---|
State | New |
Headers | show |
Series | pinctrl: starfive: jh7110: support force inputs | expand |
diff --git a/Documentation/devicetree/bindings/pinctrl/starfive,jh7110-sys-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/starfive,jh7110-sys-pinctrl.yaml index 222b9e240f8af..d793290afdd74 100644 --- a/Documentation/devicetree/bindings/pinctrl/starfive,jh7110-sys-pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/starfive,jh7110-sys-pinctrl.yaml @@ -46,6 +46,16 @@ properties: '#gpio-cells': const: 2 + starfive,force-low-inputs: + description: + The list of input signals forced to be low inside the SoC itself. + $ref: /schemas/types.yaml#/definitions/uint32-array + + starfive,force-high-inputs: + description: + The list of input signals forced to be high inside the SoC itself. + $ref: /schemas/types.yaml#/definitions/uint32-array + patternProperties: '-[0-9]+$': type: object
The internal inputs routed by the pin controller could be routed not to any GPIOs but forced low/high in the pin controller, which is a useful feature for some input signals (e.g. overcurrent_n pin of the USB controller, which needs to be tied to high if not externally routed). Add two properties to support forcing inputs to low/high. Signed-off-by: Icenowy Zheng <uwu@icenowy.me> --- .../bindings/pinctrl/starfive,jh7110-sys-pinctrl.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+)