Re: [PATCH v2 2/5] [media] exynos-mscl: Add core functionality for the M-Scaler driver

2013-08-20 Thread Hans Verkuil
On 08/20/2013 07:43 AM, Shaik Ameer Basha wrote: + linux-media, linux-samsung-soc Hi Hans, Thanks for the review. Will address all your comments in v3. I have only one doubt regarding try_ctrl... (addressed inline) On Mon, Aug 19, 2013 at 6:36 PM, Hans Verkuil hverk...@xs4all.nl

RE: RE: [PATCH v2 0/8] Common Clock Framework support for Samsung S3C64xx

2013-08-20 Thread Kukjin Kim
Mike Turquette wrote: [...] OK, if new branch is ready, I will replace with that or if re-merge is required, I will. Either way, I'm fine and can handle. Mike, let me know your choice :-) Since I have already published it let's just go with the delta patch. I can create another

Re: [PATCH v2 2/5] [media] exynos-mscl: Add core functionality for the M-Scaler driver

2013-08-20 Thread Shaik Ameer Basha
On Tue, Aug 20, 2013 at 11:57 AM, Hans Verkuil hverk...@xs4all.nl wrote: On 08/20/2013 07:43 AM, Shaik Ameer Basha wrote: + linux-media, linux-samsung-soc Hi Hans, Thanks for the review. Will address all your comments in v3. I have only one doubt regarding try_ctrl... (addressed inline)

Re: [PATCH v2 1/5] [media] exynos-mscl: Add new driver for M-Scaler

2013-08-20 Thread Shaik Ameer Basha
Hi Inki Dae, Thanks for the review. On Mon, Aug 19, 2013 at 6:18 PM, Inki Dae inki@samsung.com wrote: Just quick review. -Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of Shaik Ameer Basha Sent: Monday, August

Re: [PATCH v2 2/4] dmaengine: add driver for Samsung s3c24xx SoCs

2013-08-20 Thread Heiko Stübner
Hi Vinod, Am Montag, 19. August 2013, 06:48:12 schrieb Vinod Koul: On Wed, Aug 14, 2013 at 02:00:25PM +0200, Heiko Stübner wrote: This adds a new driver to support the s3c24xx dma using the dmaengine and makes the old one in mach-s3c24xx obsolete in the long run. Conceptually the

RE: [PATCH v2 1/5] [media] exynos-mscl: Add new driver for M-Scaler

2013-08-20 Thread Inki Dae
-Original Message- From: linux-media-ow...@vger.kernel.org [mailto:linux-media- ow...@vger.kernel.org] On Behalf Of Shaik Ameer Basha Sent: Tuesday, August 20, 2013 5:07 PM To: Inki Dae Cc: Shaik Ameer Basha; LMML; linux-samsung-soc@vger.kernel.org; c...@samsung.com; Sylwester

Re: [PATCH v2 2/4] dmaengine: add driver for Samsung s3c24xx SoCs

2013-08-20 Thread Vinod Koul
On Tue, Aug 20, 2013 at 10:23:49AM +0200, Heiko Stübner wrote: Hi Vinod, Am Montag, 19. August 2013, 06:48:12 schrieb Vinod Koul: On Wed, Aug 14, 2013 at 02:00:25PM +0200, Heiko Stübner wrote: This adds a new driver to support the s3c24xx dma using the dmaengine and makes the old one

[PATCH] ARM: EXYNOS: fix PL330 MDMA1 address in DT for Universal C210 board

2013-08-20 Thread Bartlomiej Zolnierkiewicz
Revision 0 of Exynos4210 SoC (used on Universal C210 board) requires 'secure' PL330 MDMA1 address (0x1284) instead of 'non-secure' one (0x1285). Fix it by overriding the default PL330 MDMA1 address in exynos4210-universal_c210.dts. This is a Device Tree (DT) version of commit 91280e7

Re: [PATCH v6 01/13] [media] exynos5-is: Adding media device driver for exynos5

2013-08-20 Thread Sylwester Nawrocki
Cc: Pawel, Kumar On 08/16/2013 11:20 AM, Arun Kumar K wrote: From: Shaik Ameer Basha shaik.am...@samsung.com This patch adds support for media device for EXYNOS5 SoCs. The current media device supports the following ips to connect through the media controller framework. * MIPI-CSIS

Re: [PATCH v6 02/13] [media] exynos5-fimc-is: Add Exynos5 FIMC-IS device tree bindings documentation

2013-08-20 Thread Sylwester Nawrocki
Cc: Pawel, Kumar On 08/16/2013 11:20 AM, Arun Kumar K wrote: The patch adds the DT binding documentation for Samsung Exynos5 SoC series imaging subsystem (FIMC-IS). Signed-off-by: Arun Kumar K arun...@samsung.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com ---

Re: [PATCH] ARM: EXYNOS: fix PL330 MDMA1 address in DT for Universal C210 board

2013-08-20 Thread Tomasz Figa
Hi Bart, On Tuesday 20 of August 2013 13:22:45 Bartlomiej Zolnierkiewicz wrote: Revision 0 of Exynos4210 SoC (used on Universal C210 board) requires 'secure' PL330 MDMA1 address (0x1284) instead of 'non-secure' one (0x1285). Fix it by overriding the default PL330 MDMA1 address in

Re: [PATCH 01/15] drivers: phy: add generic PHY framework

2013-08-20 Thread Felipe Balbi
Hi, On Mon, Aug 19, 2013 at 10:58:09AM +0530, Kishon Vijay Abraham I wrote: So maybe let's stop solving an already solved problem and just state that you need to explicitly assign device ID to use this framework? Felipe, Can we have it the way I had in my v10 patch series till we find

Re: [PATCH v6 01/13] [media] exynos5-is: Adding media device driver for exynos5

2013-08-20 Thread Arun Kumar K
Hi Sylwester, On Tue, Aug 20, 2013 at 5:29 PM, Sylwester Nawrocki s.nawro...@samsung.com wrote: Cc: Pawel, Kumar On 08/16/2013 11:20 AM, Arun Kumar K wrote: From: Shaik Ameer Basha shaik.am...@samsung.com This patch adds support for media device for EXYNOS5 SoCs. The current media device

[PATCH 8/8] ARM: dts: exynos4: Add missing unit-address of sysreg node

2013-08-20 Thread Tomasz Figa
The node contains reg property, so unit-address suffix should be present in its name. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/boot/dts/exynos4.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 0/8] Exynos device tree clean-up for 3.12

2013-08-20 Thread Tomasz Figa
This series intends to fix small problems with Exynos device tree sources that I spotted during my work on other things. The fixes are mostly stylistic, without any funtional changes introduced, except patch 6/8, which makes the mshc node disabled by default, but for all affected boards it is

[PATCH 3/8] ARM: dts: exynos4x12: Move MCT node to exynos4x12.dtsi

2013-08-20 Thread Tomasz Figa
For MCT block compatible with samsung,exynos4412-mct, that uses PPI interrupts for local timers, only one local interrupt needs to be specified, since it is a per-processor interrupt. This allows moving MCT node of Exynos4x12 SoCs back to common exynos4x12.dtsi, since they have the same set of

[PATCH 1/8] Documentation: devicetree: Update Exynos MCT bindings description

2013-08-20 Thread Tomasz Figa
This patch updates description of device tree bindings for Exynos MCT (multicore timers). Namely: - added note about simplified specification of local timer interrupts, when using single per-processor interrupt for all local timers, - changed first example that was incorrectly suggesting that

[PATCH 2/8] ARM: dts: exynos4: Drop interrupt controller properties from MCT nodes

2013-08-20 Thread Tomasz Figa
MCT is not an interrupt controller and so there is no point for device tree nodes representing it to contain interrupt-controller and #interrupt-cells properties. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH 7/8] ARM: dts: exynos: Fix missing spaces after labels

2013-08-20 Thread Tomasz Figa
For consistency with other device tree nodes, this patch adds missing spaces after node labels. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/boot/dts/exynos4.dtsi| 4 ++-- arch/arm/boot/dts/exynos4210.dtsi |

[PATCH 6/8] ARM: dts: exynos4x12: Keep mshc node disabled by default

2013-08-20 Thread Tomasz Figa
MSHC node requires additional board-specific data, so it should be disabled by default. Board dts files already have status override for it, so only the change in exynso4x12.dtsi is needed. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH 4/8] ARM: dts: exynos4: Simplify MCT interrupt map

2013-08-20 Thread Tomasz Figa
There is no need to use two cells for interrupt specifiers inside the MCT interrupt map, so this patch simplifies the map to use one cell. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/boot/dts/exynos4210.dtsi | 17

[PATCH 5/8] ARM: dts: exynos4x12: Move mshc node to exynos4x12.dtsi

2013-08-20 Thread Tomasz Figa
All SoCs from Exynos4x12 series contain the MSHC block, so its node can be located in exynos4x12.dtsi. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/boot/dts/exynos4412.dtsi | 8 arch/arm/boot/dts/exynos4x12.dtsi | 8

Re: [PATCH 0/8] Exynos device tree clean-up for 3.12

2013-08-20 Thread Sylwester Nawrocki
On 08/20/2013 03:52 PM, Tomasz Figa wrote: This series intends to fix small problems with Exynos device tree sources that I spotted during my work on other things. The fixes are mostly stylistic, without any funtional changes introduced, except patch 6/8, which makes the mshc node disabled by

Re: [PATCH RFC v5] s5k5baf: add camera sensor driver

2013-08-20 Thread Sylwester Nawrocki
On 08/20/2013 12:57 AM, Stephen Warren wrote: On 08/19/2013 04:53 PM, Tomasz Figa wrote: On Monday 19 of August 2013 16:30:45 Stephen Warren wrote: On 08/19/2013 11:25 AM, Sylwester Nawrocki wrote: On 08/19/2013 03:25 PM, Pawel Moll wrote: On Mon, 2013-08-19 at 14:18 +0100, Andrzej Hajda

[PATCH] irqchip: gic: Allow setting affinity to offline CPUs

2013-08-20 Thread Tomasz Figa
Sometimes it is necessary to fix interrupt affinity to an offline CPU, for example in initialization of local timers. This patch modifies .set_affinity() operation of irq-gic driver to fall back to any possible CPU if no online CPU can be found in requested CPU mask. This fixes broken Exynos4210

[PATCH] pinctrl: samsung: Parse pin groups before calling pinctrl_register()

2013-08-20 Thread Tomasz Figa
Calling pinctrl_register() means that the driver is fully initialized and might accept pinmux/pinconf requests, so pin groups must be parsed before. This patch fixes this problem by moving device tree parsing before call to pinctrl_register(). In addition, this fixes support for hogs on pin

Re: [PATCH] irqchip: gic: Allow setting affinity to offline CPUs

2013-08-20 Thread Stephen Boyd
On 08/20/13 09:11, Tomasz Figa wrote: Sometimes it is necessary to fix interrupt affinity to an offline CPU, for example in initialization of local timers. This patch modifies .set_affinity() operation of irq-gic driver to fall back to any possible CPU if no online CPU can be found in

Re: [PATCH] irqchip: gic: Allow setting affinity to offline CPUs

2013-08-20 Thread Tomasz Figa
On Tuesday 20 of August 2013 09:33:31 Stephen Boyd wrote: On 08/20/13 09:11, Tomasz Figa wrote: Sometimes it is necessary to fix interrupt affinity to an offline CPU, for example in initialization of local timers. This patch modifies .set_affinity() operation of irq-gic driver to fall back

Re: [PATCH] irqchip: gic: Allow setting affinity to offline CPUs

2013-08-20 Thread Stephen Boyd
On 08/20/13 09:41, Tomasz Figa wrote: On Tuesday 20 of August 2013 09:33:31 Stephen Boyd wrote: On 08/20/13 09:11, Tomasz Figa wrote: Sometimes it is necessary to fix interrupt affinity to an offline CPU, for example in initialization of local timers. This patch modifies .set_affinity()

Re: [PATCH] irqchip: gic: Allow setting affinity to offline CPUs

2013-08-20 Thread Tomasz Figa
On Tuesday 20 of August 2013 09:48:25 Stephen Boyd wrote: On 08/20/13 09:41, Tomasz Figa wrote: On Tuesday 20 of August 2013 09:33:31 Stephen Boyd wrote: On 08/20/13 09:11, Tomasz Figa wrote: Sometimes it is necessary to fix interrupt affinity to an offline CPU, for example in

Re: [PATCH 1/8] Documentation: devicetree: Update Exynos MCT bindings description

2013-08-20 Thread Stephen Warren
On 08/20/2013 07:52 AM, Tomasz Figa wrote: This patch updates description of device tree bindings for Exynos MCT (multicore timers). Namely: - added note about simplified specification of local timer interrupts, when using single per-processor interrupt for all local timers, - changed

Re: [PATCH 1/8] Documentation: devicetree: Update Exynos MCT bindings description

2013-08-20 Thread Tomasz Figa
On Tuesday 20 of August 2013 11:00:53 Stephen Warren wrote: On 08/20/2013 07:52 AM, Tomasz Figa wrote: This patch updates description of device tree bindings for Exynos MCT (multicore timers). Namely: - added note about simplified specification of local timer interrupts, when

[PATCH 15/16] clk: samsung: exynos4: Register PLL rate tables for Exynos4x12

2013-08-20 Thread Tomasz Figa
This patch adds rate tables for PLLs that can be reconfigured at runtime for Exynos4x12 SoCs. Provided tables contain PLL coefficients for input clock of 24 MHz and so are registered only in this case. MPLL does not need runtime reconfiguration and so table for it is not provided. Signed-off-by:

[PATCH 09/16] clk: samsung: pll: Use new registration method for PLL45xx

2013-08-20 Thread Tomasz Figa
This patch modifies PLL45xx support code and its users to use the recently introduced common PLL registration helper. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/clk/samsung/clk-exynos4.c | 18 --

[PATCH 11/16] clk: samsung: pll: Use new registration method for PLL46xx

2013-08-20 Thread Tomasz Figa
This patch modifies PLL46xx support code and its users to use the recently introduced common PLL registration helper. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/clk/samsung/clk-exynos4.c | 13 +++---

[PATCH 12/16] clk: samsung: pll: Add support for rate configuration of PLL46xx

2013-08-20 Thread Tomasz Figa
This patch implements round_rate and set_rate callbacks of PLL46xx driver to allow reconfiguration of PLL at runtime. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/clk/samsung/clk-pll.c | 111

[PATCH 08/16] clk: samsung: exynos4: Rename exynos4_plls to exynos4x12_plls

2013-08-20 Thread Tomasz Figa
This array defines PLLs specific to Exynos 4x12 SoCs and not for all Exynos 4 SoCs, so the name should represent that. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/clk/samsung/clk-exynos4.c | 6 +++--- 1 file changed, 3

[PATCH 07/16] clk: samsung: exynos4: Remove checks for DT node

2013-08-20 Thread Tomasz Figa
Exynos 4 supports only DT based bootup, so non-DT cases does not need to be handled anymore. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/clk/samsung/clk-exynos4.c | 11 --- 1 file changed, 4 insertions(+), 7

[PATCH 10/16] clk: samsung: pll: Add support for rate configuration of PLL45xx

2013-08-20 Thread Tomasz Figa
This patch implements round_rate and set_rate callbacks of PLL45xx driver to allow reconfiguration of PLL at runtime. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- drivers/clk/samsung/clk-pll.c | 109

[PATCH 06/16] clk: samsung: exynos4: Remove unused static clkdev aliases

2013-08-20 Thread Tomasz Figa
Since Exynos does not support legacy non-DT boot anymore, most of clock lookups happen using device tree, so most of static clkdev aliases are no longer necessary. This patch removes them. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH 14/16] clk: samsung: exynos4: Register PLL rate tables for Exynos4210

2013-08-20 Thread Tomasz Figa
This patch adds rate tables for PLLs that can be reconfigured at runtime for Exynos4210 SoCs. Provided tables contain PLL coefficients for input clock of 24 MHz and so are registered only in this case. MPLL does not need runtime reconfiguration and so table for it is not provided. Signed-off-by:

[PATCH 13/16] clk: samsung: exynos4: Reorder registration of mout_vpllsrc

2013-08-20 Thread Tomasz Figa
Since PLL input frequency must be known before PLL registration, mout_vpllsrc clock which is a reference clock of VPLL must be registered before VPLL. This patch reorders clock registration to register mout_vpllsrc before VPLL. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by:

[PATCH 05/16] clk: samsung: Modify _get_rate() helper to use __clk_lookup()

2013-08-20 Thread Tomasz Figa
There is no need to use clkdev inside the clock driver to retrieve the clocks for internal use. Instead __clk_lookup() helper can be used to look up clocks by their platform name. This patch modifies the behavior of _get_rate() helper to look up clocks by platform name and adjusts all users of it

[PATCH 03/16] clocksource: samsung_pwm_timer: Get clock from device tree

2013-08-20 Thread Tomasz Figa
When booting with device tree static clkdev aliases should not be used. This patch modifies the samsung_pwm_timer driver to use DT-based clock lookup when booting with device tree. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH 04/16] clk: samsung: exynos4: Use separate aliases for cpufreq related clocks

2013-08-20 Thread Tomasz Figa
Exynos cpufreq driver is the only remaining piece of code that needs static clkdev aliases for operation, because it can not do device tree based clock lookups yet. This patch moves clock alias definitions for those clocks to separate arrays that can be used with samsung_clk_register_alias()

[PATCH 16/16] clk: samsung: exynos5250: Simplify registration of PLL rate tables

2013-08-20 Thread Tomasz Figa
Since the _get_rate() helper has been modified to use __clk_lookup() internally, checking of PLL input rates can be done using it and so the registration code can be simplified. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH 00/16] Exynos clock clean-up for 3.12

2013-08-20 Thread Tomasz Figa
This series fixes various functional and non-functional (e.g. stylistic) issues in Common Clock Framework drivers for Samsung Exynos SoCs. See particular patches for more detailed descriptions. Tomasz Figa (16): pwm: samsung: Update DT bindings documentation to cover clocks ARM: dts: exynos4:

[PATCH 01/16] pwm: samsung: Update DT bindings documentation to cover clocks

2013-08-20 Thread Tomasz Figa
PWM driver consumes at least one and up to three clocks, which need to be specified in device tree when used. This patch updates bindings documentation to add information about clocks. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH 02/16] ARM: dts: exynos4: Specify PWM clocks in PWM node

2013-08-20 Thread Tomasz Figa
Since pwm-samsung bindings require at least one clock to be specified, this patch adds the missing clocks and clock-names properties to specify clocks used by PWM block on Exynos4 SoCs. Signed-off-by: Tomasz Figa t.f...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

[PATCH] ARM: dts: exynos4210: Work around lack of cpufreq regulator lookup

2013-08-20 Thread Tomasz Figa
Exynos cpufreq drivers does not support device tree based regulator lookup, so it can get the VDD ARM regulator only by its name. To get cpufreq working for now, this patch works this around by renaming the regulator in board dts files to vdd_arm, which is the name expected by the driver.

Re: [PATCH 01/16] pwm: samsung: Update DT bindings documentation to cover clocks

2013-08-20 Thread Stephen Warren
On 08/20/2013 11:31 AM, Tomasz Figa wrote: PWM driver consumes at least one and up to three clocks, which need to be specified in device tree when used. This patch updates bindings documentation to add information about clocks. diff --git

Re: [PATCH 1/8] Documentation: devicetree: Update Exynos MCT bindings description

2013-08-20 Thread Stephen Warren
On 08/20/2013 11:12 AM, Tomasz Figa wrote: On Tuesday 20 of August 2013 11:00:53 Stephen Warren wrote: On 08/20/2013 07:52 AM, Tomasz Figa wrote: This patch updates description of device tree bindings for Exynos MCT (multicore timers). Namely: - added note about simplified specification of

Re: [PATCH v6] s5k5baf: add camera sensor driver

2013-08-20 Thread Stephen Warren
On 08/20/2013 10:03 AM, Andrzej Hajda wrote: Driver for Samsung S5K5BAF UXGA 1/5 2M CMOS Image Sensor with embedded SoC ISP. The driver exposes the sensor as two V4L2 subdevices: - S5K5BAF-CIS - pure CMOS Image Sensor, fixed 1600x1200 format, no controls. - S5K5BAF-ISP - Image Signal

Re: [PATCH] irqchip: gic: Allow setting affinity to offline CPUs

2013-08-20 Thread Russell King - ARM Linux
On Tue, Aug 20, 2013 at 06:11:10PM +0200, Tomasz Figa wrote: Sometimes it is necessary to fix interrupt affinity to an offline CPU, for example in initialization of local timers. This patch modifies .set_affinity() operation of irq-gic driver to fall back to any possible CPU if no online CPU

Re: [PATCH] irqchip: gic: Allow setting affinity to offline CPUs

2013-08-20 Thread Tomasz Figa
On Tuesday 20 of August 2013 22:14:42 Russell King - ARM Linux wrote: On Tue, Aug 20, 2013 at 06:11:10PM +0200, Tomasz Figa wrote: Sometimes it is necessary to fix interrupt affinity to an offline CPU, for example in initialization of local timers. This patch modifies .set_affinity()

Re: [PATCH 1/8] Documentation: devicetree: Update Exynos MCT bindings description

2013-08-20 Thread Tomasz Figa
On Tuesday 20 of August 2013 14:41:15 Stephen Warren wrote: On 08/20/2013 11:12 AM, Tomasz Figa wrote: On Tuesday 20 of August 2013 11:00:53 Stephen Warren wrote: On 08/20/2013 07:52 AM, Tomasz Figa wrote: This patch updates description of device tree bindings for Exynos MCT

Re: [PATCH 01/16] pwm: samsung: Update DT bindings documentation to cover clocks

2013-08-20 Thread Tomasz Figa
On Tuesday 20 of August 2013 14:34:30 Stephen Warren wrote: On 08/20/2013 11:31 AM, Tomasz Figa wrote: PWM driver consumes at least one and up to three clocks, which need to be specified in device tree when used. This patch updates bindings documentation to add information about clocks.

Re: [PATCH] irqchip: gic: Allow setting affinity to offline CPUs

2013-08-20 Thread Stephen Boyd
On 08/21, Tomasz Figa wrote: On Tuesday 20 of August 2013 22:14:42 Russell King - ARM Linux wrote: On Tue, Aug 20, 2013 at 06:11:10PM +0200, Tomasz Figa wrote: Sometimes it is necessary to fix interrupt affinity to an offline CPU, for example in initialization of local timers. This patch

[PATCH] clk: samsung: pll: Use new registration method for PLL6552 and PLL6553

2013-08-20 Thread Tomasz Figa
This patch modifies PLL6552 and PLL6553 clock drivers to use recently added common Samsung PLL registration method. Signed-off-by: Tomasz Figa tomasz.f...@gmail.com --- drivers/clk/samsung/clk-pll.c | 105 +- drivers/clk/samsung/clk-pll.h | 6 +-- 2

[PATCH v11 8/8] usb: phy: twl4030-usb: remove *set_suspend* and *phy_init* ops

2013-08-20 Thread Kishon Vijay Abraham I
Now that twl4030-usb is adapted to the new generic PHY framework, *set_suspend* and *phy_init* ops can be removed from twl4030-usb driver. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Acked-by: Felipe Balbi ba...@ti.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com ---

[PATCH v11 6/8] usb: musb: omap2430: use the new generic PHY framework

2013-08-20 Thread Kishon Vijay Abraham I
Use the generic PHY framework API to get the PHY. The usb_phy_set_resume and usb_phy_set_suspend is replaced with power_on and power_off to align with the new PHY framework. musb-xceiv can't be removed as of now because musb core uses xceiv.state and xceiv.otg. Once there is a separate state

[PATCH v11 5/8] ARM: dts: omap: update usb_otg_hs data

2013-08-20 Thread Kishon Vijay Abraham I
Updated the usb_otg_hs dt data to include the *phy* and *phy-names* binding in order for the driver to use the new generic PHY framework. Also updated the Documentation to include the binding information. The PHY binding information can be found at

[PATCH v11 7/8] usb: phy: omap-usb2: remove *set_suspend* callback from omap-usb2

2013-08-20 Thread Kishon Vijay Abraham I
Now that omap-usb2 is adapted to the new generic PHY framework, *set_suspend* ops can be removed from omap-usb2 driver. Signed-off-by: Kishon Vijay Abraham I kis...@ti.com Acked-by: Felipe Balbi ba...@ti.com Reviewed-by: Sylwester Nawrocki s.nawro...@samsung.com --- drivers/phy/phy-omap-usb2.c |

[PATCH v11 1/8] drivers: phy: add generic PHY framework

2013-08-20 Thread Kishon Vijay Abraham I
The PHY framework provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. For dt-boot, the PHY drivers should also register *PHY provider* with the framework. PHY drivers should create the PHY by

[PATCH v11 4/8] arm: omap3: twl: add phy consumer data in twl4030_usb_data

2013-08-20 Thread Kishon Vijay Abraham I
The PHY framework uses the phy consumer data populated in platform data in the case of non-dt boot to return the reference to the PHY when the controller (PHY consumer) requests for it. So populated the phy consumer data in the platform data of twl usb. Signed-off-by: Kishon Vijay Abraham I

[PATCH v11 2/8] usb: phy: omap-usb2: use the new generic PHY framework

2013-08-20 Thread Kishon Vijay Abraham I
Used the generic PHY framework API to create the PHY. Now the power off and power on are done in omap_usb_power_off and omap_usb_power_on respectively. The omap-usb2 driver is also moved to driver/phy. However using the old USB PHY library cannot be completely removed because OTG is intertwined

[PATCH v11 3/8] usb: phy: twl4030: use the new generic PHY framework

2013-08-20 Thread Kishon Vijay Abraham I
Used the generic PHY framework API to create the PHY. For powering on and powering off the PHY, power_on and power_off ops are used. Once the MUSB OMAP glue is adapted to the new framework, the suspend and resume ops of usb phy library will be removed. Also twl4030-usb driver is moved to

[PATCH v11 0/8] PHY framework

2013-08-20 Thread Kishon Vijay Abraham I
Added a generic PHY framework that provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. This framework will be of use only to devices that uses external PHY (PHY functionality is not embedded