Thread (19 messages) 19 messages, 5 authors, 2023-02-16

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

From: Wilken Gottwalt <wilken.gottwalt@posteo.net>
Date: 2023-02-16 08:55:08
Also in: linux-arm-kernel, linux-remoteproc, linux-sunxi, lkml

On Thu, 16 Feb 2023 09:36:08 +0100
Krzysztof Kozlowski [off-list ref] wrote:
On 15/02/2023 21:37, Bastian Germann wrote:
quoted
The allwinner,sun6i-a31-hwspinlock.yaml binding needs clock-names and
reset-names set to "ahb" as required by the Linux driver.

Fixes: f9e784dcb63f ("dt-bindings: hwlock: add sun6i_hwspinlock") 
Signed-off-by: Bastian Germann <redacted>
With new data, I changed my opinion and NAKed this. Still NAK, sorry.
Please drop the clock/reset-names from the driver (use indices) and DTS.
I won't be able to fix this in the next time. I'm currently in the state of
moving and can't set up my hardware to test the changes. And I'm not willing
to submit changes without testing. And with testing I really mean testing it
against a running Crust firmware which touches the hwspinlock unit.

If someone wants to change that, I'm happy to see it working out, but please
do it properly. Just testing the locks in Linux only is not sufficient. If
some directions are required, I still have my working repo up at Github:
https://github.com/wgottwalt/sunxi_hwspinlock
It may be a bit dated, but should be a good start.

Greetings,
Will
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help