RE: RE: [PATCH 1/2] ARM: omapfb: add coherent dma memory support

2014-01-09 Thread Hiremath, Vaibhav
-Original Message- From: linux-omap-ow...@vger.kernel.org [mailto:linux-omap- ow...@vger.kernel.org] On Behalf Of Ivaylo Dimitrov Sent: Thursday, January 09, 2014 1:05 PM To: Hiremath, Vaibhav; Valkeinen, Tomi; Tony Lindgren; Ivaylo Dimitrov Cc: linux-omap@vger.kernel.org;

Re: [RFC PATCH v1 0/2] clock and HWMOD changes for USIM module

2014-01-09 Thread Satish Patel
On 1/6/2014 5:42 PM, Satish Patel wrote: Patch set includes clock and HWMOD entries for AM43x's USIM modoule. Note: I am in process of mainlining usim driver. Satish Patel (2): ARM: dts: AM43xx-clocks: Entries added for ti-usim ARM: OMAP: AM43xx: HWMOD changes added for ti-usim

Re: [PATCH 1/2] ARM: omapfb: add coherent dma memory support

2014-01-09 Thread Tomi Valkeinen
On 2014-01-09 07:06, Hiremath, Vaibhav wrote: I am seeing underflow issue on AM43x device if I use omapfb_vram argument. Did you see this on OMAP? I am using omapfb_vram=10M@0xA000, and I believe it is correct way of usage. Hmm ok... The AM4x seems to have issues anyway, as we're

Re: [PATCH 1/2] ARM: omapfb: add coherent dma memory support

2014-01-09 Thread Tomi Valkeinen
On 2014-01-09 10:08, Hiremath, Vaibhav wrote: No, that's what is causing issue to me. Can you try predefined address flow? Just to highlight, I get UNDERFLOW during boot itself, immediately when it gets mapped to userspace. Boot LOG: [4.822549] Freeing unused kernel memory: 440K

RE: [PATCH 1/2] ARM: omapfb: add coherent dma memory support

2014-01-09 Thread Hiremath, Vaibhav
-Original Message- From: Valkeinen, Tomi Sent: Thursday, January 09, 2014 1:52 PM To: Hiremath, Vaibhav; Ivaylo Dimitrov Cc: Tony Lindgren; linux-omap@vger.kernel.org; linux-arm- ker...@lists.infradead.org; linux-fb...@vger.kernel.org Subject: Re: [PATCH 1/2] ARM: omapfb: add

RE: [PATCH 1/2] ARM: omapfb: add coherent dma memory support

2014-01-09 Thread Hiremath, Vaibhav
-Original Message- From: Valkeinen, Tomi Sent: Thursday, January 09, 2014 1:57 PM To: Hiremath, Vaibhav; Ivaylo Dimitrov; Ivaylo Dimitrov Cc: Tony Lindgren; linux-omap@vger.kernel.org; linux-arm- ker...@lists.infradead.org; linux-fb...@vger.kernel.org Subject: Re: [PATCH 1/2] ARM:

DSS DT support for 3.14 probably not possible

2014-01-09 Thread Tomi Valkeinen
Hi Tony, Unfortunately I think the DSS DT series will miss 3.14 merge window. The code feels quite fine, but I'm still in the process of writing the binding documentation and getting those reviewed. And that review could of course lead to some new changes. So if we're going for DT-only boot for

Re: [PATCH v4 0/5] USB Host support for OMAP5 uEVM (for 3.14)

2014-01-09 Thread Roger Quadros
Hi Michele, Did you enable CONFIG_USB_EHCI_HCD_OMAP in the kernel config? It is not enabled by default in omap2plus_defconfig. cheers, -roger On 01/09/2014 04:34 PM, Michele Paolino wrote: Hello Roger, I'm testing your patch on an OMAP5430 EVM board. The ethernet is not working in my

Re: [PATCH v4 0/5] USB Host support for OMAP5 uEVM (for 3.14)

2014-01-09 Thread Michele Paolino
On 09/01/2014 12:08, Roger Quadros wrote: Hi Michele, Did you enable CONFIG_USB_EHCI_HCD_OMAP in the kernel config? It is not enabled by default in omap2plus_defconfig. Indeed it works. Thank you! cheers, -roger On 01/09/2014 04:34 PM, Michele Paolino wrote: Hello Roger, I'm testing

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

2014-01-09 Thread Roger Quadros
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 deletions(-)

[PATCH v5 5/9] ARM: dts: omap4: Update omap-usb-host node

2014-01-09 Thread Roger Quadros
The omap-usb-host driver expects a certain name for internal and external reference clocks. Provide these clocks. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap4.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap4.dtsi

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

2014-01-09 Thread Roger Quadros
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 Signed-off-by: Roger Quadros rog...@ti.com ---

[PATCH v5 8/9] ARM: dts: omap5-uevm: Provide USB PHY clock

2014-01-09 Thread Roger Quadros
The HS USB 2 PHY gets its clock from AUXCLK1. Provide this information. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap5-uevm.dts | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/omap5-uevm.dts b/arch/arm/boot/dts/omap5-uevm.dts

[PATCH v5 6/9] ARM: dts: omap5: Update omap-usb-host node

2014-01-09 Thread Roger Quadros
The omap-usb-host driver expects a certain name for internal and external reference clocks. Provide these clocks. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap5.dtsi

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

2014-01-09 Thread Roger Quadros
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

[PATCH v5 7/9] ARM: dts: omap4-panda: Provide USB PHY clock

2014-01-09 Thread Roger Quadros
The USB PHY gets its clock from AUXCLK3. Provide this information. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/omap4-panda-common.dtsi | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/omap4-panda-common.dtsi

[PATCH v5 4/9] mfd: omap-usb-tll: Update DT clock binding information

2014-01-09 Thread Roger Quadros
The omap-usb-tll driver needs one clock for each TLL channel. Add this information to the DT binding document. CC: Lee Jones lee.jo...@linaro.org CC: Samuel Ortiz sa...@linux.intel.com Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/mfd/omap-usb-tll.txt | 10

[PATCH v5 9/9] ARM: OMAP2+: Remove legacy_init_ehci_clk()

2014-01-09 Thread Roger Quadros
The necessary clock phandle for the EHCI clock is now provided via device tree so we no longer need this legacy method. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/mach-omap2/pdata-quirks.c | 16 1 file changed, 16 deletions(-) diff --git

[PATCH v5 0/9] USB Host support for OMAP5 uEVM (for 3.14)

2014-01-09 Thread Roger Quadros
Hi Benoit Tony, This patchset brings up USB Host ports and Ethernet port on the OMAP5 uEVM board. It depends on the TI Clock DT conversion patches [1] and is based on 3.13-rc7 [1] - http://article.gmane.org/gmane.linux.ports.arm.kernel/289895 NOTE: I've tested this only on the OMAP5 uEVM

RE: [PATCH 1/2] ARM: omapfb: add coherent dma memory support

2014-01-09 Thread Hiremath, Vaibhav
-Original Message- From: Hiremath, Vaibhav Sent: Thursday, January 09, 2014 2:01 PM To: Valkeinen, Tomi; Ivaylo Dimitrov Cc: Tony Lindgren; linux-omap@vger.kernel.org; linux-arm- ker...@lists.infradead.org; linux-fb...@vger.kernel.org Subject: RE: [PATCH 1/2] ARM: omapfb: add

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

2014-01-09 Thread Vinod Koul
On Thu, Jan 02, 2014 at 03:08:36PM +, 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. Didnt the code getting

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

2014-01-09 Thread Tero Kristo
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 to agree anything in short term, this means the patch set shrank in size from 49 patches to 40 (first 9

[PATCHv13 05/40] clk: ti: add composite clock support

2014-01-09 Thread Tero Kristo
This is a multipurpose clock node, which contains support for multiple sub-clocks. Uses basic composite clock type to implement the actual functionality, and TI specific gate, mux and divider clocks. Signed-off-by: Tero Kristo t-kri...@ti.com --- .../devicetree/bindings/clock/ti/composite.txt

[PATCHv13 02/40] CLK: ti: add init support for clock IP blocks

2014-01-09 Thread Tero Kristo
ti_dt_clk_init_provider() can now be used to initialize the contents of a single clock IP block. This parses all the clocks under the IP block and calls the corresponding init function for them. This patch also introduces a helper function for the TI clock drivers to get register info from DT and

[PATCHv13 01/40] CLK: TI: add DT alias clock registration mechanism

2014-01-09 Thread Tero Kristo
Some devices require their clocks to be available with a specific dev-id con-id mapping. With DT, the clocks can be found by default only with their name, or alternatively through the device node of the consumer. With drivers, that don't support DT fully yet, add mechanism to register specific

[PATCHv13 04/40] CLK: TI: add autoidle support

2014-01-09 Thread Tero Kristo
TI clk driver now routes some of the basic clocks through own registration routine to allow autoidle support. This routine just checks a couple of device node properties and adds autoidle support if required, and just passes the registration forward to basic clocks. Signed-off-by: Tero Kristo

[PATCHv13 09/40] CLK: TI: add support for clockdomain binding

2014-01-09 Thread Tero Kristo
Some OMAP clocks require knowledge about their parent clockdomain for book keeping purposes. This patch creates a new DT binding for TI clockdomains, which act as a collection of device clocks. Clockdomain itself is rather misleading name for the hardware functionality, as at least on OMAP4 /

[PATCHv13 03/40] CLK: TI: Add DPLL clock support

2014-01-09 Thread Tero Kristo
The OMAP clock driver now supports DPLL clock type. This patch also adds support for DT DPLL nodes. Signed-off-by: Tero Kristo t-kri...@ti.com --- .../devicetree/bindings/clock/ti/dpll.txt | 75 +++ arch/arm/mach-omap2/clock.h| 164 +-

[PATCHv13 06/40] CLK: ti: add support for ti divider-clock

2014-01-09 Thread Tero Kristo
This patch adds support for TI divider clock binding, which simply uses the basic clock divider to provide the features needed. Signed-off-by: Tero Kristo t-kri...@ti.com --- .../devicetree/bindings/clock/ti/divider.txt | 114 + drivers/clk/ti/Makefile|

[PATCHv13 08/40] CLK: TI: add support for gate clock

2014-01-09 Thread Tero Kristo
This patch adds support for TI specific gate clocks. These behave as basic gate-clock, but have different ops / hw-ops for controlling the actual gate, for example waiting until the clock is ready. Several sub-types are supported: - ti,gate-clock: basic gate clock with default ops/hwops -

[PATCHv13 10/40] clk: ti: add support for basic mux clock

2014-01-09 Thread Tero Kristo
ti,mux-clock provides now a binding for basic mux support. This is just using the basic clock type. Signed-off-by: Tero Kristo t-kri...@ti.com --- Documentation/devicetree/bindings/clock/ti/mux.txt | 76 ++ drivers/clk/ti/Makefile|2 +-

[PATCHv13 07/40] clk: ti: add support for TI fixed factor clock

2014-01-09 Thread Tero Kristo
This behaves exactly in similar manner to basic fixed-factor-clock, but adds a few properties on top for handling clock hardware autoidling. Signed-off-by: Tero Kristo t-kri...@ti.com --- .../bindings/clock/ti/fixed-factor-clock.txt | 43 + drivers/clk/ti/Makefile

[PATCHv13 11/40] CLK: TI: add omap4 clock init file

2014-01-09 Thread Tero Kristo
clk-44xx.c now contains the clock init functionality for omap4, including DT clock registration and adding of static clkdev entries. Signed-off-by: Tero Kristo t-kri...@ti.com Tested-by: Nishanth Menon n...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/clock.h |1 -

[PATCHv13 23/40] ARM: dts: clk: Add apll related clocks

2014-01-09 Thread Tero Kristo
From: J Keerthy j-keer...@ti.com The patch adds a mux node to choose the parent of apll_pcie_ck node. Signed-off-by: J Keerthy j-keer...@ti.com Signed-off-by: Tero Kristo t-kri...@ti.com Tested-by: Nishanth Menon n...@ti.com Acked-by: Tony Lindgren t...@atomide.com ---

[PATCHv13 19/40] CLK: TI: add am43xx clock init file

2014-01-09 Thread Tero Kristo
clk-43xx.c now contains the clock init functionality for am43xx, including DT clock registration and adding of static clkdev entries. Signed-off-by: Tero Kristo t-kri...@ti.com Tested-by: Nishanth Menon n...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- drivers/clk/ti/Makefile |2 +-

[PATCHv13 15/40] CLK: TI: add dra7 clock init file

2014-01-09 Thread Tero Kristo
clk-7xx.c now contains the clock init functionality for dra7, including DT clock registration and adding of static clkdev entries. Signed-off-by: Tero Kristo t-kri...@ti.com Tested-by: Nishanth Menon n...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- drivers/clk/ti/Makefile |1 +

[PATCHv13 16/40] CLK: TI: add am33xx clock init file

2014-01-09 Thread Tero Kristo
clk-33xx.c now contains the clock init functionality for am33xx, including DT clock registration and adding of static clkdev entries. This patch also moves the omap2_clk_enable_init_clocks declaration to the driver include, as this is needed by the am33xx clock init code. Signed-off-by: Tero

[PATCHv13 12/40] CLK: TI: add omap5 clock init file

2014-01-09 Thread Tero Kristo
clk-54xx.c now contains the clock init functionality for omap5, including DT clock registration and adding of static clkdev entries. Signed-off-by: Tero Kristo t-kri...@ti.com Tested-by: Nishanth Menon n...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/io.c |1 +

[PATCHv13 17/40] CLK: TI: add interface clock support for OMAP3

2014-01-09 Thread Tero Kristo
OMAP3 has interface clocks in addition to functional clocks, which require special handling for the autoidle and idle status register offsets mainly. Signed-off-by: Tero Kristo t-kri...@ti.com --- .../devicetree/bindings/clock/ti/interface.txt | 54 + arch/arm/mach-omap2/clock.h

[PATCHv13 14/40] CLK: TI: DRA7: Add APLL support

2014-01-09 Thread Tero Kristo
From: J Keerthy j-keer...@ti.com The patch adds support for DRA7 PCIe APLL. The APLL sources the optional functional clocks for PCIe module. APLL stands for Analog PLL. This is different when comapred with DPLL meaning Digital PLL, the phase detection is done using an analog circuit.

[PATCHv13 13/40] CLK: TI: omap5: Initialize USB_DPLL at boot

2014-01-09 Thread Tero Kristo
From: Roger Quadros rog...@ti.com USB_DPLL must be initialized and locked at boot so that USB modules can work. Signed-off-by: Roger Quadros rog...@ti.com Signed-off-by: Tero Kristo t-kri...@ti.com Tested-by: Nishanth Menon n...@ti.com Acked-by: Tony Lindgren t...@atomide.com ---

[PATCHv13 18/40] CLK: TI: add omap3 clock init file

2014-01-09 Thread Tero Kristo
clk-3xxx.c now contains the clock init functionality for omap3, including DT clock registration and adding of static clkdev entries. Signed-off-by: Tero Kristo t-kri...@ti.com Tested-by: Nishanth Menon n...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/clock3xxx.h |

[PATCHv13 25/40] ARM: dts: DRA7: Add PCIe related clock nodes

2014-01-09 Thread Tero Kristo
From: J Keerthy j-keer...@ti.com This patch adds optfclk_pciephy_clk and optfclk_pciephy_div_clk which are used by PCIe phy. It also adds a mux clock to choose the source of optfclk_pciephy_div_clk clock. Signed-off-by: J Keerthy j-keer...@ti.com Signed-off-by: Tero Kristo t-kri...@ti.com

[PATCHv13 30/40] ARM: OMAP2+: clock: add support for indexed memmaps

2014-01-09 Thread Tero Kristo
Using indexed memmaps is required for isolating the actual memory access from the clock code. Now, the driver providing the support for the clock IP block provides the low level routines for reading/writing clock registers also. Signed-off-by: Tero Kristo t-kri...@ti.com ---

[PATCHv13 28/40] ARM: dts: AM35xx: use DT clock data

2014-01-09 Thread Tero Kristo
AM35xx now uses the clock data from device tree. Most of the data is shared with OMAP3xxx, but as there is some delta, a new base .dtsi file is also created for the SoC. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/boot/dts/am3517.dtsi |3 +++ 1 file changed, 3 insertions(+) diff

[PATCHv13 24/40] ARM: dts: DRA7: Change apll_pcie_m2_ck to fixed factor clock

2014-01-09 Thread Tero Kristo
From: J Keerthy j-keer...@ti.com This patch changes apll_pcie_m2_ck to fixed factor clock as there are no configurable divider associated to m2. Signed-off-by: J Keerthy j-keer...@ti.com Signed-off-by: Tero Kristo t-kri...@ti.com Tested-by: Nishanth Menon n...@ti.com Acked-by: Tony Lindgren

[PATCHv13 21/40] ARM: dts: omap5 clock data

2014-01-09 Thread Tero Kristo
This patch creates a unique node for each clock in the OMAP5 power, reset and clock manager (PRCM). Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 54 ++ arch/arm/boot/dts/omap54xx-clocks.dtsi | 1399 2 files changed,

[PATCHv13 22/40] ARM: dts: dra7 clock data

2014-01-09 Thread Tero Kristo
This patch creates a unique node for each clock in the DRA7 power, reset and clock manager (PRCM). TODO: apll_pcie clock node is still a dummy in this version, and proper support for the APLL should be added. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/boot/dts/dra7.dtsi |

[PATCHv13 37/40] ARM: OMAP: DRA7: Enable clock init

2014-01-09 Thread Tero Kristo
Initializes clock data from device tree. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/io.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index c95b836..44fc8cd 100644 --- a/arch/arm/mach-omap2/io.c +++

[PATCHv13 29/40] ARM: dts: am43xx clock data

2014-01-09 Thread Tero Kristo
This patch creates a unique node for each clock in the AM43xx power, reset and clock manager (PRCM). Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/boot/dts/am4372.dtsi| 28 ++ arch/arm/boot/dts/am43xx-clocks.dtsi | 656 ++ 2 files changed, 684

[PATCHv13 33/40] ARM: OMAP3: hwmod: initialize clkdm from clkdm_name

2014-01-09 Thread Tero Kristo
DT clocks are mostly missing clkdm info now, and this causes an issue with counter32k which makes its slave idlemode wrong and prevents core idle. Fixed by initializing the hwmod clkdm pointers for omap3 also which makes sure the clkdm flag matching logic works properly. This patch also changes

[PATCHv13 26/40] ARM: dts: am33xx clock data

2014-01-09 Thread Tero Kristo
This patch creates a unique node for each clock in the AM33xx power, reset and clock manager (PRCM). Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/boot/dts/am33xx-clocks.dtsi | 664 ++ arch/arm/boot/dts/am33xx.dtsi| 28 ++ 2 files changed, 692

[PATCHv13 32/40] ARM: OMAP: hwmod: fix an incorrect clk type cast with _get_clkdm

2014-01-09 Thread Tero Kristo
If the main clock for a hwmod is of basic clock type, it is illegal to type cast this to clk_hw_omap and will result in bogus data. Fixed by checking the clock flags before attempting the type cast. Signed-off-by: Tero Kristo t-kri...@ti.com Tested-by: Nishanth Menon n...@ti.com Acked-by: Tony

[PATCHv13 20/40] ARM: dts: omap4 clock data

2014-01-09 Thread Tero Kristo
This patch creates a unique node for each clock in the OMAP4 power, reset and clock manager (PRCM). OMAP443x and OMAP446x have slightly different clock tree which is taken into account in the data. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/boot/dts/omap4.dtsi | 54 ++

[PATCHv13 35/40] ARM: OMAP2+: io: use new clock init API

2014-01-09 Thread Tero Kristo
clk_init is now separated to a common function which gets called for all SoC:s, which initializes the DT clocks and calls the SoC specific clock init. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/common.h |2 +- arch/arm/mach-omap2/io.c | 32

[PATCHv13 34/40] ARM: OMAP2+: PRM: add support for initializing PRCM clock modules from DT

2014-01-09 Thread Tero Kristo
This patch provides top level functionality for the DT clock initialization. Clock tree is initialized hierarchically starting from IP modules (CM/PRM/PRCM) going down towards individual clock nodes, and finally initializing clockdomains once all the clocks are ready. Signed-off-by: Tero Kristo

[PATCHv13 40/40] ARM: OMAP3: use DT clock init if DT data is available

2014-01-09 Thread Tero Kristo
OMAP3 platforms support both DT and non-DT boot at the moment, make the clock init work according to the used setup. Signed-off-by: Tero Kristo t-kri...@ti.com Tested-by: Nishanth Menon n...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/io.c | 13 - 1 file

[PATCHv13 31/40] ARM: OMAP2+: clock: use driver API instead of direct memory read/write

2014-01-09 Thread Tero Kristo
Clock nodes shall use the services provided by underlying drivers to access the hardware registers instead of direct memory read/write. Thus, change all the code to use the new omap2_clk_readl / omap2_clk_writel APIs for this. Signed-off-by: Tero Kristo t-kri...@ti.com ---

[PATCHv13 38/40] ARM: AM43xx: Enable clock init

2014-01-09 Thread Tero Kristo
Initializes clock data from device tree. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/io.c |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c index 44fc8cd..bbd2959 100644 --- a/arch/arm/mach-omap2/io.c +++

[PATCHv13 39/40] ARM: AM33xx: remove old clock data and link in new clock init code

2014-01-09 Thread Tero Kristo
AM33xx clocks have now been moved to DT, thus remove the old data file and use the new init code under OMAP clock driver. Signed-off-by: Tero Kristo t-kri...@ti.com Tested-by: Nishanth Menon n...@ti.com Acked-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/Makefile |1 -

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

2014-01-09 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 | 18 ++ arch/arm/boot/dts/omap2430.dtsi | 18 ++

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

2014-01-09 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 v8 4/7] mmc: omap_hsmmc: adapt hsmmc to use pbias regulator

2014-01-09 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

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

2014-01-09 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 v8 6/7] ARM: OMAP: enable SYSCON and REGULATOR_PBIAS in omap2plus_defconfig

2014-01-09 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 v8 2/7] mmc: omap_hsmmc: handle vcc and vcc_aux independently

2014-01-09 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 v8 3/7] regulator: add pbias regulator support

2014-01-09 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 ---

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

2014-01-09 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. Balaji T K (7): mmc: omap_hsmmc: use devm_regulator API mmc: omap_hsmmc: handle vcc and vcc_aux independently

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

2014-01-09 Thread Felipe Balbi
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 t...@atomide.com --- drivers/mmc/host/omap_hsmmc.c |6

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

2014-01-09 Thread Russell King - ARM Linux
On Tue, Jan 07, 2014 at 05:21:11PM -0800, Tony Lindgren wrote: * Russell King - ARM Linux li...@arm.linux.org.uk [140102 07:11]: 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

Re: [PATCH v2 2/3] ARM: OMAP2+: Add support to parse optional clk info from DT

2014-01-09 Thread Nishanth Menon
On 12/12/2013 05:38 AM, Rajendra Nayak wrote: With clocks for OMAP moving to DT, its now possible to pass all optional clock data for each device from DT instead of having it in hwmod. Signed-off-by: Rajendra Nayak rna...@ti.com --- arch/arm/mach-omap2/omap_hwmod.c | 65

Re: DSS DT support for 3.14 probably not possible

2014-01-09 Thread Tony Lindgren
* Tomi Valkeinen tomi.valkei...@ti.com [140109 02:00]: Hi Tony, Unfortunately I think the DSS DT series will miss 3.14 merge window. The code feels quite fine, but I'm still in the process of writing the binding documentation and getting those reviewed. And that review could of course

[PATCH 05/18] ARM: dts: omap3-overo: Use complete poweroff

2014-01-09 Thread Florian Vaussard
Currently, the TWL4030 PMIC does not completely poweroff the processor. Commit b0fc1da4d0359d3cce8f12e0f014aed0704ae202 introduced the necessary binding to do this, so use it. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap3-overo.dtsi | 5 + 1 file

[PATCH 01/18] of: add vendor prefix for Gumstix

2014-01-09 Thread Florian Vaussard
Using gumstix for Gumstix Inc. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt

[PATCH 07/18] ARM: dts: omap3-overo: Add HSUSB PHY

2014-01-09 Thread Florian Vaussard
Add the High-Speed USB PHY. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap3-overo.dtsi | 60 ++ 1 file changed, 60 insertions(+) diff --git a/arch/arm/boot/dts/omap3-overo.dtsi b/arch/arm/boot/dts/omap3-overo.dtsi index

[PATCH 09/18] ARM: dts: omap3-tobi: Use include file omap-gpmc-smsc9221

2014-01-09 Thread Florian Vaussard
Use the timings provided by omap-gpmc-smsc9221. This does not change the timings, but it avoids code duplication. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap3-tobi.dts | 30 +++--- 1 file changed, 3 insertions(+), 27 deletions(-)

[PATCH 10/18] ARM: dts: omap3-tobi: Add AT24C01 EEPROM

2014-01-09 Thread Florian Vaussard
Add the AT24C01 EEPROM node populated on most Gumstix expansion board. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap3-tobi.dts | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/omap3-tobi.dts b/arch/arm/boot/dts/omap3-tobi.dts

[PATCH 06/18] ARM: dts: omap3-overo: Enable MMC2

2014-01-09 Thread Florian Vaussard
MMC2 is used by the on-board WiFi module populated on some boards (based on Marvell Libertas 8688 SDIO). Note: currently WiFi only works on cold boot, as the module is not properly reset (missing binding for the GPIO reset). Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch ---

[PATCH 11/18] ARM: dts: omap3-tobi: Create a file for common Gumstix peripherals

2014-01-09 Thread Florian Vaussard
Gumstix expansion boards share a couple of peripherals: - i2c3 is used for the console - AT24C01 EEPROM on i2c3 Use this file for omap3-tobi. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap3-overo-common.dtsi | 39 +++

[PATCH 00/18] ARM: dts: Better support for Gumstix Overo

2014-01-09 Thread Florian Vaussard
Hello, This series adds a number of improvements to Gumstix Overo. Patch 1+2: fix an issue with the vendor prefix (reported long ago by Javier Martinez Canillas) Patch 3+4: add some missing pinctrl entries Patch 5: completely turn off the PMIC on power off Patch 6: enable the on-board Wifi

[PATCH 12/18] ARM: dts: omap3-tobi: Rename to omap3-overo-tobi

2014-01-09 Thread Florian Vaussard
To enhance the clarity and coherence, rename omap3-tobi to omap3-overo-tobi. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/Makefile | 2 +- arch/arm/boot/dts/{omap3-tobi.dts = omap3-overo-tobi.dts} | 2 +- 2 files changed, 2

[PATCH 04/18] ARM: dts: omap3-overo: Add missing pinctrl

2014-01-09 Thread Florian Vaussard
Add missing pinctrl entries for: - i2c1 - mmc1 Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap3-overo.dtsi | 40 +- 1 file changed, 31 insertions(+), 9 deletions(-) diff --git a/arch/arm/boot/dts/omap3-overo.dtsi

[PATCH 13/18] ARM: dts: Add support for the Overo Palo43

2014-01-09 Thread Florian Vaussard
Palo43 is an expansion board for Gumstix Overo products. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/omap3-overo-palo43.dts | 52 2 files changed, 53 insertions(+) create mode

[PATCH 03/18] ARM: dts: omap3-tobi: Add missing pinctrl

2014-01-09 Thread Florian Vaussard
Add missing pinctrl entries: - i2c3 Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap3-tobi.dts | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/boot/dts/omap3-tobi.dts b/arch/arm/boot/dts/omap3-tobi.dts index 9fe10ca..d39fe57 100644 ---

[PATCH 08/18] ARM: dts: omap: Add common file for SMSC9221

2014-01-09 Thread Florian Vaussard
Some devices (SMSC9217, SMSC9218 and SMSC9221 at least) have better timings, allowing a higher transfer speed. Create a common file with these timings. Performance results with iperf: - omap-gpmc-smsc911x.dtsi = 54.9 Mbps - omap-gpmc-smsc9221.dtsi = 92.7 Mbps Signed-off-by: Florian Vaussard

[PATCH 14/18] ARM: dts: Add support for the Overo Gallop43

2014-01-09 Thread Florian Vaussard
Gallop43 is an expansion board for Gumstix Overo products. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/omap3-overo-gallop43.dts | 51 ++ 2 files changed, 52 insertions(+) create

[PATCH 02/18] ARM: dts: omap3-tobi: Use the correct vendor prefix

2014-01-09 Thread Florian Vaussard
Gumstix is the correct vendor for all Overo related products. Reported-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap3-tobi.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 15/18] ARM: dts: Add support for the Overo Alto35

2014-01-09 Thread Florian Vaussard
Alto35 is an expansion board for Gumstix Overo products. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/omap3-overo-alto35.dts | 52 2 files changed, 53 insertions(+) create mode

[PATCH 17/18] ARM: dts: Add support for the Overo Summit

2014-01-09 Thread Florian Vaussard
Summit is an expansion board for Gumstix Overo products. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/omap3-overo-summit.dts | 27 +++ 2 files changed, 28 insertions(+) create mode 100644

[PATCH 18/18] ARM: dts: overo: Add support for DVI output

2014-01-09 Thread Florian Vaussard
Summit and Tobi expansion boards have a HDMI connector with a TFP410 encoder. Add a common include file for this configuration, and then use it for Summit and Tobi. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/omap3-overo-common-dvi.dtsi | 108

[PATCH 16/18] ARM: dts: Add support for the Overo Chestnut43

2014-01-09 Thread Florian Vaussard
Chestnut43 is an expansion board for Gumstix Overo products. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/omap3-overo-chestnut43.dts | 76 2 files changed, 77 insertions(+) create

Re: [PATCH 00/18] ARM: dts: Better support for Gumstix Overo

2014-01-09 Thread Benoit Cousson
Hi Florian, On 09/01/2014 17:47, Florian Vaussard wrote: Hello, This series adds a number of improvements to Gumstix Overo. Thanks for that nice series. Patch 1+2: fix an issue with the vendor prefix (reported long ago by Javier Martinez Canillas) Patch 3+4: add some missing pinctrl

Re: [PATCH v8 3/7] regulator: add pbias regulator support

2014-01-09 Thread Mark Brown
On Thu, Jan 09, 2014 at 08:20:58PM +0530, Balaji T K wrote: 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. Acked-by: Mark Brown broo...@linaro.org

Re: [PATCH 00/18] ARM: dts: Better support for Gumstix Overo

2014-01-09 Thread Ash Charles
Hi Florian, On Thu, Jan 9, 2014 at 9:06 AM, Benoit Cousson bcous...@baylibre.com wrote: The patches 13 to 17 are based on the hardware schematics and compile-tested, as I do not have the necessary hardware (anyone willing to send me some boards ? :-) Firstly: thanks! Secondly: Could you email

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

2014-01-09 Thread Felipe Balbi
On Thu, Jan 09, 2014 at 12:40:59PM -0600, Felipe Balbi wrote: Hi, On Thu, Jan 09, 2014 at 11:22:17AM -0600, Felipe Balbi wrote: Changes compared to previous version: - Dropped any changes to generic clock drivers, as it seems impossible to agree anything in short term, this means

Re: [PATCH v2 1/2] ARM: dts: Add omap specific pinctrl defines to use padconf addresses

2014-01-09 Thread Florian Vaussard
Hi Tony, On 01/08/2014 12:20 AM, Tony Lindgren wrote: * Laurent Pinchart laurent.pinch...@ideasonboard.com [140107 15:10]: Hi Tony, On Tuesday 07 January 2014 14:30:21 Tony Lindgren wrote: * Laurent Pinchart laurent.pinch...@ideasonboard.com [131220 07:52]: From: Tony Lindgren

Re: [PATCH 00/18] ARM: dts: Better support for Gumstix Overo

2014-01-09 Thread Florian Vaussard
Hi Benoit, On 01/09/2014 06:06 PM, Benoit Cousson wrote: Hi Florian, On 09/01/2014 17:47, Florian Vaussard wrote: Hello, This series adds a number of improvements to Gumstix Overo. Thanks for that nice series. Patch 1+2: fix an issue with the vendor prefix (reported long ago by

Re: [PATCH 00/18] ARM: dts: Better support for Gumstix Overo

2014-01-09 Thread Florian Vaussard
Hi Ash, On 01/09/2014 07:13 PM, Ash Charles wrote: Hi Florian, On Thu, Jan 9, 2014 at 9:06 AM, Benoit Cousson bcous...@baylibre.com wrote: The patches 13 to 17 are based on the hardware schematics and compile-tested, as I do not have the necessary hardware (anyone willing to send me some

Re: [PATCH 06/18] ARM: dts: omap3-overo: Enable MMC2

2014-01-09 Thread Javier Martinez Canillas
[adding Enric Balletbo to cc] Hello Florian, On Thu, Jan 9, 2014 at 1:48 PM, Florian Vaussard florian.vauss...@epfl.ch wrote: MMC2 is used by the on-board WiFi module populated on some boards (based on Marvell Libertas 8688 SDIO). Note: currently WiFi only works on cold boot, as the module

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

2014-01-09 Thread Nishanth Menon
On 01/09/2014 08:00 AM, Tero Kristo wrote: 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 to agree anything in short term, this means the patch set

  1   2   >