[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1466120433-30648-1-git-send-email-hotran@apm.com>
Date: Thu, 16 Jun 2016 16:40:31 -0700
From: Hoan Tran <hotran@....com>
To: Rob Herring <robh+dt@...nel.org>, Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Michael Turquette <mturquette@...libre.com>,
Stephen Boyd <sboyd@...eaurora.org>
Cc: Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-clk@...r.kernel.org,
lho@....com, Duc Dang <dhdang@....com>, Hoan Tran <hotran@....com>
Subject: [PATCH 0/2] clk: Add fractional scale clock support
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
Powered by blists - more mailing lists