kernel_samsung_a53x/drivers/i2c
Wolfram Sang 214309d81d i2c: rcar: bring hardware to known state when probing
[ Upstream commit 4e36c0f20cb1c74c7bd7ea31ba432c1c4a989031 ]

When probing, the hardware is not brought into a known state. This may
be a problem when a hypervisor restarts Linux without resetting the
hardware, leaving an old state running. Make sure the hardware gets
initialized, especially interrupts should be cleared and disabled.

Reported-by: Dirk Behme <dirk.behme@de.bosch.com>
Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
Closes: https://lore.kernel.org/r/20240702045535.2000393-1-dirk.behme@de.bosch.com
Fixes: 6ccbe607132b ("i2c: add Renesas R-Car I2C driver")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 14:19:46 +01:00
..
algos Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
busses i2c: rcar: bring hardware to known state when probing 2024-11-19 14:19:46 +01:00
muxes i2c: muxes: i2c-demux-pinctrl: Use of_get_i2c_adapter_by_node() 2024-11-18 10:58:31 +01:00
i2c-boardinfo.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c-core-acpi.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c-core-base.c i2c: smbus: fix NULL function pointer dereference 2024-11-19 11:32:40 +01:00
i2c-core-of.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c-core-slave.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c-core-smbus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c-core.h i2c: core: Fix atomic xfer check for non-preempt config 2024-11-18 12:12:08 +01:00
i2c-dev.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c-mux.c i2c: mux: Avoid potential false error message in i2c_mux_add_adapter 2024-11-08 11:26:15 +01:00
i2c-slave-eeprom.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c-slave-testunit.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c-smbus.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
i2c-stub.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00