On sob, 2014-05-03 at 15:11 +0900, Pankaj Dubey wrote:
diff --git a/drivers/misc/Makefile b/drivers/misc/Makefile
index 7eb4b69..48c8fb5 100644
--- a/drivers/misc/Makefile
+++ b/drivers/misc/Makefile
@@ -55,3 +55,4 @@ obj-$(CONFIG_SRAM) += sram.o
obj-y
.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
---
arch/arm/mach-exynos/hotplug.c | 28 +---
arch/arm/mach-exynos/regs-pmu.h | 2 ++
2 files changed, 27 insertions(+), 3 deletions(-)
diff --git a/arch/arm/mach-exynos/hotplug.c b/arch/arm/mach-exynos/hotplug.c
Commit b3205dea8fbf (ARM: EXYNOS: Map SYSRAM through generic DT
bindings) introduced local variable boot_reg where boot address from
cpu_boot_reg() call is stored. Re-use it instead calling cpu_boot_reg()
again.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
---
arch/arm/mach-exynos
mode.
When booting the secondary CPU on Exynos3250 execute also software
reset for core 1.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
---
arch/arm/mach-exynos/platsmp.c | 22 ++
arch/arm/mach-exynos/regs-pmu.h | 3 +++
2 files changed, 25 insertions(+)
diff
This patch adds support for S2MPS14 PMIC clocks (BT and AP) to the
s2mps11 clock driver.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: Kyungmin Park kyungmin.p...@samsung.com
Reviewed-by: Yadwinder Singh Brar yadi.b...@samsung.com
Reviewed-by: Tomasz Figa t.f...@samsung.com
Acked
: Update driver description in Kconfig.
2. Patch 2/3: Add of_compatible to all MFD cells.
3. Add Yadwinder's Review-by.
Best regards,
Krzysztof
Krzysztof Kozlowski (3):
clk: s2mps11: Add missing of_node_put and of_clk_del_provider
clk: s2mps11: Remove useless check for clk_table
clk: s2mps11
There is no need for checking if 'clk_table' is not NULL twice (first
after allocation and second at the end of probe()). Also move allocation
of this 'clk_table' to probe from s2mps11_clk_parse_dt as this is
logical place for it.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Add of_clk_del_provider to remove previously registered clock provider.
Add of_node_put to decrement the ref count of clock nodes.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
---
drivers/clk/clk-s2mps11.c | 16 +++-
1 file changed, 11 insertions(+), 5 deletions
Array of struct of_device_id may be be const as expected by
of_match_table field and of_find_matching_node_and_match() function.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
---
drivers/clk/samsung/clk-exynos4.c| 2 +-
drivers/clk/samsung/clk-exynos5250.c | 2 +-
drivers/clk
not change as this patch only
prepares for supporting S2MPA01 device.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
---
drivers/regulator/s2mps11.c | 210 ++--
1 file changed, 144 insertions(+), 66 deletions(-)
diff --git a/drivers/regulator
The s2mpa01 regulator driver can be safely removed since it was merged
into s2mps11 driver.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
---
Documentation/devicetree/bindings/mfd/s2mpa01.txt | 90
drivers/regulator/Kconfig | 7 -
drivers/regulator
Add S2MPA01 support to the s2mps11 regulator driver. This obsoletes the
s2mpa01 regulator driver.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
---
Documentation/devicetree/bindings/mfd/s2mps11.txt | 106
drivers/regulator/Kconfig | 4 +-
drivers
On wto, 2014-05-27 at 11:56 +0530, Yadwinder Singh Brar wrote:
Hi Krzysztof,
On Mon, May 26, 2014 at 6:50 PM, Krzysztof Kozlowski
k.kozlow...@samsung.com wrote:
Prepare for merging the s2mpa01 regulator driver into s2mps11 by:
1. Adding common id for buck regulators.
2. Splitting
On wto, 2014-05-27 at 12:00 +0530, Yadwinder Singh Brar wrote:
On Mon, May 26, 2014 at 6:50 PM, Krzysztof Kozlowski
k.kozlow...@samsung.com wrote:
Add S2MPA01 support to the s2mps11 regulator driver. This obsoletes the
s2mpa01 regulator driver.
Signed-off-by: Krzysztof Kozlowski k.kozlow
The config enables already Samsung's PMIC-s MFD driver and regulators
(S2MPS11 and S5M8767). Enable also drivers for rest of these PMIC-s
features: clock and RTC.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
---
arch/arm/configs/multi_v7_defconfig | 2 ++
1 file changed, 2
The config enables already Samsung's PMIC-s MFD driver and regulators
(S2MPS11 and S5M8767). Enable also drivers for rest of these PMIC-s
features: clock and RTC.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
---
arch/arm/configs/exynos_defconfig | 2 ++
1 file changed, 2 insertions
On czw, 2014-05-15 at 13:18 +0200, Krzysztof Kozlowski wrote:
Without software reset the secondary CPU does not power up and
exynos_boot_secondary() ends with pen_release equal to 1. This can be
observed in dmesg:
CPU1: failed to come online
Brought up 1 CPUs
SMP: Total
On wto, 2014-05-13 at 16:12 +0200, Krzysztof Kozlowski wrote:
On Exynos4212 USE_DELAYED_RESET_ASSERTION must be set in
ARM_CORE1_OPTION register during CPU power down. This is the proper way
of powering down CPU. Additionally without this the CPU clock down won't
work after powering down CPU1
On pią, 2014-05-30 at 13:50 +0200, Tomasz Figa wrote:
Hi Krzysztof,
On 13.05.2014 16:12, Krzysztof Kozlowski wrote:
On Exynos4212 USE_DELAYED_RESET_ASSERTION must be set in
ARM_CORE1_OPTION register during CPU power down. This is the proper way
of powering down CPU. Additionally without
On pią, 2014-05-30 at 14:56 +0200, Tomasz Figa wrote:
On 30.05.2014 14:46, Krzysztof Kozlowski wrote:
On pią, 2014-05-30 at 13:50 +0200, Tomasz Figa wrote:
Hi Krzysztof,
On 13.05.2014 16:12, Krzysztof Kozlowski wrote:
On Exynos4212 USE_DELAYED_RESET_ASSERTION must be set
by CPUfreq governor.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
---
Changes since v1:
1. Use delayed reset assertion on all Exynos4 family and all cores, not
only on core 1 of Exynos4212.
2. Rebase on Tomasz Figa's patch:
ARM: EXYNOS: Fix core ID used by platsmp and hotplug code
mode.
When booting the secondary CPU on Exynos3250 execute also software
reset for core 1.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Reviewed-by: Tomasz Figa t.f...@samsung.com
---
Changes since v1:
1. Removed inline keyword and change if statement to early return as
Tomasz
On pon, 2014-06-09 at 11:37 +0200, Javier Martinez Canillas wrote:
MAX77802 is a PMIC that contains 10 high efficiency Buck regulators,
32 Low-dropout (LDO) regulators, two 32kHz buffered clock outputs,
a Real-Time-Clock (RTC) and a I2C interface to program the individual
regulators, clocks
On pon, 2014-06-09 at 11:37 +0200, Javier Martinez Canillas wrote:
Maxim MAX77802 is a power management chip that contains 10 high
efficiency Buck regulators, 32 Low-dropout (LDO) regulators used
to power up application processors and peripherals, a 2-channel
32kHz clock outputs, a
On pon, 2014-06-09 at 09:04 -0700, Doug Anderson wrote:
Krzystof,
On Mon, Jun 9, 2014 at 3:16 AM, Krzysztof Kozlowski
k.kozlow...@samsung.com wrote:
On pon, 2014-06-09 at 11:37 +0200, Javier Martinez Canillas wrote:
MAX77802 is a PMIC that contains 10 high efficiency Buck regulators,
32
On wto, 2014-06-10 at 00:55 +0200, Javier Martinez Canillas wrote:
Hello Krzystof,
Thanks a lot for your feedback.
On 06/09/2014 06:04 PM, Doug Anderson wrote:
Krzystof,
On Mon, Jun 9, 2014 at 3:16 AM, Krzysztof Kozlowski
k.kozlow...@samsung.com wrote:
On pon, 2014-06-09 at 11:37
On pią, 2014-04-04 at 11:48 +0200, Daniel Lezcano wrote:
The following driver is for exynos4210. I did not yet finished the other
boards, so
I created a specific driver for 4210 which could be merged later.
The driver is based on Colin Cross's driver found at:
On sob, 2014-06-14 at 00:43 +0200, Daniel Lezcano wrote:
On 06/11/2014 10:50 AM, Krzysztof Kozlowski wrote:
(...)
Hi,
Shouldn't the exynos_idle_barrier be initialized here?
As it is a static data it will be initialized to zero.
I know you sent the patch almost 2 months ago but I
On czw, 2014-06-19 at 20:20 +0200, Javier Martinez Canillas wrote:
From: Doug Anderson diand...@chromium.org
The max77686 includes an RTC that keeps power during suspend. It's
convenient to be able to use it as a wakeup source.
Signed-off-by: Doug Anderson diand...@chromium.org
---
...@collabora.co.uk
---
drivers/clk/clk-max77686.c | 7 +--
include/dt-bindings/clock/maxim,max77686.h | 23 +++
2 files changed, 24 insertions(+), 6 deletions(-)
create mode 100644 include/dt-bindings/clock/maxim,max77686.h
Reviewed-by: Krzysztof Kozlowski
...@collabora.co.uk
---
.../devicetree/bindings/clock/maxim,max77686.txt | 15
++-
1 file changed, 10 insertions(+), 5 deletions(-)
Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Best regards,
Krzysztof
diff --git a/Documentation/devicetree/bindings/clock/maxim
On czw, 2014-06-19 at 20:20 +0200, Javier Martinez Canillas wrote:
Maxim Integrated Power Management ICs are very similar with
regard to their clock outputs. Most of the clock drivers for
these chips are duplicating code and are simpler enough that
can be converted to use a generic driver to
-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk
---
drivers/clk/Kconfig| 1 +
drivers/clk/clk-max77686.c | 176
+++--
2 files changed, 9 insertions(+), 168 deletions(-)
Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com
to consolidate code
and avoid duplication.
Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk
---
Changes since v3:
- Add current copyright information. Suggested by Krzysztof Kozlowski
- Do a single allocation for struct max_gen_clk. Suggested by Krzysztof
Kozlowski
that this patch needs another change due wakeup
ordering problems.
drivers/rtc/rtc-max77686.c | 28
1 file changed, 28 insertions(+)
Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Best regards,
Krzysztof
diff --git a/drivers/rtc/rtc-max77686.c b/drivers
Hi,
Just a few nit-picks below but overall everything looks fine:
Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com
On śro, 2014-06-25 at 21:03 +0200, Javier Martinez Canillas wrote:
Maxim MAX77802 is a power management chip that contains 10 high
efficiency Buck regulators, 32 Low
On śro, 2014-06-25 at 21:03 +0200, Javier Martinez Canillas wrote:
The MAX77802 PMIC has 10 high-efficiency Buck and 32 Low-dropout
(LDO) regulators. This patch adds support for all these regulators
found on the MAX77802 PMIC and is based on a driver added by Simon
Glass to the Chrome OS
100644 include/dt-bindings/clock/maxim,max77802.h
Reviewed-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Best regards,
Krzysztof
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig
index 3fd4270..221260b 100644
--- a/drivers/clk/Kconfig
+++ b/drivers/clk/Kconfig
@@ -42,6 +42,13
Commit b3205dea8fbf (ARM: EXYNOS: Map SYSRAM through generic DT
bindings) introduced local variable boot_reg where boot address from
cpu_boot_reg() call is stored. Re-use it instead calling cpu_boot_reg()
again.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
---
arch/arm/mach-exynos
Array of struct of_device_id may be be const as expected by
of_match_table field and of_find_matching_node_and_match() function.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
---
drivers/clk/samsung/clk-exynos4.c| 2 +-
drivers/clk/samsung/clk-exynos5250.c | 2 +-
drivers/clk
The config enables already Samsung's PMIC-s MFD and regulator (S2MPS11
and S5M8767) drivers. Enable also drivers for the rest of these PMIC-s
features: clock and RTC.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
---
arch/arm/configs/multi_v7_defconfig | 2 ++
1 file changed, 2
The config enables already Samsung's PMIC-s MFD and regulator (S2MPS11
and S5M8767) drivers. Enable also drivers for the rest of these PMIC-s
features: clock and RTC.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
---
arch/arm/configs/exynos_defconfig | 2 ++
1 file changed, 2
pm_runtime_put() wasn't called if clock rate could not be set up in
s3c64xx_spi_setup() leading to invalid count of device pm_runtime usage.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
---
drivers/spi/spi-s3c64xx.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/spi
Mark device as PM runtime active during initialization to reflect
actual device power/clocks state. This reduces the enable count for SPI
bus controller gate clock so it can be disabled when the bus controller
is not used.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Signed-off
sleep for the time of s3c64xx_spi_hwinit().
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
---
drivers/spi/spi-s3c64xx.c | 15 +++
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/drivers/spi/spi-s3c64xx.c
On Mon, 2013-10-21 at 11:42 +0200, Sylwester Nawrocki wrote:
pm_runtime_{get,put}* must not be called from drivers's system suspend/resume
callbacks. Please use pm_runtime_suspended() to check device runtime PM status
in s3c64xx_spi_{suspend,resume} callbacks and handle the clocks
During PM resume and suspend do not ignore the return value of
spi_master_suspend() or spi_master_resume(). Instead pass it further.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
---
drivers/spi/spi-s3c64xx.c |8
1
,
- max77693_update_reg() reorder val and mask.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com
---
drivers/extcon/extcon-max77693.c | 14 +++---
drivers/mfd/max77693-irq.c |2 +-
drivers/mfd/max77693.c
Move reg_save[] into CONFIG_PM_SLEEP dependency block as it is used only
by suspend and resume functions.
This fixes the warning on CONFIG_PM_SLEEP=n:
drivers/clk/samsung/clk-exynos-audss.c:29:22: warning: ‘reg_save’ defined but
not used [-Wunused-variable]
Signed-off-by: Krzysztof Kozlowski
warnings being treated as errors
make[1]: *** [arch/arm/mach-exynos/cpuidle.o] Error 1
Build error happens on gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
and was introduced by commit 35baa3369d1c (ARM: EXYNOS: convert cpuidle
driver to be a platform driver).
Signed-off-by: Krzysztof Kozlowski
to platform driver).
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: Lukasz Majewski l.majew...@samsung.com
Cc: Tomasz Figa t.f...@samsung.com
Cc: Kyungmin Park kyungmin.p...@samsung.com
---
drivers/cpufreq/exynos-cpufreq.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers
On Wed, 2014-01-22 at 20:12 +0530, Viresh Kumar wrote:
On 22 January 2014 19:51, Krzysztof Kozlowski k.kozlow...@samsung.com wrote:
Add missing include to fix build error:
drivers/cpufreq/exynos-cpufreq.c:292:1: warning: data definition has no
type or storage class [enabled by default
On Wed, 2014-01-22 at 20:12 +0530, Viresh Kumar wrote:
On 22 January 2014 19:51, Krzysztof Kozlowski k.kozlow...@samsung.com
wrote:
Add missing include to fix build error:
drivers/cpufreq/exynos-cpufreq.c:292:1: warning: data definition has no
type or storage class [enabled
.
- It allows disabling the regulator during suspend to RAM; The AP will
enable it during resume; Without the patch the regulator supplying
eMMC must be defined as fixed-regulator.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: Kyungmin Park kyungmin.p...@samsung.com
Cc: Marek
Add documentation for new bindings for controlling (enable/disable) the
Buck9 Converter by GPIO (BUCK9EN).
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: Kyungmin Park kyungmin.p...@samsung.com
Cc: Marek Szyprowski m.szyprow...@samsung.com
Cc: Bartlomiej Zolnierkiewicz b.zolnier
.
This patchset is based on next tree: next-20140122.
Best regards,
Krzysztof
Krzysztof Kozlowski (2):
regulator: s5m8767: Use GPIO for controlling Buck9/eMMC
regulator: s5m8767: Document new bindings for Buck9 GPIO control
.../bindings/regulator/s5m8767-regulator.txt | 16 +++-
drivers
On Wed, 2014-01-22 at 19:49 +, Mark Brown wrote:
On Wed, Jan 22, 2014 at 05:07:28PM +0100, Krzysztof Kozlowski wrote:
Add documentation for new bindings for controlling (enable/disable) the
Buck9 Converter by GPIO (BUCK9EN).
Your CC list for this is *very* large...
Hmmm
.
- It allows disabling the regulator during suspend to RAM; The AP will
enable it during resume; Without the patch the regulator supplying
eMMC must be defined as fixed-regulator.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: Kyungmin Park kyungmin.p...@samsung.com
Cc: Marek
by Mark Brown.
Changes since v1:
1. Use ena_gpio of regulator core, as suggested by Mark Brown.
This patchset is based on next tree: next-20140122.
Best regards,
Krzysztof
Krzysztof Kozlowski (2):
regulator: s5m8767: Use GPIO for controlling Buck9/eMMC
regulator: s5m8767: Document new binding
Add documentation for new binding for controlling (enable/disable) the
Buck9 Converter by GPIO (BUCK9EN).
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: Kyungmin Park kyungmin.p...@samsung.com
Cc: Marek Szyprowski m.szyprow...@samsung.com
Cc: Bartlomiej Zolnierkiewicz b.zolnier
Hi,
Quoting Mark Brown (2013-12-31 08:09:16)
On Mon, Dec 30, 2013 at 09:33:50AM +0530, Tushar Behera wrote:
Commit 1b1ccee1e821 mfd: s2mps11: Fix build after regmap field rename
in sec-core.c is also touching this file, which is in Mark's tree
right now. If I rebase
It's
() or i2c_unregister_device().
If i2c_new_dummy() fails for RTC device, fail also the probe for main
MFD driver.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: sta...@vger.kernel.org
---
drivers/mfd/sec-core.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/mfd/sec-core.c b
by regmap_init_i2c().
If i2c_new_dummy() fails for companion device, fail also the probe for
main MFD driver.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: sta...@vger.kernel.org
---
drivers/mfd/88pm860x-core.c |5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/mfd/88pm860x
().
If i2c_new_dummy() fails for RTC device, fail also the probe for main
MFD driver.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: sta...@vger.kernel.org
---
drivers/mfd/max77686.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/mfd/max77686.c b/drivers/mfd
During probe the driver allocates dummy I2C device for companion chip
and then allocates a regmap for it. If regmap_init_i2c() fails then the
I2C driver (allocated with i2c_new_dummy()) is not freed and this
resource leaks.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: sta
by i2c_unregister_device().
If i2c_new_dummy() fails for RTC device, fail also the probe for
main MFD driver.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: sta...@vger.kernel.org
---
drivers/mfd/max8998.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/mfd/max8998.c b/drivers/mfd
by devm_regmap_init_i2c() and i2c_unregister_device().
If i2c_new_dummy() fails for MUIC or haptic devices, fail also the probe
for main MFD driver.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: sta...@vger.kernel.org
---
drivers/mfd/max77693.c | 12 +++-
1 file changed, 11
by i2c_unregister_device().
If i2c_new_dummy() fails for RTC, haptic or MUIC devices, fail also the
probe for main MFD driver.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: sta...@vger.kernel.org
---
drivers/mfd/max8997.c | 18 ++
1 file changed, 18 insertions
by i2c_unregister_device().
If i2c_new_dummy() fails for RTC or ADC devices, fail also the probe
for main MFD driver.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: sta...@vger.kernel.org
---
drivers/mfd/max8925-i2c.c |9 +
1 file changed, 9 insertions(+)
diff --git a/drivers/mfd
will be initialized with reset value (2000-01-01
00:00:00).
The code might work on S5M8763 but still this does not look like a task
for RTC driver.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: Alessandro Zummo a.zu...@towertech.it
Cc: rtc-li...@googlegroups.com
---
drivers/rtc
/gmane.linux.kernel/1587881/focus=1587882
which didn't get their way into clk-next. I will wait for them.
Krzysztof Kozlowski (14):
mfd: sec: Add maximum RTC register for regmap config
mfd: sec: Select different RTC regmaps for devices
mfd/rtc: sec/sec: Rename SEC* symbols to S5M
rtc: s5m
Add bindings documentation for S2MPS14 device to the s2mps11 driver.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: Mark Brown broo...@kernel.org
Cc: Liam Girdwood lgirdw...@gmail.com
Cc: Tomasz Figa t.f...@samsung.com
Cc: devicet...@vger.kernel.org
Cc: Rob Herring robh
the regulator driver for supporting the
S2MPS14 device.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Signed-off-by: Chanwoo Choi cw00.c...@samsung.com
Cc: Mark Brown broo...@kernel.org
Cc: Liam Girdwood lgirdw...@gmail.com
---
drivers/regulator/s2mps11.c | 46
Add support for S2MPS14 PMIC device to the MFD sec-core driver.
The S2MPS14 is similar to S2MPS11 but it has fewer regulators, two
clocks instead of three and a little different registers layout.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
---
drivers/mfd/sec-core.c
Add support for S2MPS14 PMIC regulators to s2mps11 driver. The S2MPS14
has fewer BUCK-s and LDO-s than S2MPS11. It also does not support
controlling the BUCK ramp delay.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: Mark Brown broo...@kernel.org
Cc: Liam Girdwood lgirdw
This patch prepares for adding support for S2MPS14 RTC driver by
selecting different regmaps for S2MPS1X/S5M876X RTC devices.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
---
drivers/mfd/sec-core.c | 15 ---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git
the operation mode from DTS by reading a
op_mode property from regulator child node.
The op_mode is then used for enabling the S2MPS14 regulators.
On S2MPS11 the DTS op_mode property is parsed but not used for
enabling, as this was not tested.
Signed-off-by: Krzysztof Kozlowski k.kozlow
This patch prepares for adding support for S2MPS14 RTC device to the
rtc-s5m driver:
1. Adds a map of registers used by the driver which differ between
the chipsets (S5M876X and S2MPS14).
2. Moves code of checking for alarm pending to separate function.
Signed-off-by: Krzysztof Kozlowski k.kozlow
(although S5M8767 have also low-power mode).
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Signed-off-by: Chanwoo Choi cw00.c...@samsung.com
Cc: Mark Brown broo...@kernel.org
Cc: Liam Girdwood lgirdw...@gmail.com
Cc: Tomasz Figa t.f...@samsung.com
Cc: devicet...@vger.kernel.org
Cc: Rob
time;
- RTC interrupts are reported in main PMIC I2C device;
This patch also adds missing mfd_cell for RTC in the MFD core driver.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: Alessandro Zummo a.zu...@towertech.it
Cc: rtc-li...@googlegroups.com
---
drivers/rtc/rtc-s5m.c | 89
The S2MPS11 RTC has two alarms: alarm0 and alarm1 (corresponding
interrupts are named similarly). Use consistent names for interrupts to
limit possible errors.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
---
drivers/mfd/sec-irq.c |8
include/linux/mfd
Add maximum register to the regmap used by rtc-s5m driver.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
---
drivers/mfd/sec-core.c |2 ++
include/linux/mfd/samsung/rtc.h |2 ++
2 files changed, 4 insertions(+)
diff --git a/drivers/mfd/sec-core.c b/drivers/mfd/sec
This patch prepares for adding support for S2MPS14 RTC device to the
rtc-s5m driver:
1. Renames SEC* symbols to S5M.
2. Adds S5M prefix to some of defines which are different between S5M876X
and S2MPS14.
This is only a rename-like patch, new code is not added.
Signed-off-by: Krzysztof Kozlowski
Constify the regulator_desc 'regulators' array.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: Mark Brown broo...@kernel.org
Cc: Liam Girdwood lgirdw...@gmail.com
---
drivers/regulator/s2mps11.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers
On Wed, 2014-02-12 at 08:48 +, Lee Jones wrote:
Add maximum register to the regmap used by rtc-s5m driver.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
---
drivers/mfd/sec-core.c |2 ++
include/linux/mfd/samsung/rtc.h |2 ++
2 files changed, 4
On Wed, 2014-02-12 at 09:07 +, Lee Jones wrote:
The S2MPS11 RTC has two alarms: alarm0 and alarm1 (corresponding
interrupts are named similarly). Use consistent names for interrupts to
limit possible errors.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
---
drivers
On Wed, 2014-02-12 at 09:17 +, Lee Jones wrote:
Add support for S2MPS14 PMIC device to the MFD sec-core driver.
The S2MPS14 is similar to S2MPS11 but it has fewer regulators, two
clocks instead of three and a little different registers layout.
Signed-off-by: Krzysztof Kozlowski
, as this was not tested.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Signed-off-by: Chanwoo Choi cw00.c...@samsung.com
Cc: Mark Brown broo...@kernel.org
Cc: Liam Girdwood lgirdw...@gmail.com
---
drivers/regulator/s2mps11.c | 98
On Wed, 2014-02-12 at 10:02 +, Lee Jones wrote:
On Wed, 12 Feb 2014, Krzysztof Kozlowski wrote:
On Wed, 2014-02-12 at 09:07 +, Lee Jones wrote:
The S2MPS11 RTC has two alarms: alarm0 and alarm1 (corresponding
interrupts are named similarly). Use consistent names
On Wed, 2014-02-12 at 15:31 +0530, Yadwinder Singh Brar wrote:
Hi,
+ dev_type = platform_get_device_id(pdev)-driver_data;
+ switch (dev_type) {
+ case S2MPS11X:
+ s2mps11-rdev_num = ARRAY_SIZE(s2mps11_regulators);
+ regulators =
Add bindings documentation for S2MPS14 device to the s2mps11 driver.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: Mark Brown broo...@kernel.org
Cc: Liam Girdwood lgirdw...@gmail.com
Cc: Tomasz Figa t.f...@samsung.com
Cc: devicet...@vger.kernel.org
Cc: Rob Herring robh
the operation mode from DTS by reading a
op_mode property from regulator child node.
The op_mode is then used for enabling the S2MPS14 regulators.
On S2MPS11 the DTS op_mode property is parsed but not used for
enabling, as this was not tested.
Signed-off-by: Krzysztof Kozlowski k.kozlow
time;
- RTC interrupts are reported in main PMIC I2C device;
This patch also adds missing mfd_cell for RTC in the MFD core driver.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: Alessandro Zummo a.zu...@towertech.it
Cc: rtc-li...@googlegroups.com
---
drivers/rtc/rtc-s5m.c | 89
of
'regulator_desc' (also marked as __initconst). This way memory footprint
of the driver will be reduced (approximately 'regulators_desc' array for
S2MPS11 occupies 5 kB on 32-bit ARM, for S2MPS14 will occupy 3 kB).
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Signed-off-by: Chanwoo Choi
Constify the regulator_desc 'regulators' array.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: Mark Brown broo...@kernel.org
Cc: Liam Girdwood lgirdw...@gmail.com
---
drivers/regulator/s2mps11.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers
This patch prepares for adding support for S2MPS14 RTC device to the
rtc-s5m driver:
1. Adds a map of registers used by the driver which differ between
the chipsets (S5M876X and S2MPS14).
2. Moves code of checking for alarm pending to separate function.
Signed-off-by: Krzysztof Kozlowski k.kozlow
Add support for S2MPS14 PMIC regulators to s2mps11 driver. The S2MPS14
has fewer BUCK-s and LDO-s than S2MPS11. It also does not support
controlling the BUCK ramp delay.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Cc: Mark Brown broo...@kernel.org
Cc: Liam Girdwood lgirdw
Add maximum register to the regmap used by rtc-s5m driver.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Acked-by: Lee Jones lee.jo...@linaro.org
---
drivers/mfd/sec-core.c |2 ++
include/linux/mfd/samsung/rtc.h |2 ++
2 files changed, 4 insertions(+)
diff --git
. The patch
is actually ready but it is based on the Add support for clocks in S5M8767
http://thread.gmane.org/gmane.linux.kernel/1587881/focus=1587882
which didn't get their way into clk-next. I will wait for them.
Krzysztof Kozlowski (15):
mfd: sec: Add maximum RTC register for regmap config
The S2MPS11 RTC has two alarms: alarm0 and alarm1 (corresponding
interrupts are named similarly). Use consistent names for interrupts to
limit possible errors.
Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com
Acked-by: Lee Jones lee.jo...@linaro.org
---
drivers/mfd/sec-irq.c
1 - 100 of 1594 matches
Mail list logo