Re: [PATCH 2/6] ARM: EXYNOS5: DT Support for SATA and SATA PHY

2012-10-11 Thread Vasanth Ananthan
Hi, On Wed, Oct 10, 2012 at 10:01 PM, Olof Johansson o...@lixom.net wrote: Hi, On Wed, Oct 10, 2012 at 02:08:31PM +0530, Vasanth Ananthan wrote: + + sataphy@70 { sata-phy would be a more conventional name. + compatible = samsung,i2c-phy;

Re: [PATCH V4 2/2] video: exynos_dp: device tree documentation

2012-10-11 Thread Ajay kumar
Hi Sylwester, On Wed, Oct 10, 2012 at 2:59 AM, Sylwester Nawrocki sylvester.nawro...@gmail.com wrote: Hi Ajay, On 10/10/2012 01:08 AM, Ajay Kumar wrote: Add documentation for the DT bindings in exynos display port driver. Signed-off-by: Ajay Kumarajaykumar...@samsung.com ---

[PATCH v2 00/15] pinctrl: samsung: Usability and extensibiltiy improvements

2012-10-11 Thread Tomasz Figa
This patch series is a work on improving usability and extensibiltiy of the pinctrl-samsung driver. It consists of three main parts: - improving flexibility of SoC-specific data specification - converting the driver to one GPIO chip and IRQ domain per pin bank - improving wake-up IRQ setup and

[PATCH 01/15] pinctrl: samsung: Detect and handle unsupported configuration types

2012-10-11 Thread Tomasz Figa
This patch modifies the pinctrl-samsung driver to detect when width of a bit field is set to zero (which means that such configuraton type is not supported) and return an error instead of trying to modify an inexistent register. Signed-off-by: Tomasz Figa t.f...@samsung.com ---

[PATCH 02/15] pinctrl: samsung: Do not pass gpio_chip to pin_to_reg_bank

2012-10-11 Thread Tomasz Figa
The pointer to gpio_chip passed to pin_to_reg_bank utility function is used only to retrieve a pointer to samsung_pinctrl_drv_data structure. This patch modifies the function and its users to pass a pointer to samsung_pinctrl_drv_data directly. Signed-off-by: Tomasz Figa t.f...@samsung.com ---

[PATCH 03/15] pinctrl: samsung: Assing pin numbers dynamically

2012-10-11 Thread Tomasz Figa
This patch modifies the pinctrl-samsung driver to assign numbers to pins dynamically instead of static enumerations. Thanks to this change the amount of code requried to support a SoC can be greatly reduced and the code made more readable. Signed-off-by: Tomasz Figa t.f...@samsung.com ---

[PATCH 05/15] pinctrl: samsung: Distinguish between pin group and bank nodes

2012-10-11 Thread Tomasz Figa
This patch modifies the loop iterating over all child nodes and parsing pin groups to check whether the node is really a pin group node by checking for existence of samsung,pins property. This is a prerequisite for further patches adding additional subnodes to the pinctrl node, required for per

[PATCH 07/15] pinctrl: samsung: Match pin banks with their device nodes

2012-10-11 Thread Tomasz Figa
This patch is a preparation for converting the pinctrl-samsung driver to one GPIO chip and IRQ domain per bank. It binds banks defined by internal driver data with bank nodes in device tree. Signed-off-by: Tomasz Figa t.f...@samsung.com --- drivers/pinctrl/pinctrl-samsung.c | 13 +

[PATCH 08/15] pinctrl: samsung: Hold pointer to driver data in bank struct

2012-10-11 Thread Tomasz Figa
This patch is a preparation for converting the pinctrl-samsung driver to one GPIO chip and IRQ domain per bank. It allows one having only a pointer to particular bank struct to access driver data struct. Signed-off-by: Tomasz Figa t.f...@samsung.com --- drivers/pinctrl/pinctrl-samsung.c | 18

[PATCH 09/15] pinctrl: samsung: Include bank-specific eint offset in bank struct

2012-10-11 Thread Tomasz Figa
Some SoCs, like Exynos4x12, have non-sequential layout of EINT control registers and so current way of calculating register addresses does not work correctly for them. This patch adds eint_offset field to samsung_pin_bank struct and modifies the driver to use it instead of calculating the offsets

[PATCH 10/15] pinctrl: exynos: Use one IRQ domain per pin bank

2012-10-11 Thread Tomasz Figa
Instead of registering one IRQ domain for all pin banks of a pin controller, this patch implements registration of per-bank domains. At a cost of a little memory overhead (~2.5KiB for all GPIO interrupts of Exynos4x12) it simplifies driver code and device tree sources, because GPIO interrupts can

[PATCH 11/15] pinctrl: samsung: Use one GPIO chip per pin bank

2012-10-11 Thread Tomasz Figa
This patch modifies the pinctrl-samsung driver to register one GPIO chip per pin bank, instead of a single chip for all pin banks of the controller. It simplifies GPIO accesses a lot (constant time instead of looping through the list of banks to find the right one) and should have a good effect

[PATCH 12/15] pinctrl: samsung: Use per-bank IRQ domain for wake-up interrupts

2012-10-11 Thread Tomasz Figa
This patch reworks wake-up interrupt handling in pinctrl-exynos driver, so each pin bank, which provides wake-up interrupts, has its own IRQ domain. Information about whether given pin bank provides wake-up interrupts, how many and whether they are separate or muxed are parsed from device tree.

[PATCH 13/15] pinctrl: exynos: Set pin function to EINT in irq_set_type of wake-up EINT

2012-10-11 Thread Tomasz Figa
Pins used as wake-up interrupts need to be configured as EINTs. This patch adds the required configuration code to exynos_wkup_irq_set_type, to set the pin as EINT when its interrupt trigger type is configured. Signed-off-by: Tomasz Figa t.f...@samsung.com --- drivers/pinctrl/pinctrl-exynos.c |

[PATCH 14/15] pinctrl: samsung: Add GPIO to IRQ translation

2012-10-11 Thread Tomasz Figa
Some drivers require a way to translate GPIO pins to their IRQ numbers. This patch adds the .to_irq() gpiolib callback to pinctrl-samsung driver, which creates (if not present yet) and returns an IRQ mapping for given GPIO pin. Signed-off-by: Tomasz Figa t.f...@samsung.com ---

[PATCH 15/15] Documentation: Update samsung-pinctrl device tree bindings documentation

2012-10-11 Thread Tomasz Figa
Signed-off-by: Tomasz Figa t.f...@samsung.com --- .../bindings/pinctrl/samsung-pinctrl.txt | 118 - 1 file changed, 93 insertions(+), 25 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/samsung-pinctrl.txt

Re: [PATCH v2 00/15] pinctrl: samsung: Usability and extensibiltiy improvements

2012-10-11 Thread Kyungmin Park
Hi, On Thu, Oct 11, 2012 at 5:11 PM, Tomasz Figa t.f...@samsung.com wrote: This patch series is a work on improving usability and extensibiltiy of the pinctrl-samsung driver. It consists of three main parts: - improving flexibility of SoC-specific data specification - converting the driver

[PATCH v1 0/6] arm: exynos: add dt based support for exynos5 hdmi

2012-10-11 Thread Rahul Sharma
This patch set adds the DT based support for Samsung's Exynos5250. It adds device tree nodes for hdmi, mixer, hdmiphy and hdmiddc. The name of these devices are changed to the one matching with drivers. Exynos-drm and exynos hdmi-drm-commmon devices are removed from machine init code. Exynos-drm

[PATCH v1 2/6] dts: exynos: add device tree support for exynos5 mixer

2012-10-11 Thread Rahul Sharma
This patch adds support for device tree based discovery for exynos5 mixer. Mixer node is also renamed with exynos5-mixer. Signed-off-by: Rahul Sharma rahul.sha...@samsung.com --- arch/arm/boot/dts/exynos5250.dtsi |8 arch/arm/mach-exynos/include/mach/map.h |1 +

[PATCH v1 3/6] dts: exynos: add device tree support for exynos5 hdmiphy

2012-10-11 Thread Rahul Sharma
This patch adds support for device tree based discovery for exynos5 hdmiphy. Signed-off-by: Rahul Sharma rahul.sha...@samsung.com --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 10 ++ arch/arm/boot/dts/exynos5250.dtsi |8 arch/arm/mach-exynos/mach-exynos5-dt.c

[PATCH v1 4/6] dts: exynos: add device tree support for exynos5 hdmiddc

2012-10-11 Thread Rahul Sharma
This patch adds support for device tree based discovery for exynos5 hdmi ddc. Signed-off-by: Rahul Sharma rahul.sha...@samsung.com --- arch/arm/boot/dts/exynos5250-smdk5250.dts | 10 +- arch/arm/mach-exynos/mach-exynos5-dt.c|2 ++ 2 files changed, 11 insertions(+), 1

[PATCH v1 5/6] arm: exynos: add clocks for exynos5 hdmi

2012-10-11 Thread Rahul Sharma
This patch adds support for clocks for hdmi, hdmiphy and mixer. Signed-off-by: Rahul Sharma rahul.sha...@samsung.com --- arch/arm/mach-exynos/clock-exynos5.c | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-exynos/clock-exynos5.c

[PATCH v1 6/6] arm: exynos: removing exynos-drm device registration from non-dt platforms

2012-10-11 Thread Rahul Sharma
As exynos-drm is a software device, its registration is moved to the exynos drm driver. This will provide generic solution for device registration for dt and non-dt platforms. Corresponding patches are posted to dri-devel list. Signed-off-by: Rahul Sharma rahul.sha...@samsung.com ---

Re: [PATCH V4 2/2] video: exynos_dp: device tree documentation

2012-10-11 Thread Sylwester Nawrocki
On 10/11/2012 08:50 AM, Ajay kumar wrote: + -samsung,interlaced: + Interlace scan mode. + Progressive if defined, Interlaced if not defined + -samsung,v_sync_polarity: + VSYNC polarity configuration. + High if defined,

Re: [PATCH v2 00/15] pinctrl: samsung: Usability and extensibiltiy improvements

2012-10-11 Thread Thomas Abraham
On 11 October 2012 16:11, Tomasz Figa t.f...@samsung.com wrote: This patch series is a work on improving usability and extensibiltiy of the pinctrl-samsung driver. It consists of three main parts: - improving flexibility of SoC-specific data specification - converting the driver to one GPIO

Re: [PATCH 5/6] ARM: EXYNOS: Add support for Exynos secure firmware

2012-10-11 Thread Tomasz Figa
Hi Olof, On Wednesday 10 of October 2012 09:00:27 Olof Johansson wrote: Hi, On Mon, Sep 24, 2012 at 04:28:32PM +0200, Tomasz Figa wrote: Some Exynos-based boards contain secure firmware and must use firmware operations to set up some hardware. This patch adds firmware operations for

Re: [PATCH v2 0/6] ARM: EXYNOS: Add secure firmware support

2012-10-11 Thread Tomasz Figa
Hi Olof, On Wednesday 10 of October 2012 09:11:36 Olof Johansson wrote: Hi, On Thu, Oct 11, 2012 at 12:35:54AM +0900, Kyungmin Park wrote: Hi Arnd or Olof, Can you pick up for v3.7? To Tomasz, Can you rebase it on the latest arm-soc tree? This code should have been in arm-soc

Re: [PATCH 00/16] pinctrl: samsung: Usability and extensibiltiy improvements

2012-10-11 Thread Linus Walleij
On Wed, Oct 10, 2012 at 5:22 PM, Tomasz Figa t.f...@samsung.com wrote: I have managed to rework the changes to drop (1). I will send next version of patches tomorrow. It would be nice to have them merged for 3.7, as they are rather important for further work. Moving data from the driver to

Re: [PATCH 04/16] pinctrl: samsung: Parse pin banks from DT

2012-10-11 Thread Linus Walleij
On Wed, Oct 10, 2012 at 10:39 AM, Tomasz Figa t.f...@samsung.com wrote: On Wednesday 10 of October 2012 09:34:05 Linus Walleij wrote: If you will end up with a hybrid approach with some stuff in the device tree and some stuff in the code, it's better to keep the old driver. This will allow

Re: [PATCH 01/15] pinctrl: samsung: Detect and handle unsupported configuration types

2012-10-11 Thread Linus Walleij
On Thu, Oct 11, 2012 at 10:11 AM, Tomasz Figa t.f...@samsung.com wrote: This patch modifies the pinctrl-samsung driver to detect when width of a bit field is set to zero (which means that such configuraton type is not supported) and return an error instead of trying to modify an inexistent

Re: [PATCH 01/15] pinctrl: samsung: Detect and handle unsupported configuration types

2012-10-11 Thread Kyungmin Park
Hi Linus, On Thu, Oct 11, 2012 at 10:57 PM, Linus Walleij linus.wall...@linaro.org wrote: On Thu, Oct 11, 2012 at 10:11 AM, Tomasz Figa t.f...@samsung.com wrote: This patch modifies the pinctrl-samsung driver to detect when width of a bit field is set to zero (which means that such

Re: [PATCH v2 00/15] pinctrl: samsung: Usability and extensibiltiy improvements

2012-10-11 Thread Linus Walleij
On Thu, Oct 11, 2012 at 10:11 AM, Tomasz Figa t.f...@samsung.com wrote: This patch series is a work on improving usability and extensibiltiy of the pinctrl-samsung driver. It consists of three main parts: - improving flexibility of SoC-specific data specification - converting the driver to

Re: [PATCH 01/15] pinctrl: samsung: Detect and handle unsupported configuration types

2012-10-11 Thread Linus Walleij
On Thu, Oct 11, 2012 at 4:00 PM, Kyungmin Park kmp...@infradead.org wrote: On Thu, Oct 11, 2012 at 10:57 PM, Linus Walleij linus.wall...@linaro.org wrote: I'm quite happy with these 17 patches, but I'd like to have Thomas Abraham's definitive ACK before I merge anything. Thomas did ACK at

Re: [PATCH v2 00/15] pinctrl: samsung: Usability and extensibiltiy improvements

2012-10-11 Thread Linus Walleij
On Thu, Oct 11, 2012 at 10:11 AM, Tomasz Figa t.f...@samsung.com wrote: This patch series is a work on improving usability and extensibiltiy of the pinctrl-samsung driver. It consists of three main parts: - improving flexibility of SoC-specific data specification - converting the driver to

Re: [PATCH v2 0/4] DMA: PL330: Fix mem leaks and balance probe/remove

2012-10-11 Thread Inderpal Singh
Hello, On 5 October 2012 06:17, Inderpal Singh inderpal.si...@linaro.org wrote: The first 2 patches of this series fix memory leaks because the memory allocated for peripheral channels and DMA descriptors were not getting freed. The last 2 patches balance the module's remove function. This