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

Re: [PATCH] drivers: char: omap-uart: add "clock-hz" option



Hi,

On 19/07/2024 12:33, Amneesh Singh wrote:
Quite a few TI K3 devices do not have clock-frequency specified in their
respective UART nodes.

Can you outline why fixing the device-tree is not solution?

However hard-coding the frequency is not a
> solution as the function clock input can differ between SoCs.

Can you provide some details how Linux is handling those SoCs?

So,
similar to com1/com2, let the user pass the frequency as a dtuart option
via the bootargs. If not specified it will fallback to the same DT
parsing as before. For example, dtuart=serial2:clock-hz=48000000 can be
a valid bootarg.

Regardless my questions, any change to the command line needs to be documented in docs/misc/xen-command-line.pandoc.

Cheers,

--
Julien Grall




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.