Re: [PATCH 0/2] gpio: 74x164: use a compatible fallback and don't extend the driver
From: Krzysztof Kozlowski
Date: Sat Jan 11 2025 - 05:56:22 EST
On 10/01/2025 14:32, Csókás Bence wrote:
> Hi,
>
> On 2025. 01. 10. 14:00, Bartosz Golaszewski wrote:
>> From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
>>
>> There were other suggested solutions (for instance: just use the
>> existing compatible for the On Semi variant) but I figured the most
>> common approach is to use a fallback value for 100% compatible models
>> and this is what Rob suggested as well.
>>
>> This reverts the driver change and makes the "onnn,74hc595a" compatible
>> use "fairchild,74hc595" as fallback.
>
> Is there any reason to introduce a new compatible name at all? Does some
Yes, DT bindings preference, see writing bindings. I assume of course
this is a separate device. You cannot use other compatible "foo" for
some other device "bar".
Best regards,
Krzysztof