]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
i2c: rtl9300: introduce a property for 8 bit width reg address
authorRustam Adilov <adilov@disroot.org>
Wed, 1 Apr 2026 18:06:44 +0000 (23:06 +0500)
committerAndi Shyti <andi.shyti@kernel.org>
Wed, 1 Apr 2026 22:09:14 +0000 (00:09 +0200)
commit6afde011baaf722aa66c11696b6383f9ce85b653
tree7d429eadf871f6f4fce8460d40a7c9b24564c0f5
parent55284a806b63a412846b9ecd3846f2639eaeaff4
i2c: rtl9300: introduce a property for 8 bit width reg address

In RTL9607C i2c controller, in order to indicate that the width of
memory address is 8 bits, 0 is written to MEM_ADDR_WIDTH field as
opposed to 1 for RTL9300 and RTL9310.

Introduce a new property to a driver data to indicate what value
need to written to MEM_ADDR_WIDTH field for this case.

Signed-off-by: Rustam Adilov <adilov@disroot.org>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20260401180648.337834-5-adilov@disroot.org
drivers/i2c/busses/i2c-rtl9300.c