[U-Boot] [PATCH v2 6/6] dm: sunxi: Add support for serial using driver model

Simon Glass sjg at chromium.org
Tue Oct 28 01:06:01 CET 2014


Hi Ian,

On 24 October 2014 03:42, Ian Campbell <ijc at hellion.org.uk> wrote:
> On Wed, 2014-10-22 at 22:02 -0600, Simon Glass wrote:
>> Add a driver for the designware serial UART used on sunxi. This just
>> redirects to the normal ns16550 driver.
>>
>> Add a stdout-path to the device tree so that the correct UART is chosen.
>>
>> Signed-off-by: Simon Glass <sjg at chromium.org>
>
> Should the UART related code in
> arch/arm/cpu/armv7/sunxi/board.c:gpio_init() be nobbled in this
> configuration?

Yes I think that needs attention. Ideally we should be able to have
this handled by the serial driver (requesting the pinmux it needs) but
we don't have infrastructure for that as yet. Suggestions? What does
the kernel do here?

Regards,
Simon


More information about the U-Boot mailing list