Skip to content

Commit efa767b

Browse files
committed
Merge tag 'imx-fixes-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux into arm/fixes
i.MX fixes for 5.15: - Revert cc8870b to fix the regression on i.MX6 that suspend support becomes broken. - Add `qca,clk-out-frequency` property to fix Ethernet support on imx6qdl-pico board. - Re-enable FB support in imx_v6_v7_defconfig. It gets lost due to f611b1e ("drm: Avoid circular dependencies for CONFIG_FB"). - Fix LP5562 LED support on imx6dl-yapp4 board. - Add missing pinctrl-names for panel on M53Menlo board. - Fix USB host power regulator polarity on M53Menlo board. * tag 'imx-fixes-5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/shawnguo/linux: ARM: imx_v6_v7_defconfig: enable fb ARM: dts: imx6qdl-pico: Fix Ethernet support ARM: dts: imx: Fix USB host power regulator polarity on M53Menlo ARM: dts: imx: Add missing pinctrl-names for panel on M53Menlo Revert "ARM: imx6q: drop of_platform_default_populate() from init_machine" ARM: dts: imx6dl-yapp4: Fix lp5562 LED driver probe Link: https://lore.kernel.org/r/20210923063356.GK13480@dragon Signed-off-by: Arnd Bergmann <[email protected]>
2 parents a694905 + c544674 commit efa767b

File tree

5 files changed

+22
-2
lines changed

5 files changed

+22
-2
lines changed

arch/arm/boot/dts/imx53-m53menlo.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@
5656
panel {
5757
compatible = "edt,etm0700g0dh6";
5858
pinctrl-0 = <&pinctrl_display_gpio>;
59+
pinctrl-names = "default";
5960
enable-gpios = <&gpio6 0 GPIO_ACTIVE_HIGH>;
6061

6162
port {
@@ -76,8 +77,7 @@
7677
regulator-name = "vbus";
7778
regulator-min-microvolt = <5000000>;
7879
regulator-max-microvolt = <5000000>;
79-
gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>;
80-
enable-active-high;
80+
gpio = <&gpio1 2 0>;
8181
};
8282
};
8383

arch/arm/boot/dts/imx6dl-yapp4-common.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <dt-bindings/gpio/gpio.h>
66
#include <dt-bindings/interrupt-controller/irq.h>
77
#include <dt-bindings/input/input.h>
8+
#include <dt-bindings/leds/common.h>
89
#include <dt-bindings/pwm/pwm.h>
910

1011
/ {
@@ -277,27 +278,31 @@
277278
led-cur = /bits/ 8 <0x20>;
278279
max-cur = /bits/ 8 <0x60>;
279280
reg = <0>;
281+
color = <LED_COLOR_ID_RED>;
280282
};
281283

282284
chan@1 {
283285
chan-name = "G";
284286
led-cur = /bits/ 8 <0x20>;
285287
max-cur = /bits/ 8 <0x60>;
286288
reg = <1>;
289+
color = <LED_COLOR_ID_GREEN>;
287290
};
288291

289292
chan@2 {
290293
chan-name = "B";
291294
led-cur = /bits/ 8 <0x20>;
292295
max-cur = /bits/ 8 <0x60>;
293296
reg = <2>;
297+
color = <LED_COLOR_ID_BLUE>;
294298
};
295299

296300
chan@3 {
297301
chan-name = "W";
298302
led-cur = /bits/ 8 <0x0>;
299303
max-cur = /bits/ 8 <0x0>;
300304
reg = <3>;
305+
color = <LED_COLOR_ID_WHITE>;
301306
};
302307
};
303308

arch/arm/boot/dts/imx6qdl-pico.dtsi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,18 @@
176176
pinctrl-0 = <&pinctrl_enet>;
177177
phy-mode = "rgmii-id";
178178
phy-reset-gpios = <&gpio1 26 GPIO_ACTIVE_LOW>;
179+
phy-handle = <&phy>;
179180
status = "okay";
181+
182+
mdio {
183+
#address-cells = <1>;
184+
#size-cells = <0>;
185+
186+
phy: ethernet-phy@1 {
187+
reg = <1>;
188+
qca,clk-out-frequency = <125000000>;
189+
};
190+
};
180191
};
181192

182193
&hdmi {

arch/arm/configs/imx_v6_v7_defconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ CONFIG_DRM_IMX_LDB=y
292292
CONFIG_DRM_IMX_HDMI=y
293293
CONFIG_DRM_ETNAVIV=y
294294
CONFIG_DRM_MXSFB=y
295+
CONFIG_FB=y
295296
CONFIG_FB_MODE_HELPERS=y
296297
CONFIG_LCD_CLASS_DEVICE=y
297298
CONFIG_LCD_L4F00242T03=y

arch/arm/mach-imx/mach-imx6q.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ static void __init imx6q_init_machine(void)
172172
imx_get_soc_revision());
173173

174174
imx6q_enet_phy_init();
175+
176+
of_platform_default_populate(NULL, NULL, NULL);
177+
175178
imx_anatop_init();
176179
cpu_is_imx6q() ? imx6q_pm_init() : imx6dl_pm_init();
177180
imx6q_1588_init();

0 commit comments

Comments
 (0)