Thread (5 messages) 5 messages, 3 authors, 2024-12-05

Re: [PATCH] media: dt-bindings: sony,imx415: add required clock-names property

From: Krzysztof Kozlowski <krzk@kernel.org>
Date: 2024-12-02 10:31:33
Also in: imx, linux-devicetree, linux-media, lkml

On 02/12/2024 09:18, Michael Riesch wrote:
Hi Matthias, Krzysztof,

On 12/2/24 08:56, Krzysztof Kozlowski wrote:
quoted
On Sat, Nov 30, 2024 at 03:17:15PM +0100, Matthias Fend wrote:
quoted
The imx415 driver expects a clock with the name "inck".
Document this in the bindings.
No, fix the driver instead of bypassing review. It was decided to drop
it during review, so you cannot reintroduce it 2 years later claiming
that's now ABI. Of course original submission was buggy and never
tested, but that does not allow review bypass.
Just to make sure I am on the same page here: Between v2 and v3 of the
IMX415 submission the clock-names property was dropped. At that point,
we should have changed the acquisition of the clock from
    sensor->clk = devm_clk_get(sensor->dev, "inck");
to
    sensor->clk = devm_clk_get(sensor->dev, NULL);

Is that correct/the proper fix?
Yes, because driver could simply not work. It was never tested, after
the change.

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