Re: [RESEND PATCH 1/2] ARM: dts: Change dw-apb-timer-osc and dw-apb-timer-sp to just dw-apb-timer

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

 




On 08/08/2013 03:01 PM, Pavel Machek wrote:
> On Thu 2013-08-08 14:17:46, Stephen Warren wrote:
>> On 08/05/2013 04:02 PM, dinguyen@xxxxxxxxxx wrote:
>>> From: Dinh Nguyen <dinguyen@xxxxxxxxxx>
>>>
>>> "dw-apb-timer-osc" and "dw-apb-timer-sp" are the same implementation of the
>>> DW APB timer, just fed by different clocks.
>>
>> I assume patch 1/1 made similar changes to the driver?
>>
>>> diff --git a/Documentation/devicetree/bindings/rtc/dw-apb.txt b/Documentation/devicetree/bindings/rtc/dw-apb.txt
>>
>>>  Required properties:
>>> -- compatible: "snps,dw-apb-timer-sp" or "snps,dw-apb-timer-osc"
>>> +- compatible: "snps,dw-apb-timer"
>>
>> This change is problematic w.r.t device tree as an ABI. any DT that uses
>> the new value "snps,dw-apb-timer" will not work with older software that
>> was written to expect the old values.
> 
> I'm pretty sure there's no such software out there. Actually, I don't
> think timers ever worked properly on any mainline kernels.
> 
> So I believe we can still fix it the right way... it is same hardware
> with different labels after all.

If even Linux 3.11 isn't going to work properly with the current DT
content, then I think breaking ABI compatibility is fine.
--
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