[U-Boot] [PATCH 1/2] serial: mxc: support DTE mode
Simon Glass
sjg at chromium.org
Mon Jan 22 00:29:59 UTC 2018
Hi Ryan,
On 19 January 2018 at 06:21, Ryan Harkin <ryan.harkin at linaro.org> wrote:
> Hi Stefan,
>
> Thanks for looking so quickly.
>
> On 19 January 2018 at 12:23, Stefan Agner <stefan.agner at toradex.com> wrote:
>>
>> Hi Ryan,
>>
>>
>> On 19.01.2018 10:53, Ryan Harkin wrote:
>> > Add DTE mode support via Kconfig on the MXC uart.
>>
>> Make use of the driver model, there DTE is supported already today:
>> https://lists.denx.de/pipermail/u-boot/2016-July/259573.html
>
>
> My change would be useful for other non-DM users of serial_mxc.c, of course.
> Not just WaRP7.
>
> I don't have any objection to WaRP7 moving to DM, although that isn't my
> call, but moving using the driver model is not a straight-forward change, is
> it? WaRP7 today doesn't use it.
We are planning to require that board use CONFIG_BLK fairly soon, and
that likely means conversion to device tree I don't think it makes
sense to accept patches like this. If the board can be converted, then
let's do it!
>
> Do you have an example of a board using this driver that switched using the
> driver model? I'd like to see the scale of the changes needed.
It probably requires:
- Adding a DT (with u-boot,dm-pre-reloc as needed)
- Checking that stdio-path is correct
Regards,
Simon
More information about the U-Boot
mailing list