[PATCH 0/2] adc: stm32mp15: add support of generic channels binding

Olivier Moysan olivier.moysan at foss.st.com
Wed Nov 23 16:20:14 CET 2022


Add support of generic IIO channels binding:
./devicetree/bindings/iio/adc/adc.yaml

Keep support of legacy property st,adc-channels for backward compatibility.
However, the st,adc-channels property is deprecated, and generic channel
bindings should be used instead.
Mixing of generic and legacy 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 ++++++++++++++++++++++++++++++++++++-----
 1 file changed, 73 insertions(+), 10 deletions(-)

-- 
2.25.1



More information about the U-Boot mailing list