Re: [PATCH 1/5] ARM: OMAP2+: omap_hwmod: Add support for earlycon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On Wednesday 18 January 2017 10:30 PM, Tony Lindgren wrote:
> * Lokesh Vutla <lokeshvutla@xxxxxx> [170117 19:50]:
>>
>>
>> On Wednesday 18 January 2017 04:53 AM, Tony Lindgren wrote:
>>> * Lokesh Vutla <lokeshvutla@xxxxxx> [170116 20:06]:
>>>> Hwmod core tries to reset and idles each IP that is registered with hwmod.
>>>> In case of earlycon, that specific uart IP cannot be reset or keep it in
>>>> idle state else earlycon hangs once hwmod resets that uart IP. So add support
>>>> to not reset uart that is being used as earlycon only if CONFIG_SERIAL_EARLYCON
>>>> is enabled.
>>>
>>> Nice :)
>>>
>>> I guess this has no dependency to SERIAL_OMAP vs 8250_OMAP selection?
>>
>> Unfortunately SERIAL_OMAP does not support earlycon yet. As I mentioned
>> in my cover letter, I verified this series only with 8250_OMAP.
> 
> OK. So just to understand why it would not work with omap-serial, do we
> need something implemented in drivers/tty/serial/earlycon.c for non 8250
> drivers to make it work? Or are there other dependencies?

Yeah,  OF_EARLYCON_DECLARE should be declared for omap-serial. Just
posted a patch[1] adding support for earlycon in omap-serial.

[1] https://patchwork.kernel.org/patch/9525377/

Thanks and regards,
Lokesh
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]
  Powered by Linux