Thread (20 messages) 20 messages, 3 authors, 2021-12-21

Re: [PATCH v4 1/7] dt-bindings: clock: exynos850: Add bindings for Exynos850 sysreg clocks

From: Sam Protsenko <semen.protsenko@linaro.org>
Date: 2021-12-21 12:10:11
Also in: linux-clk, linux-devicetree, linux-samsung-soc, lkml

On Tue, 21 Dec 2021 at 10:19, Krzysztof Kozlowski
[off-list ref] wrote:
On 20/12/2021 15:55, Sam Protsenko wrote:
quoted
On Mon, 20 Dec 2021 at 11:31, Krzysztof Kozlowski
[off-list ref] wrote:
quoted
On 19/12/2021 23:29, Sylwester Nawrocki wrote:
quoted
On 17.12.2021 17:15, Sam Protsenko wrote:
quoted
System Register is used to configure system behavior, like USI protocol,
etc. SYSREG clocks should be provided to corresponding syscon nodes, to
make it possible to modify SYSREG registers.

While at it, add also missing PMU and GPIO clocks, which looks necessary
and might be needed for corresponding Exynos850 features soon.

Reviewed-by: Krzysztof Kozlowski<redacted>
Acked-by: Rob Herring<robh@kernel.org>
Acked-by: Chanwoo Choi<cw00.choi@samsung.com>
Signed-off-by: Sam Protsenko<semen.protsenko@linaro.org>
Apologies for late reply, this patch is applied now.
Sam,

The clock is used in the DTSI, so since this was applied, there are only
two choices now:
1. wait for next cycle with DTSI and DTS,
2. Resubmit with replacing the newly added clocks in DTSI/DTS with
numbers and a TODO note.
But why? I thought because Sylwester applied my clock patches, those
will get into v5.17, and so DTSI/DTS might rely on those clocks? If I
get it wrong, please let me know why, and I'll go with item (2) you
suggested.
If I apply the DTSI+DTS, all my builds will start failing. The
linux-next (since Sylwester's tree is included) should build fine, but
my tree won't be buildable anymore. Then arm-soc pulls my tree and gets
said because it does not build. Later, Linus will be unhappy if he pulls
arm-soc (thus mine) before clock tree.
I see. Thanks for the explanation!
Other solution, instead of using raw numbers, is to copy-paste the clock
macros you use directly in DTSI and do not include the clock header.
This actually might be cleaner choice - changes will be limited to one
place in DTSI.
Will do so in v5.
Best regards,
Krzysztof
_______________________________________________
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