i2c: octeon: remove 10-bit addressing support
authorAryan Srivastava <aryan.srivastava@alliedtelesis.co.nz>
Tue, 18 Mar 2025 02:16:30 +0000 (15:16 +1300)
committerAndi Shyti <andi.shyti@kernel.org>
Fri, 21 Mar 2025 00:31:02 +0000 (01:31 +0100)
commitb1c010bd25f8ba5fd09c617daed2fb03343f1f67
treeb97d1ee24fa525a8a5d9e256ced186c23d261620
parent7202745e29f860114331b431906a6854117b4167
i2c: octeon: remove 10-bit addressing support

The driver gives the illusion of 10-bit address support, but the upper
3 bits of the given address are always thrown away. Remove unnecessary
considerations for 10 bit addressing and always complete 7 bit ops when
using the hlc methods.

Signed-off-by: Aryan Srivastava <aryan.srivastava@alliedtelesis.co.nz>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://lore.kernel.org/r/20250318021632.2710792-3-aryan.srivastava@alliedtelesis.co.nz
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-octeon-core.c