[PATCH 0/2] clk: Add fractional scale clock support

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

 




This patch adds fractional scale clock support.
Fractional scale clock is implemented for a single register field.
  Output rate = parent_rate * scale / denominator
For example, for 1 / 8 fractional scale, denominator will be 8 and scale
will be computed and programmed accordingly.

Hoan Tran (2):
  Documentation: dt: clock: Add fractional scale binding
  clk: Add fractional scale clock support

 .../bindings/clock/fractional-scale-clock.txt      |  31 +++
 drivers/clk/Makefile                               |   1 +
 drivers/clk/clk-fractional-scale.c                 | 253 +++++++++++++++++++++
 include/linux/clk-provider.h                       |  41 ++++
 4 files changed, 326 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/fractional-scale-clock.txt
 create mode 100644 drivers/clk/clk-fractional-scale.c

-- 
1.9.1

--
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