Hi Peng,

On Mon, Apr 11, 2022 at 6:21 AM Peng Fan (OSS) <[email protected]> wrote:
>
> From: Peng Fan <[email protected]>
>
> Enable CONFIG_DM_SERIAL, and `dm tree` could show:
>  serial        1  [   ]   serial_mxc            |       |-- serial@30a80000
>
> Signed-off-by: Peng Fan <[email protected]>
> ---
>  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/[email protected]/

Thanks

Reply via email to