[PATCH 2/4] clk: add support for default-rate

2014-02-13 Thread Tero Kristo
default-rate property can now be used to set initial rates for clocks. This is added by default for all clocks which get initialized through of_clk_init(). Signed-off-by: Tero Kristo t-kri...@ti.com --- .../devicetree/bindings/clock/clock-bindings.txt |9 ++ drivers/clk/clk.c

[PATCH 3/4] clk: ti: add support for default-rate property from DT

2014-02-13 Thread Tero Kristo
default-rate property can now be used to define default rates for clocks, which get configured during boot. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/prm_common.c |2 ++ drivers/clk/ti/clk.c |1 + 2 files changed, 3 insertions(+) diff --git

[PATCH 0/4] clk: dt: add support for default rate/parent

2014-02-13 Thread Tero Kristo
Hi, This set is a mix-match of new DT properties for generic and TI specific clock drivers. Basically provided for commenting purposes. The patches provide a way to configure clock parents / rates during boot through DT. default-rate : sets rate of a clock during boot, supported for any DT

[PATCH 4/4] clk: ti: omap4: set default-parents and default-rates using DT

2014-02-13 Thread Tero Kristo
Setup dpll_usb_ck and dpll_abe_ck using DT properties instead of hardcoding the parents and rates in kernel. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/boot/dts/omap4.dtsi | 12 drivers/clk/ti/clk-44xx.c| 42 -- 2 files

[PATCH 1/4] clk: ti: mux: add support for default-parenting

2014-02-13 Thread Tero Kristo
ti,mux-clock now supports ti,default-parent property, which can be used to configure the default parent of the clock during boot. This property can be added to board specific files, or under the clock data itself. Signed-off-by: Tero Kristo t-kri...@ti.com ---

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-13 Thread Tomi Valkeinen
On 12/02/14 15:18, Tomi Valkeinen wrote: However, I hacked together the patch below, which fixes the issue for 96m and dss fclk. It sets the clock parents so that the x2 clocks are skipped, and makes the x2 clock nodes compatible with unused, making them effectively disappear. I only verified

Re: [PATCH] serial: omap-serial: Move info message to probe function

2014-02-13 Thread Uwe Kleine-König
On Fri, Jan 24, 2014 at 06:09:41PM +0100, Markus Pargmann wrote: Currently the info message about a missing wakeirq for uart is printed every time the serial driver's startup function is called. This happens multiple times and not just once. This patch moves the infomessage to the probe

[PATCH 6/8] ARM: dts: use ti,fixed-factor-clock for dpll4_m4x2_mul_ck

2014-02-13 Thread Tomi Valkeinen
We need to use set-rate-parent for dpll4_m4 clock path, so use the ti,fixed-factor-clock version which supports set-rate-parent property. Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com --- arch/arm/boot/dts/omap36xx-clocks.dtsi | 2 +- arch/arm/boot/dts/omap3xxx-clocks.dtsi | 6 +++--- 2

[PATCH 5/8] ARM: dts: fix DPLL4 x2 clkouts on 3630

2014-02-13 Thread Tomi Valkeinen
OMAP3630 DPLL4 is different than on OMAP3430, in that it doesn't have the x2 multiplier for its outputs. This is not currently reflected in the clock DT data. Fix the issue by setting the clock multiplier to 1 (instead of 2) for the DPLL4 output clocks. Signed-off-by: Tomi Valkeinen

[PATCH 2/8] clk: ti/divider: fix rate calculation for fractional rates

2014-02-13 Thread Tomi Valkeinen
ti/clk-divider.c does not calculate the rates consistently at the moment. As an example, on OMAP3 we have a clock divider with a source clock of 86400 Hz. With dividers 6, 7 and 8 the theoretical rates are: 6: 14400 7: 123428571.428571... 8: 10800 Calling clk_round_rate() with the

[PATCH 4/8] ARM: dts: fix omap3 dss clock handle names

2014-02-13 Thread Tomi Valkeinen
The DSS fclk and iclk handles are named differently on OMAP3430 ES1 than on later OMAP revisions. The ES1 has handles 'dss1_alwon_fck_3430es1' and 'dss_ick_3430es1', whereas later revisions have similar names but ending with 'es2'. This means we don't have one clock handle to which we could refer

[PATCH 0/8] OMAP: OMAP3 DSS related clock patches

2014-02-13 Thread Tomi Valkeinen
Hi, I've been debugging OMAP3 related issues with DSS clocks, and I hopefully have them all fixed with this series. This fixes the problems for both non-DT boot, but also for DT boot with DSS DT support (which is not merged yet). The non-DT boot related fixes should be merged for 3.14, but I'd

[PATCH 7/8] ARM: dts: set 'ti,set-rate-parent' for dpll4_m4 path

2014-02-13 Thread Tomi Valkeinen
Set 'ti,set-rate-parent' property for clocks in the dpll4_m4 clock path, which is used for DSS functional clock. This fixes DSS driver's clock rate configuration, which needs the rate to be propagated properly to the divider node (dpll4_m4_ck). Signed-off-by: Tomi Valkeinen tomi.valkei...@ti.com

[PATCH 8/8] OMAPDSS: fix rounding when calculating fclk rate

2014-02-13 Thread Tomi Valkeinen
clk: divider: fix rate calculation for fractional rates patch (and similar for TI specific divider) fixes the clk-divider's rounding. This patch updates the DSS driver to round the rates accordingly. This fixes the DSS's warnings about clock rate mismatch, and also fixes the wrong fclk rate being

[PATCH 1/8] clk: divider: fix rate calculation for fractional rates

2014-02-13 Thread Tomi Valkeinen
clk-divider.c does not calculate the rates consistently at the moment. As an example, on OMAP3 we have a clock divider with a source clock of 86400 Hz. With dividers 6, 7 and 8 the theoretical rates are: 6: 14400 7: 123428571.428571... 8: 10800 Calling clk_round_rate() with the rate

[PATCH 3/8] ARM: OMAP2+: clock: fix clkoutx2 with CLK_SET_RATE_PARENT

2014-02-13 Thread Tomi Valkeinen
If CLK_SET_RATE_PARENT is set for a clkoutx2 clock, calling clk_set_rate() on the clock skips the x2 multiplier as there are no set_rate and round_rate functions defined for the clkoutx2. This results in getting double the requested clock rates, breaking the display on omap3430 based devices.

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-13 Thread Tomi Valkeinen
On 13/02/14 11:03, Tomi Valkeinen wrote: On 12/02/14 15:18, Tomi Valkeinen wrote: However, I hacked together the patch below, which fixes the issue for 96m and dss fclk. It sets the clock parents so that the x2 clocks are skipped, and makes the x2 clock nodes compatible with unused, making

[PATCH v2 2/4] ARM: dts: omap3-tobi: Use the correct vendor prefix

2014-02-13 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 v2 1/4] ARM: dts: omap3-tobi: Fix boot with OMAP36xx-based Overo

2014-02-13 Thread Florian Vaussard
Tobi expansion board can be used with both OMAP35xx-based Overo, and OMAP36xx-based Overo. Currently the boot is broken with newer OMAP36xx-based Overo (Storm and alike). Fix include file and compatible string to be able to boot newer models. This will break older models. This will be addressed

[PATCH v2 4/4] Documentation: dt: OMAP: Update Overo/Tobi

2014-02-13 Thread Florian Vaussard
Update the compatible string for Overo/Tobi to reflect the latest changes. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- Documentation/devicetree/bindings/arm/omap/omap.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 3/4] ARM: dts: Add support for both OMAP35xx and OMAP36xx Overo/Tobi

2014-02-13 Thread Florian Vaussard
Unfortunatly the device tree for older OMAP35xx Overo cannot be used with newer OMAP36xx and vice-versa. To address this issue, move most of the Tobi DTS to a common include file, and create model-specific Tobi DTS. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch Tested-by: Kevin Hilman

[PATCH v2 0/4] ARM: dts: Fixes for Overo/Tobi against 3.14-rc2

2014-02-13 Thread Florian Vaussard
OMAP36xx-based Overo (Storm and alike) are now failing to boot with 3.14-rc2 [1]. This series fixes this, by moving model-agnostic DT into a common dtsi file, and creating model-specific DT files: - omap3-overo-tobi.dts - older OMAP35xx Overo - omap3-overo-storm-tobi.dts - newer

Re: [PATCH 3/8] ARM: OMAP2+: clock: fix clkoutx2 with CLK_SET_RATE_PARENT

2014-02-13 Thread Tomi Valkeinen
On 13/02/14 12:04, Tomi Valkeinen wrote: If CLK_SET_RATE_PARENT is set for a clkoutx2 clock, calling clk_set_rate() on the clock skips the x2 multiplier as there are no set_rate and round_rate functions defined for the clkoutx2. This results in getting double the requested clock rates,

Re: [PATCH 0/8] OMAP: OMAP3 DSS related clock patches

2014-02-13 Thread Belisko Marek
On Thu, Feb 13, 2014 at 11:03 AM, Tomi Valkeinen tomi.valkei...@ti.com wrote: Hi, I've been debugging OMAP3 related issues with DSS clocks, and I hopefully have them all fixed with this series. This fixes the problems for both non-DT boot, but also for DT boot with DSS DT support (which is

Re: [PATCH v2 1/4] ARM: dts: omap3-tobi: Fix boot with OMAP36xx-based Overo

2014-02-13 Thread Nishanth Menon
On 02/13/2014 04:25 AM, Florian Vaussard wrote: Tobi expansion board can be used with both OMAP35xx-based Overo, and OMAP36xx-based Overo. Currently the boot is broken with newer OMAP36xx-based Overo (Storm and alike). Fix include file and compatible string to be able to boot newer models.

Re: [PATCH v2 3/4] ARM: dts: Add support for both OMAP35xx and OMAP36xx Overo/Tobi

2014-02-13 Thread Nishanth Menon
On 02/13/2014 04:25 AM, Florian Vaussard wrote: Unfortunatly the device tree for older OMAP35xx Overo cannot be used with newer OMAP36xx and vice-versa. To address this issue, move most of the Tobi DTS to a common include file, and create model-specific Tobi DTS. Signed-off-by: Florian

Re: [PATCH v2 2/4] ARM: dts: omap3-tobi: Use the correct vendor prefix

2014-02-13 Thread Nishanth Menon
On 02/13/2014 04:25 AM, Florian Vaussard wrote: 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 Acked-by: Nishanth Menon n...@ti.com ---

Re: [PATCH v2 4/4] Documentation: dt: OMAP: Update Overo/Tobi

2014-02-13 Thread Nishanth Menon
On 02/13/2014 04:25 AM, Florian Vaussard wrote: Update the compatible string for Overo/Tobi to reflect the latest changes. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- Documentation/devicetree/bindings/arm/omap/omap.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] ARM/dts: hdmi-codec: panda/es dt entries

2014-02-13 Thread Paolo Pisati
Signed-off-by: Paolo Pisati paolo.pis...@canonical.com --- arch/arm/boot/dts/omap4-panda-common.dtsi |9 - arch/arm/boot/dts/omap4-panda-es.dts |3 ++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap4-panda-common.dtsi

[PATCH] [RESEND] ARM/dts: hdmi-codec: panda/es dt entries

2014-02-13 Thread Paolo Pisati
Signed-off-by: Paolo Pisati paolo.pis...@canonical.com --- arch/arm/boot/dts/omap4-panda-common.dtsi |9 - arch/arm/boot/dts/omap4-panda-es.dts |3 ++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/omap4-panda-common.dtsi

Re: [PATCH 00/26] OMAP dma engine rework

2014-02-13 Thread Tony Lindgren
* Russell King - ARM Linux li...@arm.linux.org.uk [140210 07:58]: This is the current set of patches for the OMAP DMA engine rework, which should now work correctly on OMAP1 platforms thanks to Tony's testing. It would be good to get this validated by others across a range of OMAP

Re: [PATCH] ARM: OMAP4: sleep: byteswap data for big-endian

2014-02-13 Thread Tony Lindgren
* Santosh Shilimkar santosh.shilim...@ti.com [140114 15:46]: On Tuesday 14 January 2014 04:13 PM, Nishanth Menon wrote: I haven't looked at patch myself but as you pointed out if it adds dead code and makes the code un-readable then probably that something we shouldn't merge. Yeah it seems

[PATCHv2 10/16] ARM: OMAP2+: use pdata quirks for iommu reset lines

2014-02-13 Thread Suman Anna
The OMAP iommu driver performs the reset management for the iommu instances in processor sub-systems using the omap_device API which are currently supplied as platform data ops. Use pdata quirks to maintain the functionality as the OMAP iommu driver gets converted to use DT nodes, until the reset

[PATCHv2 02/16] iommu/omap: omap_iommu_attach() should return ENODEV, not NULL

2014-02-13 Thread Suman Anna
From: Florian Vaussard florian.vauss...@epfl.ch omap_iommu_attach() returns NULL or ERR_PTR in case of error, but omap_iommu_attach_dev() only checks for IS_ERR. Thus a NULL return value (in case driver_find_device fails) will cause the kernel to panic when omap_iommu_attach_dev() dereferences

[PATCHv2 12/16] ARM: OMAP5: hwmod data: add mmu data for ipu dsp

2014-02-13 Thread Suman Anna
A new MMU hwmod class and data structures are created to represent the MMUs within the IPU and DSP processor subsystems in OMAP5. The MMUs in OMAP5 are identical to those in OMAP4. Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/mach-omap2/omap_hwmod_54xx_data.c | 83

[PATCHv2 06/16] iommu/omap: allocate archdata on the fly for DT-based devices

2014-02-13 Thread Suman Anna
From: Laurent Pinchart laurent.pinch...@ideasonboard.com The OMAP IOMMU driver locates the IOMMU associated to a device using the IOMMU name stored in the device archdata iommu field. That field is expected to be populated by platform code and is left unset for DT-based devices. This results in a

[PATCHv2 07/16] iommu/omap: allow enable/disable even without pdata

2014-02-13 Thread Suman Anna
From: Florian Vaussard florian.vauss...@epfl.ch When booting with a devicetree, no platform data is provided. Do not prematurely exit iommu_enable() and iommu_disable() in such a case. Note: As OMAP do not yet has a proper reset controller driver, IOMMUs requiring a reset signal should use

[PATCHv2 03/16] Documentation: dt: add OMAP iommu bindings

2014-02-13 Thread Suman Anna
From: Florian Vaussard florian.vauss...@epfl.ch This patch adds the iommu bindings for all OMAP2+ SoCs. Apart from the standard bindings used by OMAP peripherals, this patch uses a 'dma-window' (already used by Tegra SMMU) and adds two OMAP custom bindings - 'ti,#tlb-entries' and

[PATCHv2 00/16] OMAP IOMMU DT adaptation and cleanup

2014-02-13 Thread Suman Anna
Hi, This is an updated series to the initial OMAP IOMMU DT driver adaptation series [1], that primarily dealt with just the OMAP3 ISP MMU. This series is based on 3.14-rc2, and the patches were developed in collaboration with Florian. I am hoping that the series can make the 3.15 merge window.

[PATCHv2 01/16] iommu/omap: convert to devm_* interfaces

2014-02-13 Thread Suman Anna
Use the various devm_ interfaces to simplify the cleanup in probe and remove functions. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch Signed-off-by: Suman Anna s-a...@ti.com --- drivers/iommu/omap-iommu.c | 52 +- 1 file changed, 10

[PATCHv2 04/16] iommu/omap: add devicetree support

2014-02-13 Thread Suman Anna
From: Florian Vaussard florian.vauss...@epfl.ch As OMAP2+ is moving to a full DT boot for all SoC families, commit 7ce93f3 ARM: OMAP2+: Fix more missing data for omap3.dtsi file adds basic DT bits for OMAP3. But the driver is not yet converted, so this will not work and driver will not be probed.

[PATCHv2 15/16] ARM: OMAP4: hwmod data: cleanup data for IOMMUs

2014-02-13 Thread Suman Anna
From: Florian Vaussard florian.vauss...@epfl.ch The device attribute data and ocp address space have all been cleaned up for OMAP4 iommus. All this data is populated via the corresponding dt node. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch Signed-off-by: Suman Anna s-a...@ti.com

[PATCHv2 16/16] ARM: OMAP2+: Remove legacy omap-iommu.c

2014-02-13 Thread Suman Anna
From: Florian Vaussard florian.vauss...@epfl.ch With full DT boot, the legacy mode of platform device creation for OMAP IOMMUs is not needed anymore. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- arch/arm/mach-omap2/Makefile | 3 -- arch/arm/mach-omap2/omap-iommu.c | 79

[PATCHv2 11/16] ARM: OMAP3: fix iva mmu programming issues

2014-02-13 Thread Suman Anna
The IVA MMU is not functional when used through the hwmod and omap_device layers. Add fixes to clockdomain and hwmod data to have it functional. The hwmod changes are needed to enable the clock, and the SWSUP change is needed to wakeup the domain because the power domain is programmed to be in

[PATCHv2 13/16] ARM: OMAP2+: extend iommu pdata-quirks to OMAP5

2014-02-13 Thread Suman Anna
OMAP5 has the same iommus as OMAP4, so extend the OMAP4 iommu pdata quirks for OMAP5 as well. Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/mach-omap2/pdata-quirks.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/mach-omap2/pdata-quirks.c

[PATCHv2 08/16] ARM: OMAP3: remove deprecated CONFIG_OMAP_IOMMU_IVA2

2014-02-13 Thread Suman Anna
From: Florian Vaussard florian.vauss...@epfl.ch CONFIG_OMAP_IOMMU_IVA2 was defined originally to avoid conflicting usage by tidspbridge and other iommu users. The same can be achieved by marking the DT node disabled, so remove this obsolete flag and the corresponding hwmod data can be enabled.

[PATCH 4/4] ARM: dts: OMAP5: Add IOMMU nodes

2014-02-13 Thread Suman Anna
The IOMMU DT nodes have been added for the DSP and IPU subsystems. The MMUs in OMAP5 are identical to those in OMAP4, including the bus error back capability on IPU. Signed-off-by: Suman Anna s-a...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 17 + 1 file changed, 17 insertions(+)

[PATCH 3/4] ARM: dts: OMAP4: Add IOMMU nodes

2014-02-13 Thread Suman Anna
From: Florian Vaussard florian.vauss...@epfl.ch Add the IOMMU nodes for the DSP and IPU subsystems. The external address space for DSP starts at 0x2000 in OMAP4 compared to 0x1100 in OMAP3, and the addresses beyond 0xE000 are private address space for the Cortex-M3 cores in the IPU

[PATCH 2/4] ARM: dts: OMAP3: Add IVA IOMMU node

2014-02-13 Thread Suman Anna
From: Florian Vaussard florian.vauss...@epfl.ch Add the DT node for the IOMMU within the DSP subsystem. The entry is disabled to keep in line with the current hwmod usage. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch [s-a...@ti.com: split the entry and disable the node]

[PATCH 0/4] OMAP IOMMU DTS nodes

2014-02-13 Thread Suman Anna
Hi, This series includes patches that adds the iommu DT nodes on OMAP3 (IVA), and OMAP4 and OMAP5 SoCs. It also includes an updated OMAP3 ISP iommu DT node patch posted previously [1]. Posting the series separately from the driver DT adapation changes [2]. The series adds the DTS patches in line

[PATCHv2 09/16] ARM: OMAP2+: change the ISP device archdata MMU name

2014-02-13 Thread Suman Anna
The IOMMU DT adaptation support uses the device name instead of an iommu object name. The iommu object names should eventually vanish when all the IOMMU users have been converted to DT nodes. NOTE: This change is not compatible with legacy boots, but OMAP3 is expected to be DT-boot only going

[PATCHv2 14/16] ARM: OMAP3: hwmod data: cleanup data for IOMMUs

2014-02-13 Thread Suman Anna
From: Florian Vaussard florian.vauss...@epfl.ch The irq numbers, ocp address space and device attribute data have all been cleaned up for OMAP3 IOMMUs. All this data is populated via the corresponding dt node. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch Signed-off-by: Suman Anna

[PATCHv2 05/16] iommu/omap: enable bus-error back on supported iommus

2014-02-13 Thread Suman Anna
The remoteproc MMUs in OMAP4+ SoCs have some additional debug registers that can give out the PC value in addition to the MMU fault address. The PC value can be extracted properly only on the DSP cores, and is not available on the ARM processors within the IPU sub-systems. Instead, the MMUs have

[PATCH 1/4] ARM: dts: OMAP3: Update ISP IOMMU node

2014-02-13 Thread Suman Anna
From: Florian Vaussard florian.vauss...@epfl.ch Update the IOMMU node for the camera subsystem as per the OMAP IOMMU bindings. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch [s-a...@ti.com: corrected interrupt number] Signed-off-by: Suman Anna s-a...@ti.com ---

Re: [PATCH 0/6] net: cpsw: Support for am335x chip MACIDs

2014-02-13 Thread Uwe Kleine-König
Hello, On Wed, Dec 18, 2013 at 11:13:01AM -0600, Felipe Balbi wrote: On Wed, Dec 18, 2013 at 10:40:58PM +0530, Mugunthan V N wrote: On Wednesday 18 December 2013 10:38 PM, Felipe Balbi wrote: On Wed, Dec 18, 2013 at 10:30:55PM +0530, Mugunthan V N wrote: On Wednesday 18 December 2013

Re: [PATCH 4/6] net: cpsw: Use cpsw-ctrl-macid driver

2014-02-13 Thread Uwe Kleine-König
Hello Markus, On Wed, Dec 18, 2013 at 05:47:20PM +0100, Markus Pargmann wrote: Use ctrl-macid driver to obtain the macids stored in the processor. This is only done when defined in DT. Signed-off-by: Markus Pargmann m...@pengutronix.de --- Documentation/devicetree/bindings/net/cpsw.txt |

Re: [PATCH 3/6] net: cpsw: Add control-module macid driver

2014-02-13 Thread Uwe Kleine-König
On Wed, Dec 18, 2013 at 05:47:19PM +0100, Markus Pargmann wrote: This driver extracts the hardware macid from the control module of am335x processors. It exports a function cpsw_ctrl_macid_read for cpsw to get the macid from within the processor. This driver is not used, unless it is defined

Re: [PATCH 6/6] arm: dts: am335x beagle bone use processor macids

2014-02-13 Thread Uwe Kleine-König
Hello, On Wed, Dec 18, 2013 at 05:47:22PM +0100, Markus Pargmann wrote: Use macids stored in the am335x chip. Signed-off-by: Markus Pargmann m...@pengutronix.de --- arch/arm/boot/dts/am335x-bone.dts | 8 arch/arm/boot/dts/am335x-boneblack.dts | 8 2 files changed,

Re: Issues with GPIO and wake from sleep

2014-02-13 Thread Tony Lindgren
* Marc Murphy marcm...@marcm.co.uk [140205 15:20]: I have now stepped through most of the system as it goes into the sleep state. It will transition into omap34xx_cpu_suspend and eventually work itself into an endless loop. I have then taken a step back to see the config of the system and

Re: [PATCH] ARM: dts: omap3-gta04: Add EOC irq gpio line handling.

2014-02-13 Thread Tony Lindgren
* Belisko Marek marek.beli...@gmail.com [140120 12:27]: Ping? Benoit can you please merge this trivial update. Thanks. Applying into omap-for-v3.14/fixes thanks. Tony -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org

Re: [PATCH 0/2] ARM: DTS: am335x-evmsk: Audio and MMC1 fix (for 3.13?)

2014-02-13 Thread Tony Lindgren
* Peter Ujfalusi peter.ujfal...@ti.com [140107 00:16]: Hi Benoit, On 12/23/2013 11:28 AM, Peter Ujfalusi wrote: Hi, The audio frequency has been incorrectly set in the DTS file which results incorrect playback frequency on EVM-SK. The SD card can not be used without the second

Re: [PATCH] ARM: dts: omap3 clocks: simplify ssi aliases

2014-02-13 Thread Tony Lindgren
* Sebastian Reichel s...@debian.org [140121 06:39]: update aliases for the ssi clocks ssi_ssr_fck, ssi_sst_fck and ssi_ick to make them consistent for omap34xx and omap36xx. This makes it possible to reference the clocks from generic omap3 dts files. Is this needed as a fix for v3.14-rc? If

Re: [PATCH] arm: omap1: fix build when !CONFIG_OMAP_32K_TIMER

2014-02-13 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [140113 10:06]: If CONFIG_OMAP_32K_TIMER isn't enabled, we will try to use enable_dyn_sleep which wasn't defined anywhere. In order to fix the problem, we always define enable_dyn_sleep as 0 when !CONFIG_OMAP_32K_TIMER. Signed-off-by: Felipe Balbi ba...@ti.com

Re: [PATCH] arm: dtsi: am335x-bone-common, usb0 is peripheral only

2014-02-13 Thread Tony Lindgren
* Markus Pargmann m...@pengutronix.de [140111 06:03]: The PMIC is using usb0 vbus line as power source. It is also connected to the am335x processor as vbus sense. But there is no possibility to pullup usb0 vbus to operate as host. This patch fixes the dr_mode of usb0. That's the MUSB? AFAIK

Re: [PATCH] ARM: OMAP2+: add missing ARCH_HAS_OPP

2014-02-13 Thread Tony Lindgren
* Nishanth Menon n...@ti.com [140129 05:29]: Hi Tony, On 01/15/2014 02:00 PM, Nishanth Menon wrote: OMAP5, DRA7, AM43xx all have OPPs. So select the same to allow SoC only configuration boot to work with OPP. Reported-by: Nikhil Devshatwar nikhil...@ti.com Signed-off-by: Nishanth

Re: [PATCH 2/2] ARM: OMAP2+: fix dpll round_rate() to actually round

2014-02-13 Thread Tony Lindgren
* Tomi Valkeinen tomi.valkei...@ti.com [140116 23:47]: omap2_dpll_round_rate() doesn't actually round the given rate, even if the name and the description so hints. Instead it only tries to find an exact rate match, or if that fails, return ~0 as an error. What this basically means is that

Re: [PATCH] mmc: omap_hsmmc: Add support for Erratum 2.1.1.128 in device tree boot

2014-02-13 Thread Tony Lindgren
* Nishanth Menon n...@ti.com [140205 06:15]: On Wed 05 Feb 2014 08:10:34 AM CST, Balaji T K wrote: Rather than ti,errata.. specific property, something like caps no/disable multiblock read is more readable in my opinion, Otherwise Is'nt the better definition to state i have quirk X and

Re: [PATCH 1/9] ARM: dts: omap3-gta04: Fix 'aux' gpio key flags.

2014-02-13 Thread Tony Lindgren
* Marek Belisko ma...@goldelico.com [140125 13:31]: From: NeilBrown ne...@suse.de It should be ACTIVE_HIGH. Signed-off-by: NeilBrown ne...@suse.de --- arch/arm/boot/dts/omap3-gta04.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 3/9] ARM: dts: omap3-gta04: Fix mmc1 properties.

2014-02-13 Thread Tony Lindgren
* Marek Belisko ma...@goldelico.com [140125 13:31]: Does not have an aux supply, and must be non-removable. Otherwise it is removed during suspend and filesystem gets confused. Signed-off-by: NeilBrown ne...@suse.de --- arch/arm/boot/dts/omap3-gta04.dts | 2 +- 1 file changed, 1

Re: [PATCH] ARM: OMAP2+: gpmc: fix: DT NAND child nodes not probed when MTD_NAND is built as module

2014-02-13 Thread Tony Lindgren
* Pekon Gupta pe...@ti.com [140127 22:15]: Fixes: commit bc6b1e7b86f5d8e4a6fc1c0189e64bba4077efe0 ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND OMAP SoC(s) depend on GPMC controller driver to parse GPMC DT child nodes and register them platform_device for NAND driver to

Re: [PATCH] ARM: OMAP2+: clock: fix clkoutx2 with CLK_SET_RATE_PARENT

2014-02-13 Thread Tony Lindgren
* Tomi Valkeinen tomi.valkei...@ti.com [140130 03:19]: If CLK_SET_RATE_PARENT is set for a clkoutx2 clock, calling clk_set_rate() on the clock skips the x2 multiplier as there are no set_rate and round_rate functions defined for the clkoutx2. This results in getting double the requested

Re: [PATCH] ARM: OMAP3+: DPLL: stop reparenting to same parent if already done

2014-02-13 Thread Tony Lindgren
* Nishanth Menon n...@ti.com [140205 01:06]: omap3_noncore_dpll_set_rate forces a reparent to the same clk_ref for every call that takes place. This is an can be done only if a change is detected. Signed-off-by: Nishanth Menon n...@ti.com Would like to see acks on this too before applying.

Re: [PATCH] arm: dtsi: am335x-bone-common, usb0 is peripheral only

2014-02-13 Thread Markus Pargmann
Hi, On Thu, Feb 13, 2014 at 02:54:38PM -0800, Tony Lindgren wrote: * Markus Pargmann m...@pengutronix.de [140111 06:03]: The PMIC is using usb0 vbus line as power source. It is also connected to the am335x processor as vbus sense. But there is no possibility to pullup usb0 vbus to operate

Re: [PATCH V2 4/4] ARM: OMAP2+: AM43x: Use gptimer as clocksource

2014-02-13 Thread Tony Lindgren
* Lokesh Vutla lokeshvu...@ti.com [140207 02:24]: From: Rajendra Nayak rna...@ti.com The SyncTimer in AM43x is clocked using the following two sources: 1) An inaccuarte 32k clock (CLK_32KHZ) derived from PER DPLL, causing system time to go slowly (~10% deviation). 2) external 32KHz RTC

Re: [PATCH] ARM: OMAP1: nokia770: enable tahvo-usb

2014-02-13 Thread Tony Lindgren
* Aaro Koskinen aaro.koski...@iki.fi [140208 05:52]: Add platform data for tahvo-usb. This is the last missing piece to get Tahvo USB working with 3.14. Applying into omap-for-v3.14/fixes thanks. Tony -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a

Re: [PATCH 1/2] ARM: dts: N9/N950: fix boot hang with 3.14-rc1

2014-02-13 Thread Tony Lindgren
* Nishanth Menon n...@ti.com [140211 12:13]: On 02/09/2014 06:12 AM, Aaro Koskinen wrote: N9/N950 does not boot anymore with 3.14-rc1, because SoC compatible property is missing. Fix that. Signed-off-by: Aaro Koskinen aaro.koski...@iki.fi Reviewed-by: Nishanth Menon n...@ti.com

Re: [PATCH] arm: dtsi: am335x-bone-common, usb0 is peripheral only

2014-02-13 Thread Tony Lindgren
* Markus Pargmann m...@pengutronix.de [140213 15:16]: Hi, On Thu, Feb 13, 2014 at 02:54:38PM -0800, Tony Lindgren wrote: * Markus Pargmann m...@pengutronix.de [140111 06:03]: The PMIC is using usb0 vbus line as power source. It is also connected to the am335x processor as vbus sense.

Re: [PATCH] ARM: OMAP2+: Remove MACH_NOKIA_N800

2014-02-13 Thread Tony Lindgren
* Aaro Koskinen aaro.koski...@iki.fi [140209 11:53]: Hi, On Sun, Feb 09, 2014 at 04:01:28PM +0100, Paul Bolle wrote: The last caller of machine_is_nokia_n800() was removed in commit 5a87cde490e1 (ARM: OMAP2+: Remove legacy booting support for n8x0). That means that the Kconfig symbol

Re: [PATCH] ARM: OMAP2+: Remove legacy macros for zoom platforms

2014-02-13 Thread Tony Lindgren
* Paul Bolle pebo...@tiscali.nl [140212 01:48]: Commit 97411608fd5f (ARM: OMAP2+: Remove legacy support for zoom platforms) removed the Kconfig symbols MACH_OMAP_ZOOM2 and MACH_OMAP_ZOOM3. Remove the last usage of the related macros too. Signed-off-by: Paul Bolle pebo...@tiscali.nl ---

Re: [PATCH v2 0/4] ARM: dts: Fixes for Overo/Tobi against 3.14-rc2

2014-02-13 Thread Tony Lindgren
* Florian Vaussard florian.vauss...@epfl.ch [140213 02:28]: OMAP36xx-based Overo (Storm and alike) are now failing to boot with 3.14-rc2 [1]. This series fixes this, by moving model-agnostic DT into a common dtsi file, and creating model-specific DT files: - omap3-overo-tobi.dts - older

Re: [PATCH] [RESEND] ARM/dts: hdmi-codec: panda/es dt entries

2014-02-13 Thread Tony Lindgren
* Paolo Pisati paolo.pis...@canonical.com [140213 08:00]: Signed-off-by: Paolo Pisati paolo.pis...@canonical.com Missing description? Please also Cc Peter Ujfalusi on this and let me know if this is needed as a fix for the -rc cycle. Regards, Tony ---

Re: [PATCH] ARM: dts: omap3 clocks: simplify ssi aliases

2014-02-13 Thread Sebastian Reichel
On Thu, Feb 13, 2014 at 02:49:14PM -0800, Tony Lindgren wrote: * Sebastian Reichel s...@debian.org [140121 06:39]: update aliases for the ssi clocks ssi_ssr_fck, ssi_sst_fck and ssi_ick to make them consistent for omap34xx and omap36xx. This makes it possible to reference the clocks from

Re: OMAP: clock DT conversion issues with omap36xx

2014-02-13 Thread Christoph Fritz
On Thu, 2014-02-13 at 12:05 +0200, Tomi Valkeinen wrote: On 13/02/14 11:03, Tomi Valkeinen wrote: On 12/02/14 15:18, Tomi Valkeinen wrote: However, I hacked together the patch below, which fixes the issue for 96m and dss fclk. It sets the clock parents so that the x2 clocks are

[PATCH] mmc: omap_hsmmc: fix sparse/smatch warning for paranthesis

2014-02-13 Thread Nishanth Menon
commit 6c31b21 (mmc: omap_hsmmc: remove access to SYSCONFIG register) introduced an smatch(http://smatch.sf.net) warning for the following: drivers/mmc/host/omap_hsmmc.c:608 omap_hsmmc_context_restore() warn: add some parenthesis here? drivers/mmc/host/omap_hsmmc.c:608

[PATCH V2 1/2] mmc: omap_hsmmc: Add support for quirky omap3 hsmmc controller

2014-02-13 Thread Nishanth Menon
When device is booted using devicetree, platforms impacted by Erratum 2.1.1.128 is not detected easily in the mmc driver. This erratum indicates that the module cannot do multi-block transfers. Platforms such as LDP which use OMAP3 ES revision prior to ES3.0 are impacted by this. Provide a new

[PATCH V2 2/2] ARM: dts: omap3-ldp: fix mmc configuration

2014-02-13 Thread Nishanth Menon
MMC1 is the only MMC interface available on the platform. Further, since the platform is based on older revision of SoC which is not capable of doing multi-block reads, mark it with compatibility for the same and add pinmux to ensure that all relevant pins are configured for non-MMC boot mode.

[PATCH V2 0/2] mmc: omap_hsmmc: fix for pre es3.0 OMAP3

2014-02-13 Thread Nishanth Menon
Originally reported in: https://patchwork.kernel.org/patch/3514851/ https://patchwork.kernel.org/patch/3514881/ ES3.0+ provides MMC controller which is fixed for multi-block reads, however LDP platform Looking at the various IP revision register information: sdp2430: Revision: 1.2, Spec: 0.0,

Re: [PATCH] mmc: omap_hsmmc: Add support for Erratum 2.1.1.128 in device tree boot

2014-02-13 Thread Nishanth Menon
On 02/13/2014 05:05 PM, Tony Lindgren wrote: * Nishanth Menon n...@ti.com [140205 06:15]: On Wed 05 Feb 2014 08:10:34 AM CST, Balaji T K wrote: Rather than ti,errata.. specific property, something like caps no/disable multiblock read is more readable in my opinion, Otherwise Is'nt the