[PATCH] pinctrl: tps6594: add missing support for LP8764 PMIC

Thomas Richard posted 1 patch 1 year, 8 months ago
drivers/pinctrl/pinctrl-tps6594.c | 1 +
1 file changed, 1 insertion(+)
[PATCH] pinctrl: tps6594: add missing support for LP8764 PMIC
Posted by Thomas Richard 1 year, 8 months ago
Add missing support for LP8764 PMIC in the probe().

Fixes: 208829715917 (pinctrl: pinctrl-tps6594: Add TPS65224 PMIC pinctrl and GPIO)
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
---

Issue detected with v6.10-rc1 (and reproduced with 6.10-rc2) using a TI
J7200 EVM board.

tps6594-pinctrl tps6594-pinctrl.8.auto: error -EINVAL: Couldn't register gpio_regmap driver
tps6594-pinctrl tps6594-pinctrl.8.auto: probe with driver tps6594-pinctrl failed with error -22

 drivers/pinctrl/pinctrl-tps6594.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/pinctrl-tps6594.c b/drivers/pinctrl/pinctrl-tps6594.c
index 085047320853..5e7c7cf93445 100644
--- a/drivers/pinctrl/pinctrl-tps6594.c
+++ b/drivers/pinctrl/pinctrl-tps6594.c
@@ -486,6 +486,7 @@ static int tps6594_pinctrl_probe(struct platform_device *pdev)
 		break;
 	case TPS6593:
 	case TPS6594:
+	case LP8764:
 		pctrl_desc->pins = tps6594_pins;
 		pctrl_desc->npins = ARRAY_SIZE(tps6594_pins);
 
-- 
2.39.2
Re: [PATCH] pinctrl: tps6594: add missing support for LP8764 PMIC
Posted by Linus Walleij 1 year, 8 months ago
On Mon, Jun 3, 2024 at 10:21 AM Thomas Richard
<thomas.richard@bootlin.com> wrote:

> Add missing support for LP8764 PMIC in the probe().
>
> Fixes: 208829715917 (pinctrl: pinctrl-tps6594: Add TPS65224 PMIC pinctrl and GPIO)
> Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
> ---
>
> Issue detected with v6.10-rc1 (and reproduced with 6.10-rc2) using a TI
> J7200 EVM board.
>
> tps6594-pinctrl tps6594-pinctrl.8.auto: error -EINVAL: Couldn't register gpio_regmap driver
> tps6594-pinctrl tps6594-pinctrl.8.auto: probe with driver tps6594-pinctrl failed with error -22

Patch applied for fixes, I moved this up into the commit message.

Yours,
Linus Walleij