i2c: thunderx: Clock divisor logic changes
authorSuneel Garapati <sgarapati@marvell.com>
Tue, 23 Apr 2024 07:46:04 +0000 (00:46 -0700)
committerAndi Shyti <andi.shyti@kernel.org>
Sun, 5 May 2024 22:56:38 +0000 (00:56 +0200)
commit114c69f4be3f3a55355b2f1db46a820bb0364457
tree1771e87edf114494ec53d54a0e036ea6911513b2
parent29914dac94d490001bdfc5b9fdb8a5c29a724c1b
i2c: thunderx: Clock divisor logic changes

Handle changes to clock divisor logic for OcteonTX2 SoC family using
subsystem ID and using default reference clock source as 100MHz.

Signed-off-by: Suneel Garapati <sgarapati@marvell.com>
Signed-off-by: Piyush Malgujar <pmalgujar@marvell.com>
Acked-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-octeon-core.c
drivers/i2c/busses/i2c-octeon-core.h
drivers/i2c/busses/i2c-thunderx-pcidrv.c