Skip to content

Commit 7c9bb19

Browse files
committed
Merge tag 'imx-fixes-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into arm/fixes
i.MX fixes for 6.7: - A MAINTAINERS update to reinstate freescale ARM64 DT directory in i.MX entry. - A series from Alexander Stein to fix #pwm-cells for imx8-ss. - A series from Haibo Chen to fix GPIO node name for i.MX93 and i.MX8ULP. - Add parkmode-disable-ss-quirk for DWC3 on i.MX8MP and i.MX8MQ to fix an issue that the controller may hang when processing transactions under heavy USB traffic from multiple endpoints. - Fix mediamix block power on/off for i.MX93 by correcting the power domain clock to be 'nic_media'. - A couple of Ethernet PHY clock regression fixes for imx6ul-pico and imx6q-skov board. - Fix edma3 power domain for i.MX8QM to fix a panic during startup process. * tag 'imx-fixes-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: ARM: dts: imx28-xea: Pass the 'model' property ARM: dts: imx7: Declare timers compatible with fsl,imx6dl-gpt MAINTAINERS: reinstate freescale ARM64 DT directory in i.MX entry arm64: dts: imx8-apalis: set wifi regulator to always-on ARM: imx: Check return value of devm_kasprintf in imx_mmdc_perf_init arm64: dts: imx8ulp: update gpio node name to align with register address arm64: dts: imx93: update gpio node name to align with register address arm64: dts: imx93: correct mediamix power arm64: dts: imx8qm: Add imx8qm's own pm to avoid panic during startup arm64: dts: freescale: imx8-ss-dma: Fix #pwm-cells arm64: dts: freescale: imx8-ss-lsio: Fix #pwm-cells dt-bindings: pwm: imx-pwm: Unify #pwm-cells for all compatibles ARM: dts: imx6ul-pico: Describe the Ethernet PHY clock arm64: dts: imx8mp: imx8mq: Add parkmode-disable-ss-quirk on DWC3 ARM: dts: imx6q: skov: fix ethernet clock regression arm64: dt: imx93: tqma9352-mba93xxla: Fix LPUART2 pad config Link: https://lore.kernel.org/r/20231207005202.GF270430@dragon Signed-off-by: Arnd Bergmann <[email protected]>
2 parents b0b2981 + 63ef8fc commit 7c9bb19

File tree

16 files changed

+50
-31
lines changed

16 files changed

+50
-31
lines changed

Documentation/devicetree/bindings/pwm/imx-pwm.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@ allOf:
1414

1515
properties:
1616
"#pwm-cells":
17-
description: |
18-
Should be 2 for i.MX1 and 3 for i.MX27 and newer SoCs. See pwm.yaml
19-
in this directory for a description of the cells format.
20-
enum:
21-
- 2
22-
- 3
17+
description:
18+
The only third cell flag supported by this binding is
19+
PWM_POLARITY_INVERTED. fsl,imx1-pwm does not support this flags.
20+
const: 3
2321

2422
compatible:
2523
oneOf:

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2155,6 +2155,7 @@ S: Maintained
21552155
T: git git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux.git
21562156
F: arch/arm/boot/dts/nxp/imx/
21572157
F: arch/arm/boot/dts/nxp/mxs/
2158+
F: arch/arm64/boot/dts/freescale/
21582159
X: arch/arm64/boot/dts/freescale/fsl-*
21592160
X: arch/arm64/boot/dts/freescale/qoriq-*
21602161
X: drivers/media/i2c/

arch/arm/boot/dts/nxp/imx/imx6q-skov-reve-mi1010ait-1cp1.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@
3737

3838
&clks {
3939
assigned-clocks = <&clks IMX6QDL_CLK_LDB_DI0_SEL>,
40-
<&clks IMX6QDL_CLK_LDB_DI1_SEL>;
40+
<&clks IMX6QDL_CLK_LDB_DI1_SEL>, <&clks IMX6QDL_CLK_ENET_REF_SEL>;
4141
assigned-clock-parents = <&clks IMX6QDL_CLK_PLL5_VIDEO_DIV>,
42-
<&clks IMX6QDL_CLK_PLL5_VIDEO_DIV>;
42+
<&clks IMX6QDL_CLK_PLL5_VIDEO_DIV>, <&clk50m_phy>;
4343
};
4444

4545
&hdmi {

arch/arm/boot/dts/nxp/imx/imx6ul-pico.dtsi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@
121121
max-speed = <100>;
122122
interrupt-parent = <&gpio5>;
123123
interrupts = <6 IRQ_TYPE_LEVEL_LOW>;
124+
clocks = <&clks IMX6UL_CLK_ENET_REF>;
125+
clock-names = "rmii-ref";
124126
};
125127
};
126128
};

arch/arm/boot/dts/nxp/imx/imx7s.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@
454454
};
455455

456456
gpt1: timer@302d0000 {
457-
compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
457+
compatible = "fsl,imx7d-gpt", "fsl,imx6dl-gpt";
458458
reg = <0x302d0000 0x10000>;
459459
interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
460460
clocks = <&clks IMX7D_GPT1_ROOT_CLK>,
@@ -463,7 +463,7 @@
463463
};
464464

465465
gpt2: timer@302e0000 {
466-
compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
466+
compatible = "fsl,imx7d-gpt", "fsl,imx6dl-gpt";
467467
reg = <0x302e0000 0x10000>;
468468
interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
469469
clocks = <&clks IMX7D_GPT2_ROOT_CLK>,
@@ -473,7 +473,7 @@
473473
};
474474

475475
gpt3: timer@302f0000 {
476-
compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
476+
compatible = "fsl,imx7d-gpt", "fsl,imx6dl-gpt";
477477
reg = <0x302f0000 0x10000>;
478478
interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
479479
clocks = <&clks IMX7D_GPT3_ROOT_CLK>,
@@ -483,7 +483,7 @@
483483
};
484484

485485
gpt4: timer@30300000 {
486-
compatible = "fsl,imx7d-gpt", "fsl,imx6sx-gpt";
486+
compatible = "fsl,imx7d-gpt", "fsl,imx6dl-gpt";
487487
reg = <0x30300000 0x10000>;
488488
interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>;
489489
clocks = <&clks IMX7D_GPT4_ROOT_CLK>,

arch/arm/boot/dts/nxp/mxs/imx28-xea.dts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "imx28-lwe.dtsi"
99

1010
/ {
11+
model = "Liebherr XEA board";
1112
compatible = "lwn,imx28-xea", "fsl,imx28";
1213
};
1314

arch/arm/mach-imx/mmdc.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,10 @@ static int imx_mmdc_perf_init(struct platform_device *pdev, void __iomem *mmdc_b
501501

502502
name = devm_kasprintf(&pdev->dev,
503503
GFP_KERNEL, "mmdc%d", ret);
504+
if (!name) {
505+
ret = -ENOMEM;
506+
goto pmu_release_id;
507+
}
504508

505509
pmu_mmdc->mmdc_ipg_clk = mmdc_ipg_clk;
506510
pmu_mmdc->devtype_data = (struct fsl_mmdc_devtype_data *)of_id->data;
@@ -523,9 +527,10 @@ static int imx_mmdc_perf_init(struct platform_device *pdev, void __iomem *mmdc_b
523527

524528
pmu_register_err:
525529
pr_warn("MMDC Perf PMU failed (%d), disabled\n", ret);
526-
ida_simple_remove(&mmdc_ida, pmu_mmdc->id);
527530
cpuhp_state_remove_instance_nocalls(cpuhp_mmdc_state, &pmu_mmdc->node);
528531
hrtimer_cancel(&pmu_mmdc->hrtimer);
532+
pmu_release_id:
533+
ida_simple_remove(&mmdc_ida, pmu_mmdc->id);
529534
pmu_free:
530535
kfree(pmu_mmdc);
531536
return ret;

arch/arm64/boot/dts/freescale/imx8-apalis-v1.1.dtsi

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,9 @@
8282
pinctrl-0 = <&pinctrl_wifi_pdn>;
8383
gpio = <&lsio_gpio1 28 GPIO_ACTIVE_HIGH>;
8484
enable-active-high;
85+
regulator-always-on;
8586
regulator-name = "wifi_pwrdn_fake_regulator";
8687
regulator-settling-time-us = <100>;
87-
88-
regulator-state-mem {
89-
regulator-off-in-suspend;
90-
};
9188
};
9289

9390
reg_pcie_switch: regulator-pcie-switch {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ dma_subsys: bus@5a000000 {
149149
clock-names = "ipg", "per";
150150
assigned-clocks = <&clk IMX_SC_R_LCD_0_PWM_0 IMX_SC_PM_CLK_PER>;
151151
assigned-clock-rates = <24000000>;
152-
#pwm-cells = <2>;
152+
#pwm-cells = <3>;
153153
power-domains = <&pd IMX_SC_R_LCD_0_PWM_0>;
154154
};
155155

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ lsio_subsys: bus@5d000000 {
2929
<&pwm0_lpcg 1>;
3030
assigned-clocks = <&clk IMX_SC_R_PWM_0 IMX_SC_PM_CLK_PER>;
3131
assigned-clock-rates = <24000000>;
32-
#pwm-cells = <2>;
32+
#pwm-cells = <3>;
3333
interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
3434
status = "disabled";
3535
};
@@ -42,7 +42,7 @@ lsio_subsys: bus@5d000000 {
4242
<&pwm1_lpcg 1>;
4343
assigned-clocks = <&clk IMX_SC_R_PWM_1 IMX_SC_PM_CLK_PER>;
4444
assigned-clock-rates = <24000000>;
45-
#pwm-cells = <2>;
45+
#pwm-cells = <3>;
4646
interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
4747
status = "disabled";
4848
};
@@ -55,7 +55,7 @@ lsio_subsys: bus@5d000000 {
5555
<&pwm2_lpcg 1>;
5656
assigned-clocks = <&clk IMX_SC_R_PWM_2 IMX_SC_PM_CLK_PER>;
5757
assigned-clock-rates = <24000000>;
58-
#pwm-cells = <2>;
58+
#pwm-cells = <3>;
5959
interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
6060
status = "disabled";
6161
};
@@ -68,7 +68,7 @@ lsio_subsys: bus@5d000000 {
6868
<&pwm3_lpcg 1>;
6969
assigned-clocks = <&clk IMX_SC_R_PWM_3 IMX_SC_PM_CLK_PER>;
7070
assigned-clock-rates = <24000000>;
71-
#pwm-cells = <2>;
71+
#pwm-cells = <3>;
7272
interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>;
7373
status = "disabled";
7474
};

0 commit comments

Comments
 (0)