]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i2c: nomadik: support Mobileye EyeQ6H I2C controller
authorThéo Lebrun <theo.lebrun@bootlin.com>
Wed, 9 Oct 2024 14:01:10 +0000 (16:01 +0200)
committerWolfram Sang <wsa+renesas@sang-engineering.com>
Sun, 24 Nov 2024 15:03:51 +0000 (16:03 +0100)
commit814a3225f4e9b3631369029ed5ecf35e7a2999bc
tree449e6c3d8ed7b12998a6d80969e709d634f0c456
parenta0d15cc47f29be6d588fa55bdbe116c26549178d
i2c: nomadik: support Mobileye EyeQ6H I2C controller

Add EyeQ6H support to the nmk-i2c AMBA driver. It shares the same quirk
as EyeQ5: the memory bus only supports 32-bit accesses. Avoid writeb()
and readb() by reusing the same `priv->has_32b_bus` flag.

It does NOT need to write speed-mode specific value into a register;
therefore it does not depend on the mobileye,olb DT property.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Théo Lebrun <theo.lebrun@bootlin.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
drivers/i2c/busses/i2c-nomadik.c