Commit 31b62a9
pinctrl: rockchip: fix reading pull type on rk3568
When reading pinconf-pins from debugfs it fails to get the configured pull
type on RK3568, "unsupported pinctrl type" error messages is also reported.
Fix this by adding support for RK3568 in rockchip_get_pull, including a
reverse of the pull-up value swap applied in rockchip_set_pull so that
pull-up is correctly reported in pinconf-pins.
Also update the workaround comment to reflect affected pins, GPIO0_D3-D6.
Fixes: c0dadc0 ("pinctrl: rockchip: add support for rk3568")
Signed-off-by: Jonas Karlman <[email protected]>
Reviewed-by: Heiko Stuebner <[email protected]>
Reviewed-by: Jianqun Xu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>1 parent 937e7a3 commit 31b62a9
1 file changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2436 | 2436 | | |
2437 | 2437 | | |
2438 | 2438 | | |
| 2439 | + | |
2439 | 2440 | | |
2440 | 2441 | | |
2441 | 2442 | | |
2442 | 2443 | | |
| 2444 | + | |
| 2445 | + | |
| 2446 | + | |
| 2447 | + | |
| 2448 | + | |
| 2449 | + | |
| 2450 | + | |
| 2451 | + | |
2443 | 2452 | | |
2444 | 2453 | | |
2445 | 2454 | | |
| |||
2497 | 2506 | | |
2498 | 2507 | | |
2499 | 2508 | | |
2500 | | - | |
| 2509 | + | |
2501 | 2510 | | |
2502 | 2511 | | |
2503 | 2512 | | |
| |||
0 commit comments