mbox series

[0/2] serial: 8250_of: support an optional bus clock

Message ID 20250408175146.979557-1-elder@riscstar.com
Headers show
Series serial: 8250_of: support an optional bus clock | expand

Message

Alex Elder April 8, 2025, 5:51 p.m. UTC
The SpacemiT UART hardware requires a bus clock to be enabled in addition
to the primary function clock.

This series makes it possible to specify both clocks via DTS.  If a
bus clock is required, it and the primary clock are fetched by name.

					-Alex

Alex Elder (2):
  dt-bindings: serial: 8250: support an optional second clock
  serial: 8250_of: add support for an optional bus clock

 .../devicetree/bindings/serial/8250.yaml      |  6 ++++-
 drivers/tty/serial/8250/8250_of.c             | 25 +++++++++++++++++--
 2 files changed, 28 insertions(+), 3 deletions(-)