Files
build/patch/kernel/archive/rockchip64-6.12/general-add-miniDP-virtual-extcon.patch
retro98boy d19444bf8a rockchip64: fix wrong GPIO direction in DP virtual extcon driver
The extcon-usbc-virtual-pd driver requests the detection GPIO with the flag GPIOD_OUT_LOW, which leads to a failure in gpiod_to_irq and consequently causes the driver loading to fail.

This issue can be fixed by changing GPIOD_OUT_LOW to either GPIOD_IN or GPIOD_ASIS.

This patch opts to change GPIOD_OUT_LOW to GPIOD_ASIS, as this is a less invasive approach. For devices intending to use this driver, it's also necessary to set the pinctrl property of the detection GPIO to input mode in the dts file.
2025-02-23 19:26:27 +01:00

13 KiB