ramips: use i2c-gpio driver for EX400
authorDavid Bauer <mail@david-bauer.net>
Tue, 6 May 2025 16:23:50 +0000 (18:23 +0200)
committerDavid Bauer <mail@david-bauer.net>
Mon, 12 May 2025 00:20:58 +0000 (02:20 +0200)
commit6adcb5d75c5a12926432220f217e11391cd6fc52
tree06ad259dacda100471a70951f7cc67bc46c0cae5
parent79cbeb8dd26cdad73d57d61d988c6e287b25ff5c
ramips: use i2c-gpio driver for EX400

Configure the i2c pins as GPIO outputs and use the i2c-gpio driver to
control the Semtech SX9512 touch controller.

This fixes spurious errors in i2c transactions even at 1kHz with the
native i2c driver.

leds green:wan: Setting an LED's brightness failed (-6)

Signed-off-by: David Bauer <mail@david-bauer.net>
(cherry picked from commit f828be4d10d795e2bd74ea77ea12dec285107974)
target/linux/ramips/dts/mt7621_genexis_pulse-ex400-common.dtsi
target/linux/ramips/dts/mt7621_genexis_pulse-ex400.dts