Thread (24 messages) 24 messages, 7 authors, 2023-02-16

Re: [PATCH 2/3] dt-bindings: hwlock: sun6i: Add missing names

From: Andre Przywara <andre.przywara@arm.com>
Date: 2023-02-14 18:11:54
Also in: linux-devicetree, linux-remoteproc, linux-sunxi, lkml

On Tue, 14 Feb 2023 13:37:20 +0100
Krzysztof Kozlowski [off-list ref] wrote:

Hi Krzysztof,
On 14/02/2023 10:45, Wilken Gottwalt wrote:
quoted
On Tue, 14 Feb 2023 00:19:29 +0100
Bastian Germann [off-list ref] wrote:
  
quoted
The allwinner,sun6i-a31-hwspinlock.yaml binding needs clock-names
and reset-names set to "ahb" as required by the driver.  
Hmm, this one is a bit odd. If you look into my earlier versions of the
patchset, you may notice, that I actually included these bindings and they
were refused. I think the argumentation was like
"there is only one bus = no need for it".

If it gets accepted now, I really like to know why. (It was some trouble
back then to get the documentation properly done and accepted.)  
The clock names and resent names are not correct. They should have never
been added. If you got comments about this and did not update driver,
that's not nice. You just shoved incomplete bindings. :(

So indeed to avoid precedence - people pushing fake bindings and
avoiding review - NAK on this.
Maybe it's just me, but I don't think this tone is necessary.

Wilken's original submission was correct. Later there was a comment just
on the binding patch, to remove the not needed clock-names and reset-names
properties. But there was not a word in there that the driver requires
changing as well, and I don't think it's fair to blame Wilken on this, or
somewhat even implying intention. There were several patch revisions after
this was raised, and this just slipped through review. But surely no one
wanted this or pushed for that.

If anything, it tells us that we should be more careful when merging
drivers without users: if there would have been a DT patch, possibly even
a consumer, this would have been flagged by dtbs_check.

Cheers,
Andre

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help