• Olivier Moysan's avatar
    dt-bindings: iio: dfsdm: move to backend framework · b8f31b1d
    Olivier Moysan authored
    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 superseded by generic properties:
        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: becomes st,adc-channel-type
        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: default avatarOlivier Moysan <olivier.moysan@foss.st.com>
    Reviewed-by: default avatarRob Herring (Arm) <robh@kernel.org>
    Link: https://patch.msgid.link/20240730084640.1307938-5-olivier.moysan@foss.st.comSigned-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
    b8f31b1d
st,stm32-dfsdm-adc.yaml 11.4 KB