walnux/arch/arm64
Jukka Laitinen 3cf28dd0b2 arch/arm64/src/imx9/imx9_lpi2c.c: Fix bus reset
imx9_lpi2c_reset didn't quite work. It tried to toggle scl line as GPIO, but the line was not even muxed properly.

Instead, set the bus to relaxed mode, and drive address 0 to the bus. This toggles the clock, and also generates start and stop sequences on the bus.

"Relaxed mode" is a new feature on the LPI2C block used in imx93.

Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
2025-08-26 09:39:33 +08:00
..
include arch/arm64: porting mu drv and scmi from arm imx9 2025-08-22 20:54:05 +08:00
src arch/arm64/src/imx9/imx9_lpi2c.c: Fix bus reset 2025-08-26 09:39:33 +08:00
CMakeLists.txt arch/arm64: migrate to SPDX identifier 2024-12-02 22:43:23 +08:00
Kconfig arm64: Support hardware debug 2025-07-03 00:20:54 +08:00