diff mbox series

[V2,13/14] imx: imx8mq-pico: enable CONFIG_DM_SERIAL

Message ID 20220505074341.24086-14-peng.fan@oss.nxp.com
State Accepted
Commit 1d8c0c2d7b0e2a9924d9711820abf1ac3e188515
Delegated to: Stefano Babic
Headers show
Series imx8m: convert to DM_SERIAL | expand

Commit Message

Peng Fan (OSS) May 5, 2022, 7:43 a.m. UTC
From: Peng Fan <peng.fan@nxp.com>

Marked related nodes as u-boot,dm-spl for serial driver model
Enable CONFIG_DM_SERIAL

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
---
 arch/arm/dts/imx8mq-pico-pi-u-boot.dtsi | 9 +++++++++
 configs/pico-imx8mq_defconfig           | 1 +
 2 files changed, 10 insertions(+)
 create mode 100644 arch/arm/dts/imx8mq-pico-pi-u-boot.dtsi

Comments

Stefano Babic May 20, 2022, 1:41 p.m. UTC | #1
> From: Peng Fan <peng.fan@nxp.com>
> Marked related nodes as u-boot,dm-spl for serial driver model
> Enable CONFIG_DM_SERIAL
> Signed-off-by: Peng Fan <peng.fan@nxp.com>
> Reviewed-by: Fabio Estevam <festevam@denx.de>
Applied to u-boot-imx, master, thanks !

Best regards,
Stefano Babic
diff mbox series

Patch

diff --git a/arch/arm/dts/imx8mq-pico-pi-u-boot.dtsi b/arch/arm/dts/imx8mq-pico-pi-u-boot.dtsi
new file mode 100644
index 00000000000..9537aedf29e
--- /dev/null
+++ b/arch/arm/dts/imx8mq-pico-pi-u-boot.dtsi
@@ -0,0 +1,9 @@ 
+// SPDX-License-Identifier: (GPL-2.0 OR MIT)
+
+&pinctrl_uart1 {
+	u-boot,dm-spl;
+};
+
+&uart1 {
+	u-boot,dm-spl;
+};
diff --git a/configs/pico-imx8mq_defconfig b/configs/pico-imx8mq_defconfig
index 1b0d12cf8d4..91aca29e830 100644
--- a/configs/pico-imx8mq_defconfig
+++ b/configs/pico-imx8mq_defconfig
@@ -83,5 +83,6 @@  CONFIG_DM_REGULATOR_FIXED=y
 CONFIG_DM_REGULATOR_GPIO=y
 CONFIG_SPL_POWER_I2C=y
 CONFIG_DM_RESET=y
+CONFIG_DM_SERIAL=y
 CONFIG_MXC_UART=y
 CONFIG_DM_THERMAL=y