Re: [PATCH v4 10/11] pinctrl: pinctrl-tps6594: Add TPS65224 PMIC pinctrl and GPIO

From: Julien Panis
Date: Thu Mar 21 2024 - 07:10:59 EST


On 3/20/24 11:25, Bhargav Raviprakash wrote:
From: Nirmala Devi Mal Nadar <m.nirmaladevi@xxxxxxxx>

Add support for TPS65224 pinctrl and GPIOs to TPS6594 driver as they have
significant functional overlap.
TPS65224 PMIC has 6 GPIOS which can be configured as GPIO or other
dedicated device functions.

Signed-off-by: Nirmala Devi Mal Nadar <m.nirmaladevi@xxxxxxxx>
Signed-off-by: Bhargav Raviprakash <bhargav.r@xxxxxxxx>
Acked-by: Linus Walleij <linus.walleij@xxxxxxxxxx>

With this patch, an issue is observed on am62a:

root@am62axx-evm:~# dmesg | grep tps
..
[   12.122631] tps6594-pinctrl tps6594-pinctrl.2.auto: error -EINVAL: Couldn't register gpio_regmap driver
[   12.133216] tps6594-pinctrl: probe of tps6594-pinctrl.2.auto failed with error -22

Without this patch, the issue disappears. Do you observe
the same result with your am62p ?

Julien Panis