On Tue, 18 Jun 2024 18:08:30 +0200 Olivier Moysan olivier.moysan@foss.st.com wrote:
Change the DFSDM binding to use the new IIO backend framework, along with the adoption of IIO generic channels. This binding change allows to add scaling support to the DFSDM.
Keep the legacy binding as deprecated for backward compatibility.
The io-backends property is supported only in generic IIO channel binding.
Channel description with the generic binding (Audio and Analog):
Properties supersed by generic properties:
superseded
st,adc-channels: becomes "reg" property in channel node st,adc-channel-names: becomes "label" property in channel node
Properties moved to channel child node: st,adc-channel-types, st,adc-channel-clk-src, st,adc-alt-channel
Analog binding:
DFSDM filter channel is configured as an IIO backend consumer. Add io-backends property in channel child nodes.
DFSDM is no more configured as a channel consumer from SD modulator. Use of io-channels in DFSDM node is deprecated.
Audio binding:
DFSDM audio DAI is configured as a channel consumer from DFSDM filter. No change compare to legacy.
Signed-off-by: Olivier Moysan olivier.moysan@foss.st.com