[PATCH 2/5] ARM: dts: lpc32xx: add sspclk clock for SPI[0,1]
Vladimir Zapolskiy
vz at mleia.com
Thu Nov 13 15:12:05 PST 2025
Hi Frank.
On 10/29/25 22:27, Frank Li wrote:
> add sspclk clock for SPI[0,1] to fix below CHECK_DTB warning:
> arch/arm/boot/dts/nxp/lpc/lpc3250-phy3250.dtb: spi at 2008c000 (arm,pl022): clock-names:0: 'sspclk' was expected
>
> Signed-off-by: Frank Li <Frank.Li at nxp.com>
> ---
> arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
> diff --git a/arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi b/arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi
> index 9790b0a1d6537..77f210a2152dc 100644
> --- a/arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi
> +++ b/arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi
> @@ -179,8 +179,8 @@ ssp0: spi at 20084000 {
> compatible = "arm,pl022", "arm,primecell";
> reg = <0x20084000 0x1000>;
> interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
> - clocks = <&clk LPC32XX_CLK_SSP0>;
> - clock-names = "apb_pclk";
> + clocks =<&clk LPC32XX_CLK_SSP0>, <&clk LPC32XX_CLK_SSP0>;
> + clock-names = "sspclk", "apb_pclk";
> #address-cells = <1>;
> #size-cells = <0>;
> status = "disabled";
> @@ -203,8 +203,8 @@ ssp1: spi at 2008c000 {
> compatible = "arm,pl022", "arm,primecell";
> reg = <0x2008c000 0x1000>;
> interrupts = <21 IRQ_TYPE_LEVEL_HIGH>;
> - clocks = <&clk LPC32XX_CLK_SSP1>;
> - clock-names = "apb_pclk";
> + clocks = <&clk LPC32XX_CLK_SSP1>, <&clk LPC32XX_CLK_SSP1>;
> + clock-names = "sspclk", "apb_pclk";
> #address-cells = <1>;
> #size-cells = <0>;
> status = "disabled";
This one I won't apply now, since there is another much earlier sent
and discussed change:
https://lore.kernel.org/all/20220311093800.18778-4-singh.kuldeep87k@gmail.com/
The thing is formally it's a DT ABI change. I'm pro to apply the change, but
let me say I need to get a bit more of courage to resend it and to push it
through as an incredibly unlikely but still potentially harmful change to
some unknown user.
--
Best wishes,
Vladimir
More information about the linux-arm-kernel
mailing list