linux-stable/arch/arm64/boot/dts
Frank Li a156f37b8e arm64: dts: imx8-ss-dma: fix spi lpcg indices
commit f72b544a51 upstream.

spi0_lpcg: clock-controller@5a400000 {
	...                                                  Col0   Col1
	clocks = <&clk IMX_SC_R_SPI_0 IMX_SC_PM_CLK_PER>,//   0      1
		 <&dma_ipg_clk>;                         //   1      4
	clock-indices = <IMX_LPCG_CLK_0>, <IMX_LPCG_CLK_4>;
};

Col1: index, which existing dts try to get.
Col2: actual index in lpcg driver.

lpspi0: spi@5a000000 {
	...
	clocks = <&spi0_lpcg 0>, <&spi0_lpcg 1>;
			     ^		     ^
Should be:
	clocks = <&spi0_lpcg IMX_LPCG_CLK_0>, <&spi0_lpcg IMX_LPCG_CLK_4>;
};

Arg0 is divided by 4 in lpcg driver. <&spi0_lpcg 0> and <&spi0_lpcg 1> are
IMX_SC_PM_CLK_PER. Although code can work, code logic is wrong. It should
use IMX_LPCG_CLK_0 and IMX_LPCG_CLK_4 for lpcg arg0.

Cc: stable@vger.kernel.org
Fixes: c4098885e7 ("arm64: dts: imx8dxl: add lpspi support")
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-04-17 11:19:35 +02:00
..
actions
allwinner arm64: dts: allwinner: h6: Add RX DMA channel for SPDIF 2024-03-26 18:19:34 -04:00
altera ARM: devicetree updates for 6.6 2023-08-30 16:53:46 -07:00
amazon arm64: dts: Fix dtc interrupt_provider warnings 2024-03-26 18:19:13 -04:00
amd
amlogic arm64: dts: amlogic: fix format for s4 uart node 2024-02-05 20:14:24 +00:00
apm
apple
arm ARM: devicetree updates for 6.6 2023-08-30 16:53:46 -07:00
bitmain
broadcom arm64: dts: broadcom: bcmbca: bcm4908: drop invalid switch cells 2024-03-26 18:20:05 -04:00
cavium
exynos arm64: dts: exynos: exynos5433-tm2: drop redundant status=okay 2023-08-06 17:42:22 +02:00
freescale arm64: dts: imx8-ss-dma: fix spi lpcg indices 2024-04-17 11:19:35 +02:00
hisilicon arm64: dts: hisilicon: hikey970-pmic: fix regulator cells properties 2024-01-25 15:35:24 -08:00
intel arm64: dts: agilex5: add initial support for Intel Agilex5 SoCFPGA 2023-08-14 05:33:41 -05:00
lg arm64: dts: Fix dtc interrupt_provider warnings 2024-03-26 18:19:13 -04:00
marvell arm64: dts: marvell: reorder crypto interrupts on Armada SoCs 2024-03-26 18:19:35 -04:00
mediatek arm64: dts: mt8195-cherry-tomato: change watchdog reset boot flow 2024-03-26 18:19:32 -04:00
microchip arm64: dts: microchip: minor whitespace cleanup around '=' 2023-07-29 17:05:24 +03:00
nuvoton Char/Misc driver changes for 6.6-rc1 2023-09-01 09:53:54 -07:00
nvidia arm64: tegra: Set the correct PHY mode for MGBE 2024-03-26 18:19:14 -04:00
qcom arm64: dts: qcom: sc7180-trogdor: mark bluetooth address as broken 2024-04-10 16:35:48 +02:00
realtek
renesas arm64: dts: renesas: r8a779g0: Correct avb[01] reg sizes 2024-03-26 18:19:33 -04:00
rockchip arm64: dts: rockchip: fix rk3399 hdmi ports node 2024-04-13 13:07:30 +02:00
socionext
sprd arm64: dts: sprd: Change UMS512 idle-state nodename to match bindings 2024-02-05 20:14:25 +00:00
st
synaptics
tesla arm64: dts: fsd: minor whitespace cleanup around '=' 2023-07-10 09:02:38 +02:00
ti arm64: dts: ti: k3-am62p: Fix memory ranges for DMSS 2024-03-26 18:19:32 -04:00
toshiba
xilinx arm64: zynqmp: Fix clock node name in kv260 cards 2024-02-05 20:14:22 +00:00
Makefile