mbox series

[0/3] 8250_omap: use clk APIs to get fclk freqeuncy

Message ID 20190109091206.25759-1-vigneshr@ti.com (mailing list archive)
Headers show
Series 8250_omap: use clk APIs to get fclk freqeuncy | expand

Message

Vignesh Raghavendra Jan. 9, 2019, 9:12 a.m. UTC
This series adds support obtain clk frequency of functional clk via
clocks phandle instead of hard coding it in DT as part of
clock-frequency DT parameter. This eliminates need to calculate
frequency offline and populate it.

Vignesh R (3):
  serial: 8250_omap: Drop check for of_node
  dt-bindings: serial: omap_serial: add clocks entry
  serial: 8250_omap: Use clk_get_rate() to obtain fclk frequency

 .../bindings/serial/omap_serial.txt           |  2 +
 drivers/tty/serial/8250/8250_omap.c           | 75 ++++++++++---------
 2 files changed, 42 insertions(+), 35 deletions(-)