On Thu, 16 Feb 2023 09:36:08 +0100 Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> wrote: > On 15/02/2023 21:37, Bastian Germann wrote: > > 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 <bage@xxxxxxxxxx> > > 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