Re: [PATCH 2/5] iio: adc: Add ti-ads1262 driver

From: Krzysztof Kozlowski

Date: Mon Jun 15 2026 - 00:31:05 EST


On 14/06/2026 22:56, Kurt Borja wrote:
> On Sat Jun 13, 2026 at 1:59 PM -05, Krzysztof Kozlowski wrote:
>
> [...]
>
>> Functions used by probe() should be before probe(), not somewhere in the
>> middle of the code. IOW, entire probe is together.
>
> I they all are, it's just that regmap stuff takes a huge chunk. I'll
> check how to reorganize.
>
> [...]
>
>>> +static const struct of_device_id ads1262_of_match[] = {
>>> + { .compatible = "ti,ads1262" },
>>> + { .compatible = "ti,ads1263" },
>>
>> So devices are fully compatible? Then it should be expressed in the
>> binding and drop one entry here.
>
> Not fully compatible as Jonathan said. One is a subset of the other.

This is THE meaning of compatible!


Best regards,
Krzysztof