Re: [PATCHv13 00/40] ARM: TI SoC clock DT conversion

2014-01-10 Thread Tero Kristo
On 01/10/2014 01:15 AM, Felipe Balbi wrote: Hi, On Thu, Jan 09, 2014 at 03:22:03PM -0600, Nishanth Menon wrote: So, bad luck number release for this, as v12 wasn't sufficient still. Changes compared to previous version: - Dropped any changes to generic clock drivers, as it seems impossible

[PATCH 1/2] ARM: DRA7XX/AM43XX: randconfig fixes

2014-01-10 Thread Tero Kristo
DRA7XX and AM43XX were missing common clock code from the Makefile, which causes build breakage in DRA7XX / AM43XX only builds once clock support for these SoCs is added. Add the missing entries to the Makefile as preparation of this. Signed-off-by: Tero Kristo t-kri...@ti.com ---

[PATCH 2/2] ARM: DRA7XX: Add support for DRA7XX only build

2014-01-10 Thread Tero Kristo
SOC_DRA7XX was under wrong menu within Kconfig file, which prevented DRA7XX only build. Fixed the kconfig options for this SoC as we are there. voltage.c needs to be added to the DRA7XX build also, otherwise DRA7XX only build will fail. Signed-off-by: Tero Kristo t-kri...@ti.com ---

[PATCH 0/2] ARM: DRA7XX/AM43XX build fixes

2014-01-10 Thread Tero Kristo
Hi, The move of clock code from mach-omap2 to drivers/clk/ti introduces a couple of new build errors with AM43XX/DRA7XX only builds. The following patches address these issues by modifying the Kconfig + Makefile under mach-omap2. Also, it seems DRA7XX only build is not possible at the moment,

Re: [PATCH v5 3/9] mfd: omap-usb-host: Update DT clock binding information

2014-01-10 Thread Lee Jones
On Thu, 09 Jan 2014, Roger Quadros wrote: The omap-usb-host driver expects certained named clocks. Add this information to the DT binding document. Use clock names as per function for reference clocks. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz sa...@linux.intel.com

Re: [PATCH v5 1/9] mfd: omap-usb-host: Use resource managed clk_get()

2014-01-10 Thread Lee Jones
Use devm_clk_get() instead of clk_get(). CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com --- drivers/mfd/omap-usb-host.c | 81 + 1 file changed, 16 insertions(+), 65

Re: [PATCH v5 2/9] mfd: omap-usb-host: Get clocks based on hardware revision

2014-01-10 Thread Lee Jones
Not all revisions have all the clocks so get the necessary clocks based on hardware revision. This should avoid un-necessary clk_get failure messages that were observed earlier. Be more strict and always fail on clk_get() error. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz

Re: [PATCH v2] ARM: OMAPFB: panel-sony-acx565akm: fix missing mutex unlocks

2014-01-10 Thread Tomi Valkeinen
On 2014-01-05 15:13, Ivaylo Dimitrov wrote: From: Ivaylo Dimitrov freemangor...@abv.bg Commit c37dd677988ca50bc8bc60ab5ab053720583c168 fixes the unbalanced unlock in acx565akm_enable but introduces another problem - if acx565akm_panel_power_on exits early, the mutex is not unlocked. Fix

Re: [PATCH v7 5/7] ARM: dts: add pbias dt node

2014-01-10 Thread Mark Rutland
On Wed, Jan 08, 2014 at 02:51:46PM +, Balaji T K wrote: On Tuesday 07 January 2014 05:53 PM, Balaji T K wrote: On Tuesday 07 January 2014 04:27 PM, Mark Rutland wrote: On Tue, Jan 07, 2014 at 10:18:15AM +, Balaji T K wrote: On Monday 06 January 2014 11:49 PM, Mark Rutland wrote:

Re: [PATCH RFC 00/26] Migrate more OMAP DMA code to DMA engine

2014-01-10 Thread Sricharan R
On Thursday 02 January 2014 08:36 PM, Russell King - ARM Linux wrote: The following patch series moves code to setup the DMA hardware and service interrupts from the hardware to the DMA engine driver. This reduces the dependency on the legacy DMA implementation. This series does not remove

Re: [PATCH v5 2/9] mfd: omap-usb-host: Get clocks based on hardware revision

2014-01-10 Thread Arnd Bergmann
On Friday 10 January 2014, Lee Jones wrote: - need_logic_fck = false; + /* Set all clocks as invalid to begin with */ + omap-ehci_logic_fck = omap-init_60m_fclk = ERR_PTR(-EINVAL); + omap-utmi_p1_gfclk = omap-utmi_p2_gfclk = ERR_PTR(-EINVAL); + omap-xclk60mhsp1_ck

Re: [PATCH v5 2/9] mfd: omap-usb-host: Get clocks based on hardware revision

2014-01-10 Thread Lee Jones
On Fri, 10 Jan 2014, Arnd Bergmann wrote: On Friday 10 January 2014, Lee Jones wrote: - need_logic_fck = false; + /* Set all clocks as invalid to begin with */ + omap-ehci_logic_fck = omap-init_60m_fclk = ERR_PTR(-EINVAL); + omap-utmi_p1_gfclk =

Re: [PATCH v8 1/7] mmc: omap_hsmmc: use devm_regulator API

2014-01-10 Thread Balaji T K
On Thursday 09 January 2014 08:48 PM, Felipe Balbi wrote: Hi, On Thu, Jan 09, 2014 at 08:20:56PM +0530, Balaji T K wrote: Use devm_regulator API, while at it use devm_regulator_get_optional for optional vmmc_aux supply Signed-off-by: Balaji T K balaj...@ti.com Acked-by: Tony Lindgren

Re: [PATCH v8 1/7] mmc: omap_hsmmc: use devm_regulator API

2014-01-10 Thread Felipe Balbi
hi, On Fri, Jan 10, 2014 at 09:25:20PM +0530, Balaji T K wrote: On Thursday 09 January 2014 08:48 PM, Felipe Balbi wrote: Hi, On Thu, Jan 09, 2014 at 08:20:56PM +0530, Balaji T K wrote: Use devm_regulator API, while at it use devm_regulator_get_optional for optional vmmc_aux supply

Re: [PATCHv13 00/40] ARM: TI SoC clock DT conversion

2014-01-10 Thread Felipe Balbi
Hi, On Fri, Jan 10, 2014 at 11:52:49AM +0200, Tero Kristo wrote: On 01/10/2014 01:15 AM, Felipe Balbi wrote: Hi, On Thu, Jan 09, 2014 at 03:22:03PM -0600, Nishanth Menon wrote: So, bad luck number release for this, as v12 wasn't sufficient still. Changes compared to previous version: -

Re: [PATCH 1/2] ARM: DRA7XX/AM43XX: randconfig fixes

2014-01-10 Thread Felipe Balbi
On Fri, Jan 10, 2014 at 11:57:29AM +0200, Tero Kristo wrote: DRA7XX and AM43XX were missing common clock code from the Makefile, which causes build breakage in DRA7XX / AM43XX only builds once clock support for these SoCs is added. Add the missing entries to the Makefile as preparation of

Re: [PATCH 2/2] ARM: DRA7XX: Add support for DRA7XX only build

2014-01-10 Thread Felipe Balbi
On Fri, Jan 10, 2014 at 11:57:30AM +0200, Tero Kristo wrote: SOC_DRA7XX was under wrong menu within Kconfig file, which prevented DRA7XX only build. Fixed the kconfig options for this SoC as we are there. voltage.c needs to be added to the DRA7XX build also, otherwise DRA7XX only build will

Re: [PATCHv13 00/40] ARM: TI SoC clock DT conversion

2014-01-10 Thread Tero Kristo
On 01/10/2014 06:13 PM, Felipe Balbi wrote: Hi, On Fri, Jan 10, 2014 at 11:52:49AM +0200, Tero Kristo wrote: On 01/10/2014 01:15 AM, Felipe Balbi wrote: Hi, On Thu, Jan 09, 2014 at 03:22:03PM -0600, Nishanth Menon wrote: So, bad luck number release for this, as v12 wasn't sufficient still.

Re: [PATCH 2/2] ARM: DRA7XX: Add support for DRA7XX only build

2014-01-10 Thread Tero Kristo
On 01/10/2014 06:15 PM, Felipe Balbi wrote: On Fri, Jan 10, 2014 at 11:57:30AM +0200, Tero Kristo wrote: SOC_DRA7XX was under wrong menu within Kconfig file, which prevented DRA7XX only build. Fixed the kconfig options for this SoC as we are there. voltage.c needs to be added to the DRA7XX

Re: [PATCH v7 5/7] ARM: dts: add pbias dt node

2014-01-10 Thread Balaji T K
On Friday 10 January 2014 05:02 PM, Mark Rutland wrote: On Wed, Jan 08, 2014 at 02:51:46PM +, Balaji T K wrote: On Tuesday 07 January 2014 05:53 PM, Balaji T K wrote: On Tuesday 07 January 2014 04:27 PM, Mark Rutland wrote: On Tue, Jan 07, 2014 at 10:18:15AM +, Balaji T K wrote: On

[PATCH v9 0/7] mmc: omap_hsmmc: pbias dt and cleanup

2014-01-10 Thread Balaji T K
Few cleanups to reduce code indent, Add pbias_regulator support and adapt omap_hsmmc to use pbias regulator to configure required voltage on mmc1 pad(SD card) i/o rails on OMAP SoCs. v9 changes: remove simple-bus, add phandle for syscon in dt node Balaji T K (7): mmc: omap_hsmmc: use

[PATCH v9 5/7] ARM: dts: add pbias dt node

2014-01-10 Thread Balaji T K
Add pbias regulator node as a child of system control module - syscon. Signed-off-by: Balaji T K balaj...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- arch/arm/boot/dts/dra7.dtsi | 17 + arch/arm/boot/dts/omap2430.dtsi | 17 +

[PATCH v9 7/7] mmc: omap_hsmmc: remove pbias workaround

2014-01-10 Thread Balaji T K
remove pbias workaround Signed-off-by: Balaji T K balaj...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- drivers/mmc/host/omap_hsmmc.c | 20 +--- 1 files changed, 1 insertions(+), 19 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c

[PATCH v9 6/7] ARM: OMAP: enable SYSCON and REGULATOR_PBIAS in omap2plus_defconfig

2014-01-10 Thread Balaji T K
Enable REGULATOR_PBIAS needed for SD card on most OMAPs. Signed-off-by: Balaji T K balaj...@ti.com --- arch/arm/configs/omap2plus_defconfig |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index

[PATCH v9 2/7] mmc: omap_hsmmc: handle vcc and vcc_aux independently

2014-01-10 Thread Balaji T K
handle vcc and vcc_aux independently to reduce indent. Signed-off-by: Balaji T K balaj...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- drivers/mmc/host/omap_hsmmc.c | 54 +++-- 1 files changed, 25 insertions(+), 29 deletions(-) diff --git

[PATCH v9 1/7] mmc: omap_hsmmc: use devm_regulator API

2014-01-10 Thread Balaji T K
Use devm_regulator API, while at it use devm_regulator_get_optional for optional vmmc_aux supply Signed-off-by: Balaji T K balaj...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- drivers/mmc/host/omap_hsmmc.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git

[PATCH v9 3/7] regulator: add pbias regulator support

2014-01-10 Thread Balaji T K
pbias register controls internal power supply to sd card i/o pads in most OMAPs (OMAP2-5, DRA7). Control bits for selecting voltage level and enabling/disabling are in the same PBIAS register. Signed-off-by: Balaji T K balaj...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- v9: use syscon

[PATCH v9 4/7] mmc: omap_hsmmc: adapt hsmmc to use pbias regulator

2014-01-10 Thread Balaji T K
In DT case, PBAIS registers are programmed via regulator, use regulator APIs to control PBIAS. Signed-off-by: Balaji T K balaj...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 39 +++ 1 files changed, 39 insertions(+), 0 deletions(-) diff --git

Re: [PATCH v9 4/7] mmc: omap_hsmmc: adapt hsmmc to use pbias regulator

2014-01-10 Thread Michael Trimarchi
Hi On Fri, Jan 10, 2014 at 6:30 PM, Balaji T K balaj...@ti.com wrote: In DT case, PBAIS registers are programmed via regulator, use regulator APIs to control PBIAS. Signed-off-by: Balaji T K balaj...@ti.com --- drivers/mmc/host/omap_hsmmc.c | 39 +++

Re: [PATCHv13 00/40] ARM: TI SoC clock DT conversion

2014-01-10 Thread Tony Lindgren
* Tero Kristo t-kri...@ti.com [140110 08:32]: On 01/10/2014 06:13 PM, Felipe Balbi wrote: On Fri, Jan 10, 2014 at 11:52:49AM +0200, Tero Kristo wrote: On 01/10/2014 01:15 AM, Felipe Balbi wrote: On Thu, Jan 09, 2014 at 03:22:03PM -0600, Nishanth Menon wrote: conflicts with be changes on

Re: [PATCHv13 00/40] ARM: TI SoC clock DT conversion

2014-01-10 Thread Tony Lindgren
* Mike Turquette mturque...@linaro.org [140109 14:25]: Quoting Tero Kristo (2014-01-09 06:00:11) Hi, So, bad luck number release for this, as v12 wasn't sufficient still. Changes compared to previous version: - Dropped any changes to generic clock drivers, as it seems impossible

[PATCH] ARM: DRA7: hwmod data: correct the sysc data for spinlock

2014-01-10 Thread Suman Anna
The spinlock module's SYSCONFIG register on DRA7xx does not support smart wakeup, and also does not have the CLKACTIVITY field. The sysc data for spinlock module has been appropriately fixed up to reflect the same. Cc: Ambresh K ambr...@ti.com Signed-off-by: Suman Anna s-a...@ti.com ---

[PATCH] ARM: AM43x: hwmod data: register spinlock OCP interface

2014-01-10 Thread Suman Anna
AM43xx has a spinlock module which is identical to the one present on AM33xx. Register the spinlock ocp_if link so that the spinlock hwmod and associated omap_device can be instantiated, and the runtime pm API could be used by the OMAP hwspinlock driver. Cc: Rajendra Nayak rna...@ti.com

Re: [RFCv4 05/11] Documentation: DT: omap-ssi binding documentation

2014-01-10 Thread Sebastian Reichel
Hi Tony, On Thu, Dec 19, 2013 at 11:03:44AM -0800, Tony Lindgren wrote: +Required properties: +- compatible: Should include ti,omap3-ssi. +- reg-names: Contains the values sys and gdd. Do you need the reg-names? The order won't change so you can just document