Re: [PATCH] dm: Add docs to explain how to enable DM_SERIAL for a board

2022-03-15 Thread Simon Glass
Hi Fabio, On Tue, 15 Mar 2022 at 18:52, Fabio Estevam wrote: > > Hi Simon, > > On Tue, Mar 15, 2022 at 6:15 PM Simon Glass wrote: > > > Oh I think I meant iMX8. Would it be OK to just say that in both places? > > Was this tested on a real i.MX8QM board? Yes, an iMX8Q board that I have. > > If

Re: [PATCH] dm: Add docs to explain how to enable DM_SERIAL for a board

2022-03-15 Thread Fabio Estevam
Hi Simon, On Tue, Mar 15, 2022 at 6:15 PM Simon Glass wrote: > Oh I think I meant iMX8. Would it be OK to just say that in both places? Was this tested on a real i.MX8QM board? If not, you could use an example for i.MX7 that I tested on a imx7s-warp: https://patchwork.ozlabs.org/project/uboot/

Re: [PATCH] dm: Add docs to explain how to enable DM_SERIAL for a board

2022-03-15 Thread Simon Glass
Hi Fabio, On Tue, 15 Mar 2022 at 05:25, Fabio Estevam wrote: > > Hi Simon, > > On Tue, Mar 15, 2022 at 2:54 AM Simon Glass wrote: > > > +For example, on iMX6:: > > + > > + lpuart3: serial@5a09 { > > + compatible = "fsl,imx8qm-lpuart"; > > I found this part confusing as i.MX6 does not

Re: [PATCH] dm: Add docs to explain how to enable DM_SERIAL for a board

2022-03-15 Thread Tom Rini
On Tue, Mar 15, 2022 at 08:24:54AM -0300, Fabio Estevam wrote: > Hi Simon, > > On Tue, Mar 15, 2022 at 2:54 AM Simon Glass wrote: > > > +For example, on iMX6:: > > + > > + lpuart3: serial@5a09 { > > + compatible = "fsl,imx8qm-lpuart"; > > I found this part confusing as i.MX6 does not

Re: [PATCH] dm: Add docs to explain how to enable DM_SERIAL for a board

2022-03-15 Thread Fabio Estevam
Hi Simon, On Tue, Mar 15, 2022 at 2:54 AM Simon Glass wrote: > +For example, on iMX6:: > + > + lpuart3: serial@5a09 { > + compatible = "fsl,imx8qm-lpuart"; I found this part confusing as i.MX6 does not have lpuart. > +For example, on iMX6, put this in your xxx-u-boot.dtsi file:: > +

[PATCH] dm: Add docs to explain how to enable DM_SERIAL for a board

2022-03-14 Thread Simon Glass
This is an attempt to cover the common cases found when enabling driver model for serial on a new board. Signed-off-by: Simon Glass --- doc/develop/driver-model/serial-howto.rst | 138 ++ 1 file changed, 138 insertions(+) diff --git a/doc/develop/driver-model/serial-howto.r