On Thu, 17 Mar 2022 at 21:46, Marc Zyngier <maz@xxxxxxxxxx> wrote: > > On Thu, 17 Mar 2022 21:10:24 +0000, > Kuldeep Singh <singh.kuldeep87k@xxxxxxxxx> wrote: > > > > > > > > > > > Moreover, clocks also matches incorrectly with the regex pattern. > > > > Remove this entry altogether to fix it. > > > > 'clocks' does not match any of the regexes: 'pinctrl-[0-9]+' > > > > > > NAK. That's not a reason to randomly butcher things. > > > > I hope I explained my reasons above. > > My position on this sort of change remains. Blindly changing existing > DTs based on a warning provided by a tool that totally ignores the > reality of what is out there is not acceptable. Thanks Marc for stating this. I share this view; we shouldn't go around deleting parts of device trees for the sake of the bindings. It's been happening across the tree, and I think it's to the detriment of the supported hardware. In the case of this particular change: I suspect this property was there for early bringup, before the firmware was in place to configure CNTFRQ. Looking back in time we had: clock-frequency = <25000000>; arm,cpu-registers-not-fw-configured; I'm not sure why that changed from clock-frequency to clocks when the device tree was mainlined. That was bringup. These days, the vendor u-boot programs CNTFRQ with a value for the system. This code is also in mainline u-boot, so as long as you're running one of those firmwares the standard method will work. The qemu model also sets CNTFRQ, so loading the kernel without going through u-boot will be fine there too. Given that, I think we can go ahead with removing the property in this case. Reviewed-by: Joel Stanley <joel@xxxxxxxxx> I'll take the patch through my aspeed tree. Cheers, Joel