Re: [PATCH v3 1/1] dt-bindings: iio: adc: add AD7816/AD7817/AD7818 binding
From: David Lechner
Date: Mon May 11 2026 - 10:51:40 EST
On 5/9/26 8:37 PM, Denny Lin wrote:
> Hi David,
>
>> Why are we adding bindings without a driver to use them?
>
> There is already a driver for these devices in
> drivers/staging/iio/adc/ad7816.c, which includes OF match entries
> for "adi,ad7816", "adi,ad7817", and "adi,ad7818".
>
> This binding is intended to document the existing DT interface.
Usually, we want to be moving the drivers out of staging when
adding the DT bindings so that it all gets reviewed for correctness
at the same time.
Drivers in staging are usually there because they are doing things
that are not actually acceptable for the final stable mainline
version of a driver and need more work.
>
> Thanks,
> Hungyu
>
> On Sat, May 9, 2026 at 3:13 PM David Lechner <dlechner@xxxxxxxxxxxx> wrote:
>>
>> On 5/8/26 9:27 PM, Hungyu Lin wrote:
>>> Add Device Tree binding documentation for the Analog Devices
>>> AD7816, AD7817 and AD7818 SPI ADC devices.
>>>
>> Why are we adding bindings without a driver to use them?