clk_init is now separated to a common function which gets called for all
SoC:s, which initializes the DT clocks and calls the SoC specific clock init.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/common.h |2 +-
arch/arm/mach-omap2/io.c | 32
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 | 1998
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/omap4.dtsi |2 +
arch/arm/boot/dts
Clock nodes shall use the services provided by underlying drivers to access
the hardware registers instead of direct memory read/write. Thus, change
all the code to use the new omap2_clk_readl / omap2_clk_writel APIs for this.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/clkt_clksel.c
On 10/26/2013 03:36 AM, Jan Lübbe wrote:
On Fri, 2013-10-25 at 18:57 +0300, Tero Kristo wrote:
+ mcasp0_fck: mcasp0_fck {
+ #clock-cells = <0>;
+ compatible = "fixed-factor-clock";
+ clocks = <&sys_clkin_ck>;
+
On 10/28/2013 11:59 AM, Jan Lübbe wrote:
On Sat, 2013-10-26 at 15:46 +0300, Tero Kristo wrote:
On 10/26/2013 03:36 AM, Jan Lübbe wrote:
On Fri, 2013-10-25 at 18:57 +0300, Tero Kristo wrote:
+ mcasp0_fck: mcasp0_fck {
+ #clock-cells = <0>;
+ comp
On 10/29/2013 06:19 PM, Nishanth Menon wrote:
On 10/25/2013 10:56 AM, Tero Kristo wrote:
Testing done:
- omap3-beagle: boot + suspend/resume (ret + off)
- omap4-panda-es: boot + suspend/resume
- omap5-uevm: boot
- dra7-evm: boot
- am335x-bone: boot
Test branches available:
tree: https
On 10/29/2013 07:50 PM, Matt Sealey wrote:
On Fri, Oct 25, 2013 at 10:56 AM, Tero Kristo wrote:
Some devices require their clocks to be available with a specific
dev-id con-id mapping. With DT, the clocks can be found by default
only with their name, or alternatively through the device node of
On 10/30/2013 10:10 PM, Nishanth Menon wrote:
On 10/30/2013 10:00 AM, Nishanth Menon wrote:
On 10/30/2013 03:23 AM, Tero Kristo wrote:
On 10/29/2013 06:19 PM, Nishanth Menon wrote:
On 10/25/2013 10:56 AM, Tero Kristo wrote:
Testing done:
- omap3-beagle: boot + suspend/resume (ret + off
On 10/30/2013 07:38 PM, Matt Sealey wrote:
On Wed, Oct 30, 2013 at 3:29 AM, Tero Kristo wrote:
On 10/29/2013 07:50 PM, Matt Sealey wrote:
I have one question here, what makes this part of the patch
TI-specific at all except the definition of the structure ti_dt_clk?
Mapping DT clocks to
On 10/31/2013 04:03 PM, Nishanth Menon wrote:
On 10/25/2013 10:56 AM, Tero Kristo wrote:
[...]
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index 7e59253..63ff78c 100644
--- a/include/linux/clk-provider.h
+++ b/include/linux/clk-provider.h
[...]
-static inline u32
On 10/31/2013 04:19 PM, Nishanth Menon wrote:
On 10/25/2013 10:56 AM, Tero Kristo wrote:
[...]
diff --git a/Documentation/devicetree/bindings/clock/ti/dpll.txt
b/Documentation/devicetree/bindings/clock/ti/dpll.txt
new file mode 100644
index 000..7b87721
--- /dev/null
+++ b/Documentation
On 10/31/2013 05:46 PM, Nishanth Menon wrote:
On 10/31/2013 09:40 AM, Tero Kristo wrote:
On 10/31/2013 04:03 PM, Nishanth Menon wrote:
On 10/25/2013 10:56 AM, Tero Kristo wrote:
[...]
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index 7e59253..63ff78c 100644
--- a
On 10/31/2013 05:42 PM, Nishanth Menon wrote:
On 10/25/2013 10:57 AM, Tero Kristo wrote:
ti_dt_clk_init_provider() can now be used to initialize the contents of
a single clock IP block. This parses all the clocks under the IP block
and calls the corresponding init function for them.
Signed-off
On 10/31/2013 06:05 PM, Nishanth Menon wrote:
On 10/25/2013 10:57 AM, Tero Kristo wrote:
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
On 10/31/2013 06:27 PM, Nishanth Menon wrote:
On 10/25/2013 10:57 AM, Tero Kristo wrote:
This is a multipurpose clock node, which contains support for multiple
sub-clocks. Uses basic composite clock type to implement the actual
functionality, and TI specific gate, mux and divider clocks
On 10/31/2013 06:32 PM, Nishanth Menon wrote:
On 10/31/2013 11:27 AM, Nishanth Menon wrote:
On 10/25/2013 10:57 AM, Tero Kristo wrote:
This is a multipurpose clock node, which contains support for multiple
sub-clocks. Uses basic composite clock type to implement the actual
functionality, and
On 10/31/2013 08:02 PM, Nishanth Menon wrote:
On 10/25/2013 10:57 AM, Tero Kristo wrote:
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
On 10/31/2013 08:12 PM, Nishanth Menon wrote:
On 10/25/2013 10:57 AM, Tero Kristo wrote:
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
On 11/01/2013 11:48 AM, Tero Kristo wrote:
On 10/31/2013 08:02 PM, Nishanth Menon wrote:
On 10/25/2013 10:57 AM, Tero Kristo wrote:
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
On 11/01/2013 11:25 PM, Nishanth Menon wrote:
On 10/31/2013 08:55 AM, Nishanth Menon wrote:
On 10/31/2013 04:10 AM, Tero Kristo wrote:
On 10/30/2013 10:10 PM, Nishanth Menon wrote:
On 10/30/2013 10:00 AM, Nishanth Menon wrote:
On 10/30/2013 03:23 AM, Tero Kristo wrote:
On 10/29/2013 06:19
On 11/01/2013 09:13 PM, Nishanth Menon wrote:
On 11/01/2013 04:12 AM, Tero Kristo wrote:
On 10/31/2013 05:42 PM, Nishanth Menon wrote:
On 10/25/2013 10:57 AM, Tero Kristo wrote:
ti_dt_clk_init_provider() can now be used to initialize the contents of
a single clock IP block. This parses all
On 11/01/2013 09:16 PM, Nishanth Menon wrote:
On 11/01/2013 04:18 AM, Tero Kristo wrote:
On 10/31/2013 06:05 PM, Nishanth Menon wrote:
On 10/25/2013 10:57 AM, Tero Kristo wrote:
[...]
diff --git a/drivers/clk/ti/autoidle.c b/drivers/clk/ti/autoidle.c
new file mode 100644
index 000
On 11/01/2013 09:35 PM, Nishanth Menon wrote:
On 11/01/2013 04:54 AM, Tero Kristo wrote:
On 11/01/2013 11:48 AM, Tero Kristo wrote:
On 10/31/2013 08:02 PM, Nishanth Menon wrote:
On 10/25/2013 10:57 AM, Tero Kristo wrote:
[...]
diff --git a/drivers/clk/ti/divider.c b/drivers/clk/ti
On 11/01/2013 10:11 PM, Nishanth Menon wrote:
On 10/25/2013 10:57 AM, Tero Kristo wrote:
This patch adds support for TI specific gate clocks. These behave as basic
gate-clock, but have different ops / hw-ops for controlling the actual
gate, for example waiting until the clock is ready. Several
On 11/01/2013 11:16 PM, Nishanth Menon wrote:
On 10/25/2013 10:57 AM, Tero Kristo wrote:
[...]
diff --git a/arch/arm/boot/dts/am4372.dtsi b/arch/arm/boot/dts/am4372.dtsi
index 974d103..1fb3ac2 100644
--- a/arch/arm/boot/dts/am4372.dtsi
+++ b/arch/arm/boot/dts/am4372.dtsi
@@ -67,6 +67,8
On 11/01/2013 10:22 PM, Nishanth Menon wrote:
On 10/25/2013 10:57 AM, Tero Kristo wrote:
[...]
diff --git a/drivers/clk/ti/clockdomain.c b/drivers/clk/ti/clockdomain.c
new file mode 100644
index 000..1b3099e
--- /dev/null
+++ b/drivers/clk/ti/clockdomain.c
@@ -0,0 +1,58 @@
+/*
+ * OMAP
On 11/04/2013 04:59 PM, Nishanth Menon wrote:
On 11/04/2013 04:00 AM, Tero Kristo wrote:
On 11/01/2013 09:16 PM, Nishanth Menon wrote:
On 11/01/2013 04:18 AM, Tero Kristo wrote:
[...]
one other thing I missed, will be nice to introduce a common bindings
for autoidle which tends to be reused
On 11/01/2013 11:01 PM, Nishanth Menon wrote:
On 10/25/2013 10:57 AM, Tero Kristo wrote:
[...]
diff --git a/drivers/clk/ti/mux.c b/drivers/clk/ti/mux.c
new file mode 100644
index 000..9c5259a
--- /dev/null
+++ b/drivers/clk/ti/mux.c
[...]
+/**
+ * of_mux_clk_setup() - Setup function for
On 11/01/2013 11:18 PM, Nishanth Menon wrote:
On 10/25/2013 10:57 AM, Tero Kristo wrote:
[...]
diff --git a/arch/arm/boot/dts/am3517.dtsi b/arch/arm/boot/dts/am3517.dtsi
new file mode 100644
index 000..c555443
--- /dev/null
+++ b/arch/arm/boot/dts/am3517.dtsi
@@ -0,0 +1,31
On 11/01/2013 11:07 PM, Nishanth Menon wrote:
On 10/25/2013 10:57 AM, Tero Kristo wrote:
[...]
diff --git a/arch/arm/mach-omap2/prm_common.c b/arch/arm/mach-omap2/prm_common.c
index 228b850..6fa74c6 100644
--- a/arch/arm/mach-omap2/prm_common.c
+++ b/arch/arm/mach-omap2/prm_common.c
On 11/05/2013 11:43 PM, Gerhard Sittig wrote:
On Thu, Oct 31, 2013 at 16:40 +0200, Tero Kristo wrote:
On 10/31/2013 04:03 PM, Nishanth Menon wrote:
On 10/25/2013 10:56 AM, Tero Kristo wrote:
[...]
diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h
index 7e59253..63ff78c
cific clock names.
Signed-off-by: Tero Kristo
---
drivers/clk/Makefile|1 +
drivers/clk/ti/Makefile |3 +++
drivers/clk/ti/clk.c| 55 +++
include/linux/clk/ti.h | 42
4 files changed, 101 inser
append the master IP info to this.
Signed-off-by: Tero Kristo
---
drivers/clk/ti/clk.c | 98
include/linux/clk/ti.h | 14 +++
2 files changed, 112 insertions(+)
diff --git a/drivers/clk/ti/clk.c b/drivers/clk/ti/clk.c
index ef1a7cd
I/O wrapper provided also which uses the existing direct
I/O mapped behavior.
Signed-off-by: Tero Kristo
---
drivers/clk/clk.c| 68 ++
include/linux/clk-provider.h | 15 +-
2 files changed, 75 insertions(+), 8 deletions(-)
diff
Hi,
Changes compared to v9:
- rebased on top of 3.13-rc1
- modified the low level clk register API to provide SoC specific clk_readl
and clk_writel support which can be registered during boot, TI SoC variant
uses regmap on low level
- dropped regmap parameter from clock init calls, instead a h
From: J Keerthy
This patch changes apll_pcie_m2_ck to fixed factor
clock as there are no configurable divider associated to m2.
Signed-off-by: J Keerthy
Signed-off-by: Tero Kristo
Tested-by: Nishanth Menon
Acked-by: Tony Lindgren
---
arch/arm/boot/dts/dra7xx-clocks.dtsi |9 +++--
1
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
Tested-by: Nishanth Menon
Acked-by: Tony Lindgren
---
arch/arm/mach-omap2/clock.h |1 -
drivers/clk/ti/Makefile |1
-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
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 | 54
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
Tested-by: Nishanth Menon
Acked-by: Tony Lindgren
---
drivers/clk/ti/Makefile |1 +
drivers/clk/ti/clk-7xx.c | 332
Signed-off-by: Tero Kristo
---
.../devicetree/bindings/clock/ti/apll.txt | 31 +++
drivers/clk/ti/Makefile|2 +-
drivers/clk/ti/apll.c | 239
3 files changed, 271 insertions(+), 1 deletion(-)
create mode
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 | 21 ++
arch
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 | 114 ++
drivers/clk/ti/Makefile|3
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/dra7.dtsi | 23 +
arch
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 | 75 +++
arch/arm/mach-omap2/clock.h| 163 +-
arch/arm/mach-omap2/clock3xxx.h
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
Tested-by: Nishanth Menon
Acked-by: Tony Lindgren
---
arch/arm/mach-omap2/io.c |1 +
drivers/clk/ti/Makefile |1 +
drivers
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
From: J Keerthy
The patch adds a mux node to choose the parent of apll_pcie_ck node.
Signed-off-by: J Keerthy
Signed-off-by: Tero Kristo
Tested-by: Nishanth Menon
Acked-by: Tony Lindgren
---
arch/arm/boot/dts/dra7xx-clocks.dtsi | 14 +++---
1 file changed, 11 insertions(+), 3
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 | 30 +
arch/arm/boot/dts/omap54xx-clocks.dtsi | 1396
2 files changed, 1426 insertions
This is a multipurpose clock node, which contains support for multiple
sub-clocks. Uses basic composite clock type to implement the actual
functionality, and TI specific gate, mux and divider clocks.
Signed-off-by: Tero Kristo
---
.../devicetree/bindings/clock/ti/composite.txt | 54
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
Tested-by: Nishanth Menon
Acked-by: Tony Lindgren
---
drivers/clk/ti/clk-54xx.c | 18 +-
1 file changed, 17 insertions
+1,161 @@
+/*
+ * AM33XX Clock init
+ *
+ * Copyright (C) 2013 Texas Instruments, Inc
+ * Tero Kristo (t-kri...@ti.com)
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software
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
Tested-by: Nishanth Menon
Acked-by: Tony Lindgren
---
drivers/clk/ti/Makefile |2 +-
drivers/clk/ti/clk-43xx.c | 118
From: J 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: J Keerthy
Signed-off-by: Tero Kristo
Tested-by: Nishanth Menon
Acked-by: Tony Lindgren
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
Tested-by: Nishanth Menon
Acked-by: Tony Lindgren
---
arch/arm/mach-omap2/clock3xxx.h |1 -
drivers/clk/ti/Makefile
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 | 76 +++
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 | 43 +
drivers/clk/ti/Makefile
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 | 662 ++
arch/arm/boot/dts/am33xx.dtsi| 16 +
2 files changed, 678 insertions
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 628a7f5..2e0f0fe 100644
--- a/arch/arm/mach-omap2/io.c
+++ b/arch/arm/mach-omap2/io.c
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/am4372.dtsi| 16 +
arch/arm/boot/dts/am43xx-clocks.dtsi | 656 ++
2 files changed, 672 insertions
clk_init is now separated to a common function which gets called for all
SoC:s, which initializes the DT clocks and calls the SoC specific clock init.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/common.h |2 +-
arch/arm/mach-omap2/io.c | 32
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/omap4.dtsi | 30 +
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 5854677..628a7f5 100644
--- a/arch/arm/mach-omap2/io.c
+++ b/arch/arm/mach-omap2/io.c
Using regmap is required for isolating the actual memory access from
the clock code. Now, the driver providing the support for the clock IP
block can provide a regmap for this purpose.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/clock.c | 27 ++-
arch/arm/mach
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
Tested-by: Nishanth Menon
Acked-by: Tony Lindgren
---
arch/arm/mach-omap2/io.c | 13 -
1 file changed, 12 insertions(+), 1 deletion
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
Tested-by: Nishanth Menon
Acked-by: Tony Lindgren
---
arch/arm/mach-omap2/Makefile |1 -
arch/arm/mach-omap2/cclock33xx_data.c
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
Tested-by: Nishanth Menon
Acked-by: Tony Lindgren
---
arch/arm/mach
This patch provides top level functionality for the DT clock initialization.
Clock tree is initialized hierarchically starting from IP modules (CM/PRM/PRCM)
going down towards individual clock nodes, and finally initializing
clockdomains once all the clocks are ready.
Signed-off-by: Tero Kristo
Clock nodes shall use the services provided by underlying drivers to access
the hardware registers instead of direct memory read/write. Thus, change
all the code to use the new omap2_clk_readl / omap2_clk_writel APIs for this.
Signed-off-by: Tero Kristo
---
arch/arm/mach-omap2/clkt_clksel.c
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
Tested-by: Nishanth Menon
Acked-by: Tony Lindgren
---
arch/arm/mach-omap2/omap_hwmod.c |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arch
On 11/26/2013 07:44 PM, Tony Lindgren wrote:
* Tero Kristo [131126 00:10]:
OMAP3 platforms support both DT and non-DT boot at the moment, make
the clock init work according to the used setup.
We're making omap3 to be DT only as well, so it might make sense to
drop the omap3 clock da
On 11/26/2013 07:40 PM, Tony Lindgren wrote:
* Tero Kristo [131126 00:10]:
Using regmap is required for isolating the actual memory access from
the clock code. Now, the driver providing the support for the clock IP
block can provide a regmap for this purpose.
Signed-off-by: Tero Kristo
On 11/29/2013 07:12 PM, Tony Lindgren wrote:
* Paul Walmsley [131128 10:59]:
On Wed, 27 Nov 2013, Nishanth Menon wrote:
http://pastebin.mozilla.org/3681900 -> AM3517-evm (not sure yet how
long this has been broken).
Seems to work in v3.13-rc1:
http://www.pwsan.com/omap/testlogs/test_v3.13-
On 11/26/2013 10:51 AM, Alexander Aring wrote:
Hi,
On Tue, Nov 26, 2013 at 10:05:56AM +0200, Tero Kristo wrote:
From: J 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
On 12/15/2013 02:48 AM, Mike Turquette wrote:
Quoting Tero Kristo (2013-11-26 00:05:42)
Current clock wrappers assume simple and direct mapped hardware register
access. Improve this support by adding functionality for registering
platform specific clock I/O wrappers, which can be used to
On 12/15/2013 06:35 AM, Mike Turquette wrote:
Quoting Tero Kristo (2013-11-26 00:05:41)
Hi,
Hi Tero,
Thanks for your long suffering patience on this series. The clock
patches look very good to me with exception of a few small comments. Let
me know how I can help with the hierarchal DT stuff
On 12/15/2013 06:23 AM, Mike Turquette wrote:
Quoting Tero Kristo (2013-11-26 00:05:51)
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
On 12/16/2013 12:51 PM, Paul Walmsley wrote:
On Tue, 26 Nov 2013, Tero Kristo wrote:
This patch creates a unique node for each clock in the OMAP5 power,
reset and clock manager (PRCM).
...
+&cm_core_aon {
+ pad_clks_src_ck: pad_clks_src_ck {
+ #clock-cells
On 12/17/2013 10:14 AM, Paul Walmsley wrote:
On Tue, 26 Nov 2013, Tero Kristo wrote:
ti_dt_clk_init_provider() can now be used to initialize the contents of
a single clock IP block. This parses all the clocks under the IP block
and calls the corresponding init function for them.
This patch
On 12/17/2013 11:44 AM, Paul Walmsley wrote:
On Tue, 26 Nov 2013, 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.
Signed-off
From: Mike Turquette
clk_register_desc is the primary interface for populating the clock tree
with new clock nodes. In time, this will replace the various hardware-specific
registration functions (e.g. clk_register_gate).
Signed-off-by: Mike Turquette
Signed-off-by: Tero Kristo
---
drivers
Divider clock can now be registered to use low level register access ops.
Preferred initialization method is via clock description.
Signed-off-by: Tero Kristo
---
drivers/clk/clk-divider.c| 11 ---
include/linux/clk-provider.h |4
2 files changed, 12 insertions(+), 3
append the master IP info to this.
Signed-off-by: Tero Kristo
---
drivers/clk/ti/clk.c | 108
include/linux/clk/ti.h | 20 +
2 files changed, 128 insertions(+)
diff --git a/drivers/clk/ti/clk.c b/drivers/clk/ti/clk.c
index ef1a7cd
Hi,
So, once again new series. I guess I should have addressed all comments
for v10 except the extern sharing of __clk_of_table. Based on discussion
with Mike, this should be fine to fix later.
Main changes compared to v10:
- rebased on top of 3.13-rc4
- applied clk_desc support from Mike, did so
New clk_register_desc() call can be used to register this clock type now.
Signed-off-by: Tero Kristo
---
drivers/clk/clk-divider.c| 34 ++
include/linux/clk-provider.h | 23 +++
2 files changed, 57 insertions(+)
diff --git a/drivers
Low level register ops are needed for providing SoC or IP block specific
access routines to clock registers. Subsequent patches add support for
the low level ops for the individual clock drivers.
Signed-off-by: Tero Kristo
---
drivers/clk/clk.c| 28
Multiplexer clock can now be registered to use low level register access ops.
Preferred initialization method is via clock description.
Signed-off-by: Tero Kristo
---
drivers/clk/clk-mux.c| 11 ---
include/linux/clk-provider.h |4
2 files changed, 12 insertions(+), 3
From: Mike Turquette
New clk_register_desc() call can be used to register this clock type now.
Signed-off-by: Mike Turquette
Signed-off-by: Tero Kristo
---
drivers/clk/clk-fixed-rate.c | 24
include/linux/clk-provider.h | 15 +++
2 files changed, 39
New clk_register_desc() call can be used to register this clock type now.
Signed-off-by: Tero Kristo
---
drivers/clk/clk-gate.c | 31 +++
include/linux/clk-provider.h | 19 +++
2 files changed, 50 insertions(+)
diff --git a/drivers/clk/clk
Gate clock can now be registered to use low level register access ops.
Preferred initialization method is via clock description.
Signed-off-by: Tero Kristo
---
drivers/clk/clk-gate.c | 11 ---
include/linux/clk-provider.h |4
2 files changed, 12 insertions(+), 3
New clk_register_desc() call can be used to register this clock type now.
Signed-off-by: Tero Kristo
---
drivers/clk/clk-mux.c| 37 +
include/linux/clk-provider.h | 21 +
2 files changed, 58 insertions(+)
diff --git a/drivers
cific clock names.
Signed-off-by: Tero Kristo
---
drivers/clk/Makefile|1 +
drivers/clk/ti/Makefile |3 +++
drivers/clk/ti/clk.c| 55 +++
include/linux/clk/ti.h | 42
4 files changed, 101 inser
Signed-off-by: Tero Kristo
---
.../devicetree/bindings/clock/ti/apll.txt | 31 +++
drivers/clk/ti/Makefile|2 +-
drivers/clk/ti/apll.c | 219
3 files changed, 251 insertions(+), 1 deletion(-)
create mode
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 | 54 +
arch/arm/mach-omap2/clock.h
From: J Keerthy
The patch adds a mux node to choose the parent of apll_pcie_ck node.
Signed-off-by: J Keerthy
Signed-off-by: Tero Kristo
Tested-by: Nishanth Menon
Acked-by: Tony Lindgren
---
arch/arm/boot/dts/dra7xx-clocks.dtsi | 14 +++---
1 file changed, 11 insertions(+), 3
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
Tested-by: Nishanth Menon
Acked-by: Tony Lindgren
---
arch/arm/mach-omap2/io.c |1 +
drivers/clk/ti/Makefile |1 +
drivers
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
Tested-by: Nishanth Menon
Acked-by: Tony Lindgren
---
arch/arm/mach-omap2/clock3xxx.h |1 -
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 | 114 ++
drivers/clk/ti/Makefile|3
1201 - 1300 of 2362 matches
Mail list logo