On 08/13/2013 01:50 PM, Mark Rutland wrote:
Hi,
On Fri, Aug 02, 2013 at 05:25:21PM +0100, Tero Kristo wrote:
The OMAP clock driver now supports DPLL clock type. This patch also
adds support for DT DPLL nodes.
Signed-off-by: Tero Kristo
---
.../devicetree/bindings/clock/ti/dpll.txt
On 08/13/2013 02:04 PM, Mark Rutland wrote:
On Fri, Aug 02, 2013 at 05:25:24PM +0100, Tero Kristo wrote:
This node adds support for a clock node which allows control to the
clockdomain enable / disable.
Signed-off-by: Tero Kristo
---
.../devicetree/bindings/clock/ti/gate.txt | 41
On 08/03/2013 05:16 PM, Tomasz Figa wrote:
On Friday 02 of August 2013 19:25:25 Tero Kristo wrote:
This patch creates a unique node for each clock in the OMAP4 power,
reset and clock manager (PRCM). OMAP443x and OMAP446x have slightly
different clock tree which is taken into account in the data
On 08/05/2013 10:27 AM, Tony Lindgren wrote:
* Tero Kristo [130802 09:33]:
clk-44xx.c now contains the clock init functionality for omap4, including
DT clock registration and adding of static clkdev entries.
Few comments below from "boot new hardware with old kernels" point of
On 08/13/2013 02:14 PM, Mark Rutland wrote:
On Fri, Aug 02, 2013 at 05:25:35PM +0100, Tero Kristo wrote:
From: Keerthy
The patch adds support for DRA7 PCIe APLL. The APLL
sources the optional functional clocks for PCIe module.
APLL stands for Analog PLL. This is different when comapred
with
On 08/13/2013 02:30 PM, Mark Rutland wrote:
On Fri, Aug 02, 2013 at 05:25:41PM +0100, Tero Kristo wrote:
OMAP3 has interface clocks in addition to functional clocks, which
require special handling for the autoidle and idle status register
offsets mainly.
Signed-off-by: Tero Kristo
On 08/19/2013 05:29 PM, Mark Rutland wrote:
On Mon, Aug 19, 2013 at 02:42:05PM +0100, Tero Kristo wrote:
On 08/13/2013 02:04 PM, Mark Rutland wrote:
On Fri, Aug 02, 2013 at 05:25:24PM +0100, Tero Kristo wrote:
This node adds support for a clock node which allows control to the
clockdomain
On 08/19/2013 05:18 PM, Mark Rutland wrote:
On Mon, Aug 19, 2013 at 02:34:45PM +0100, Tero Kristo wrote:
On 08/13/2013 01:50 PM, Mark Rutland wrote:
Hi,
On Fri, Aug 02, 2013 at 05:25:21PM +0100, Tero Kristo wrote:
The OMAP clock driver now supports DPLL clock type. This patch also
adds
On 08/19/2013 06:58 PM, Mark Rutland wrote:
On Mon, Aug 19, 2013 at 03:43:15PM +0100, Tero Kristo wrote:
On 08/19/2013 05:29 PM, Mark Rutland wrote:
On Mon, Aug 19, 2013 at 02:42:05PM +0100, Tero Kristo wrote:
On 08/13/2013 02:04 PM, Mark Rutland wrote:
On Fri, Aug 02, 2013 at 05:25:24PM
On 08/19/2013 07:24 PM, Mark Rutland wrote:
On Mon, Aug 19, 2013 at 04:09:37PM +0100, Tero Kristo wrote:
On 08/19/2013 05:18 PM, Mark Rutland wrote:
On Mon, Aug 19, 2013 at 02:34:45PM +0100, Tero Kristo wrote:
On 08/13/2013 01:50 PM, Mark Rutland wrote:
Hi,
On Fri, Aug 02, 2013 at 05:25
On 08/20/2013 01:00 AM, Mike Turquette wrote:
Quoting Tero Kristo (2013-08-19 10:06:39)
On 08/19/2013 07:24 PM, Mark Rutland wrote:
On Mon, Aug 19, 2013 at 04:09:37PM +0100, Tero Kristo wrote:
On 08/19/2013 05:18 PM, Mark Rutland wrote:
On Mon, Aug 19, 2013 at 02:34:45PM +0100, Tero Kristo
On 08/03/2013 09:31 PM, Russell King - ARM Linux wrote:
On Fri, Aug 02, 2013 at 07:25:20PM +0300, Tero Kristo wrote:
+
+ if (cl)
+ return cl;
+
+ /* If clock was not found, attempt to look-up from DT */
+ node = of_find_node_by_name(NULL, con_id);
This is
On 08/26/2013 08:03 PM, Russell King - ARM Linux wrote:
On Mon, Aug 26, 2013 at 05:36:15PM +0300, Tero Kristo wrote:
On 08/03/2013 09:31 PM, Russell King - ARM Linux wrote:
On Fri, Aug 02, 2013 at 07:25:20PM +0300, Tero Kristo wrote:
+
+ if (cl)
+ return cl
On 08/28/2013 12:22 PM, Tomi Valkeinen wrote:
Hi,
I'm seeing odd clock behavior with Beagle, booting with DT. I'm using
v3.11-rc7 + DSS DT patches.
I guess you are not using the clock DT patches? Just making sure I
didn't break anything. :)
It looks to me that when setting the rate of a cl
On 08/28/2013 01:14 PM, Tomi Valkeinen wrote:
On 28/08/13 12:48, Tero Kristo wrote:
On 08/28/2013 12:22 PM, Tomi Valkeinen wrote:
Hi,
I'm seeing odd clock behavior with Beagle, booting with DT. I'm using
v3.11-rc7 + DSS DT patches.
I guess you are not using the clock DT patches? J
-gate-clock: clockdomain level gate control
- ti,dss-gate-clock: gate clock with DSS specific hardware handling
- ti,am35xx-gate-clock: gate clock with AM35xx specific hardware handling
- ti,hsdiv-gate-clock: gate clock with OMAP36xx hardware errata handling
Signed-off-by: Tero Kristo
From: Roger Quadros
USB_DPLL must be initialized and locked at boot so that
USB modules can work.
Signed-off-by: Roger Quadros
Signed-off-by: Tero Kristo
---
drivers/clk/ti/clk-54xx.c | 18 +-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/ti/clk
Some OMAP clocks require knowledge about their parent clockdomain for
book keeping purposes. This patch creates a new DT binding for TI
clockdomains, which act as a collection of device clocks.
Signed-off-by: Tero Kristo
---
.../devicetree/bindings/clock/ti/clockdomain.txt | 19
The OMAP clock driver now supports DPLL clock type. This patch also
adds support for DT DPLL nodes.
Signed-off-by: Tero Kristo
---
.../devicetree/bindings/clock/ti/dpll.txt | 68 +++
arch/arm/mach-omap2/clock.h| 144 +-
arch/arm/mach-omap2/clock3xxx.h
Hi,
Rather large diff from previous version, main changes:
- Rebased on top of v3.11-rc5 (+ DRA7 data + Mike's clock bindings v4)
- Clkdev code hacks replaced with a static array of clkdev entries which
get initialized during boot based on SoC type. These arrays can be
eventually removed once
TI clk driver now routes some of the basic clocks through own
registration routine to allow autoidle support. This routine just
checks a couple of device node properties and adds autoidle support
if required, and just passes the registration forward to basic clocks.
Signed-off-by: Tero Kristo
cific clock names.
Signed-off-by: Tero Kristo
---
drivers/clk/ti/Makefile |2 +-
drivers/clk/ti/clk.c| 52 +++
include/linux/clk/ti.h | 23 +
3 files changed, 76 insertions(+), 1 deletion(-)
create mode 100644 drivers/c
From: Keerthy
This patch changes apll_pcie_m2_ck to fixed factor
clock as there are no configurable divider associated to m2.
Signed-off-by: Keerthy
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/dra7xx-clocks.dtsi |9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff
: Tero Kristo
---
arch/arm/boot/dts/omap3.dtsi | 82 ++
1 file changed, 82 insertions(+)
diff --git a/arch/arm/boot/dts/omap3.dtsi b/arch/arm/boot/dts/omap3.dtsi
index 939cc20..b7b5522 100644
--- a/arch/arm/boot/dts/omap3.dtsi
+++ b/arch/arm/boot/dts/omap3
AM33xx clocks have now been moved to DT, thus remove the old data file
and use the new init code under OMAP clock driver.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/Makefile |1 -
arch/arm/mach-omap2/cclock33xx_data.c | 1059 -
drivers/clk/ti
With support to parse clock data from DT, move all main and optional
clock information from hwmod to DT.
We still retain clocks in hwmod for devices which do not have a DT node.
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/am33xx.dtsi | 88
arch
This patch creates a unique node for each clock in the AM33xx power,
reset and clock manager (PRCM).
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/am33xx-clocks.dtsi | 653 ++
arch/arm/boot/dts/am33xx.dtsi|7 +
2 files changed, 660 insertions
Adding set-rate-parent to clock node now allows a node to forward
clk_set_rate request to its parent clock.
Signed-off-by: Tero Kristo
---
drivers/clk/clk-divider.c |6 +-
drivers/clk/clk-fixed-factor.c |6 +-
drivers/clk/clk-gate.c |8 ++--
drivers/clk/clk
This patch creates a unique node for each clock in the OMAP4 power,
reset and clock manager (PRCM). OMAP443x and OMAP446x have slightly
different clock tree which is taken into account in the data.
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/omap443x-clocks.dtsi | 17 +
arch/arm/boot/dts
.
Signed-off-by: Nishanth Menon
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/omap_device.c | 10 --
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2/omap_device.c
b/arch/arm/mach-omap2/omap_device.c
index 7c796e2..9946900 100644
--- a/arch/arm/mach
From: Rajendra Nayak
With clocks for OMAP moving to DT, its now possible to pass the 'main_clk'
data for each device from DT instead of having it in hwmod.
Signed-off-by: Rajendra Nayak
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/omap_hwmo
Rajendra's patch had a bug which caused opt clocks to fail initialize
completely, causing boot warnings with devices that depend on them.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/omap_hwmod.c |5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/arch/arm
From: Keerthy
The patch adds a mux node to choose the parent of apll_pcie_ck node.
Signed-off-by: Keerthy
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/dra7xx-clocks.dtsi | 16
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/arch/arm/boot/dts/dra7xx
clk-7xx.c now contains the clock init functionality for dra7, including
DT clock registration and adding of static clkdev entries.
Signed-off-by: Tero Kristo
---
drivers/clk/ti/Makefile |2 +-
drivers/clk/ti/clk-7xx.c | 308 ++
2 files changed
This patch creates a unique node for each clock in the OMAP5 power,
reset and clock manager (PRCM).
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/omap5.dtsi | 14 +
arch/arm/boot/dts/omap54xx-clocks.dtsi | 1400
2 files changed, 1414 insertions
Initializes clock data from device tree.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/io.c |1 +
include/linux/clk/ti.h |1 +
2 files changed, 2 insertions(+)
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c
index fd4bb71..315a148 100644
--- a/arch/arm/mach
From: Nishanth Menon
_add_clkdev uses &od->pdev->dev for all reference of device struct.
Simplify the usage with a variable.
Signed-off-by: Nishanth Menon
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/omap_device.c | 16 +++-
1 file changed, 7 insertions(+), 9
With support to parse clock data from DT, remove the main and optional
clock information from hwmod.
We still retain clocks in hwmod for devices which do not have a DT node.
NOTE: This patch should only be merged once non-DT boot support for OMAP3 is
no longer needed.
Signed-off-by: Tero Kristo
Signed-off-by: Tero Kristo
---
.../devicetree/bindings/clock/ti/apll.txt | 33 +++
drivers/clk/ti/Makefile|2 +-
drivers/clk/ti/apll.c | 212
3 files changed, 246 insertions(+), 1 deletion(-)
create mode
With support to parse clock data from DT, move all main and optional
clock information from hwmod to DT.
We still retain clocks in hwmod for devices which do not have a DT node.
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/omap5.dtsi | 102
arch/arm
Clock tree DT data is now included from base dra7.dtsi file.
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/dra7.dtsi | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index c01ef76..c98997b 100644
--- a/arch/arm
the return value for _init_clkdm to 0 for
incorrect clkdm_name, as this a warning, not a fatal error.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/omap_hwmod.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2
clk-33xx.c now contains the clock init functionality for am33xx, including
DT clock registration and adding of static clkdev entries.
This patch also moves the omap2_clk_enable_init_clocks declaration to
the driver include, as this is needed by the am33xx clock init code.
Signed-off-by: Tero
-off-by: Tero Kristo
---
arch/arm/boot/dts/omap4.dtsi | 100 +
arch/arm/mach-omap2/omap_hwmod_44xx_data.c | 109
2 files changed, 100 insertions(+), 109 deletions(-)
diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts
From: Rajendra Nayak
With clocks for OMAP moving to DT, its now possible to pass all optional clock
data for each device from DT instead of having it in hwmod.
Signed-off-by: Rajendra Nayak
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/omap_hwmod.c | 66
From: Keerthy
This patch adds optfclk_pciephy_clk and optfclk_pciephy_div_clk
which are used by PCIe phy. It also adds a mux clock to choose
the source of optfclk_pciephy_div_clk clock.
Signed-off-by: Keerthy
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/dra7xx-clocks.dtsi | 24
AM35xx now uses the clock data from device tree. Most of the data is
shared with OMAP3xxx, but as there is some delta, a new base .dtsi
file is also created for the SoC.
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/am3517-evm.dts|2 +-
arch/arm/boot/dts/am3517.dtsi
clk-54xx.c now contains the clock init functionality for omap5, including
DT clock registration and adding of static clkdev entries.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/io.c |1 +
drivers/clk/ti/Makefile |3 +-
drivers/clk/ti/clk-54xx.c | 215
clk-3xxx.c now contains the clock init functionality for omap3, including
DT clock registration and adding of static clkdev entries.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/clock3xxx.h |1 -
drivers/clk/ti/Makefile |2 +-
drivers/clk/ti/clk-3xxx.c | 388
If the main clock for a hwmod is of basic clock type, it is illegal to type
cast this to clk_hw_omap and will result in bogus data. Fixed by checking
the clock flags before attempting the type cast.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/omap_hwmod.c |2 ++
1 file changed, 2
Timer failed to init properly with DT clock data, as it still tried
to use clock info from hwmod. Changed init order slightly so that
timer hwmod is initialized earlier, which also makes sure the
timer clock is initialized and can be referenced from the driver.
Signed-off-by: Tero Kristo
OMAP3 platforms support both DT and non-DT boot at the moment, make
the clock init work according to the used setup.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/clock3xxx.h |4
arch/arm/mach-omap2/io.c| 13 -
2 files changed, 16 insertions(+), 1 deletion
clk-44xx.c now contains the clock init functionality for omap4, including
DT clock registration and adding of static clkdev entries.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/clock.h |1 -
drivers/clk/ti/clk-44xx.c | 303 +++
include/linux
This patch creates a unique node for each AM35xx specific clock in the
AM35xx power, reset and clock manager (PRCM). Most of the AM35xx clock
data is shared with OMAP3xxx, this patch only creates the delta.
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/am35xx-clocks.dtsi | 101
From: Nishanth Menon
When we create aliases, we have an handy clk_add_alias which
can be used instead of creating new nodes in the clock tree.
Signed-off-by: Nishanth Menon
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/omap_device.c | 19 +--
1 file changed, 5
This patch creates a unique node for each clock in the DRA7 power,
reset and clock manager (PRCM).
TODO: apll_pcie clock node is still a dummy in this version, and
proper support for the APLL should be added.
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/dra7xx-clocks.dtsi | 2058
With support to parse clock data from DT, move all main and optional
clock information from hwmod to DT.
We still retain clocks in hwmod for devices which do not have a DT node.
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/dra7.dtsi | 82 +++
arch/arm
OMAP3 has interface clocks in addition to functional clocks, which
require special handling for the autoidle and idle status register
offsets mainly.
Signed-off-by: Tero Kristo
---
.../devicetree/bindings/clock/ti/interface.txt | 53 +
arch/arm/mach-omap2/clock.h
This patch creates a unique node for each clock in the AM43xx power,
reset and clock manager (PRCM).
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/am43xx-clocks.dtsi | 681 ++
1 file changed, 681 insertions(+)
create mode 100644 arch/arm/boot/dts/am43xx
On 09/10/2013 02:33 PM, Stefan Roese wrote:
On 28.08.2013 13:40, Tero Kristo wrote:
On 08/28/2013 01:14 PM, Tomi Valkeinen wrote:
On 28/08/13 12:48, Tero Kristo wrote:
On 08/28/2013 12:22 PM, Tomi Valkeinen wrote:
Hi,
I'm seeing odd clock behavior with Beagle, booting with DT. I
On 09/10/2013 03:19 PM, Tomi Valkeinen wrote:
On 10/09/13 15:12, Tero Kristo wrote:
If it claims it is not locked, it means the DPLL itself is disabled. You
could try clk_enable for the clock before doing clk_set_rate.
Hmm, so is it required to enable the clock before setting the rate? If
so
On 09/10/2013 03:40 PM, Tomi Valkeinen wrote:
On 10/09/13 15:24, Tero Kristo wrote:
On 09/10/2013 03:19 PM, Tomi Valkeinen wrote:
On 10/09/13 15:12, Tero Kristo wrote:
If it claims it is not locked, it means the DPLL itself is disabled. You
could try clk_enable for the clock before doing
On 09/13/2013 10:51 AM, Stefan Roese wrote:
On 11.09.2013 09:21, Tomi Valkeinen wrote:
On 10/09/13 16:17, Tero Kristo wrote:
In theory, DPLLs can also be used in their bypass mode to feed customer
nodes clocks. I just think the check in the clkoutx2_recalc is wrong,
and should be enhanced to
Hi all,
Version 7 contains following high level changes:
- Dropped support for basic bindings from Mike Turquette, instead using
vendor specific bindings for all clocks
- Mux clock + divider clock vendor specific bindings get rid of use
of the bit-masks, instead these are generated runtime bas
cific clock names.
Signed-off-by: Tero Kristo
---
drivers/clk/ti/Makefile |2 +-
drivers/clk/ti/clk.c| 52 +++
include/linux/clk/ti.h | 23 +
3 files changed, 76 insertions(+), 1 deletion(-)
create mode 100644 drivers/c
Some OMAP clocks require knowledge about their parent clockdomain for
book keeping purposes. This patch creates a new DT binding for TI
clockdomains, which act as a collection of device clocks.
Signed-off-by: Tero Kristo
---
.../devicetree/bindings/clock/ti/clockdomain.txt | 19
The OMAP clock driver now supports DPLL clock type. This patch also
adds support for DT DPLL nodes.
Signed-off-by: Tero Kristo
---
.../devicetree/bindings/clock/ti/dpll.txt | 80 +++
arch/arm/mach-omap2/clock.h| 144 +
arch/arm/mach-omap2/clock3xxx.h
ti,mux-clock provides now a binding for basic mux support. This is just
using the basic clock type.
Signed-off-by: Tero Kristo
---
Documentation/devicetree/bindings/clock/ti/mux.txt | 65 +++
drivers/clk/ti/Makefile|2 +-
drivers/clk/ti/mux.c
This behaves exactly in similar manner to basic fixed-factor-clock, but
adds a few properties on top for handling clock hardware autoidling.
Signed-off-by: Tero Kristo
---
.../bindings/clock/ti/fixed-factor-clock.txt | 27 +
drivers/clk/ti/Makefile
This patch adds support for TI divider clock binding, which simply uses
the basic clock divider to provide the features needed.
Signed-off-by: Tero Kristo
---
.../devicetree/bindings/clock/ti/divider.txt | 85 ++
drivers/clk/ti/Makefile|2
-gate-clock: clockdomain level gate control
- ti,dss-gate-clock: gate clock with DSS specific hardware handling
- ti,am35xx-gate-clock: gate clock with AM35xx specific hardware handling
- ti,hsdiv-gate-clock: gate clock with OMAP36xx hardware errata handling
Signed-off-by: Tero Kristo
TI clk driver now routes some of the basic clocks through own
registration routine to allow autoidle support. This routine just
checks a couple of device node properties and adds autoidle support
if required, and just passes the registration forward to basic clocks.
Signed-off-by: Tero Kristo
clk-44xx.c now contains the clock init functionality for omap4, including
DT clock registration and adding of static clkdev entries.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/clock.h |1 -
drivers/clk/ti/clk-44xx.c | 330 +++
include/linux
From: Roger Quadros
USB_DPLL must be initialized and locked at boot so that
USB modules can work.
Signed-off-by: Roger Quadros
Signed-off-by: Tero Kristo
---
drivers/clk/ti/clk-54xx.c | 18 +-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/drivers/clk/ti/clk
This is a multipurpose clock node, which contains support for multiple
sub-clocks. Uses composite clock type to implement the actual functionality.
Signed-off-by: Tero Kristo
---
.../devicetree/bindings/clock/ti/mux-gate.txt | 98 +
drivers/clk/ti/Makefile
From: Keerthy
This patch changes apll_pcie_m2_ck to fixed factor
clock as there are no configurable divider associated to m2.
Signed-off-by: Keerthy
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/dra7xx-clocks.dtsi |9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff
This patch creates a unique node for each clock in the OMAP4 power,
reset and clock manager (PRCM). OMAP443x and OMAP446x have slightly
different clock tree which is taken into account in the data.
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/omap443x-clocks.dtsi | 17 +
arch/arm/boot/dts
Initializes clock data from device tree.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/io.c |1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c
index 205bb1d..1f23182 100644
--- a/arch/arm/mach-omap2/io.c
+++ b/arch/arm/mach-omap2/io.c
AM33xx clocks have now been moved to DT, thus remove the old data file
and use the new init code under OMAP clock driver.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/Makefile |1 -
arch/arm/mach-omap2/cclock33xx_data.c | 1064 -
drivers/clk/ti
From: Keerthy
This patch adds optfclk_pciephy_clk and optfclk_pciephy_div_clk
which are used by PCIe phy. It also adds a mux clock to choose
the source of optfclk_pciephy_div_clk clock.
Signed-off-by: Keerthy
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/dra7xx-clocks.dtsi | 27
Signed-off-by: Tero Kristo
---
.../devicetree/bindings/clock/ti/apll.txt | 29 +++
drivers/clk/ti/Makefile|2 +-
drivers/clk/ti/apll.c | 207
3 files changed, 237 insertions(+), 1 deletion(-)
create mode
clk-54xx.c now contains the clock init functionality for omap5, including
DT clock registration and adding of static clkdev entries.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/io.c |1 +
drivers/clk/ti/Makefile |1 +
drivers/clk/ti/clk-54xx.c | 241
From: Keerthy
The patch adds a mux node to choose the parent of apll_pcie_ck node.
Signed-off-by: Keerthy
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/dra7xx-clocks.dtsi | 14 +++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/arch/arm/boot/dts/dra7xx
This patch creates a unique node for each clock in the OMAP5 power,
reset and clock manager (PRCM).
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/omap5.dtsi | 14 +
arch/arm/boot/dts/omap54xx-clocks.dtsi | 1327
2 files changed, 1341 insertions
If the main clock for a hwmod is of basic clock type, it is illegal to type
cast this to clk_hw_omap and will result in bogus data. Fixed by checking
the clock flags before attempting the type cast.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/omap_hwmod.c |2 ++
1 file changed, 2
Clock tree DT data is now included from base dra7.dtsi file.
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/dra7.dtsi | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/arm/boot/dts/dra7.dtsi b/arch/arm/boot/dts/dra7.dtsi
index c01ef76..c98997b 100644
--- a/arch/arm
Clock tree data is now included from base am4372.dtsi file.
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/am4372.dtsi |7 +++
1 file changed, 7 insertions(+)
diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
index 0fe393a..218c1bd 100644
--- a/arch/arm/boot
clk-33xx.c now contains the clock init functionality for am33xx, including
DT clock registration and adding of static clkdev entries.
This patch also moves the omap2_clk_enable_init_clocks declaration to
the driver include, as this is needed by the am33xx clock init code.
Signed-off-by: Tero
clk-3xxx.c now contains the clock init functionality for omap3, including
DT clock registration and adding of static clkdev entries.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/clock3xxx.h |1 -
drivers/clk/ti/Makefile |2 +-
drivers/clk/ti/clk-3xxx.c | 402
AM35xx now uses the clock data from device tree. Most of the data is
shared with OMAP3xxx, but as there is some delta, a new base .dtsi
file is also created for the SoC.
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/am3517-evm.dts|2 +-
arch/arm/boot/dts/am3517.dtsi
the return value for _init_clkdm to 0 for
incorrect clkdm_name, as this a warning, not a fatal error.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/omap_hwmod.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2
OMAP3 has interface clocks in addition to functional clocks, which
require special handling for the autoidle and idle status register
offsets mainly.
Signed-off-by: Tero Kristo
---
.../devicetree/bindings/clock/ti/interface.txt | 52
arch/arm/mach-omap2/clock.h
clk-7xx.c now contains the clock init functionality for dra7, including
DT clock registration and adding of static clkdev entries.
Signed-off-by: Tero Kristo
---
drivers/clk/ti/Makefile |1 +
drivers/clk/ti/clk-7xx.c | 334 ++
include/linux/clk
This patch creates a unique node for each clock in the AM33xx power,
reset and clock manager (PRCM).
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/am33xx-clocks.dtsi | 640 ++
arch/arm/boot/dts/am33xx.dtsi| 16 +-
2 files changed, 655 insertions
This patch creates a unique node for each clock in the AM43xx power,
reset and clock manager (PRCM).
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/am43xx-clocks.dtsi | 656 ++
1 file changed, 656 insertions(+)
create mode 100644 arch/arm/boot/dts/am43xx
This patch creates a unique node for each clock in the DRA7 power,
reset and clock manager (PRCM).
TODO: apll_pcie clock node is still a dummy in this version, and
proper support for the APLL should be added.
Signed-off-by: Tero Kristo
---
arch/arm/boot/dts/dra7xx-clocks.dtsi | 1975
clk-43xx.c now contains the clock init functionality for am43xx, including
DT clock registration and adding of static clkdev entries.
Signed-off-by: Tero Kristo
---
drivers/clk/ti/Makefile |2 +-
drivers/clk/ti/clk-43xx.c | 120 +
include/linux
OMAP3 platforms support both DT and non-DT boot at the moment, make
the clock init work according to the used setup.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/clock3xxx.h |4
arch/arm/mach-omap2/io.c| 13 -
2 files changed, 16 insertions(+), 1 deletion
On 09/27/2013 11:41 AM, Tomi Valkeinen wrote:
On 13/09/13 14:34, Kristo, Tero wrote:
On 09/13/2013 10:51 AM, Stefan Roese wrote:
On 11.09.2013 09:21, Tomi Valkeinen wrote:
On 10/09/13 16:17, Tero Kristo wrote:
In theory, DPLLs can also be used in their bypass mode to feed customer
nodes
Hi,
Just a gentle reminder, anybody have any comments on this series or
should we start queuing stuff?
-Tero
On 09/25/2013 11:48 AM, Tero Kristo wrote:
Hi all,
Version 7 contains following high level changes:
- Dropped support for basic bindings from Mike Turquette, instead using
vendor
1001 - 1100 of 2362 matches
Mail list logo