On Tue, Oct 06, 2026 at 08:14:01PM +0900, khaliforce wrote: > From: Samuel Holland <[email protected]> > > Some platforms need the UART clock gates enabled before NS16550 > register access. This is required by the downstream Allwinner D1 > port used on the MangoPi MQ Pro. > > Add CONFIG_NS16550_CLK_ENABLE to enable the UART clocks during > probe when explicitly selected by a platform. The option defaults > to disabled, preserving the existing behavior on other platforms. > > The clock-enabling code originates from Samuel Holland's D1 work. > This patch makes that behavior optional through Kconfig.
I think the appropriate way to model this is introducing devicetree-compatible-specific behaviors. > Link: > https://github.com/smaeul/u-boot/commit/0617377a2555031f02a459b3451fa33ce53e9b74 > Signed-off-by: Samuel Holland <[email protected]> > Co-developed-by: khaliforce <[email protected]> > Signed-off-by: khaliforce <[email protected]> > --- Best regards, Yao Zi
