[PATCH v2 1/8] i2c: omap: Drop bit shift for I2C register addresses

Kevin Hilman khilman at baylibre.com
Mon Sep 21 08:53:50 PDT 2026


Andrew Davis <afd at ti.com> writes:

> The OMAP7xx devices used a register address shift of 1, but this device
> has long since been removed from the kernel. So now no remaining board
> device uses a shift other than 2, and no DT supported platform ever did.
> We can drop this flag and use the pre-shifted register addresses. This
> simplifies the register access.
>
> Signed-off-by: Andrew Davis <afd at ti.com>
> Reviewed-by: Andreas Kemnade <andreas at kemnade.info>

Acked-by: Kevin Hilman <khilman at baylibre.com>

Feel free to take this with the rest of the drivers/i2c/ patches.

Kevin



More information about the linux-arm-kernel mailing list