Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1424534

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

From Hoan Tran <hotran@apm.com>
Newsgroups linux.kernel
Subject [PATCH 0/2] clk: Add fractional scale clock support
Date 2016-06-17 01:50 +0200
Message-ID <rKPcR-6J3-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] clk: Add fractional scale clock support Hoan Tran <hotran@apm.com> - 2016-06-17 01:50 +0200
  [PATCH 1/2] Documentation: dt: clock: Add fractional scale binding Hoan Tran <hotran@apm.com> - 2016-06-17 01:50 +0200
    Re: [PATCH 1/2] Documentation: dt: clock: Add fractional scale  binding Rob Herring <robh@kernel.org> - 2016-06-20 15:20 +0200
  [PATCH 2/2] clk: Add fractional scale clock support Hoan Tran <hotran@apm.com> - 2016-06-17 01:50 +0200
    Re: [PATCH 2/2] clk: Add fractional scale clock support kbuild test robot <lkp@intel.com> - 2016-06-17 03:30 +0200
    Re: [PATCH 2/2] clk: Add fractional scale clock support kbuild test robot <lkp@intel.com> - 2016-06-17 04:00 +0200
    Re: [PATCH 2/2] clk: Add fractional scale clock support kbuild test robot <lkp@intel.com> - 2016-06-17 04:00 +0200
    Re: [PATCH 2/2] clk: Add fractional scale clock support Geert Uytterhoeven <geert@linux-m68k.org> - 2016-06-17 08:50 +0200
      Re: [PATCH 2/2] clk: Add fractional scale clock support Hoan Tran <hotran@apm.com> - 2016-06-17 18:40 +0200

csiph-web