[RFC PATCH 1/3] dt-bindings: pinctrl: jh7110-sys: add force inputs
Icenowy Zheng
uwu at icenowy.me
Tue Apr 22 09:22:48 PDT 2025
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 at icenowy.me>
---
.../bindings/pinctrl/starfive,jh7110-sys-pinctrl.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)
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
--
2.49.0
More information about the linux-riscv
mailing list