Skip to content

Commit 83359f6

Browse files
committed
i.MX fixes for 6.12: - An imx8qm change from Alexander Stein to fix VPU IRQs - An imx8 LVDS subsystem change from Diogo Silva to fix clock-output-names - An imx8ulp change from Haibo Chen to correct flexspi compatible string - An imx8mp-skov board change from Liu Ying to set correct clock rate for media_isp - An imx8mp-phyboard change from Marek Vasut to correct Video PLL1 frequency - An imx8mp change from Peng Fan to correct SDHC IPG clock * tag 'imx-fixes-6.12' of https://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: arm64: dts: imx8mp-phyboard-pollux: Set Video PLL1 frequency to 506.8 MHz arm64: dts: imx8mp: correct sdhc ipg clk arm64: dts: imx8mp-skov-revb-mi1010ait-1cp1: Assign "media_isp" clock rate arm64: dts: imx8: Fix lvds0 device tree arm64: dts: imx8ulp: correct the flexspi compatible string arm64: dts: imx8-ss-vpu: Fix imx8qm VPU IRQs Link: https://lore.kernel.org/r/ZxhsnnLudN2kD2Po@dragon Signed-off-by: Arnd Bergmann <[email protected]>
2 parents 42f7652 + 4fbb734 commit 83359f6

File tree

7 files changed

+33
-12
lines changed

7 files changed

+33
-12
lines changed

arch/arm64/boot/dts/freescale/imx8-ss-lvds0.dtsi

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ lvds0_subsys: bus@56240000 {
1414
compatible = "fsl,imx8qxp-lpcg";
1515
reg = <0x56243000 0x4>;
1616
#clock-cells = <1>;
17-
clock-output-names = "mipi1_lis_lpcg_ipg_clk";
17+
clock-output-names = "lvds0_lis_lpcg_ipg_clk";
1818
power-domains = <&pd IMX_SC_R_MIPI_1>;
1919
};
2020

2121
qm_lvds0_pwm_lpcg: qxp_mipi1_pwm_lpcg: clock-controller@5624300c {
2222
compatible = "fsl,imx8qxp-lpcg";
2323
reg = <0x5624300c 0x4>;
2424
#clock-cells = <1>;
25-
clock-output-names = "mipi1_pwm_lpcg_clk",
26-
"mipi1_pwm_lpcg_ipg_clk",
27-
"mipi1_pwm_lpcg_32k_clk";
25+
clock-output-names = "lvds0_pwm_lpcg_clk",
26+
"lvds0_pwm_lpcg_ipg_clk",
27+
"lvds0_pwm_lpcg_32k_clk";
2828
power-domains = <&pd IMX_SC_R_MIPI_1_PWM_0>;
2929
};
3030

3131
qm_lvds0_i2c0_lpcg: qxp_mipi1_i2c0_lpcg: clock-controller@56243010 {
3232
compatible = "fsl,imx8qxp-lpcg";
3333
reg = <0x56243010 0x4>;
3434
#clock-cells = <1>;
35-
clock-output-names = "mipi1_i2c0_lpcg_clk",
36-
"mipi1_i2c0_lpcg_ipg_clk";
35+
clock-output-names = "lvds0_i2c0_lpcg_clk",
36+
"lvds0_i2c0_lpcg_ipg_clk";
3737
power-domains = <&pd IMX_SC_R_MIPI_1_I2C_0>;
3838
};
3939

arch/arm64/boot/dts/freescale/imx8-ss-vpu.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ vpu: vpu@2c000000 {
1515
mu_m0: mailbox@2d000000 {
1616
compatible = "fsl,imx6sx-mu";
1717
reg = <0x2d000000 0x20000>;
18-
interrupts = <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>;
18+
interrupts = <GIC_SPI 472 IRQ_TYPE_LEVEL_HIGH>;
1919
#mbox-cells = <2>;
2020
power-domains = <&pd IMX_SC_R_VPU_MU_0>;
2121
status = "disabled";
@@ -24,7 +24,7 @@ vpu: vpu@2c000000 {
2424
mu1_m0: mailbox@2d020000 {
2525
compatible = "fsl,imx6sx-mu";
2626
reg = <0x2d020000 0x20000>;
27-
interrupts = <GIC_SPI 470 IRQ_TYPE_LEVEL_HIGH>;
27+
interrupts = <GIC_SPI 473 IRQ_TYPE_LEVEL_HIGH>;
2828
#mbox-cells = <2>;
2929
power-domains = <&pd IMX_SC_R_VPU_MU_1>;
3030
status = "disabled";

arch/arm64/boot/dts/freescale/imx8mp-phyboard-pollux-rdk.dts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,18 @@
218218
};
219219
};
220220

221+
&media_blk_ctrl {
222+
/*
223+
* The LVDS panel on this device uses 72.4 MHz pixel clock,
224+
* set IMX8MP_VIDEO_PLL1 to 72.4 * 7 = 506.8 MHz so the LDB
225+
* serializer and LCDIFv3 scanout engine can reach accurate
226+
* pixel clock of exactly 72.4 MHz.
227+
*/
228+
assigned-clock-rates = <500000000>, <200000000>,
229+
<0>, <0>, <500000000>,
230+
<506800000>;
231+
};
232+
221233
&snvs_pwrkey {
222234
status = "okay";
223235
};

arch/arm64/boot/dts/freescale/imx8mp-skov-revb-mi1010ait-1cp1.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@
7171
assigned-clock-rates = <500000000>, <200000000>, <0>,
7272
/* IMX8MP_CLK_MEDIA_DISP2_PIX = pixelclk of lvds panel */
7373
<68900000>,
74+
<500000000>,
7475
/* IMX8MP_VIDEO_PLL1 = IMX8MP_CLK_MEDIA_LDB * 2 */
7576
<964600000>;
7677
};

arch/arm64/boot/dts/freescale/imx8mp.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1261,7 +1261,7 @@
12611261
compatible = "fsl,imx8mp-usdhc", "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc";
12621262
reg = <0x30b40000 0x10000>;
12631263
interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
1264-
clocks = <&clk IMX8MP_CLK_DUMMY>,
1264+
clocks = <&clk IMX8MP_CLK_IPG_ROOT>,
12651265
<&clk IMX8MP_CLK_NAND_USDHC_BUS>,
12661266
<&clk IMX8MP_CLK_USDHC1_ROOT>;
12671267
clock-names = "ipg", "ahb", "per";
@@ -1275,7 +1275,7 @@
12751275
compatible = "fsl,imx8mp-usdhc", "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc";
12761276
reg = <0x30b50000 0x10000>;
12771277
interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
1278-
clocks = <&clk IMX8MP_CLK_DUMMY>,
1278+
clocks = <&clk IMX8MP_CLK_IPG_ROOT>,
12791279
<&clk IMX8MP_CLK_NAND_USDHC_BUS>,
12801280
<&clk IMX8MP_CLK_USDHC2_ROOT>;
12811281
clock-names = "ipg", "ahb", "per";
@@ -1289,7 +1289,7 @@
12891289
compatible = "fsl,imx8mp-usdhc", "fsl,imx8mm-usdhc", "fsl,imx7d-usdhc";
12901290
reg = <0x30b60000 0x10000>;
12911291
interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
1292-
clocks = <&clk IMX8MP_CLK_DUMMY>,
1292+
clocks = <&clk IMX8MP_CLK_IPG_ROOT>,
12931293
<&clk IMX8MP_CLK_NAND_USDHC_BUS>,
12941294
<&clk IMX8MP_CLK_USDHC3_ROOT>;
12951295
clock-names = "ipg", "ahb", "per";

arch/arm64/boot/dts/freescale/imx8qxp-ss-vpu.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55
* Author: Alexander Stein
66
*/
77

8+
&mu_m0 {
9+
interrupts = <GIC_SPI 469 IRQ_TYPE_LEVEL_HIGH>;
10+
};
11+
12+
&mu1_m0 {
13+
interrupts = <GIC_SPI 470 IRQ_TYPE_LEVEL_HIGH>;
14+
};
15+
816
&vpu_core0 {
917
reg = <0x2d040000 0x10000>;
1018
};

arch/arm64/boot/dts/freescale/imx8ulp.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@
384384
};
385385

386386
flexspi2: spi@29810000 {
387-
compatible = "nxp,imx8mm-fspi";
387+
compatible = "nxp,imx8ulp-fspi";
388388
reg = <0x29810000 0x10000>, <0x60000000 0x10000000>;
389389
reg-names = "fspi_base", "fspi_mmap";
390390
#address-cells = <1>;

0 commit comments

Comments
 (0)