summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorOlivier Moysan <olivier.moysan@foss.st.com>2024-07-30 10:46:37 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2024-08-10 11:17:34 +0100
commit3208fa0cd9191494e6c618e3998720488d6b679b (patch)
treefa268d8de172bcb9ab1bdf2167d41f9d79484757 /arch
parente7385105553a38d5d347e565c2a1b654490a8d98 (diff)
downloadlwn-3208fa0cd9191494e6c618e3998720488d6b679b.tar.gz
lwn-3208fa0cd9191494e6c618e3998720488d6b679b.zip
iio: adc: stm32-dfsdm: adopt generic channels bindings
Move to generic channels binding to ease new backend framework adoption and prepare the convergence with MDF IP support on STM32MP2 SoC family. Legacy binding: DFSDM is an IIO channel consumer. SD modulator is an IIO channels provider. The channel phandles are provided in DT through io-channels property and channel indexes through st,adc-channels property. New binding: DFSDM is an IIO channel provider. The channel indexes are given by reg property in channel child node. This new binding is intended to be used with SD modulator IIO backends. It does not support SD modulator legacy IIO devices. The st,adc-channels property presence is used to discriminate between legacy and backend bindings. The support of the DFSDM legacy channels and SD modulator IIO devices is kept for backward compatibility. Signed-off-by: Olivier Moysan <olivier.moysan@foss.st.com> Link: https://patch.msgid.link/20240730084640.1307938-8-olivier.moysan@foss.st.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions