Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

pinctrl: aspeed: g5: Constrain LPC binding revision workaround to AST2500

Discovering a phandle to an AST2400 or AST2600 LPC node indicates an
error for the purpose of the AST2500 pinctrl driver.

Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
Reviewed-by: Linus Walleij <linusw@kernel.org>
Signed-off-by: Linus Walleij <linusw@kernel.org>

authored by

Andrew Jeffery and committed by
Linus Walleij
608c8030 d6df4abe

+1 -3
+1 -3
drivers/pinctrl/aspeed/pinctrl-aspeed-g5.c
··· 2654 2654 np = of_parse_phandle(ctx->dev->of_node, 2655 2655 "aspeed,external-nodes", 1); 2656 2656 if (np) { 2657 - if (!of_device_is_compatible(np->parent, "aspeed,ast2400-lpc-v2") && 2658 - !of_device_is_compatible(np->parent, "aspeed,ast2500-lpc-v2") && 2659 - !of_device_is_compatible(np->parent, "aspeed,ast2600-lpc-v2")) 2657 + if (!of_device_is_compatible(np->parent, "aspeed,ast2500-lpc-v2")) 2660 2658 return ERR_PTR(-ENODEV); 2661 2659 2662 2660 map = syscon_node_to_regmap(np->parent);