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

2015-10-27 Thread Krzysztof Kozlowski
rger. This patch adds initial support for > LDO and buck regulators of S2MPS15 device. > > Signed-off-by: Thomas Abraham <thomas...@samsung.com> > Signed-off-by: Alim Akhtar <alim.akh...@samsung.com> > [Alim: Added s2mps15_devs like rtc and clk and related chang

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

2015-10-27 Thread Krzysztof Kozlowski
On 26.10.2015 21:51, Alim Akhtar wrote: > 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

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

2015-10-27 Thread Krzysztof Kozlowski
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 +++-- > drivers/clk/clk-s2mps11.c

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

2015-10-27 Thread Krzysztof Kozlowski
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 <alim.akh...@samsu

Re: [PATCH 0/3] ARM: dts: Enable Exynos RNG module

2015-10-29 Thread Krzysztof Kozlowski
On 25.10.2015 08:58, Tobias Jakobi wrote: > Hello Krzysztof, > > > Krzysztof Kozlowski wrote: >> On 20.10.2015 01:11, Tobias Jakobi wrote: >>> Hello Krzysztof, >>> >>> I can confirm that this also works on a Odroid-X2, so I guess it's safe >>&

Re: [PATCH v4 05/24] misc: max77693-haptic: use pwm_get_xxx() helpers where appropriate

2015-11-16 Thread Krzysztof Kozlowski
= (pwm_get_period((haptic->pwm_dev)) + haptic->pwm_duty) / 2; Double parentheses over argument are not needed so just: pwm_get_period(haptic->pwm_dev) + ... Beside that patch looks good, so with removing parentheses here and below: Reviewed-by: Krzysztof Kozlowski

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

2015-11-16 Thread Krzysztof Kozlowski
On 17.11.2015 13:31, pankaj.dubey wrote: > > > On Monday 16 November 2015 07:06 AM, Krzysztof Kozlowski wrote: >> Currently the Exynos5433 (ARMv8 SoC) clock driver depends on ARCH_EXYNOS >> so it is built also on ARMv7. This does not bring any kind of benefit. >> The

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

2015-11-15 Thread Krzysztof Kozlowski
architecture. Signed-off-by: Krzysztof Kozlowski <k.kozlow...@samsung.com> --- drivers/clk/samsung/Kconfig | 13 + drivers/clk/samsung/Makefile | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/drivers/clk/samsung/Kconfig b/drivers/clk/samsung/Kconfig index 84196e

[PATCH 3/3] ARM: dts: Enable PRNG module on exynos4412-trats2

2015-10-18 Thread Krzysztof Kozlowski
Enable Pseudo Random Number Generator (PRNG) on Trats2 board. This allows using hardware random number generator: $ echo exynos > /sys/class/misc/hw_random/rng_current Signed-off-by: Krzysztof Kozlowski <k.kozlow...@samsung.com> --- arch/arm/boot/dts/exynos4412-trats2.dts | 4 +++

[PATCH 0/3] ARM: dts: Enable Exynos RNG module

2015-10-18 Thread Krzysztof Kozlowski
tof Krzysztof Kozlowski (3): clk: samsung: exynos4: Add SSS gate clock ARM: dts: Add PRNG module for exynos4 ARM: dts: Enable PRNG module on exynos4412-trats2 arch/arm/boot/dts/exynos4.dtsi | 8 arch/arm/boot/dts/exynos4412-trats2.dts | 4 drivers/clk/samsung/clk-exynos

[PATCH 1/3] clk: samsung: exynos4: Add SSS gate clock

2015-10-18 Thread Krzysztof Kozlowski
Add a gate clock for controlling all clocks of Security Sub System (SSS). Signed-off-by: Krzysztof Kozlowski <k.kozlow...@samsung.com> --- drivers/clk/samsung/clk-exynos4.c | 1 + include/dt-bindings/clock/exynos4.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/clk/samsu

Re: [PATCH] clk: Allow drivers to build if COMPILE_TEST is enabled

2015-10-15 Thread Krzysztof Kozlowski
On 15.10.2015 16:11, Javier Martinez Canillas wrote: > Hello Krzysztof, >>> >>> No, I only build tested on arm32 and x86. The 0-day bot haven't reported a >>> build error yet and I didn't see any platform dependent code in the drivers. >> >> I see you guys with Luis are adding a lot of

Re: [PATCH v2 1/2] clk: samsung: exynos5250: Add DISP1 clocks

2015-10-15 Thread Krzysztof Kozlowski
disp > > drivers/clk/samsung/clk-exynos5250.c | 14 +- > include/dt-bindings/clock/exynos5250.h | 4 +++- > 2 files changed, 16 insertions(+), 2 deletions(-) > Reviewed-by: Krzysztof Kozlowski <k.kozlow...@samsung.com> Best regards, Krzysztof -- To un

Re: [PATCH 0/3] ARM: dts: Enable Exynos RNG module

2015-10-19 Thread Krzysztof Kozlowski
; > Any chance that you might also take a look at the other hwcrypto stuff > on the SoC ('samsung,exynos4210-secss' compatible)? What do you mean? The s5p-sss driver already supports Device Tree. Best regards, Krzysztof > > With best wishes, > Tobias > > > Krzysztof Kozlow

Re: [PATCH 09/10] dt-bindings: video: exynos5433-decon: add bindings for DECON-TV

2015-10-20 Thread Krzysztof Kozlowski
2015-10-20 21:53 GMT+09:00 Andrzej Hajda <a.ha...@samsung.com>: > On 10/20/2015 02:30 PM, Krzysztof Kozlowski wrote: >> W dniu 20.10.2015 o 18:22, Andrzej Hajda pisze: >>> DECON-TV(Display and Enhancement Controller for TV) is a variation >>> of DECON IP. Its

Re: [PATCH 04/10] dt-bindings: video: add PCLK clock entry to exynos5433-decon

2015-10-20 Thread Krzysztof Kozlowski
W dniu 20.10.2015 o 18:22, Andrzej Hajda pisze: > DECON IP requires this clock to access configuration registers. > > Signed-off-by: Andrzej Hajda > --- > Documentation/devicetree/bindings/video/exynos5433-decon.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >

Re: [PATCH 09/10] dt-bindings: video: exynos5433-decon: add bindings for DECON-TV

2015-10-20 Thread Krzysztof Kozlowski
W dniu 20.10.2015 o 18:22, Andrzej Hajda pisze: > DECON-TV(Display and Enhancement Controller for TV) is a variation > of DECON IP. Its main purpose is to produce video stream for HDMI IP. > > Signed-off-by: Andrzej Hajda > --- >

Re: [PATCH 04/10] dt-bindings: video: add PCLK clock entry to exynos5433-decon

2015-10-20 Thread Krzysztof Kozlowski
2015-10-20 21:41 GMT+09:00 Andrzej Hajda <a.ha...@samsung.com>: > On 10/20/2015 02:24 PM, Krzysztof Kozlowski wrote: >> W dniu 20.10.2015 o 18:22, Andrzej Hajda pisze: >>> DECON IP requires this clock to access configuration registers. >>> >>> Signed-

Re: [PATCH v2 1/2] clk: samsung: exynos5250: Add DISP1 clocks

2015-10-17 Thread Krzysztof Kozlowski
2015-10-17 8:41 GMT+09:00 Kukjin Kim <kg...@kernel.org>: > On 10/17/15 03:56, Tomeu Vizoso wrote: >> On 16 October 2015 at 19:26, Stephen Boyd <sb...@codeaurora.org> wrote: >>> On 10/16, Michael Turquette wrote: >>>> Quoting Krzysztof Kozlowski (2015

Re: [PATCH v1 1/2] clk: samsung: exynos5250: Add DISP1 clocks

2015-10-14 Thread Krzysztof Kozlowski
On 14.10.2015 19:44, Tomeu Vizoso wrote: > When the DISP1 power domain is powered off, there's two clocks that need > to be temporarily reparented to OSC, and back to their original parents > when the domain is powered on again. > > We expose these two clocks in the DT bindings so that the DT

Re: [PATCH] clk: Allow drivers to build if COMPILE_TEST is enabled

2015-10-14 Thread Krzysztof Kozlowski
2015-10-15 4:08 GMT+09:00 Javier Martinez Canillas : > Hello Stephen, > > On 10/14/2015 08:38 PM, Stephen Boyd wrote: >> On 10/13, Javier Martinez Canillas wrote: >>> diff --git a/drivers/clk/versatile/Kconfig b/drivers/clk/versatile/Kconfig >>> index

Re: [PATCH v2 02/12] clk: samsung: exynos7: Adds missing clocks gates of CMU_TOPC

2015-09-15 Thread Krzysztof Kozlowski
ock/exynos7-clk.h | 13 - > 2 files changed, 39 insertions(+), 1 deletion(-) Reviewed-by: Krzysztof Kozlowski <k.kozlow...@samsung.com> Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-clk" in the body of a message to ma

Re: [PATCH 05/11] clk: samsung: exynos7: Corrects CMU_PERIC0 clocks names

2015-09-09 Thread Krzysztof Kozlowski
k-exynos7.c | 12 > include/dt-bindings/clock/exynos7-clk.h |3 ++- > 2 files changed, 10 insertions(+), 5 deletions(-) > Reviewed-by: Krzysztof Kozlowski <k.kozlow...@samsung.com> Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe l

Re: [PATCH 09/11] clk: samsung: exynos7: Corrects CMU_FSYS1 clocks names

2015-09-09 Thread Krzysztof Kozlowski
k-exynos7.c | 16 ++-- > include/dt-bindings/clock/exynos7-clk.h |3 ++- > 2 files changed, 12 insertions(+), 7 deletions(-) Reviewed-by: Krzysztof Kozlowski <k.kozlow...@samsung.com> Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linu

Re: [PATCH 08/11] clk: samsung: exynos7: Corrects CMU_FSYS0 clocks names

2015-09-09 Thread Krzysztof Kozlowski
k-exynos7.c | 24 ++-- > include/dt-bindings/clock/exynos7-clk.h |3 ++- > 2 files changed, 16 insertions(+), 11 deletions(-) > Reviewed-by: Krzysztof Kozlowski <k.kozlow...@samsung.com> Best regards, Krzysztof -- To unsubscribe from this list: send the line "uns

Re: [PATCH 06/11] clk: samsung: exynos7: Corrects CMU_PERIC1 clocks names

2015-09-09 Thread Krzysztof Kozlowski
k-exynos7.c | 38 > --- > include/dt-bindings/clock/exynos7-clk.h |3 ++- > 2 files changed, 22 insertions(+), 19 deletions(-) Reviewed-by: Krzysztof Kozlowski <k.kozlow...@samsung.com> Best regards, Krzysztof -- To unsubscribe from this list: send the l

Re: [PATCH 02/12] clk: samsung: exynos5420: add cpu clock configuration data and instantiate cpu clock

2015-12-02 Thread Krzysztof Kozlowski
On 03.12.2015 06:19, Ben Gamari wrote: > From: Thomas Abraham > > With the addition of the new Samsung specific cpu-clock type, the > arm clock can be represented as a cpu-clock type. Add the CPU clock > configuration data and instantiate the CPU clock type for Exynos5420.

Re: [PATCH 3/3] dt-bindings: regulator/mfd: Reorganize S2MPA01 bindings

2015-12-06 Thread Krzysztof Kozlowski
On 04.12.2015 21:11, Mark Brown wrote: > On Fri, Dec 04, 2015 at 10:10:05AM +0900, Krzysztof Kozlowski wrote: >> The mfd/s2mpa01.txt duplicates some of the information about bindings >> with old mfd/s2mps11.txt. Now common part exists entirely in >> mfd/samsung,sec-core.txt so

Re: [PATCH 3/3] dt-bindings: regulator/mfd: Reorganize S2MPA01 bindings

2015-12-06 Thread Krzysztof Kozlowski
On 05.12.2015 00:55, Rob Herring wrote: > On Fri, Dec 04, 2015 at 10:10:05AM +0900, Krzysztof Kozlowski wrote: >> The mfd/s2mpa01.txt duplicates some of the information about bindings >> with old mfd/s2mps11.txt. Now common part exists entirely in >> mfd/samsung,sec-core.txt

Re: [PATCH 1/2] clk: samsung: exynos5422: add missing parent GSCL block clocks

2015-12-09 Thread Krzysztof Kozlowski
W dniu 09.12.2015 o 19:14, Sylwester Nawrocki pisze: > Adding Stephen and linux-clk at Cc. > > On 09/12/15 05:49, Krzysztof Kozlowski wrote: >> On 08.12.2015 22:46, Marek Szyprowski wrote: >>>> This patch adds clocks, which are required for preserving parent clock >&

[PATCH 3/3] dt-bindings: regulator/mfd: Reorganize S2MPA01 bindings

2015-12-03 Thread Krzysztof Kozlowski
style of regulator/samsung,s2mps11.txt. Signed-off-by: Krzysztof Kozlowski <k.kozlow...@samsung.com> --- Documentation/devicetree/bindings/mfd/s2mpa01.txt | 90 -- .../devicetree/bindings/mfd/samsung,sec-core.txt | 4 +- .../bindings/regulator/samsung,s2mpa

[PATCH 1/3] dt-bindings: regulator/clock/mfd: Reorganize S2MPS-family bindings

2015-12-03 Thread Krzysztof Kozlowski
-by: Krzysztof Kozlowski <k.kozlow...@samsung.com> --- .../devicetree/bindings/clock/samsung,s2mps11.txt | 49 +++ Documentation/devicetree/bindings/mfd/s2mps11.txt | 153 - .../devicetree/bindings/mfd/samsung,sec-core.txt | 84 +++ .../bindings/regulator/s

[PATCH 0/3] dt-bindings: regulator/clock/mfd: Reorganize S2M/S5M bindings

2015-12-03 Thread Krzysztof Kozlowski
be probably pulled at once (later patches depend on previous). With respective acks maybe through MFD tree? Best regards, Krzysztof Krzysztof Kozlowski (3): dt-bindings: regulator/clock/mfd: Reorganize S2MPS-family bindings dt-bindings: regulator/mfd: Reorganize S5M8767 bindings dt-bindings

Re: [PATCH 02/12] clk: samsung: exynos5420: add cpu clock configuration data and instantiate cpu clock

2015-12-03 Thread Krzysztof Kozlowski
On 03.12.2015 19:30, Ben Gamari wrote: > Krzysztof Kozlowski <k.kozlow...@samsung.com> writes: > >> On 03.12.2015 06:19, Ben Gamari wrote: >>> From: Thomas Abraham <thomas...@samsung.com> >>> >>> With the addition of the new Samsung specific c

[PATCH v2 3/3] dt-bindings: regulator/mfd: Reorganize S2MPA01 bindings

2015-12-27 Thread Krzysztof Kozlowski
style of regulator/samsung,s2mps11.txt. Signed-off-by: Krzysztof Kozlowski <k.kozlow...@samsung.com> Acked-by: Mark Brown <broo...@kernel.org> Acked-by: Rob Herring <r...@kernel.org> Acked-by: Lee Jones <lee.jo...@linaro.org> --- Changes since v1: 1. Added accumulat

[PATCH v2 0/3] dt-bindings: regulator/clock/mfd: Reorganize S2M/S5M bindings

2015-12-27 Thread Krzysztof Kozlowski
in the files. The bindings itself were not modified. Rebased on next-20151223. Changes since v1: 1. Added accumulated acks. 2. Use -M20% so renames will be more visible (formatting is changed so default -M50% does not consider it as renames). Best regards, Krzysztof Krzysztof Kozlowski (3): dt

[PATCH v2 1/3] dt-bindings: regulator/clock/mfd: Reorganize S2MPS-family bindings

2015-12-27 Thread Krzysztof Kozlowski
-by: Krzysztof Kozlowski <k.kozlow...@samsung.com> Acked-by: Mark Brown <broo...@kernel.org> Acked-by: Rob Herring <r...@kernel.org> Acked-by: Lee Jones <lee.jo...@linaro.org> Acked-by: Michael Turquette <mturque...@baylibre.com> --- Changes since v1: 1. Added accumulated

Re: [GIT PULL 6/9] ARM: EXYNOS: clk: Another clock dependency, ARMv7, for v4.5

2015-12-23 Thread Krzysztof Kozlowski
W dniu 22.12.2015 o 13:51, Olof Johansson pisze: > On Wed, Dec 02, 2015 at 10:39:43AM +0900, Krzysztof Kozlowski wrote: >> Hi Kukjin, >> >> This is also clock dependency. I put it in separate tag in case clock >> folks want to pull it also. >> >> Best regar

Re: [PATCH v3] clk: s3c2410: removed unneeded variable in s3c24xx_clkout_set_parent

2015-11-30 Thread Krzysztof Kozlowski
2015-11-30 19:08 GMT+09:00 Mutharaju, Prasanna (P.) <mkart...@visteon.com>: > From: Prasanna Karthik <mkart...@visteon.com> > > Remove unneeded variable used to store return value. > > Signed-off-by: Prasanna Karthik <mkart...@visteon.com> Thanks, Reviewed-

Re: [PATCH] CLK: s3c2410: removed unneeded code in s3c24xx_clkout_set_parent

2015-11-29 Thread Krzysztof Kozlowski
ct should be lowercase 'clk:' and you are removing rather a variable, not code. The patch looks good, so with these changes: Reviewed-by: Krzysztof Kozlowski <k.kozlow...@samsung.com> Best regards, Krzysztof > --- > drivers/clk/samsung/clk-s3c2410-dclk.c | 3 +-- > 1 file changed

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

2015-11-18 Thread Krzysztof Kozlowski
On 19.11.2015 13:23, Tomasz Figa wrote: > Hi Krzysztof, > > 2015-11-16 10:36 GMT+09:00 Krzysztof Kozlowski <k.kozlow...@samsung.com>: >> The ARMv8 Exynos family SoCs in Linux kernel are currently: >> - Exynos5433 (controlled by ARCH_EXYNOS), >> - Ex

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

2015-11-19 Thread Krzysztof Kozlowski
W dniu 19.11.2015 o 18:16, Tomasz Figa pisze: > 2015-11-19 13:51 GMT+09:00 Krzysztof Kozlowski <k.kozlow...@samsung.com>: >> On 19.11.2015 13:18, Tomasz Figa wrote: >>> However, I don't think we can disable compilation of particular 64-bit >>> SoCs, so maybe th

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

2015-11-19 Thread Krzysztof Kozlowski
architecture. Signed-off-by: Krzysztof Kozlowski <k.kozlow...@samsung.com> Reviewed-by: Chanwoo Choi <cw00.c...@samsung.com> Acked-by: Sylwester Nawrocki <s.nawro...@samsung.com> Tested-by: Alim Akhtar <alim.akh...@samsung.com> Acked-by: Tomasz Figa <tomasz.f...@gmail.com> ---

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

2015-11-19 Thread Krzysztof Kozlowski
. The commit should not bring any visible functional change. Signed-off-by: Krzysztof Kozlowski <k.kozlow...@samsung.com> Reviewed-by: Chanwoo Choi <cw00.c...@samsung.com> Reviewed-by: Pankaj Dubey <pankaj.du...@samsung.com> Tested-by: Alim Akhtar <alim.akh...@samsung.com> Reviewed-b

[PATCH v2 0/2] arm64: EXYNOS: Consolidate Exynos7 symbol

2015-11-19 Thread Krzysztof Kozlowski
acks from Samsung clock folks so everything can go through Samsung-soc or ARM64 tree. Best regards, Krzysztof [1] https://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg48090.html Krzysztof Kozlowski (2): clk: samsung: Don't build ARMv8 clock drivers on ARMv7 arm64: EXYNOS