[PATCH v2 5/5] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-26 Thread Alim Akhtar
RTC found in s2mps15 is almost same as one found in s2mps14. This patch add required changes to enable s2mps15 rtc timer. Signed-off-by: Alim Akhtar --- drivers/rtc/rtc-s5m.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git

Re: [PATCH v4 5/5] [RFC] clk: shmobile: r8a7795: Add new CPG/MSSR driver

2015-10-26 Thread Geert Uytterhoeven
Hi Laurent, On Mon, Oct 26, 2015 at 3:25 AM, Laurent Pinchart wrote: > On Saturday 24 October 2015 19:34:03 Geert Uytterhoeven wrote: >> On Sat, Oct 24, 2015 at 3:10 AM, Stephen Boyd wrote: >> > On 10/22, Geert Uytterhoeven wrote: >> >>

[PATCH v2 0/5] mfd: sec: add S2MPS15 PMIC support

2015-10-26 Thread Alim Akhtar
Samsung's S2MPS15 PMIC is targetted to be used with Samsung's Exynos7 SoC. The S2MPS15 PMIC is similar in functionality to S2MPS11/14 PMIC. It contains 27 LDO and 10 Buck regulators, RTC, three 32.768 KHz clock outputs and allows programming these blocks via a I2C interface. This patch series adds

[PATCH v2] clk: atlas7: merge lots of discrete clocks into arrays

2015-10-26 Thread Barry Song
From: Guo Zeng this patch merges lots of discrete dividers, divider tables and dto into arrays, then drops lots of codes. Signed-off-by: Guo Zeng Signed-off-by: Barry Song --- -v2: fix some checkpatch issues

[PATCH v2 4/5] clk: s2mps15: Add support for S2MPS15 clocks

2015-10-26 Thread Alim Akhtar
S2MPS15 PMIC has three 32k buffered clocks outputs. This patch adds supports for the same to the s2mps11 clock driver. Signed-off-by: Alim Akhtar --- drivers/clk/Kconfig |5 +++-- drivers/clk/clk-s2mps11.c | 24 2 files changed, 27

Re: [PATCH] clk: versatile: Make depend on OF when COMPILE_TEST

2015-10-26 Thread Geert Uytterhoeven
On Sun, Oct 25, 2015 at 11:41 PM, Javier Martinez Canillas wrote: > Commit 4a7748c3d641 ("clk: Allow drivers to build if COMPILE_TEST is > enabled") allowed clk drives to be compile tested on other archs but > the COMMON_CLK_VERSATILE was only enabled on platforms that

Re: [PATCH v3 3/8] clk: qcom: msm8916: Ignore sleep_clk_src registration errors

2015-10-26 Thread Stephen Boyd
On 10/20, Georgi Djakov wrote: > We are moving the sleep clock to the DT. While all patches > are merged, we will ignore sleep_clk_src registration errors. > By ignoring this error, the msm8916 boards will continue booting > during this transition period, otherwise the clock controller >

Re: [PATCH v3 2/8] clk: qcom: msm8916: Set the parent of xo to xo_board

2015-10-26 Thread Stephen Boyd
On 10/20, Georgi Djakov wrote: > Remove the hard-coded clock rate from the driver and set the XO > parent to the on-board XO oscillator that is defined in the DT. > > Signed-off-by: Georgi Djakov > --- > drivers/clk/qcom/gcc-msm8916.c |2 +- > 1 file changed, 1

Re: [PATCH v3 1/3] clk: Add clk_hw_is_enabled() for use by clk providers

2015-10-26 Thread Stephen Boyd
On 10/24, Joachim Eastwood wrote: > Add clk_hw_is_enabled() to the provider APIs so clk providers can > use a struct clk_hw instead of a struct clk to check if a clk is > enabled or not. > > Signed-off-by: Joachim Eastwood > --- Applied to clk-next -- Qualcomm Innovation

Re: [PATCH v3 2/3] clk: lpc18xx-ccu: fix potential system hang when disabling unused clocks

2015-10-26 Thread Stephen Boyd
On 10/24, Joachim Eastwood wrote: > CCU branch clock register must only be accessed while the base > (parent) clock is running. Access with a disabled base clock > will cause the system to hang. Fix this issue by adding code > that check if the parent clock is running in the is_enabled > clk_ops

[PATCH] clk: qcom: msm8960: Fix dsi1/2 halt bits

2015-10-26 Thread Stephen Boyd
The halt bits for these clocks seem wrong. I get the following warning while booting on an msm8960-cdp: WARNING: CPU: 0 PID: 1 at drivers/clk/qcom/clk-branch.c:97 clk_branch_toggle+0xd0/0x138() dsi1_clk status stuck at 'on' Modules linked in: CPU: 0 PID: 1 Comm: swapper/0 Not tainted

Re: [PATCH V6 4/6] arm64/ls1043a: add DTS for Freescale LS1043A SoC

2015-10-26 Thread Li Yang
On Fri, Oct 23, 2015 at 3:01 AM, Zhiqiang Hou wrote: > From: Mingkai Hu > > LS1043a is an SoC with 4 ARMv8 A53 cores and most other IP blocks > similar to LS1021a which complies to Chassis 2.1 spec. > > Following levels of DTSI/DTS files have been

Re: [PATCH v3 3/3] clk: lpc18xx-cgu: fix potential system hang when disabling unused clocks

2015-10-26 Thread Stephen Boyd
On 10/24, Joachim Eastwood wrote: > The clock consumer (CCU) of the CGU must be able to check if a CGU > base clock is really running since access to the CCU registers > requires a running base clock. Access with a disabled base clock will > cause the system to hang. Fix this issue by adding code

Re: [PATCH V6 5/6] clk: qoriq: Add ls1043a support.

2015-10-26 Thread Leo Li
On Fri, Oct 23, 2015 at 3:01 AM, Zhiqiang Hou wrote: > From: Hou Zhiqiang > > Signed-off-by: Hou Zhiqiang > Acked-by: Stephen Boyd > --- > V6: V5 V4 V3 V2 > - No change. I know you mentioned the

Re: [GIT PULL] On-demand device probing

2015-10-26 Thread Rafael J. Wysocki
On Mon, Oct 26, 2015 at 11:51 AM, Michael Turquette wrote: > Quoting Rafael J. Wysocki (2015-10-25 06:54:39) >> On Sun, Oct 25, 2015 at 12:06 AM, Mark Brown wrote: >> > On Sat, Oct 24, 2015 at 04:17:12PM +0200, Rafael J. Wysocki wrote: >> > >> >>

[PATCH 2/2] clk: qcom: msm8960: Move cxo/pxo into dt files

2015-10-26 Thread Stephen Boyd
Put the cxo and pxo clocks into the dt files as 'cxo_board' and 'pxo_board'. This provides a few benefits. It allows us to specify the frequency of these clocks at the board level instead of hard-coding them in the driver. It allows us to insert an RPM clock in between the consumers of the

[PATCH 1/2] clk: qcom: common: Add API to register board clocks backwards compatibly

2015-10-26 Thread Stephen Boyd
We want to put the XO board clocks into the dt files. Add an API to do this generically. This also makes a place for us to handle the case where the RPM driver is enabled or disabled. Cc: Georgi Djakov Signed-off-by: Stephen Boyd --- I'm also

Re: [PATCH v2 0/3] clk: Broadcom BCM63138 support

2015-10-26 Thread Ray Jui
On 10/26/2015 8:53 PM, Florian Fainelli wrote: Hi all, This patch series adds support for the Broadcom BCM63138 DSL SoCs clocking framework. Since the HW is identical to the one found in Broadcom iProc SoCs, but the integration is different (obviously), there is still a new compatible string

[PATCH v2 2/3] clk: bcm: Add BCM63138 clock support

2015-10-26 Thread Florian Fainelli
BCM63138 has a simple clocking domain which is primarily the ARMPLL clocking complex, from which the ARM (CPU), APB and AXI clocks would be derived from. Since the ARMPLL controller is entirely compatible with the iProc ARM PLL, we just initialize it without additional parameters. Signed-off-by:

[PATCH v2 3/3] ARM: dts: BCM63xx: Add ARMPLL device tree nodes

2015-10-26 Thread Florian Fainelli
Add the ARM PLL controller which comes standard with the Cortex-A9 found on the BCM63138 SoCs. This is the same controller as the one found in the Broadcom iProc architecture, however, we have a separate compatible string to indicate the integration difference. While at it, properly rename

[PATCH v2 0/3] clk: Broadcom BCM63138 support

2015-10-26 Thread Florian Fainelli
Hi all, This patch series adds support for the Broadcom BCM63138 DSL SoCs clocking framework. Since the HW is identical to the one found in Broadcom iProc SoCs, but the integration is different (obviously), there is still a new compatible string introduced just in case we happen to find issues

Re: [GIT PULL] On-demand device probing

2015-10-26 Thread Rafael J. Wysocki
On Tuesday, October 20, 2015 12:04:05 PM Alan Stern wrote: > On Tue, 20 Oct 2015, Mark Brown wrote: > > > On Tue, Oct 20, 2015 at 10:40:03AM -0400, Alan Stern wrote: > > > > > Furthermore, that applies only to devices that use synchronous suspend. > > > Async suspend is becoming common, and

Re: [PATCH v4 1/5] [RFC] clk: shmobile: Add new Renesas CPG/MSSR DT bindings

2015-10-26 Thread Laurent Pinchart
Hi Geert, On Monday 26 October 2015 20:02:45 Geert Uytterhoeven wrote: > On Fri, Oct 23, 2015 at 1:10 PM, Laurent Pinchart wrote: > > On Friday 16 October 2015 14:49:16 Geert Uytterhoeven wrote: > >> On Renesas ARM SoCs (SH/R-Mobile, R-Car, RZ), the CPG (Clock Pulse > >> Generator) and MSSR

Re: [PATCH] clk: versatile: Make depend on OF when COMPILE_TEST

2015-10-26 Thread Stephen Boyd
On 10/26, Javier Martinez Canillas wrote: > Commit 4a7748c3d641 ("clk: Allow drivers to build if COMPILE_TEST is > enabled") allowed clk drives to be compile tested on other archs but s/drives/drivers/ > the COMMON_CLK_VERSATILE was only enabled on platforms that already > selected OF support so

Re: [PATCH v2 2/5] mfd: sec: Add support for S2MPS15 PMIC

2015-10-26 Thread Lee Jones
On Mon, 26 Oct 2015, Alim Akhtar wrote: > Hi Lee, > Thanks for looking into this. > > On 10/26/2015 04:36 PM, Lee Jones wrote: > >On Mon, 26 Oct 2015, Alim Akhtar wrote: > > > >>From: Thomas Abraham > >> > >>Add support for S2MPS15 PMIC which is similar to S2MPS11 PMIC.

[PATCH v3 4/5] clk: s2mps15: Add support for S2MPS15 clocks

2015-10-26 Thread Alim Akhtar
S2MPS15 PMIC has three 32k buffered clocks outputs. This patch adds supports for the same to the s2mps11 clock driver. Signed-off-by: Alim Akhtar --- drivers/clk/Kconfig |5 +++-- drivers/clk/clk-s2mps11.c | 24 2 files changed, 27

[PATCH v3 3/5] regulator: s2mps11: add support for S2MPS15 regulators

2015-10-26 Thread Alim Akhtar
From: Thomas Abraham The S2MPS15 PMIC is similar in functionality to S2MPS11/14 PMIC. It contains 27 LDO and 10 Buck regulators and allows programming these regulators via a I2C interface. This patch adds initial support for LDO/Buck regulators of S2MPS15 PMIC.

Re: [PATCH] clk: versatile: Make depend on OF when COMPILE_TEST

2015-10-26 Thread Javier Martinez Canillas
Hello Geert, Thanks a lot for your feedback. On 10/26/2015 06:02 PM, Geert Uytterhoeven wrote: > On Sun, Oct 25, 2015 at 11:41 PM, Javier Martinez Canillas > wrote: >> Commit 4a7748c3d641 ("clk: Allow drivers to build if COMPILE_TEST is >> enabled") allowed clk drives to

Re: [PATCH v2 1/5] dt-bindings: mfd: s2mps11: add documentation for s2mps15 PMIC

2015-10-26 Thread Alim Akhtar
On 10/26/2015 04:39 PM, Lee Jones wrote: On Mon, 26 Oct 2015, Alim Akhtar wrote: From: Thomas Abraham Add dt-binding documentation for s2mps15 PMIC device. The s2mps15 device is similar to s2mps11/14 PMIC device and has 27 LDO and 10 buck regulators. Cc:

[PATCH 06/13 v2] clk: versatile-icst: convert to use regmap

2015-10-26 Thread Linus Walleij
Instead of passing around register bases, pass around a regmap in this driver. This refactoring make things so much easier when we later want to manage an ICST that is part of a syscon. Cc: Michael Turquette Cc: Stephen Boyd Cc:

[PATCH 08/13 v2] clk: add ARM syscon ICST device tree bindings

2015-10-26 Thread Linus Walleij
This adds the device tree bindings for the ARM Syscon ICST oscillators, which is a register-level interface to the Integrated Device Technology (IDT) ICS525 and ICS307 serially programmable oscillators. Cc: devicet...@vger.kernel.org Cc: Michael Turquette Cc: Stephen

[PATCH 09/13 v2] clk: versatile-icst: add device tree support

2015-10-26 Thread Linus Walleij
This adds support for the ARM syscon ICST clocks to initialized directly from the device tree syscon node on ARM Integrator, Versatile and RealView reference designs. Cc: Michael Turquette Cc: Stephen Boyd Cc: linux-clk@vger.kernel.org

Re: [PATCH 09/13] clk: versatile-icst: add device tree support

2015-10-26 Thread Russell King - ARM Linux
On Mon, Oct 26, 2015 at 02:14:15PM +0100, Linus Walleij wrote: > On Thu, Oct 15, 2015 at 9:26 PM, Stephen Boyd wrote: > > On 10/15, Linus Walleij wrote: > >> + > >> + if (of_device_is_compatible(np, "arm,syscon-icst525")) > >> + icst_desc.params = _params; >

[PATCH v3 5/5] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-26 Thread Alim Akhtar
RTC found in s2mps15 is almost same as one found in s2mps14. This patch add required changes to enable s2mps15 rtc timer. Signed-off-by: Alim Akhtar --- drivers/rtc/rtc-s5m.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git

Re: [PATCH 09/13] clk: versatile-icst: add device tree support

2015-10-26 Thread Linus Walleij
On Thu, Oct 15, 2015 at 9:26 PM, Stephen Boyd wrote: > On 10/15, Linus Walleij wrote: >> + >> + if (of_device_is_compatible(np, "arm,syscon-icst525")) >> + icst_desc.params = _params; >> + else if (of_device_is_compatible(np, "arm,syscon-icst307")) >> +