]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
i2c: rtl9300: introduce new function properties to driver data
authorRustam Adilov <adilov@disroot.org>
Wed, 1 Apr 2026 18:06:47 +0000 (23:06 +0500)
committerAndi Shyti <andi.shyti@kernel.org>
Wed, 1 Apr 2026 22:09:31 +0000 (00:09 +0200)
commit991cd899ecd03a1c3ef7d177a0b99e824c6be581
treeece1bbf279cb1221bc34cc208383ad56dbd1cb33
parentf60d27926c9e2d547200fb0d26f61eec9b8291a6
i2c: rtl9300: introduce new function properties to driver data

Due to the very nature of differences between RTL9607C i2c controller
and RTL9300 / RTL9310 that are incompatible with each other in some areas
of this driver, for example in clock configuration, channel configuration
and initialization at the end of the probe, introduce new function
properties to the driver data struct to handle those differences.

With these new properties, create configuration functions for RTL9300 and
RTL9310 and assign them to their respective driver data structs.

Signed-off-by: Rustam Adilov <adilov@disroot.org>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20260401180648.337834-8-adilov@disroot.org
drivers/i2c/busses/i2c-rtl9300.c