Re: [PATCH] power: supply: max17040: drop incorrect I2C functionality check

From: Sebastian Reichel

Date: Sat Aug 01 2026 - 12:27:23 EST



On Fri, 31 Jul 2026 16:42:59 +0800, Jianing Li wrote:
> max17040_probe() rejects adapters that do not advertise
> I2C_FUNC_SMBUS_BYTE. The driver does not issue SMBus byte transactions,
> however. Its regmap has 8-bit registers and 16-bit big-endian values, for
> which regmap-i2c supports either raw I2C transfers or SMBus word-data
> transactions.
>
> Consequently, an adapter providing raw I2C transfers or SMBus word data
> but not SMBus byte transactions is rejected even though regmap can access
> the device. Conversely, the current check can pass an adapter that regmap
> cannot use.
>
> [...]

Applied, thanks!

[1/1] power: supply: max17040: drop incorrect I2C functionality check
commit: 4e4b9f5ce9dfb8ed4b8d1262a504b8043ac09d87

Best regards,
--
Sebastian Reichel <sebastian.reichel@xxxxxxxxxxxxx>