Re: [PATCH v2] regmap-i2c: add SMBus byte/word reg16 bus for adapters lacking I2C_FUNC_I2C
From: Mark Brown
Date: Wed Apr 08 2026 - 12:36:04 EST
On Tue, Apr 07, 2026 at 04:39:27PM -0700, Nishanth Sampath Kumar wrote:
> +static const struct regmap_bus regmap_smbus_byte_word_reg16 = {
> + .write = regmap_smbus_word_write_reg16,
> + .read = regmap_i2c_smbus_i2c_read_reg16,
Not an issue for this patch but the existing function is broken on big
endian systems, it needs to peer into reg with u8 pointers since the
core already put it into wire format.
Attachment:
signature.asc
Description: PGP signature