Re: [PATCH v2] mfd: twl: fix TWL6032 phy vbus detection

From: Lee Jones
Date: Wed Jan 04 2023 - 11:17:55 EST


On Thu, 08 Dec 2022, Andreas Kemnade wrote:

> TWL6032 has a few charging registers prepended before the charging
> registers the TWL6030 has. To be able to use common register defines
> declare the additional registers as additional module.
> At the moment this affects the access to CHARGERUSB_CTRL1 in
> phy-twl6030-usb. Without this patch, it is accessing the wrong register
> on TWL6032.
> The consequence is that presence of Vbus is not reported.
>
> Cc: Bin Liu <b-liu@xxxxxx>
> Cc: Tony Lindgren <tony@xxxxxxxxxxx>
> Signed-off-by: Andreas Kemnade <andreas@xxxxxxxxxxxx>
> ---
> Changes in v2:
> - remove comment
> drivers/mfd/twl-core.c | 9 ++++-----
> include/linux/mfd/twl.h | 2 ++
> 2 files changed, 6 insertions(+), 5 deletions(-)

Applied, thanks

--
Lee Jones [李琼斯]