Re: Modifying binding or duplicating compatible string

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 10 May 2017 at 14:32, Rob Herring <robh+dt@xxxxxxxxxx> wrote:
>> I mean to clean up this situation. My question is: is this acceptable to
>> support the same compatible string in two contexts?
>
> Depends on the context. ;) I think here it would be fine because you
> have differing buses.
>
>> 1) For backward compatibility the first one would require specifying both:
>>    ccb-mii / MDIO register and DMP register.
>
> You don't need both in the DT. New DT and old OS is not a combination
> we worry about. You either have the old binding or new one in the DT.
> It's the driver that would need to probe the old way (presumably as a
> platform device) and the new way as an mdio device.
>
> You can decide whether you need to support the old way or not. Depends
> on who it would affect for your platform.

Thank you for the help! I'll proceed with that.

-- 
Rafał
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux