On Wed, Jul 10, 2013 at 6:20 AM, Jason Cooper <ja...@lakedaemon.net> wrote: > Please keep in mind that the DT is supposed to be tied to the hardware, > *not* the kernel. iow, a dtb comes with a board, and the user/OS > upgrades the kernel as needed w/o upgrading or changing the dtb.
Thank you for making this position clear to those trying to break compatibility... This will affect OLPC where the dtb comes from the firmware (OpenFirmware), which is similar to the dtb coming "with the board" as you describe. We run on Marvell SoCs. > So the question you need to ask yourself is: Are there any users (since > v3.5) that are doing this? If so, they have "mrvl,..." compatible > strings in their dtbs. You don't want to break their systems on kernel > upgrade, right? In the OLPC case, the devicetree currently exported from the firmware is unfortunately quite insufficient to boot mainline kernels. So we are currently in a state of flux where we must break firmware/OS compatibility in significant ways in order to support mainline kernels. We are heading in this direction despite the pains. Therefore right now its OK for us if we break compatibility during our in-flux major firmware/DT restructuring, as this patch does. However, once we have stabilised in the near future, it will no longer be possible to break compatibility like this. My vote would be to maintain the old names (in addition to the new) in case there are people that will be affected by this that haven't seen this thread. We were recently hit by another backwards-incompatible change in Marvell's Linux gpio drivers where the compatible strings recognised were changed (f87311743eaf85). This is not a big problem in our current state however it cost me about 3 hours of changelog skimming, glancing around in the code, and finally running a git bisect, before I managed to figure out why things had suddenly stopped working. That was irritating. Thanks Daniel _______________________________________________ devicetree-discuss mailing list devicetree-discuss@lists.ozlabs.org https://lists.ozlabs.org/listinfo/devicetree-discuss