-off-by: Olivier Moysan
---
drivers/adc/stm32-adc.c | 134 ++--
1 file changed, 116 insertions(+), 18 deletions(-)
diff --git a/drivers/adc/stm32-adc.c b/drivers/adc/stm32-adc.c
index 85efc119dbf1..1fba707c6f7d 100644
--- a/drivers/adc/stm32-adc.c
+++ b/drivers
Add support of generic IIO channels binding:
./devicetree/bindings/iio/adc/adc.yaml
Keep support of st,adc-channels for backward compatibility.
Signed-off-by: Olivier Moysan
---
drivers/adc/stm32-adc.c | 51 -
1 file changed, 45 insertions(+), 6
Split stm32_adc_chan_of_init channel initialization function into
several routines to increase readability and prepare channel
generic binding handling.
Signed-off-by: Olivier Moysan
---
drivers/adc/stm32-adc.c | 44 +++--
1 file changed, 34 insertions
property is not supported. If generic channels
are present in the device tree, legacy properties will be skipped.
Olivier Moysan (2):
adc: stm32mp15: split channel init into several routines
adc: stm32mp15: add support of generic channels binding
drivers/adc/stm32-adc.c | 83
4 matches
Mail list logo