Re: [PATCH v2 3/3] rtc: s5m: Make register configuration per S2MPS device to remove exceptions

2015-12-30 Thread Alim Akhtar
add Reviewed-by: Alim Akhtar Tested-by: Alim Akhtar --- Tested on S2MPS11 (Odroid XU4) and S2MPS13. Testing on S2MPS15 would be appreciated! Changes since v1: 1. Fix value used in S2MPS15_RTC_AUDR_MASK, pointed by Yadwinder Singh Brar. --- drivers/rtc/rtc-s5m.c | 110

Re: [PATCH v2 2/3] rtc: s5m: Add separate field for storing auto-cleared mask in register config

2015-12-30 Thread Alim Akhtar
Akhtar Tested-by: Alim Akhtar --- Changes since v1: 1. None. --- drivers/rtc/rtc-s5m.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-s5m.c b/drivers/rtc/rtc-s5m.c index 85649861a6b0..559db8f72117 100644 --- a/drivers/rtc/rtc-s5m.c +++ b/drivers/rtc/rtc

Re: [PATCH v2 1/3] rtc: s5m: Cleanup by removing useless 'rtc' prefix from fields

2015-12-30 Thread Alim Akhtar
15 pmic on exynos7-espresso board. Works well as before. Fill free to add Reviewed-by: Alim Akhtar Tested-by: Alim Akhtar --- Changes since v1: 1. None. --- drivers/rtc/rtc-s5m.c | 40 +++- 1 file changed, 19 insertions(+), 21 deletions(-) diff --git a/drive

Re: [PATCH v2] arm: dts: Fix audio card detection on peach boards

2015-11-30 Thread Alim Akhtar
Hi Javier, On Mon, Nov 30, 2015 at 7:31 PM, Javier Martinez Canillas wrote: > Hello Alim, > > On 10/12/2015 09:37 AM, Alim Akhtar wrote: >> Since commit 2fad972d45c4 ("ARM: dts: Add mclk entry for Peach boards"), >> sound card detection is broken on peac

[RESEND PATCH v2] mfd: sec-core: Rename MFD and regulator names differently

2015-11-20 Thread Alim Akhtar
-by: Alim Akhtar Reviewed-by: Krzysztof Kozlowski Acked-by: Mark Brown Acked-by: Lee Jones --- Resending with collected Reviwed-by, Acked-by tags. drivers/mfd/sec-core.c |8 drivers/regulator/s2mps11.c |8 2 files changed, 8 insertions(+), 8 deletions(-) diff --gi

[RESEND PATCH v5 2/3] regulator: s2mps11: add support for S2MPS15 regulators

2015-11-20 Thread Alim Akhtar
Signed-off-by: Alim Akhtar Reviewed-by: Krzysztof Kozlowski --- drivers/regulator/Kconfig |4 +- drivers/regulator/s2mps11.c | 135 ++- 2 files changed, 136 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/Kconfig b/drivers/regulator

[RESEND PATCH v5 3/3] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-11-20 Thread Alim Akhtar
s2mps13, for alarm register, need to set both WDUR and ADUR high, whereas for s2mps15 only set AUDR to high. 3> On s2mps15, WUDR, RUDR and AUDR functions should never be used at the same time. This patch add required changes to enable s2mps15 rtc timer. Cc: Alexandre Belloni Signe

[RESEND PATCH v5 0/3] mfd: sec: add S2MPS15 PMIC support

2015-11-20 Thread Alim Akhtar
Hi Lee/Mark, This a resend of series [0] that adds s2mps15 pmic support. These patches have no changes, just collected some Reviewed-by and Acked-by tags. [0] -> https://lkml.org/lkml/2015/10/30/44 Mark, Can I have you acked-by for patch# 2/3? so that these can go in via MFD tree. Alim Akh

[RESEND PATCH v5 1/3] mfd: sec: Add support for S2MPS15 PMIC

2015-11-20 Thread Alim Akhtar
-by: Thomas Abraham Signed-off-by: Alim Akhtar [Alim: Added s2mps15_devs like rtc and clk and related changes] Reviewed-by: Krzysztof Kozlowski Acked-by: Lee Jones --- drivers/mfd/sec-core.c | 31 +++ drivers/mfd/sec-irq.c |8 ++ include/linux/mfd/samsung

Re: [PATCH v5 0/4] mfd: sec: add S2MPS15 PMIC support

2015-11-20 Thread Alim Akhtar
Hi Lee, On 11/20/2015 02:35 PM, Lee Jones wrote: On Thu, 19 Nov 2015, Alim Akhtar wrote: Hi Lee, Do I need to resend this series? This series still apply cleanly on top of v4.4-rc1. I can see 1/4 is already applied. Yes, rebase and resend please. Ok will resend, but I will drop patch #1/4

[PATCH v3 5/5] ARM: exynos: select POWER_RESET_SYSCON and POWER_RESET_SYSCON_POWEROFF

2015-11-19 Thread Alim Akhtar
need special handling for reboot/poweroff in exynos pmu driver. This patch also removes the same from exynos pmu driver to keep git bisect working. Note: This will break reboot/poweroff on boards with older dtbs with a newer kernel. Signed-off-by: Alim Akhtar Reviewed-by: Javier Martinez Can

[PATCH v3 4/5] arm: dts: Add syscon-{reboot, poweroff} nodes for exynos5410 SoC

2015-11-19 Thread Alim Akhtar
This patch adds syscon-{reboot, poweroff} nodes to allow the generic syscon-{reboot, poweroff} driver to reset/poweroff exynos5410 SoC. Signed-off-by: Alim Akhtar Reviewed-by: Pankaj Dubey Reviewed-by: Javier Martinez Canillas Reviewed-by: Krzysztof Kozlowski Acked-by: Moritz Fischer

[PATCH v3 3/5] arm: dts: Add syscon-{reboot, poweroff} nodes for exynos5

2015-11-19 Thread Alim Akhtar
This patch adds syscon-{reboot, poweroff} nodes to allow the generic syscon-{reboot, poweroff} driver to reset/poweroff exynos5 SoCs. Signed-off-by: Alim Akhtar Reviewed-by: Pankaj Dubey Reviewed-by: Javier Martinez Canillas Reviewed-by: Krzysztof Kozlowski Acked-by: Moritz Fischer --- arch

[PATCH v3 2/5] arm: dts: Add syscon-{reboot, poweroff} nodes for exynos4

2015-11-19 Thread Alim Akhtar
This patch adds syscon-{reboot, poweroff} nodes to allow the generic syscon-{reboot, poweroff} driver to reset/poweroff exynos4 SoC. Signed-off-by: Alim Akhtar Reviewed-by: Pankaj Dubey Reviewed-by: Javier Martinez Canillas Reviewed-by: Krzysztof Kozlowski Tested-by: Tobias Jakobi Acked-by

[PATCH v3 1/5] arm: dts: Add syscon-{reboot, poweroff} nodes for exynos3250 SoCs

2015-11-19 Thread Alim Akhtar
This patch adds syscon-{reboot, poweroff} nodes to allow the generic syscon-{reboot, poweroff} driver to reset/poweroff exynos3250 SoC. Signed-off-by: Alim Akhtar Reviewed-by: Pankaj Dubey Reviewed-by: Javier Martinez Canillas Reviewed-by: Krzysztof Kozlowski Acked-by: Moritz Fischer

[PATCH v3 0/5] Switch to generic syscon regmap based drivers

2015-11-19 Thread Alim Akhtar
defconfig changes as disscussed * Collected various Reviewed-by, Tested-by and Acked-by tags * Added SYSCON-{RESET, POWEROFF} to select from Kconfig Alim Akhtar (5): arm: dts: Add syscon-{reboot, poweroff} nodes for exynos3250 SoCs arm: dts: Add syscon-{reboot, poweroff} nodes for exynos4 arm: dts

Re: [PATCH v2 0/6] Switch to generic syscon regmap based drivers

2015-11-19 Thread Alim Akhtar
Hi Krzysztof, On 11/20/2015 06:16 AM, Krzysztof Kozlowski wrote: On 20.11.2015 03:06, Alim Akhtar wrote: Hi Krzysztof/Ulf/Kukjin On Thu, Oct 22, 2015 at 5:47 AM, Krzysztof Kozlowski wrote: On 22.10.2015 00:01, Alim Akhtar wrote: On Wed, Oct 21, 2015 at 8:25 PM, Javier Martinez Canillas

Re: [PATCH v2 0/6] Switch to generic syscon regmap based drivers

2015-11-19 Thread Alim Akhtar
Hi Krzysztof/Ulf/Kukjin On Thu, Oct 22, 2015 at 5:47 AM, Krzysztof Kozlowski wrote: > On 22.10.2015 00:01, Alim Akhtar wrote: >> On Wed, Oct 21, 2015 at 8:25 PM, Javier Martinez Canillas >> wrote: >>> Hello Alim, >>> >>> On 10/21/2015

Re: [PATCH v5 0/4] mfd: sec: add S2MPS15 PMIC support

2015-11-19 Thread Alim Akhtar
Hi Lee, Do I need to resend this series? This series still apply cleanly on top of v4.4-rc1. I can see 1/4 is already applied. Thanks & Regards, Alim On Fri, Oct 30, 2015 at 11:55 AM, Alim Akhtar wrote: > Samsung's S2MPS15 PMIC is targetted to be used with Samsung's Exynos7 S

Re: [1/2] clk: samsung: Don't build ARMv8 clock drivers on ARMv7

2015-11-18 Thread Alim Akhtar
ARMv7). Instead build clock drivers only for respective SoC's architecture. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Chanwoo Choi Acked-by: Sylwester Nawrocki Tested $SUBJECT patch on exynos7-espresso board, so Tested-by: Alim Akhtar --- drivers/clk/samsung/Kco

Re: [2/2] arm64: EXYNOS: Consolidate ARCH_EXYNOS7 symbol into ARCH_EXYNOS

2015-11-18 Thread Alim Akhtar
ARCH_EXYNOS. Future SoCs could fall also under the ARCH_EXYNOS symbol. The commit should not bring any visible functional change. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Chanwoo Choi Reviewed-by: Pankaj Dubey Tested on exynos7-espresso board, so Tested-by: Alim Akhtar --- arch/arm64

Re: [rtc-linux] Re: [PATCH v5 1/4] dt-bindings: mfd: s2mps11: add documentation for s2mps15 PMIC

2015-11-08 Thread Alim Akhtar
Hi Krzysztof, On 11/07/2015 08:39 AM, Krzysztof Kozlowski wrote: W dniu 07.11.2015 o 07:33, Rob Herring pisze: On Fri, Oct 30, 2015 at 11:55:31AM +0530, Alim Akhtar wrote: From: Thomas Abraham Add dt-binding documentation for s2mps15 PMIC device. The s2mps15 device is similar to s2mps11/14

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

2015-11-06 Thread Alim Akhtar
Hi Rob, On Sat, Nov 7, 2015 at 4:03 AM, Rob Herring wrote: > On Fri, Oct 30, 2015 at 11:55:31AM +0530, Alim Akhtar wrote: >> From: Thomas Abraham >> >> Add dt-binding documentation for s2mps15 PMIC device. The s2mps15 device >> is similar to s2mps11/14 PMIC device

[PATCH v3 1/2] arm64: dts: exynos7: Add PMIC S2MPS15 device tree node

2015-11-05 Thread Alim Akhtar
This patch adds PMIC (S2MPS15) node of espresso board, which includes addition of regulators and pmic-clk sub-nodes. This patch also adds {vmmc,vqmmc}-supply properties for mmc2 node. Signed-off-by: Abhilash Kesavan Signed-off-by: Alim Akhtar Reviewed-by: Javier Martinez Canillas Reviewed-by

[PATCH v3 2/2] arm64: dts: exynos7: Enable HS200 mode operation

2015-11-05 Thread Alim Akhtar
a non-removable device. Signed-off-by: Alim Akhtar Reviewed-by: Javier Martinez Canillas Reviewed-by: Krzysztof Kozlowski --- Chnages since v2: * none Changes since v1: * Addressed Krzysztof review comments arch/arm64/boot/dts/exynos/exynos7-espresso.dts |2 +- 1 file changed, 1

Re: [PATCH v2 1/2] arm64: dts: exynos7: Add pmic s2mps15 device tree node

2015-11-05 Thread Alim Akhtar
On Fri, Nov 6, 2015 at 5:25 AM, Krzysztof Kozlowski wrote: > On 05.11.2015 20:52, Alim Akhtar wrote: >> This patch add pmic (s2mps15) node of espresso board, >> which includes addition of regulators and pmic-clk sub-nodes. > > My comment for fixing capital letters was ign

[PATCH v2 2/2] arm64: dts: exynos7: Enable HS200 mode operation

2015-11-05 Thread Alim Akhtar
a non-removable device. Signed-off-by: Alim Akhtar Reviewed-by: Javier Martinez Canillas --- Changes since v1: * Addressed Krzysztof review comments arch/arm64/boot/dts/exynos/exynos7-espresso.dts |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/exynos

[PATCH v2 1/2] arm64: dts: exynos7: Add pmic s2mps15 device tree node

2015-11-05 Thread Alim Akhtar
This patch add pmic (s2mps15) node of espresso board, which includes addition of regulators and pmic-clk sub-nodes. This patch also adds {vmmc,vqmmc}-supply properties for mmc2 node. Signed-off-by: Abhilash Kesavan Signed-off-by: Alim Akhtar Reviewed-by: Javier Martinez Canillas --- Changes

Re: [PATCH 1/2] arm64: dts: exynos7: Add pmic s2mps15 device tree node

2015-11-04 Thread Alim Akhtar
Hi Krzysztof On 11/02/2015 07:22 PM, Krzysztof Kozlowski wrote: 2015-11-02 22:01 GMT+09:00 Alim Akhtar : arch/arm64/boot/dts/exynos/exynos7-espresso.dts | 349 +++ 1 file changed, 349 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts b/arch

Re: [PATCH 1/2] arm64: dts: exynos7: Add pmic s2mps15 device tree node

2015-11-02 Thread Alim Akhtar
On 11/02/2015 05:55 PM, Krzysztof Kozlowski wrote: 2015-11-02 19:04 GMT+09:00 Alim Akhtar : This patch add pmic (s2mps15) node of espresso board, This patch adds PMIC (S2MPS15)... which includes addition of regulators and pmic-clk sub-nodes. Signed-off-by: Abhilash Kesavan Signed-off-by

Re: [PATCH 2/2] arm64: dts: exynos7: Enable HS200 mode operation

2015-11-02 Thread Alim Akhtar
Hi Krzysztof, On 11/02/2015 05:28 PM, Krzysztof Kozlowski wrote: Subject - name of the board at the end (not the name of the SoC): arm64: dts: Enable HS200 mode operation on exynos7-espresso 2015-11-02 19:04 GMT+09:00 Alim Akhtar : This patch enables HS200 mode operation on exynos7 based

Re: [PATCH 1/2] arm64: dts: exynos7: Add pmic s2mps15 device tree node

2015-11-02 Thread Alim Akhtar
On 11/02/2015 05:00 PM, Javier Martinez Canillas wrote: Hello Alim, This patch looks mostly good to me, I just have two comments below: On 11/02/2015 11:04 AM, Alim Akhtar wrote: This patch add pmic (s2mps15) node of espresso board, which includes addition of regulators and pmic-clk sub

[PATCH 2/2] arm64: dts: exynos7: Enable HS200 mode operation

2015-11-02 Thread Alim Akhtar
non-removable device. Signed-off-by: Alim Akhtar --- arch/arm64/boot/dts/exynos/exynos7-espresso.dts |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/exynos/exynos7-espresso.dts b/arch/arm64/boot/dts/exynos/exynos7-espresso.dts index 8ce04a0ec928

[PATCH 1/2] arm64: dts: exynos7: Add pmic s2mps15 device tree node

2015-11-02 Thread Alim Akhtar
This patch add pmic (s2mps15) node of espresso board, which includes addition of regulators and pmic-clk sub-nodes. Signed-off-by: Abhilash Kesavan Signed-off-by: Alim Akhtar --- This patch should go in after driver side changes [1] lands. [1]-> https://www.mail-archive.com/linux-samsung-

[PATCH v2] mfd: sec-core: Rename MFD and regulator names differently

2015-11-01 Thread Alim Akhtar
-by: Alim Akhtar --- Changes since V1: * Squashed the two patches in one as sugeested by Lee * Based on the top of [1] [1]-> https://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg47736.html drivers/mfd/sec-core.c |8 drivers/regulator/s2mps11.c |8 2

[PATCH 2/2] regulator: s2mps11: Rename s2mpsxx regulator as *-regulator

2015-10-30 Thread Alim Akhtar
-by: Alim Akhtar --- drivers/regulator/s2mps11.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/regulator/s2mps11.c b/drivers/regulator/s2mps11.c index b2f3a28e720c..3242ffc0cb25 100644 --- a/drivers/regulator/s2mps11.c +++ b/drivers/regulator/s2mps11.c @@ -1199

[PATCH 1/2] mfd: sec-core: Rename MFD and regulator names differently

2015-10-30 Thread Alim Akhtar
patch rename MFD regulator name as *-regulator instead of current *-pmic. [1]-> https://lkml.org/lkml/2015/10/28/417 Suggested-by: Lee Jones Signed-off-by: Alim Akhtar --- drivers/mfd/sec-core.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/mfd/

Re: [PATCH v5 4/4] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-30 Thread Alim Akhtar
Hi Krzysztof, On 10/30/2015 02:08 PM, Krzysztof Kozlowski wrote: On 30.10.2015 15:25, Alim Akhtar wrote: RTC found in s2mps15 is almost same as one found on s2mps13 with few differences in RTC_UPDATE register fields, like: 1> Bit[4] and Bit[1] are reversed - On s2mps13 W

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

2015-10-30 Thread Alim Akhtar
On 10/30/2015 01:12 PM, Krzysztof Kozlowski wrote: On 30.10.2015 15:25, 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. This also supports RTC and

[PATCH v5 0/4] mfd: sec: add S2MPS15 PMIC support

2015-10-29 Thread Alim Akhtar
org/lkml/2015/10/28/417 This series is based on linux-next-20151022. This is tested on exynos7-espresso board. Alim Akhtar (1): drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC Thomas Abraham (3): dt-bindings: mfd: s2mps11: add documentation for s2mps15 PMIC mfd: sec: Add support for S2MP

[PATCH v5 1/4] dt-bindings: mfd: s2mps11: add documentation for s2mps15 PMIC

2015-10-29 Thread Alim Akhtar
Signed-off-by: Alim Akhtar --- Documentation/devicetree/bindings/mfd/s2mps11.txt | 21 ++--- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/s2mps11.txt b/Documentation/devicetree/bindings/mfd/s2mps11.txt index 890f0b0e1643

[PATCH v5 3/4] regulator: s2mps11: add support for S2MPS15 regulators

2015-10-29 Thread Alim Akhtar
Signed-off-by: Alim Akhtar Reviewed-by: Krzysztof Kozlowski --- drivers/regulator/Kconfig |4 +- drivers/regulator/s2mps11.c | 135 ++- 2 files changed, 136 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/Kconfig b/drivers/regulator

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

2015-10-29 Thread Alim Akhtar
s2mps13, for alarm register, need to set both WDUR and ADUR high, whereas for s2mps15 only set AUDR to high. 3> On s2mps15, WUDR, RUDR and AUDR functions should never be used at the same time. This patch add required changes to enable s2mps15 rtc timer. Cc: Alexandre Belloni Signe

[PATCH v5 2/4] mfd: sec: Add support for S2MPS15 PMIC

2015-10-29 Thread Alim Akhtar
-by: Thomas Abraham Signed-off-by: Alim Akhtar [Alim: Added s2mps15_devs like rtc and clk and related changes] Reviewed-by: Krzysztof Kozlowski Acked-by: Lee Jones --- drivers/mfd/sec-core.c | 31 +++ drivers/mfd/sec-irq.c |8 ++ include/linux/mfd/samsung

Re: [rtc-linux] Re: [PATCH v4 4/4] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-29 Thread Alim Akhtar
Hi Krzysztof, On Thu, Oct 29, 2015 at 5:05 PM, Krzysztof Kozlowski wrote: > 2015-10-29 20:20 GMT+09:00 Alim Akhtar : >>>> I am testing this patch before sending them, what I have found is if you >>>> don't update WUDR the time does not changes in rtc. >>>

Re: [PATCH v4 4/4] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-29 Thread Alim Akhtar
On 10/29/2015 04:33 PM, Krzysztof Kozlowski wrote: 2015-10-29 16:47 GMT+09:00 Alim Akhtar : Hello Krzysztof, On 10/29/2015 11:24 AM, Krzysztof Kozlowski wrote: On 29.10.2015 13:58, Alim Akhtar wrote: RTC found in s2mps15 is almost same as one found on s2mps14/13 with few differences in

Re: [PATCH v4 2/4] mfd: sec: Add support for S2MPS15 PMIC

2015-10-29 Thread Alim Akhtar
Hi On 10/29/2015 01:36 PM, Lee Jones wrote: On Thu, 29 Oct 2015, Alim Akhtar wrote: From: Thomas Abraham Add support for S2MPS15 PMIC which is similar to S2MPS11 PMIC. The S2MPS15 PMIC supports 27 LDO regulators, 10 buck regulators, RTC, three 32.768KHz clock outputs and battery charger

Re: [PATCH v4 3/4] regulator: s2mps11: add support for S2MPS15 regulators

2015-10-29 Thread Alim Akhtar
Hi, On 10/29/2015 01:43 PM, Krzysztof Kozlowski wrote: On 29.10.2015 17:08, Lee Jones wrote: On Thu, 29 Oct 2015, Alim Akhtar wrote: 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

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

2015-10-29 Thread Alim Akhtar
On 10/29/2015 11:27 AM, Krzysztof Kozlowski wrote: On 29.10.2015 13:58, 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: devicet

Re: [PATCH v4 4/4] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-29 Thread Alim Akhtar
Hello Krzysztof, On 10/29/2015 11:24 AM, Krzysztof Kozlowski wrote: On 29.10.2015 13:58, Alim Akhtar wrote: RTC found in s2mps15 is almost same as one found on s2mps14/13 with few differences in RTC_UPDATE register fields, like bit fields are changed for WUDR and AUDR. This patch add required

Re: [PATCH v4 4/4] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-28 Thread Alim Akhtar
On 10/29/2015 10:37 AM, Krzysztof Kozlowski wrote: On 29.10.2015 13:58, Alim Akhtar wrote: RTC found in s2mps15 is almost same as one found on s2mps14/13 with few differences in RTC_UPDATE register fields, like bit fields are changed for WUDR and AUDR. This patch add required changes to

[PATCH v4 0/4] mfd: sec: add S2MPS15 PMIC support

2015-10-28 Thread Alim Akhtar
s forward. [1]-> https://lkml.org/lkml/2014/10/14/67 [2]-> https://lkml.org/lkml/2015/10/28/417 This series is based on linux-next-20151022. This is tested on exynos7-espresso board. Alim Akhtar (1): drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC Thomas Abraham (3): dt-bindings: mf

[PATCH v4 2/4] mfd: sec: Add support for S2MPS15 PMIC

2015-10-28 Thread Alim Akhtar
-by: Thomas Abraham Signed-off-by: Alim Akhtar [Alim: Added s2mps15_devs like rtc and clk and related changes] Reviewed-by: Krzysztof Kozlowski --- drivers/mfd/sec-core.c | 31 +++ drivers/mfd/sec-irq.c |8 ++ include/linux/mfd/samsung/core.h|1

[PATCH v4 1/4] dt-bindings: mfd: s2mps11: add documentation for s2mps15 PMIC

2015-10-28 Thread Alim Akhtar
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: devicet...@vger.kernel.org Signed-off-by: Thomas Abraham Signed-off-by: Alim Akhtar Reviewed-by: Krzysztof Kozlowski

[PATCH v4 3/4] regulator: s2mps11: add support for S2MPS15 regulators

2015-10-28 Thread Alim Akhtar
Signed-off-by: Alim Akhtar Reviewed-by: Krzysztof Kozlowski --- drivers/regulator/Kconfig |4 +- drivers/regulator/s2mps11.c | 135 ++- 2 files changed, 136 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/Kconfig b/drivers/regulator

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

2015-10-28 Thread Alim Akhtar
RTC found in s2mps15 is almost same as one found on s2mps14/13 with few differences in RTC_UPDATE register fields, like bit fields are changed for WUDR and AUDR. This patch add required changes to enable s2mps15 rtc timer. Cc: Alexandre Belloni Signed-off-by: Alim Akhtar --- drivers/rtc/rtc

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

2015-10-28 Thread Alim Akhtar
On 10/28/2015 07:21 PM, Lee Jones wrote: On Wed, 28 Oct 2015, Krzysztof Kozlowski wrote: W dniu 28.10.2015 o 17:46, Lee Jones pisze: On Wed, 28 Oct 2015, Krzysztof Kozlowski wrote: On 26.10.2015 23:34, Lee Jones wrote: On Mon, 26 Oct 2015, Alim Akhtar wrote: From: Thomas Abraham Add

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

2015-10-28 Thread Alim Akhtar
Hello, On 10/28/2015 02:16 PM, Lee Jones wrote: On Wed, 28 Oct 2015, Krzysztof Kozlowski wrote: On 26.10.2015 23:34, 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. The S2MPS15 PMIC supports 27

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

2015-10-28 Thread Alim Akhtar
Hi Alexandre, On 10/28/2015 03:18 PM, Alexandre Belloni wrote: On 28/10/2015 at 12:31:43 +0900, Krzysztof Kozlowski wrote : The s2mps13 clock driver added new name and compatible... which was probably totally unneeded (I missed that during review). We don't have to make this as a rule... Since

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

2015-10-27 Thread Alim Akhtar
On 10/28/2015 10:04 AM, Krzysztof Kozlowski wrote: On 28.10.2015 10:26, Krzysztof Kozlowski wrote: On 26.10.2015 21:51, Alim Akhtar wrote: 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

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

2015-10-27 Thread Alim Akhtar
Hello On 10/28/2015 06:52 AM, Krzysztof Kozlowski wrote: On 26.10.2015 21:51, Alim Akhtar wrote: 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

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

2015-10-27 Thread Alim Akhtar
On 10/28/2015 09:01 AM, Krzysztof Kozlowski wrote: On 28.10.2015 12:14, Alim Akhtar wrote: Hello, On 10/28/2015 07:47 AM, Krzysztof Kozlowski wrote: On 28.10.2015 10:53, Mark Brown wrote: On Wed, Oct 28, 2015 at 10:29:56AM +0900, Krzysztof Kozlowski wrote: If that's true, then don&

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

2015-10-27 Thread Alim Akhtar
Hello, On 10/28/2015 07:47 AM, Krzysztof Kozlowski wrote: On 28.10.2015 10:53, Mark Brown wrote: On Wed, Oct 28, 2015 at 10:29:56AM +0900, Krzysztof Kozlowski wrote: If that's true, then don't add new compatibles, new names etc. Re-use. No new code needed, no changes needed. Keep it simple.

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

2015-10-26 Thread Alim Akhtar
Hello On 10/26/2015 07:59 PM, Lee Jones wrote: 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

[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 a/drivers/rtc/rtc-s5m.c b/drivers/rtc

[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 insertions(+), 2 deletions

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

2015-10-26 Thread Alim Akhtar
Signed-off-by: Alim Akhtar Reviewed-by: Krzysztof Kozlowski --- drivers/regulator/Kconfig |4 +- drivers/regulator/s2mps11.c | 135 ++- 2 files changed, 136 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/Kconfig b/drivers/regulator

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

2015-10-26 Thread Alim Akhtar
-by: Thomas Abraham Signed-off-by: Alim Akhtar [Alim: Added s2mps15_devs like rtc and clk and related changes] Reviewed-by: Krzysztof Kozlowski --- drivers/mfd/sec-core.c | 31 +++ drivers/mfd/sec-irq.c |8 ++ include/linux/mfd/samsung/core.h|1

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

2015-10-26 Thread Alim Akhtar
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: devicet...@vger.kernel.org Signed-off-by: Thomas Abraham Signed-off-by: Alim Akhtar Reviewed-by: Krzysztof Kozlowski

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

2015-10-26 Thread Alim Akhtar
esser features) were posted a year back, since then there is not much progress on this, this is my attempt to move things forward. [1]-> https://lkml.org/lkml/2014/10/14/67 This series is based on linux-next-20151022. This is tested on exynos7-espresso board. Alim Akhtar (2): clk: s2mps15:

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: devicet...@vger.kernel.org Signed

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

2015-10-26 Thread Alim Akhtar
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. The S2MPS15 PMIC supports 27 LDO regulators, 10 buck regulators, RTC, three 32.768KHz

[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 a/drivers/rtc/rtc-s5m.c b/drivers/rtc

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

2015-10-26 Thread Alim Akhtar
Signed-off-by: Alim Akhtar Reviewed-by: Krzysztof Kozlowski --- drivers/regulator/Kconfig |4 +- drivers/regulator/s2mps11.c | 135 ++- 2 files changed, 136 insertions(+), 3 deletions(-) diff --git a/drivers/regulator/Kconfig b/drivers/regulator

[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 insertions(+), 2 deletions

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

2015-10-26 Thread Alim Akhtar
not much progress on this, this is my attempt to move things forward. [1]-> https://lkml.org/lkml/2014/10/14/67 This series is based on linux-next-20151022. This is tested on exynos7-espresso board. Alim Akhtar (2): clk: s2mps15: Add support for S2MPS15 clocks drivers/rtc/rtc-s5m.c: add

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

2015-10-26 Thread Alim Akhtar
-by: Thomas Abraham Signed-off-by: Alim Akhtar [Alim: Added s2mps15_devs like rtc and clk and related changes] Reviewed-by: Krzysztof Kozlowski --- drivers/mfd/sec-core.c | 31 +++ drivers/mfd/sec-irq.c |8 ++ include/linux/mfd/samsung/core.h|1

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

2015-10-26 Thread Alim Akhtar
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: devicet...@vger.kernel.org Signed-off-by: Thomas Abraham Signed-off-by: Alim Akhtar Reviewed-by: Krzysztof Kozlowski

Re: [PATCH] mmc: pwrseq: Use highest priority for eMMC restart handler

2015-10-23 Thread Alim Akhtar
On 10/22/2015 09:04 PM, Doug Anderson wrote: Krzysztof, On Wed, Oct 21, 2015 at 6:43 PM, Krzysztof Kozlowski wrote: I think at least one platform may be affected because it used mmc-pwrseq-emmc and gpio-restart. Look at rk3288-veyron.dtsi. Both of restart handlers had the priority of 129 w

Re: [PATCH] mmc: pwrseq: Use highest priority for eMMC restart handler

2015-10-21 Thread Alim Akhtar
MC hw is reset before a system reboot. Signed-off-by: Javier Martinez Canillas Tested-by: Markus Reichl Tested-by: Anand Moon Reviewed-by: Alim Akhtar --- Hello, This patch was needed since a recent series from Alim [0] added syscon reboot and poweroff support to Exynos SoCs and removed the reset

Re: [PATCH v2 0/6] Switch to generic syscon regmap based drivers

2015-10-21 Thread Alim Akhtar
On 10/22/2015 05:47 AM, Krzysztof Kozlowski wrote: On 22.10.2015 00:01, Alim Akhtar wrote: On Wed, Oct 21, 2015 at 8:25 PM, Javier Martinez Canillas wrote: Hello Alim, On 10/21/2015 04:50 PM, Alim Akhtar wrote: [snip] [0]: From c9b250ee03bae338339b70693e906145c719f783 Mon Sep 17 00:00

Re: [PATCH v2 0/6] Switch to generic syscon regmap based drivers

2015-10-21 Thread Alim Akhtar
On Wed, Oct 21, 2015 at 8:25 PM, Javier Martinez Canillas wrote: > Hello Alim, > > On 10/21/2015 04:50 PM, Alim Akhtar wrote: > > [snip] > >>> >>> [0]: >>> From c9b250ee03bae338339b70693e906145c719f783 Mon Sep 17 00:00:00 2001 >>> From: Javi

Re: [PATCH v2 0/6] Switch to generic syscon regmap based drivers

2015-10-21 Thread Alim Akhtar
Hi Javier, On Wed, Oct 21, 2015 at 6:53 PM, Javier Martinez Canillas wrote: > Hello Alim, > > On 10/21/2015 12:44 PM, Alim Akhtar wrote: > > [snip] > >>> >>> Can you please test following patch [0] on top of Alim's series? If that >>> works the

Re: [PATCH v2 0/6] Switch to generic syscon regmap based drivers

2015-10-21 Thread Alim Akhtar
Hi Javier, On Wed, Oct 21, 2015 at 3:46 PM, Javier Martinez Canillas wrote: > Hello Alim, > > On 10/21/2015 08:09 AM, Alim Akhtar wrote: > > [snip] > >>>>>> >>>>>> Hi Alim, >>>>>> >>>>>> I have installed yo

Re: [PATCH v2 0/6] Switch to generic syscon regmap based drivers

2015-10-21 Thread Alim Akhtar
On 10/21/2015 04:12 PM, Markus Reichl wrote: Am 21.10.2015 um 12:16 schrieb Javier Martinez Canillas: Hello Alim, On 10/21/2015 08:09 AM, Alim Akhtar wrote: [snip] Hi Alim, I have installed your patch set above with git am on top of 4.3.0-rc6-00108-gce1fad2 torvalds/linux of today with

Re: [PATCH v2 0/6] Switch to generic syscon regmap based drivers

2015-10-21 Thread Alim Akhtar
Hi Javier, On 10/21/2015 03:46 PM, Javier Martinez Canillas wrote: Hello Alim, On 10/21/2015 08:09 AM, Alim Akhtar wrote: [snip] Hi Alim, I have installed your patch set above with git am on top of 4.3.0-rc6-00108-gce1fad2 torvalds/linux of today with make exynos_defconfig on Odroid U3

Re: [PATCH v2 0/6] Switch to generic syscon regmap based drivers

2015-10-20 Thread Alim Akhtar
On 10/20/2015 10:53 PM, Markus Reichl wrote: Am Dienstag, 20. Oktober 2015, 21:22:05 schrieb Alim Akhtar: On Tue, Oct 20, 2015 at 9:17 PM, Alim Akhtar wrote: Hi Markus, On Tue, Oct 20, 2015 at 8:29 PM, Markus Reichl wrote: Am 20.10.2015 um 11:24 schrieb Alim Akhtar: Now we have a nice

Re: [RFC PATCH] ARM: exynos_defconfig: Increase CONFIG_BLK_DEV_RAM_SIZE to 64K

2015-10-20 Thread Alim Akhtar
Hi Arnd On 10/19/2015 06:52 PM, Arnd Bergmann wrote: On Monday 19 October 2015 16:18:35 Alim Akhtar wrote: Spam Status: CRM114 CONFIG_BLK_DEV_RAM_SIZE is currently set to 8K, which is a bit on the smaller side, lets bump it up to 64K so that a bigger RAM_DISK can be used with defconfig

Re: [PATCH v2 0/6] Switch to generic syscon regmap based drivers

2015-10-20 Thread Alim Akhtar
On Tue, Oct 20, 2015 at 9:17 PM, Alim Akhtar wrote: > Hi Markus, > > On Tue, Oct 20, 2015 at 8:29 PM, Markus Reichl wrote: >> Am 20.10.2015 um 11:24 schrieb Alim Akhtar: >>> Now we have a nice way to reboot/poweroff system using a generic >>> syscon regmap based

Re: [PATCH v2 0/6] Switch to generic syscon regmap based drivers

2015-10-20 Thread Alim Akhtar
Hi Markus, On Tue, Oct 20, 2015 at 8:29 PM, Markus Reichl wrote: > Am 20.10.2015 um 11:24 schrieb Alim Akhtar: >> Now we have a nice way to reboot/poweroff system using a generic >> syscon regmap based drivers, this series moves exynos SoCs to >> make use of the same. &

[PATCH v2 5/6] ARM: exynos: select POWER_RESET_SYSCON and POWER_RESET_SYSCON_POWEROFF

2015-10-20 Thread Alim Akhtar
Since we switch to use generic syscon regmap based reset/poweroff driver for exynos SoC, lets select it from ARCH_EXYNOS instead of enabling it from various defconfigs. This also select POWER_RESET as SYSCON-{reset, poweroff} drivers depends on it. Signed-off-by: Alim Akhtar --- Have run make

[PATCH v2 6/6] ARM: EXYNOS: Remove code for restart and poweroff for exynos SoCs

2015-10-20 Thread Alim Akhtar
Now we can use the generic syscon-{reboot/poweroff} drivers, so we don't need special handling for reboot/poweroff in exynos pmu driver. This patch remove the same. Note: This will break reboot/poweroff on boards with older dtbs with a newer kernel. Signed-off-by: Alim Akhtar Review

[PATCH v2 3/6] arm: dts: Add syscon-{reboot, poweroff} nodes for exynos5

2015-10-20 Thread Alim Akhtar
This patch adds syscon-{reboot, poweroff} nodes to allow the generic syscon-{reboot, poweroff} driver to reset/poweroff exynos5 SoCs. Signed-off-by: Alim Akhtar Reviewed-by: Pankaj Dubey Reviewed-by: Javier Martinez Canillas Acked-by: Moritz Fischer --- arch/arm/boot/dts/exynos5.dtsi | 14

[PATCH v2 1/6] arm: dts: Add syscon-{reboot, poweroff} nodes for exynos3250 SoCs

2015-10-20 Thread Alim Akhtar
This patch adds syscon-{reboot, poweroff} nodes to allow the generic syscon-{reboot, poweroff} driver to reset/poweroff exynos3250 SoC. Signed-off-by: Alim Akhtar Reviewed-by: Pankaj Dubey Reviewed-by: Javier Martinez Canillas Acked-by: Moritz Fischer --- arch/arm/boot/dts/exynos3250.dtsi

[PATCH v2 4/6] arm: dts: Add syscon-{reboot, poweroff} nodes for exynos5410 SoC

2015-10-20 Thread Alim Akhtar
This patch adds syscon-{reboot, poweroff} nodes to allow the generic syscon-{reboot, poweroff} driver to reset/poweroff exynos5410 SoC. Signed-off-by: Alim Akhtar Reviewed-by: Pankaj Dubey Reviewed-by: Javier Martinez Canillas Acked-by: Moritz Fischer --- arch/arm/boot/dts/exynos5410.dtsi

[PATCH v2 0/6] Switch to generic syscon regmap based drivers

2015-10-20 Thread Alim Akhtar
-by and Acked-by tags * Added SYSCON-{RESET, POWEROFF} to select from Kconfig Alim Akhtar (6): arm: dts: Add syscon-{reboot, poweroff} nodes for exynos3250 SoCs arm: dts: Add syscon-{reboot, poweroff} nodes for exynos4 arm: dts: Add syscon-{reboot, poweroff} nodes for exynos5 arm: dts: Add

[PATCH v2 2/6] arm: dts: Add syscon-{reboot, poweroff} nodes for exynos4

2015-10-20 Thread Alim Akhtar
This patch adds syscon-{reboot, poweroff} nodes to allow the generic syscon-{reboot, poweroff} driver to reset/poweroff exynos4 SoC. Signed-off-by: Alim Akhtar Reviewed-by: Pankaj Dubey Reviewed-by: Javier Martinez Canillas Tested-by: Tobias Jakobi Acked-by: Moritz Fischer --- arch/arm/boot

Re: [PATCH 1/7] arm: dts: Add syscon-{reboot, poweroff} nodes for exynos3250 SoCs

2015-10-20 Thread Alim Akhtar
Hi Javier, On 10/19/2015 06:33 PM, Javier Martinez Canillas wrote: Hello Alim, On 10/19/2015 08:03 AM, Alim Akhtar wrote: This patch adds syscon-{reboot, poweroff} nodes to allow the generic syscon-{reboot, poweroff} driver to reset/poweroff exynos3250 SoC. Signed-off-by: Alim Akhtar

Re: [PATCH 0/7] Switch to generic syscon regmap based drivers

2015-10-20 Thread Alim Akhtar
Hi Moritz, On 10/20/2015 02:48 AM, Moritz Fischer wrote: On Sun, Oct 18, 2015 at 11:03 PM, Alim Akhtar wrote: Alim Akhtar (7): arm: dts: Add syscon-{reboot, poweroff} nodes for exynos3250 SoCs arm: dts: Add syscon-{reboot, poweroff} nodes for exynos4 arm: dts: Add syscon-{reboot

Re: [PATCH 0/7] Switch to generic syscon regmap based drivers

2015-10-19 Thread Alim Akhtar
gt; Tobias > > > Alim Akhtar wrote: >> Alim Akhtar (7): >> arm: dts: Add syscon-{reboot, poweroff} nodes for exynos3250 SoCs >> arm: dts: Add syscon-{reboot, poweroff} nodes for exynos4 >> arm: dts: Add syscon-{reboot, poweroff} nodes for exynos5 >> arm:

  1   2   3   >