[PW_SID:955845] pinctrl: starfive: jh7110: support force inputs#328
[PW_SID:955845] pinctrl: starfive: jh7110: support force inputs#328linux-riscv-bot wants to merge 3 commits into
Conversation
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> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The internal input signals inside JH7110 SoC (output of the pin controller) could be routed to fixed low/high level instead of external GPIOs. Support this feature in the pinctrl driver, which is quite useful for some peripherals (e.g. USB) because of the low GPIO count of JH7110. Signed-off-by: Icenowy Zheng <uwu@icenowy.me> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
The Star64 board has no GPIOs to indicate USB overcurrent, however the USB controller would stop to work if the overcurrent_n signal it gets is low (which means overcurrent situations happening because of the _n). Use the pin controller to force the overcurrent_n signal to be high in order to ensure stable behavior of the USB controller. Signed-off-by: Icenowy Zheng <uwu@icenowy.me> Signed-off-by: Linux RISC-V bot <linux.riscv.bot@gmail.com>
|
Patch 1: "[RFC,1/3] dt-bindings: pinctrl: jh7110-sys: add force inputs" |
|
Patch 1: "[RFC,1/3] dt-bindings: pinctrl: jh7110-sys: add force inputs" |
|
Patch 1: "[RFC,1/3] dt-bindings: pinctrl: jh7110-sys: add force inputs" |
|
Patch 1: "[RFC,1/3] dt-bindings: pinctrl: jh7110-sys: add force inputs" |
|
Patch 1: "[RFC,1/3] dt-bindings: pinctrl: jh7110-sys: add force inputs" |
|
Patch 1: "[RFC,1/3] dt-bindings: pinctrl: jh7110-sys: add force inputs" |
|
Patch 1: "[RFC,1/3] dt-bindings: pinctrl: jh7110-sys: add force inputs" |
|
Patch 1: "[RFC,1/3] dt-bindings: pinctrl: jh7110-sys: add force inputs" |
|
Patch 1: "[RFC,1/3] dt-bindings: pinctrl: jh7110-sys: add force inputs" |
|
Patch 1: "[RFC,1/3] dt-bindings: pinctrl: jh7110-sys: add force inputs" |
|
Patch 1: "[RFC,1/3] dt-bindings: pinctrl: jh7110-sys: add force inputs" |
|
Patch 1: "[RFC,1/3] dt-bindings: pinctrl: jh7110-sys: add force inputs" |
|
Patch 2: "[RFC,2/3] pinctrl: starfive: jh7110: support forcing inputs to low/high" |
|
Patch 2: "[RFC,2/3] pinctrl: starfive: jh7110: support forcing inputs to low/high" |
|
Patch 2: "[RFC,2/3] pinctrl: starfive: jh7110: support forcing inputs to low/high" |
|
Patch 2: "[RFC,2/3] pinctrl: starfive: jh7110: support forcing inputs to low/high" |
|
Patch 2: "[RFC,2/3] pinctrl: starfive: jh7110: support forcing inputs to low/high" |
|
Patch 2: "[RFC,2/3] pinctrl: starfive: jh7110: support forcing inputs to low/high" |
|
Patch 2: "[RFC,2/3] pinctrl: starfive: jh7110: support forcing inputs to low/high" |
|
Patch 2: "[RFC,2/3] pinctrl: starfive: jh7110: support forcing inputs to low/high" |
|
Patch 2: "[RFC,2/3] pinctrl: starfive: jh7110: support forcing inputs to low/high" |
|
Patch 2: "[RFC,2/3] pinctrl: starfive: jh7110: support forcing inputs to low/high" |
|
Patch 2: "[RFC,2/3] pinctrl: starfive: jh7110: support forcing inputs to low/high" |
|
Patch 2: "[RFC,2/3] pinctrl: starfive: jh7110: support forcing inputs to low/high" |
|
Patch 3: "[RFC,3/3] riscv: dts: starfive: jh7110-pine64-star64: force no USB overcurrent" |
|
Patch 3: "[RFC,3/3] riscv: dts: starfive: jh7110-pine64-star64: force no USB overcurrent" |
|
Patch 3: "[RFC,3/3] riscv: dts: starfive: jh7110-pine64-star64: force no USB overcurrent" |
|
Patch 3: "[RFC,3/3] riscv: dts: starfive: jh7110-pine64-star64: force no USB overcurrent" |
|
Patch 3: "[RFC,3/3] riscv: dts: starfive: jh7110-pine64-star64: force no USB overcurrent" |
|
Patch 3: "[RFC,3/3] riscv: dts: starfive: jh7110-pine64-star64: force no USB overcurrent" |
|
Patch 3: "[RFC,3/3] riscv: dts: starfive: jh7110-pine64-star64: force no USB overcurrent" |
|
Patch 3: "[RFC,3/3] riscv: dts: starfive: jh7110-pine64-star64: force no USB overcurrent" |
|
Patch 3: "[RFC,3/3] riscv: dts: starfive: jh7110-pine64-star64: force no USB overcurrent" |
|
Patch 3: "[RFC,3/3] riscv: dts: starfive: jh7110-pine64-star64: force no USB overcurrent" |
|
Patch 3: "[RFC,3/3] riscv: dts: starfive: jh7110-pine64-star64: force no USB overcurrent" |
|
Patch 3: "[RFC,3/3] riscv: dts: starfive: jh7110-pine64-star64: force no USB overcurrent" |
PR for series 955845 applied to workflow__riscv__fixes
Name: pinctrl: starfive: jh7110: support force inputs
URL: https://patchwork.kernel.org/project/linux-riscv/list/?series=955845
Version: 1