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

2014-10-14 Thread 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. This patch adds initial support for LDO and buck regulators of S2MPS15 device. Signed-off-by: Thomas Abraham

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

2014-10-14 Thread 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 thomas...@samsung.com --- Documentation/devicetree/bindings/mfd/s2mps11.txt | 11

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

2014-10-14 Thread Thomas Abraham
initial support for LDO/Buck regulators of S2MPS15 PMIC. Thomas Abraham (2): dt-bindings: mfd: s2mps11: add documentation for s2mps15 PMIC mfd: sec: Add support for S2MPS15 PMIC Documentation/devicetree/bindings/mfd/s2mps11.txt | 11 +- drivers/mfd/sec-core.c

[PATCH] regulator: s2mps11: add support for S2MPS15 regulators

2014-10-14 Thread 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. Signed-off-by: Thomas Abraham thomas...@samsung.com

Re: [PATCH] regulator: s2mps11: add support for S2MPS15 regulators

2014-10-14 Thread Thomas Abraham
On Tue, Oct 14, 2014 at 2:18 PM, Krzysztof Kozłowski k.kozlow...@samsung.com wrote: On 14.10.2014 10:17, Thomas Abraham wrote: 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

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

2014-10-14 Thread Thomas Abraham
On Tue, Oct 14, 2014 at 2:13 PM, Krzysztof Kozłowski k.kozlow...@samsung.com wrote: On 14.10.2014 10:14, Thomas Abraham wrote: 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 2/2] mfd: sec: Add support for S2MPS15 PMIC

2014-10-14 Thread Thomas Abraham
On Tue, Oct 14, 2014 at 2:11 PM, Krzysztof Kozłowski k.kozlow...@samsung.com wrote: On 14.10.2014 10:14, Thomas Abraham wrote: 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

Re: [RFC/PATCH 02/12] clk: Add safe switch hook

2014-07-29 Thread Thomas Abraham
On Tue, Jul 29, 2014 at 11:35 AM, Mike Turquette mturque...@linaro.org wrote: Quoting Stephen Boyd (2014-06-24 17:06:13) Sometimes clocks can't accept their parent source turning off while the source is reprogrammed to a different rate. Most notably some CPU clocks require a way to switch away

Re: [PATCH] ARM: dts: add CPU nodes for Exynos4 SoCs

2014-07-21 Thread Thomas Abraham
On Mon, Jul 21, 2014 at 6:40 PM, Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com wrote: Hi, On Monday, July 21, 2014 01:43:53 PM Daniel Drake wrote: On Fri, Jul 18, 2014 at 5:00 PM, Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com wrote: Recent patch by Tomasz Figa (irqchip: gic: Fix

Re: [PATCHv2 0/3] cpufreq: Use cpufreq-cpu0 driver for Exynos3250

2014-06-18 Thread Thomas Abraham
On Wed, Jun 18, 2014 at 2:09 PM, Chanwoo Choi cw00.c...@samsung.com wrote: This patchset use cpufreq-cpu0 driver to support Exynos3250 cpufreq. So, this patchset is based on following patchset[1] by Thomas Abraham. [1] http://www.spinics.net/lists/arm-kernel/msg339392.html Changes from v1

Re: [PATCH V2 0/3] cpufreq: add support for intermediate (stable)

2014-05-16 Thread Thomas Abraham
On Fri, May 16, 2014 at 2:33 PM, Viresh Kumar viresh.ku...@linaro.org wrote: Douglas Anderson, recently pointed out an interesting problem due to which udelay() was expiring earlier than it should. While transitioning between frequencies few platforms may temporarily switch to a stable

Re: [PATCH 0/2] PM / OPP: move cpufreq specific helpers out of OPP layer

2014-05-13 Thread Thomas Abraham
| 20 --- 7 files changed, 167 insertions(+), 146 deletions(-) create mode 100644 drivers/cpufreq/cpufreq_opp.c Works fine on Exynos. Tested-by: Thomas Abraham thomas...@samsung.com -- 1.7.9.5 -- To unsubscribe from this list: send the line unsubscribe linux-pm in the body

Re: [PATCH v2] USB: ehci-s5p: Fix phy reset

2013-03-14 Thread Thomas Abraham
On 14 March 2013 17:31, Alexander Graf ag...@suse.de wrote: On 14.03.2013, at 05:19, Thomas Abraham wrote: On 14 March 2013 05:29, Alexander Graf ag...@suse.de wrote: On my Exynos 5 based Arndale system, I need to pull the reset line down and then let it go up again to actually perform

Re: [PATCH v2] USB: ehci-s5p: Fix phy reset

2013-03-13 Thread Thomas Abraham
On 14 March 2013 05:29, Alexander Graf ag...@suse.de wrote: On my Exynos 5 based Arndale system, I need to pull the reset line down and then let it go up again to actually perform a reset. Without that reset, I can't find any USB hubs on my bus, rendering the USB controller useless. We also

[PATCH v2 0/3] pinctrl: exynos: add support for Samsung's Exynos5250

2013-03-06 Thread Thomas Abraham
by the Samsung pinctrl driver to setup the pinctrl/pinmux/eint controllers. The second and third patches skips the wakeup interrupt and gpiolib registration if the pinctrl support is enabled for Exynos5250. Thomas Abraham (3): pinctrl: exynos: add exynos5250 SoC specific data gpio: samsung: skip gpiolib

[PATCH v2 2/3] gpio: samsung: skip gpiolib registration if pinctrl support is enabled for exynos5250

2013-03-06 Thread Thomas Abraham
Skip exynos5250 gpiolib registration if pinctrl support for exynos5250 is enabled. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Reviewed-by: Tomasz Figa t.f...@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org --- drivers/gpio/gpio-samsung.c |1 + 1 files changed, 1

[PATCH v2 3/3] arm: exynos: skip wakeup interrupt registration for exynos5250 if pinctrl is enabled

2013-03-06 Thread Thomas Abraham
Skip the wakeup interrupt registration for Exynos5250 if pinctrl support is enabled for Exynos5250. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Reviewed-by: Tomasz Figa t.f...@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org --- arch/arm/mach-exynos/common.c |1 + 1

[PATCH v2 1/3] pinctrl: exynos: add exynos5250 SoC specific data

2013-03-06 Thread Thomas Abraham
Add Samsung Exynos5250 SoC specific data to enable pinctrl support for all platforms based on Exynos5250. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Reviewed-by: Tomasz Figa t.f...@samsung.com Acked-by: Linus Walleij linus.wall...@linaro.org --- drivers/pinctrl/pinctrl-exynos.c

Re: [PATCH v2 0/3] pinctrl: exynos: add support for Samsung's Exynos5250

2013-03-06 Thread Thomas Abraham
On 7 March 2013 05:41, Kukjin Kim kgene@samsung.com wrote: Thomas Abraham wrote: Changes since v1: - Change the compatible string from samsung,pinctrl-exynos5250 to samsung,exynos5250-pinctrl. - Rebased to v3.9-rc1 Thomas, this stuff is already in my tree for v3.10, and above

Re: [PATCH 1/3] pinctrl: exynos: add exynos5250 SoC specific data

2013-03-05 Thread Thomas Abraham
On 27 December 2012 22:28, Kukjin Kim kgene@samsung.com wrote: Thomas Abraham wrote: Hi Linus, On 14 December 2012 21:21, Linus Walleij linus.wall...@linaro.org wrote: On Thu, Dec 13, 2012 at 12:54 PM, Thomas Abraham thomas.abra...@linaro.org wrote: Add Samsung Exynos5250 SoC

Re: [PATCH 4/4] regulator: add device tree support for s5m8767

2013-01-08 Thread Thomas Abraham
could add: Reviewed-by: Thomas Abraham thomas.abra...@linaro.org -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org

Re: [PATCH] ARM: DTS: exynos4210-origen: Add MAX8997 node entry

2013-01-04 Thread Thomas Abraham
On 4 January 2013 00:23, Tushar Behera tushar.beh...@linaro.org wrote: The node entry is added as per documentation and legacy board file. Signed-off-by: Tushar Behera tushar.beh...@linaro.org --- The patch is rebased on v3.8-rc1. arch/arm/boot/dts/exynos4210-origen.dts | 150

Re: [PATCH] mmc: host: dw_mmc-exynos: Add support for pinctrl

2012-12-30 Thread Thomas Abraham
On 21 December 2012 09:11, Dongjin Kim tobet...@gmail.com wrote: This patch adds support for pin configuration using pinctrl subsystem to dw_mmc-exynos driver. The property 'wp-gpios' can be specified for write protect but 'samsung,cd-pinmux-gpio' and gpios used for clock, command and data

Re: [PATCH 1/4] ODROID-X: dts: Add board dts file for ODROID-X

2012-12-17 Thread Thomas Abraham
Hi Dongjin, On 17 December 2012 13:55, Dongjin Kim tobet...@gmail.com wrote: Add initial dtb file for Hardkernel's ODROID-X board based on EXYNOS4412 SoC. Signed-off-by: Dongjin Kim tobet...@gmail.com --- arch/arm/boot/dts/Makefile |1 +

Re: [PATCH 1/3] pinctrl: exynos: add exynos5250 SoC specific data

2012-12-14 Thread Thomas Abraham
Hi Linus, On 14 December 2012 21:21, Linus Walleij linus.wall...@linaro.org wrote: On Thu, Dec 13, 2012 at 12:54 PM, Thomas Abraham thomas.abra...@linaro.org wrote: Add Samsung Exynos5250 SoC specific data to enable pinctrl support for all platforms based on Exynos5250. Signed-off

Re: [PATCH] ARM: EXYNOS: Fix MSHC clocks instance names

2012-12-14 Thread Thomas Abraham
Hi Dongjin, On 14 December 2012 20:29, Dongjin Kim tobet...@gmail.com wrote: Replace clock instance name of MSHC controller for BIC and CIU of Exynos4412. Signed-off-by: Dongjin Kim tobet...@gmail.com --- arch/arm/mach-exynos/clock-exynos4.c | 25 ++--- 1 file

Re: [PATCH] ARM: EXYNOS: Fix MSHC clocks instance names

2012-12-14 Thread Thomas Abraham
, + .name = ciu, .parent = exynos4_clk_dout_mmc4.clk, .enable = exynos4_clksrc_mask_fsys_ctrl, .ctrlbit= (1 16), -- Acked-by: Thomas Abraham thomas.abra...@linaro.org

[PATCH 0/3] pinctrl: exynos: add support for Samsung's Exynos5250

2012-12-13 Thread Thomas Abraham
registration if the pinctrl support is enabled for Exynos5250. Thomas Abraham (3): pinctrl: exynos: add exynos5250 SoC specific data gpio: samsung: skip gpiolib registration if pinctrl support is enabled for exynos5250 arm: exynos: skip wakeup interrupt registration for exynos5250 if pinctrl

[PATCH 1/3] pinctrl: exynos: add exynos5250 SoC specific data

2012-12-13 Thread Thomas Abraham
Add Samsung Exynos5250 SoC specific data to enable pinctrl support for all platforms based on Exynos5250. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers/pinctrl/pinctrl-exynos.c | 108 + drivers/pinctrl/pinctrl-samsung.c |2

[PATCH 2/3] gpio: samsung: skip gpiolib registration if pinctrl support is enabled for exynos5250

2012-12-13 Thread Thomas Abraham
Skip exynos5250 gpiolib registration if pinctrl support for exynos5250 is enabled. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers/gpio/gpio-samsung.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/gpio/gpio-samsung.c b/drivers/gpio/gpio

[PATCH 3/3] arm: exynos: skip wakeup interrupt registration for exynos5250 if pinctrl is enabled

2012-12-13 Thread Thomas Abraham
Skip the wakeup interrupt registration for Exynos5250 if pinctrl support is enabled for Exynos5250. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos/common.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/common.c b

Re: [PATCH] pinctrl: exynos5440/samsung: Staticize pcfgs

2012-12-03 Thread Thomas Abraham
-off-by: Axel Lin axel@ingics.com Acked-by: Thomas Abraham thomas.abra...@linaro.org Dear Mr. Kim, Could you please consider this patch in your next pull request for fixes. Thanks, Thomas. [...] -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

[PATCH] regulator: add device tree support for max8997

2012-11-27 Thread Thomas Abraham
Add device tree based discovery support for max8997. Cc: Karol Lewandowski k.lewando...@samsung.com Cc: Rajendra Nayak rna...@ti.com Cc: Rob Herring rob.herr...@calxeda.com Cc: Grant Likely grant.lik...@secretlab.ca Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: MyungJoo Ham

Re: [PATCH 1/3] i2c: exynos5: add High Speed I2C controller driver

2012-11-27 Thread Thomas Abraham
On 27 November 2012 18:30, Naveen Krishna Chatradhi ch.nav...@samsung.com wrote: Adds support for High Speed I2C driver found in Exynos5 and later SoCs from Samsung. This driver currently supports Auto mode. Driver only supports Device Tree method. Signed-off-by: Taekgyun Ko

Re: [PATCH 3/3] regulator: add device tree support for max8997

2012-11-26 Thread Thomas Abraham
On 26 November 2012 15:21, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Sat, Nov 24, 2012 at 11:46:51PM +0530, Thomas Abraham wrote: The max8997 driver is mainlined. I actually meant to say that, this v6 version of dt support patch for max8997, is similar in functionality

Re: [PATCH 3/3] regulator: add device tree support for max8997

2012-11-26 Thread Thomas Abraham
On 26 November 2012 19:41, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Mon, Nov 26, 2012 at 07:16:04PM +0530, Thomas Abraham wrote: and this patch applied cleanly. Could you please let me know if there is anything I need to be doing differently for this. Hrm, try applying

Re: [PATCH 3/3] regulator: add device tree support for max8997

2012-11-24 Thread Thomas Abraham
On 24 November 2012 23:29, Mark Brown broo...@opensource.wolfsonmicro.com wrote: On Fri, Nov 23, 2012 at 01:33:15PM +0530, Thomas Abraham wrote: This v6 patch is rebased to the latest max8997 driver code and there are no functional changes from v5. That doesn't seem to be in mainline yet so

Re: [PATCH] regulator: max8997: skip gpio dvs setup if not used

2012-11-22 Thread Thomas Abraham
Dear Mr. Ham, Thanks for your comments. On 21 November 2012 20:01, MyungJoo Ham myungjoo@samsung.com wrote: On Wed, Nov 21, 2012 at 11:23 PM, Thomas Abraham thomas.abra...@linaro.org wrote: If gpio based voltage selection for buck 1/2/5 are not used, then the execution of gpio dvs

[PATCH 0/3] regulator: max8997: minor updates and device tree support

2012-11-22 Thread Thomas Abraham
This patch series includes two minor updates to the gpio dvs code in max8997 regulator driver and adds device tree support for the same driver. Thomas Abraham (3): regulator: max8997: reorder buck1/2/5 dvs setup code regulator: max8997: limit the number of dvs registers programmed in non-dvs

[PATCH 1/3] regulator: max8997: reorder buck1/2/5 dvs setup code

2012-11-22 Thread Thomas Abraham
Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers/regulator/max8997.c | 26 +- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/regulator/max8997.c b/drivers/regulator/max8997.c index cea9ec9..8901371 100644 --- a/drivers/regulator

[PATCH 2/3] regulator: max8997: limit the number of dvs registers programmed in non-dvs mode

2012-11-22 Thread Thomas Abraham
In case the gpio based volatage selection mode is not used for either of buck 1/2/5, then only the BUCKxDVS1 register need to be programmed. So determine whether dvs mode is used and limit the loop count appropriately. Cc: MyungJoo Ham myungjoo@samsung.com Signed-off-by: Thomas Abraham

[PATCH 3/3] regulator: add device tree support for max8997

2012-11-22 Thread Thomas Abraham
Add device tree based discovery support for max8997. Cc: Karol Lewandowski k.lewando...@samsung.com Cc: Rajendra Nayak rna...@ti.com Cc: Rob Herring rob.herr...@calxeda.com Cc: Grant Likely grant.lik...@secretlab.ca Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: MyungJoo Ham

[PATCH] regulator: max8997: skip gpio dvs setup if not used

2012-11-21 Thread Thomas Abraham
If gpio based voltage selection for buck 1/2/5 are not used, then the execution of gpio dvs setup code during probe can be skipped completly. Cc: MyungJoo Ham myungjoo@samsung.com Cc: Mark Brown broo...@opensource.wolfsonmicro.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org

Re: [PATCH v2] pinctrl: samsung: Add ifdef CONFIG_OF_GPIO guard for gc-of_node

2012-11-05 Thread Thomas Abraham
On 5 November 2012 21:14, Axel Lin axel@ingics.com wrote: This fixes below build error when !CONFIG_OF_GPIO. CC drivers/pinctrl/pinctrl-samsung.o drivers/pinctrl/pinctrl-samsung.c: In function 'samsung_pinctrl_parse_dt_pins': drivers/pinctrl/pinctrl-samsung.c:557:19: warning:

[PATCH] ARM: Exynos: move interrupt combiner controller driver to drivers/irqchip

2012-10-30 Thread Thomas Abraham
parameter is added to combiner_init function that allows non-dt platform code to specify the number of combiners available. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos/common.c | 210 +-- drivers/irqchip/Makefile

Re: [PATCH] dw_mmc: fix multiple drv_data NULL dereferences

2012-10-16 Thread Thomas Abraham
, implementation specific clock setup failed\n); -- 1.7.7.6 Acked-by: Thomas Abraham thomas.abra...@linaro.org -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 0/2] ARM: Exynos4: Migrate to common clock framework.

2012-10-08 Thread Thomas Abraham
Hi Tomasz, Thanks for reviewing this patch series. On 3 October 2012 16:26, Tomasz Figa t.f...@samsung.com wrote: Hi Chander, Thomas, On Monday 01 of October 2012 17:39:19 chander.kash...@linaro.org wrote: From: Thomas Abraham thomas.abra...@linaro.org This patch series migrates Exynos4

Re: [PATCH 2/2] ARM: Exynos4: Register clocks via common clock framework

2012-10-08 Thread Thomas Abraham
@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- arch/arm/mach-exynos/Kconfig |1 + arch/arm/mach-exynos/common.h |3 + arch/arm/mach-exynos/mct.c| 11 +- arch/arm/plat-samsung/Kconfig |4 +- drivers/clk/Makefile |1

Re: [PATCH 2/2] ARM: Exynos4: Register clocks via common clock framework

2012-10-08 Thread Thomas Abraham
Hi Tomasz, On 3 October 2012 19:40, Tomasz Figa t.f...@samsung.com wrote: Hi Chander, Thomas, I can see one more problem here. Based on the fact that sdhci-s3c driver receives only the endpoint gate clock (hsmmc), doesn't the following setup make the driver unable to change the frequency

Re: [PATCH 2/2] ARM: Exynos4: Register clocks via common clock framework

2012-10-08 Thread Thomas Abraham
Hi Sylwester, Thanks for reviewing this patch series. On 6 October 2012 00:21, Sylwester Nawrocki sylvester.nawro...@gmail.com wrote: Hello, On 10/01/2012 02:09 PM, chander.kash...@linaro.org wrote: From: Thomas Abrahamthomas.abra...@linaro.org Register clocks for Exynos4 platfotms using

[PATCH v3 1/4] pinctrl: add samsung pinctrl and gpiolib driver

2012-09-05 Thread Thomas Abraham
about the pins, pin groups, pin functions and gpio chips, which are SoC specific, are parsed from device tree node. Cc: Linus Walleij linus.wall...@linaro.org Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- This is a repost of the v3 version

Re: [PATCH v3 1/4] pinctrl: add samsung pinctrl and gpiolib driver

2012-09-05 Thread Thomas Abraham
On 5 September 2012 19:20, Tomasz Figa t.f...@samsung.com wrote: Hi Thomas, Thomas Abraham wrote: Add a new device tree enabled pinctrl and gpiolib driver for Samsung SoC's. This driver provides a common and extensible framework for all Samsung SoC's to interface with the pinctrl and gpiolib

Re: [PATCH v3 1/4] pinctrl: add samsung pinctrl and gpiolib driver

2012-09-04 Thread Thomas Abraham
On 3 September 2012 16:44, Linus Walleij linus.wall...@linaro.org wrote: On Thu, Aug 23, 2012 at 1:15 PM, Thomas Abraham thomas.abra...@linaro.org wrote: Add a new device tree enabled pinctrl and gpiolib driver for Samsung SoC's. This driver provides a common and extensible framework for all

Re: [PATCH v2 1/4] pinctrl: add samsung pinctrl and gpiolib driver

2012-08-27 Thread Thomas Abraham
On 28 August 2012 04:52, Linus Walleij linus.wall...@linaro.org wrote: On Tue, Aug 21, 2012 at 9:22 PM, Thomas Abraham thomas.abra...@linaro.org wrote: [...] +/* list of all possible config options supported */ +struct pin_config { + char*prop_cfg; + unsigned int

[PATCH v3 0/4] pinctrl: add support for samsung pinctrl driver

2012-08-23 Thread Thomas Abraham
is provided by the pin-control driver. Thomas Abraham (4): pinctrl: add samsung pinctrl and gpiolib driver pinctrl: add exynos4210 specific extensions for samsung pinctrl driver gpio: exynos4: skip gpiolib registration if pinctrl driver is used ARM: EXYNOS: skip wakeup interrupt setup

[PATCH v3 3/4] gpio: exynos4: skip gpiolib registration if pinctrl driver is used

2012-08-23 Thread Thomas Abraham
Pinctrl driver, when enabled, registers all the gpio pins and hence the registration of gpio pins by this driver can be skipped. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked-by: Grant Likely grant.lik...@secretlab.ca Acked-by: Linus Walleij linus.wall...@linaro.org --- drivers

[PATCH v3 1/4] pinctrl: add samsung pinctrl and gpiolib driver

2012-08-23 Thread Thomas Abraham
about the pins, pin groups, pin functions and gpio chips, which are SoC specific, are parsed from device tree node. Cc: Linus Walleij linus.wall...@linaro.org Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- .../bindings/pinctrl/samsung-pinctrl.txt

[PATCH v3 4/4] ARM: EXYNOS: skip wakeup interrupt setup if pinctrl driver is used

2012-08-23 Thread Thomas Abraham
Pinctrl driver includes support for configuring the external wakeup interrupts. On exynos platforms that use pinctrl driver, the setup of wakeup interrupts in the exynos platform code can be skipped. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org

[PATCH v3 2/4] pinctrl: add exynos4210 specific extensions for samsung pinctrl driver

2012-08-23 Thread Thomas Abraham
: Kukjin Kim kgene@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers/pinctrl/Kconfig |4 + drivers/pinctrl/Makefile |1 + drivers/pinctrl/pinctrl-exynos.c | 560 ++ drivers/pinctrl/pinctrl-exynos.h | 217

Re: [PATCH v3 1/4] pinctrl: add samsung pinctrl and gpiolib driver

2012-08-23 Thread Thomas Abraham
On 24 August 2012 04:42, Stephen Warren swar...@wwwdotorg.org wrote: On 08/23/2012 05:15 AM, Thomas Abraham wrote: Add a new device tree enabled pinctrl and gpiolib driver for Samsung SoC's. This driver provides a common and extensible framework for all Samsung SoC's to interface

Re: [PATCH v2 1/4] pinctrl: add samsung pinctrl and gpiolib driver

2012-08-21 Thread Thomas Abraham
Hi Linus, Thanks for your time to review the Samsung pinctrl driver patches. I have inlined the reply to your comments. On 21 August 2012 16:55, Linus Walleij linus.wall...@linaro.org wrote: On Wed, Aug 15, 2012 at 9:57 PM, Thomas Abraham thomas.abra...@linaro.org wrote: Add a new device

Re: [PATCH v2 2/4] pinctrl: add exynos4210 specific extensions for samsung pinctrl driver

2012-08-21 Thread Thomas Abraham
On 21 August 2012 17:32, Linus Walleij linus.wall...@linaro.org wrote: On Wed, Aug 15, 2012 at 9:57 PM, Thomas Abraham thomas.abra...@linaro.org wrote: Add information about the Exynos4210 pin banks and driver data which is used by the Samsung pinctrl driver. In addition to this, the support

Re: [PATCH v2 3/4] gpio: exynos4: skip gpiolib registration if pinctrl driver is used

2012-08-21 Thread Thomas Abraham
On 21 August 2012 17:35, Linus Walleij linus.wall...@linaro.org wrote: On Wed, Aug 15, 2012 at 9:57 PM, Thomas Abraham thomas.abra...@linaro.org wrote: Pinctrl driver, when enabled, registers all the gpio pins and hence the registration of gpio pins by this driver can be skipped. Acked

Re: [PATCH v2 4/4] ARM: EXYNOS: skip wakeup interrupt setup if pinctrl driver is used

2012-08-21 Thread Thomas Abraham
On 21 August 2012 17:34, Linus Walleij linus.wall...@linaro.org wrote: On Wed, Aug 15, 2012 at 9:57 PM, Thomas Abraham thomas.abra...@linaro.org wrote: Pinctrl driver includes support for configuring the external wakeup interrupts. On exynos platforms that use pinctrl driver, the setup

Re: [PATCH v2 1/4] pinctrl: add samsung pinctrl and gpiolib driver

2012-08-21 Thread Thomas Abraham
On 22 August 2012 03:08, Stephen Warren swar...@wwwdotorg.org wrote: On 08/21/2012 05:25 AM, Linus Walleij wrote: On Wed, Aug 15, 2012 at 9:57 PM, Thomas Abraham thomas.abra...@linaro.org wrote: Add a new device tree enabled pinctrl and gpiolib driver for Samsung SoC's. ... + The child

Re: [PATCH v6 5/6] ARM: exynos: add thermal sensor driver platform data support

2012-08-16 Thread Thomas Abraham
deletions(-) Reviewed-by: Thomas Abraham thomas.abra...@linaro.org Few minor comments inline below. diff --git a/drivers/thermal/exynos_thermal.c b/drivers/thermal/exynos_thermal.c index e79cdc9..03a99e4 100644 --- a/drivers/thermal/exynos_thermal.c +++ b/drivers/thermal/exynos_thermal.c

[PATCH v2 0/4] pinctrl: add support for samsung pinctrl driver

2012-08-15 Thread Thomas Abraham
the gpio pin registrations if pinctrl driver support is found to be enabled. The fourth patch skips the external wakeup interrupt configuration process in the Exynos4 platform code if the external wakeup interrupt support is provided by the pin-control driver. Thomas Abraham (4): pinctrl: add

[PATCH v2 1/4] pinctrl: add samsung pinctrl and gpiolib driver

2012-08-15 Thread Thomas Abraham
about the pins, pin groups, pin functions and gpio chips, which are SoC specific, are parsed from device tree node. Cc: Linus Walleij linus.wall...@linaro.org Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- .../bindings/pinctrl/samsung-pinctrl.txt

[PATCH v2 3/4] gpio: exynos4: skip gpiolib registration if pinctrl driver is used

2012-08-15 Thread Thomas Abraham
Pinctrl driver, when enabled, registers all the gpio pins and hence the registration of gpio pins by this driver can be skipped. Acked-by: Grant Likely grant.lik...@secretlab.ca Acked-by: Linus Walleij linus.wall...@linaro.org Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers

[PATCH v2 4/4] ARM: EXYNOS: skip wakeup interrupt setup if pinctrl driver is used

2012-08-15 Thread Thomas Abraham
Pinctrl driver includes support for configuring the external wakeup interrupts. On exynos platforms that use pinctrl driver, the setup of wakeup interrupts in the exynos platform code can be skipped. Cc: Kukjin Kim kgene@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org

[PATCH v2 2/4] pinctrl: add exynos4210 specific extensions for samsung pinctrl driver

2012-08-15 Thread Thomas Abraham
: Kukjin Kim kgene@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers/pinctrl/Kconfig |7 + drivers/pinctrl/Makefile |1 + drivers/pinctrl/pinctrl-exynos.c | 555 ++ drivers/pinctrl/pinctrl-exynos.h | 213

Re: [PATCH 05/11] ARM: exynos: exynos_pm_add_dev_to_genpd may be unused

2012-08-10 Thread Thomas Abraham
automatically discard it. Without this patch, building exynos_defconfig results in: arch/arm/mach-exynos/pm_domains.c:118:123: warning: 'exynos_pm_add_dev_to_genpd' defined but not used [-Wunused-function] Signed-off-by: Arnd Bergmann a...@arndb.de Cc: Thomas Abraham thomas.abra...@linaro.org Cc

Re: [PATCH 10/11] spi/s3c64xx: improve error handling

2012-08-10 Thread Thomas Abraham
a...@arndb.de Cc: Thomas Abraham thomas.abra...@linaro.org Cc: Jaswinder Singh jaswinder.si...@linaro.org Cc: Grant Likely grant.lik...@secretlab.ca Cc: Kukjin Kim kgene@samsung.com --- drivers/spi/spi-s3c64xx.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/spi/spi

Re: [PATCH 2/4] arm/dts: exynos4: Add DTS files derived from common Exynos4

2012-08-07 Thread Thomas Abraham
On 8 August 2012 00:36, Dongjin Kim tobet...@gmail.com wrote: This patch creates a DTS file, exynos4.dtsi, for Exynos4210/4x12 and it describes common device nodes. SoC specific device nodes are described in another DTS file derived from this, exynos4210.dtsi and exynos4412.dtsi.

Re: [PATCH 3/4] arm/dts: exynos4: Add DTS file for ODROID-X

2012-08-07 Thread Thomas Abraham
On 8 August 2012 00:42, Dongjin Kim tobet...@gmail.com wrote: This patch create a DTS file for ODROID-X, it desribes PMIC max77686 and LED gpios base. Signed-off-by: Dongjin Kim dongjin@agreeyamobility.net --- arch/arm/boot/dts/exynos4412-odroidx.dts | 148

Re: [PATCH] ARM: EXYNOS: Add gpio functions for Exynos4412

2012-08-07 Thread Thomas Abraham
On 6 August 2012 19:27, Dongjin Kim tobet...@gmail.com wrote: GPIO functions are not registered for Exynos4412 yet, therefore exynos4_gpiolib_init() is added to initialize Exynos4412 SoC. Change-Id: I5945d94c6fbfc309ccf882eba067864a338c04ca Signed-off-by: Dongjin Kim

Re: [PATCH] ODROID-X: hkdk4412: Add new hardware based on Exynos4412

2012-08-06 Thread Thomas Abraham
On 6 August 2012 19:40, Dongjin Kim tobet...@gmail.com wrote: The HKDK4412 is the CPU module developed by Hardkernel which is based on Exynos 4412. mach_hkdk4412.c is to run on ODROID-X hardware and Machine ID (4289) is registered. Change-Id: I3af02808c03b9acea916c310390a4904ad92d761

Re: 회신: 회신: [PATCH] ODROID-X: hkdk4412: Add new hardware based on Exynos4412

2012-08-06 Thread Thomas Abraham
On 7 August 2012 07:58, Olof Johansson o...@lixom.net wrote: Hi, On Mon, Aug 6, 2012 at 7:05 PM, Dongjin Kim dongjin@agreeyamobility.net wrote: Hello, I am trying to understand what I have to do for device tree. In order to create dts file for ODROID-X hardware, it seems I may need

Re: [PATCH] gpio: samsung: Fix off-by-one bug in gpio addresses

2012-07-30 Thread Thomas Abraham
-kernel@vger.kernel.org; ol...@chromium.org; Sangsu Park; Thomas Abraham; Kukjin Kim Subject: Re: [PATCH] gpio: samsung: Fix off-by-one bug in gpio addresses Acked-by: Doug Anderson diand...@chromium.org --- On Fri, Jul 20, 2012 at 1:58 PM, Sean Paul seanp...@chromium.org wrote: Move

Re: [PATCH v3 6/6] mmc: dw_mmc: add samsung exynos5250 specific extentions

2012-07-23 Thread Thomas Abraham
On 20 July 2012 16:08, Seungwon Jeon tgih@samsung.com wrote: July 20, 2012, Thomas Abraham thomas.abra...@linaro.org wrote: On 19 July 2012 09:21, Seungwon Jeon tgih@samsung.com wrote: [...] +static unsigned long exynos5250_dwmmc_caps[4] = { + MMC_CAP_UHS_DDR50

Re: [PATCH v3 6/6] mmc: dw_mmc: add samsung exynos5250 specific extentions

2012-07-19 Thread Thomas Abraham
support for these Exynos5250 specfic extenstions. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- .../devicetree/bindings/mmc/synposis-dw-mshc.txt | 38 ++- drivers/mmc/host/dw_mmc-pltfm.c

Re: [PATCH v3 0/6] mmc: dw_mmc: add support for device tree based instantiation

2012-07-19 Thread Thomas Abraham
SoC's for now. Splitting into different files will need to defined new callbacks which I fell is not really required. Thanks, Thomas. Best Regards, Jaehoon Chung On 07/12/2012 09:54 PM, Thomas Abraham wrote: This patch series adds device tree support for Synopsis Designware Mobile Storage Host

Re: [PATCH v3 5/6] mmc: dw_mmc: add device tree support

2012-07-17 Thread Thomas Abraham
On 16 July 2012 09:45, Girish K S girish.shivananja...@linaro.org wrote: On 12 July 2012 18:24, Thomas Abraham thomas.abra...@linaro.org wrote: [...] +#ifdef CONFIG_OF +static struct dw_mci_drv_data synopsis_drv_data = { + .ctrl_type = DW_MCI_TYPE_SYNOPSIS, +}; + +static const

Re: [PATCH v3 5/6] mmc: dw_mmc: add device tree support

2012-07-17 Thread Thomas Abraham
On 16 July 2012 09:53, Chris Ball c...@laptop.org wrote: Hi, On Thu, Jul 12 2012, Thomas Abraham wrote: diff --git a/Documentation/devicetree/bindings/mmc/synposis-dw-mshc.txt b/Documentation/devicetree/bindings/mmc/synposis-dw-mshc.txt new file mode 100644 index 000..3acd6c9 --- /dev

[PATCH 5/9] mmc: dw_mmc: add device tree support

2012-07-17 Thread Thomas Abraham
Add device tree based discovery support. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- .../devicetree/bindings/mmc/synposis-dw-mshc.txt | 99 ++ drivers/mmc/host/dw_mmc-pltfm.c| 23 +++ drivers/mmc/host/dw_mmc.c | 201

[PATCH 3/9] mmc: dw_mmc: lookup for optional biu and ciu clocks

2012-07-17 Thread Thomas Abraham
Some platforms allow for clock gating and control of bus interface unit clock and card interface unit clock. Add support for clock lookup of optional biu and ciu clocks for clock gating and clock speed determination. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Thomas

[PATCH v3 0/6] mmc: dw_mmc: add support for device tree based instantiation

2012-07-12 Thread Thomas Abraham
. The sixth patch add Samsung Exynos5250 specific extentions to the driver. This patchset is based on Samsung kernel tree's for-next branch with the mmc tree's mmc-next branch merged. Thomas Abraham (6): mmc: dw_mmc: convert copy of struct device in struct dw_mci to a reference mmc: dw_mmc: allow

[PATCH v3 1/6] mmc: dw_mmc: convert copy of struct device in struct dw_mci to a reference

2012-07-12 Thread Thomas Abraham
this by converting the copy of 'struct device' in 'struct dw_mci' to a reference. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers/mmc/host/dw_mmc-pci.c |2 +- drivers/mmc/host/dw_mmc-pltfm.c |2 +- drivers/mmc/host/dw_mmc.c | 56 +++--- include

[PATCH v3 4/6] mmc: dw_mmc: add quirk to indicate missing write protect line

2012-07-12 Thread Thomas Abraham
, but with device tree support enabled, such platform callbacks cannot be supported. Add a new quirk for notifying the driver about the missing write protect line so the driver can assume that the card write protection is disabled. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org Acked

[PATCH v3 6/6] mmc: dw_mmc: add samsung exynos5250 specific extentions

2012-07-12 Thread Thomas Abraham
extenstions. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- .../devicetree/bindings/mmc/synposis-dw-mshc.txt | 38 ++- drivers/mmc/host/dw_mmc-pltfm.c| 15 +++ drivers/mmc/host/dw_mmc.c

[PATCH v3 5/6] mmc: dw_mmc: add device tree support

2012-07-12 Thread Thomas Abraham
Add device tree based discovery support. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- .../devicetree/bindings/mmc/synposis-dw-mshc.txt | 108 +++ drivers/mmc/host/dw_mmc-pltfm.c| 24 +++ drivers/mmc/host/dw_mmc.c | 201

[PATCH v3 3/6] mmc: dw_mmc: lookup for optional biu and ciu clocks

2012-07-12 Thread Thomas Abraham
Some platforms allow for clock gating and control of bus interface unit clock and card interface unit clock. Add support for clock lookup of optional biu and ciu clocks for clock gating and clock speed determination. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Thomas

[PATCH v3 2/6] mmc: dw_mmc: allow probe to succeed even if one slot is initialized

2012-07-12 Thread Thomas Abraham
Instead of aborting the probe in case a slot initialization fails, allow initialization of as many slots as possible. If there are atleast one instance of slot that is successfully initialized, allow the driver probe to succeed. Signed-off-by: Thomas Abraham thomas.abra...@linaro.org --- drivers