zephyr/tests/drivers/build_all/pwm
Fabio Baltieri b716b0672d dts: ite: refactor the it8801 template hierarchy
The it8801 template is helpful but in the current state it does not
allow changing the device address as that is in the template itself. Fix
that by moving the template content down a level in the hierarchy, so
that it extends the mfd device itself rather than than instantiate it,
then the base instance can have any address, now the only limitation is
that only one instance is possible, but that is probably alright for
now.

Alternatives would be to use a define for the address, or even a
template per address, but this feels like a better compromise for now.
This may also use
https://github.com/zephyrproject-rtos/zephyr/pull/82825 in the future if
that ever becomes a thing.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
2024-12-31 19:45:49 +01:00
..
boards dts: ite: refactor the it8801 template hierarchy 2024-12-31 19:45:49 +01:00
src samples, tests, boards: Switch main return type from void to int 2023-04-14 07:49:41 +09:00
CMakeLists.txt cmake: increase minimal required version to 3.20.0 2021-08-20 09:47:34 +02:00
max31790.overlay drivers: pwm: split up driver for MAX31790 into a MFD 2024-03-20 07:38:18 -05:00
prj.conf drivers: pwm: split up driver for MAX31790 into a MFD 2024-03-20 07:38:18 -05:00
testcase.yaml tests: drivers: build_all: pwm: Add i2c-devices build test 2024-09-26 17:43:24 -04:00