mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
pinctrl: rockchip: treat pcfg_xxx nodes as invalid function nodes
Look at the pinmux-functions debug node, there are several pcfg_xxx nodes which actually are not pinctrl functions: Under RV1126 EVB: function: pcfg-pull-up, groups = [ ] function: pcfg-pull-down, groups = [ ] function: pcfg-pull-none, groups = [ ] function: pcfg-pull-none-drv-level-1, groups = [ ] function: pcfg-pull-none-drv-level-2, groups = [ ] function: pcfg-pull-none-drv-level-3, groups = [ ] function: pcfg-pull-up-drv-level-1, groups = [ ] function: pcfg-pull-up-drv-level-2, groups = [ ] function: pcfg-pull-none-smt, groups = [ ] function: pcfg-output-low-pull-down, groups = [ ] function: acodec, groups = [ acodec-pins ] This patch fixs the function node valid check to ignore them. Change-Id: I432783de72e137e2fb406ce400a69cd56cb1a8de Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
This commit is contained in:
@@ -2935,6 +2935,9 @@ static bool is_function_node(const struct device_node *np)
|
||||
if (of_match_node(rockchip_bank_match, np))
|
||||
return false;
|
||||
|
||||
if (!strncmp(np->name, "pcfg", 4))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user