
Hi Peng,
On Mon, Apr 11, 2022 at 6:21 AM Peng Fan (OSS) peng.fan@oss.nxp.com wrote:
From: Peng Fan peng.fan@nxp.com
Enable CONFIG_DM_SERIAL, and `dm tree` could show: serial 1 [ ] serial_mxc | |-- serial@30a80000
Signed-off-by: Peng Fan peng.fan@nxp.com
configs/mx7dsabresd_defconfig | 1 + configs/mx7dsabresd_qspi_defconfig | 1 + 2 files changed, 2 insertions(+)
diff --git a/configs/mx7dsabresd_defconfig b/configs/mx7dsabresd_defconfig index 28fc36746f0..d8c5dbcc93a 100644 --- a/configs/mx7dsabresd_defconfig +++ b/configs/mx7dsabresd_defconfig @@ -67,6 +67,7 @@ CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR_PFUZE100=y CONFIG_DM_REGULATOR_FIXED=y CONFIG_DM_REGULATOR_GPIO=y +CONFIG_DM_SERIAL=y
While converting to DM_SERIAL, please remove the setup_iomux_uart() code as well.
Here is an example: https://patchwork.ozlabs.org/project/uboot/patch/20220315204705.2175288-1-fe...
Thanks