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
This commit is contained in:
Rustam Adilov 2026-04-01 23:06:47 +05:00 • committed by Andi Shyti
commit 991cd899ec
No known key found for this signature in database
GPG key ID: DA78056626D32D6E