Re: [PATCH 1/2] dt-bindings: GPIO: Add generic serializer binding
From: Linus Walleij
Date: Wed Jan 27 2016 - 08:57:40 EST
On Wed, Dec 30, 2015 at 6:05 PM, Andrew F. Davis <afd@xxxxxx> wrote:
> [Me]
>> Compatible ranges from the specific to the more generic
>> so compatible = "ti,74165", "pisosr"; is just fine. Something
>> will match if there is a suitable driver. The OS may choose to
>> provide something part-specific or something more generic.
>>
>
> And so we won't need to have "ti,74165" in the driver itself,
> if we just have "pisosr", then dts files can use what ever they
> like to correctly identify the part then fall back to pisosr.
>
> compatible = "company,random_numbers_of_exact_part_actually_on_board",
> "pisosr";
Exactly. Sorry for slow replies.
Yours,
Linus Walleij