Re: FIX ME in function ocpi_enable in file arch/arm/mach-omap1/opci.c

2014-07-02 Thread Tony Lindgren
* Nick Krause xerofo...@gmail.com [140701 15:51]: Hey Tony and Russel , There is a FIX ME message in this function of the file stated in my subject line. I was wondering what locking is needed here due to not having experience with omap subsystem(s). Looks like the locking for ocpi_enable

Re: [PATCH v3] ARM: dts: am335x-evmsk: enable display and lcd panel support

2014-07-02 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [140701 14:10]: Hi, On Tue, Jul 01, 2014 at 04:00:20PM -0500, Darren Etheridge wrote: Add the necessary nodes to enable the LCD controller and the LCD panel that is attached to the Texas Instruments AM335x EVMSK platform. Also setup the necessary pin mux

Re: [PATCH] ARM: OMAP2+: l2c: squelch warning dump on power control setting

2014-07-02 Thread Tony Lindgren
* Felipe Balbi ba...@ti.com [140701 12:49]: On Tue, Jun 17, 2014 at 08:19:35AM -0500, Felipe Balbi wrote: On Tue, Jun 17, 2014 at 04:04:51PM +0530, Sekhar Nori wrote: ROM code on AM437x does not support writing to L2C-310 power control register. The L2C driver, however, tries writing to

[PATCH 00/13] ARM: OMAP2+: clock cleanup series for 3.17

2014-07-02 Thread Tero Kristo
Hi, This sets cleans up some of the omap specific clock drivers still residing under arch/arm/mach-omap2. This set is done in preparation to migrate these drivers eventually under drivers/clk/ti, where we don't have access to certain board specific functionality. The basic idea of this set is to

[PATCH 06/13] ARM: OMAP2+: clock: add fint values to the ti_clk_features struct

2014-07-02 Thread Tero Kristo
These are SoC specific and get their init values based on the SoC type. Previously the values were hard coded within the DPLL clock code, but having them inside the clock features avoids runtime cpu_is_X type checks. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/clkt_dpll.c

[PATCH 02/13] ARM: OMAP4+: clock: remove DEFINE_CLK_OMAP_HSDIVIDER macro

2014-07-02 Thread Tero Kristo
This clock type declaration is no longer used as all omap4+ SoC clock data has been moved to DT, thus remove it. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/clock.h | 25 - 1 file changed, 25 deletions(-) diff --git a/arch/arm/mach-omap2/clock.h

[PATCH 03/13] ARM: OMAP4+: dpll: remove cpu_is_omap44xx checks

2014-07-02 Thread Tero Kristo
These are unnecessary, as the clock code is only used on OMAP4+ platforms through clock registrations. This also allows to eventually migrate the clock type implementation under clock driver. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/dpll44xx.c |7 +++ 1 file

[PATCH 09/13] ARM: OMAP2+: clock/dpll: add jitter correction behind clk_features

2014-07-02 Thread Tero Kristo
Currently DPLL code uses runtime cpu_is_343x checks to see if the DPLL has freqsel fields in its control register or not. Instead, add a new flag to the clk_features.flags and use this during runtime. Allows eventual move of the DPLL code under clock driver. Signed-off-by: Tero Kristo

[PATCH 07/13] ARM: OMAP2+: clock/dpll: add private API for checking if DPLL is in bypass

2014-07-02 Thread Tero Kristo
Currently, same functionality is copy pasted in two locations. Instead, add a private API for this and get rid of some duplicated code. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/clkt_dpll.c | 60 +-- 1 file changed, 32 insertions(+),

[PATCH 04/13] ARM: OMAP4+: dpll44xx: remove cm-regbits-44xx.h and clock44xx.h includes

2014-07-02 Thread Tero Kristo
Instead, copy the used bitfield definitions to the source file. Done in preparation to migrate the clock implementation under clock driver. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/dpll44xx.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff

[PATCH 05/13] ARM: OMAP2+: clock: introduce ti_clk_features flags

2014-07-02 Thread Tero Kristo
This shall be used to replace the cpu type checks around the clock code. Actual bit values will be introduced in patches later. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/clock.c | 14 ++ arch/arm/mach-omap2/clock.h | 10 ++

[PATCH 01/13] ARM: OMAP2+: clock/dpll: fix _dpll_test_fint arithmetics overflow

2014-07-02 Thread Tero Kristo
The divider value provided to the _dpll_test_fint can reach value of 256 with J type DPLLs (USB etc.), which causes an overflow with the u8 datatype. Fix this by changing the parameter to be an int instead. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/clkt_dpll.c |2 +-

[PATCH 11/13] ARM: OMAP2+: clock/dpll: remove unused header includes from clkt_dpll.c

2014-07-02 Thread Tero Kristo
Some of the machine specific header includes are no longer used, so remove these from the source file. This allows migration of the file under clock driver. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/clkt_dpll.c |3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH 10/13] ARM: OMAP2+: clock/interface: add a clk_features definition for idlest value

2014-07-02 Thread Tero Kristo
Helps to get rid of some runtime cpu_is_x checks. This also allows eventual migration of the code under clock driver. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/clock.c | 18 +++--- arch/arm/mach-omap2/clock.h |1 + 2 files changed, 12 insertions(+), 7

[PATCH 12/13] ARM: OMAP2+: clock/dpll: remove unused header includes from dpll3xxx.c

2014-07-02 Thread Tero Kristo
Some of the machine specific header includes are no longer used, so remove these from the source file. This allows migration of the file under clock driver. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/dpll3xxx.c |3 --- 1 file changed, 3 deletions(-) diff --git

[PATCH 08/13] ARM: OMAP2+: clock/dpll: convert bypass check to use clk_features

2014-07-02 Thread Tero Kristo
OMAP2 DPLL code for checking whether DPLL is in bypass mode now uses clk_features data provided during boot. This avoids the need to use cpu_is_X type checks runtime, and allows us to eventually move the clock code under the clock driver. Signed-off-by: Tero Kristo t-kri...@ti.com ---

[PATCH 13/13] ARM: OMAP2+: clock/interface: remove some headers from clkt_iclk.c file

2014-07-02 Thread Tero Kristo
Instead, copy the used constants from the header file to the source file. This allows the code to be migrated under drivers folder where we don't have access to the OMAP specific header files. Signed-off-by: Tero Kristo t-kri...@ti.com --- arch/arm/mach-omap2/clkt_iclk.c |8 1 file

Re: [RESEND 2/2] clk: Add driver for Palmas clk32kg and clk32kgaudio clocks

2014-07-02 Thread Javier Martinez Canillas
Hello Mike, On Wed, Jul 2, 2014 at 6:33 AM, Mike Turquette mturque...@linaro.org wrote: Quoting Peter Ujfalusi (2014-06-29 22:56:55) Hi Javier, On 06/27/2014 09:23 PM, Javier Martinez Canillas wrote: Hello Peter, On Fri, Jun 27, 2014 at 8:01 AM, Peter Ujfalusi peter.ujfal...@ti.com

Re: atmel_mxt_ts: defaulting irqflags to IRQF_TRIGGER_FALLING

2014-07-02 Thread Sekhar Nori
On Tuesday 01 July 2014 09:44 PM, Stephen Warren wrote: Sekhar Nori wrote at Tuesday, July 01, 2014 3:52 AM: Nick, I have been using your for-next branch to base my development of touchscreen support on TI's DRA7x EVM. With the recent updates, it has worked out great and once I got the

Re: [PATCH v3] ARM: dts: am335x-evmsk: enable display and lcd panel support

2014-07-02 Thread Tomi Valkeinen
On 02/07/14 10:45, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [140701 14:10]: Hi, On Tue, Jul 01, 2014 at 04:00:20PM -0500, Darren Etheridge wrote: Add the necessary nodes to enable the LCD controller and the LCD panel that is attached to the Texas Instruments AM335x EVMSK platform.

Re: [PATCH v2 1/2] ARM: DRA7: hwmod: Add OCP2SCP3 module

2014-07-02 Thread Roger Quadros
Rajendra, On 06/18/2014 10:50 PM, Roger Quadros wrote: This module is needed for the SATA and PCIe PHYs. Signed-off-by: Roger Quadros rog...@ti.com Tested-by: Roger Quadros rog...@ti.com could you please Ack this one? Thanks. cheers, -roger --- v2: - added .main_clk to hwmod. - moved

Re: [PATCH 2/2] ARM: DRA7: hwmod: Fixup SATA hwmod

2014-07-02 Thread Roger Quadros
Rajendra, On 06/18/2014 03:16 PM, Roger Quadros wrote: Get rid of optional clock as that is now managed by the AHCI platform driver. Correct .mpu_rt_idx to 1 as the module register space (SYSCONFIG..) is passed as the second memory resource in the device tree. Signed-off-by: Roger

Pixel clock property from DT is not used in OMAP DRM

2014-07-02 Thread Tomas Novotny
Hi all, I was trying to bring up parallel LCD on our custom board (similar to BeagleBoard-xM) and I did it finally - but I needed to tweak hardcoded value of 'Invert pixel clock'. Maybe I'm doing something wrong, but anyway: According to the display-timing.txt doc the

Re: [PATCH v3 5/7] ARM: DRA7: hwmod: Add SYSCONFIG for usb_otg_ss

2014-07-02 Thread Roger Quadros
Sekhar, On 06/18/2014 02:19 PM, Rajendra Nayak wrote: On Wednesday 18 June 2014 04:40 PM, Roger Quadros wrote: + Nishant and Rajendra for review. On 05/05/2014 12:54 PM, Roger Quadros wrote: Add the sysconfig class bits for the Super Speed USB controllers CC: Paul Walmsley p...@pwsan.com

Re: [PATCH v3] ARM: dts: am335x-evmsk: enable display and lcd panel support

2014-07-02 Thread Tony Lindgren
* Tomi Valkeinen tomi.valkei...@ti.com [140702 04:06]: On 02/07/14 10:45, Tony Lindgren wrote: * Felipe Balbi ba...@ti.com [140701 14:10]: Hi, On Tue, Jul 01, 2014 at 04:00:20PM -0500, Darren Etheridge wrote: Add the necessary nodes to enable the LCD controller and the LCD panel that

Re: [PATCH] ARM: DRA7-evm: Enable SATA PHY and USB PHY power supplies

2014-07-02 Thread Roger Quadros
On 06/30/2014 10:55 AM, Roger Quadros wrote: On 06/26/2014 06:06 PM, Tero Kristo wrote: On 06/26/2014 05:22 PM, Roger Quadros wrote: +Tero On 06/26/2014 12:36 PM, Roger Quadros wrote: On 06/26/2014 10:31 AM, Tony Lindgren wrote: * Nishanth Menon n...@ti.com [140625 15:29]: On 06/25/2014

Re: atmel_mxt_ts: defaulting irqflags to IRQF_TRIGGER_FALLING

2014-07-02 Thread Nick Dyer
On 02/07/14 11:49, Sekhar Nori wrote: On Tuesday 01 July 2014 09:44 PM, Stephen Warren wrote: On the Tegra systems I have, IRQF_TRIGGER_FALLING is the correct (or at least a valid) choice. That's probably because the Atmel IRQ signal is routed to our GPIO controller, which is also an IRQ

[PATCH 5/6] phy: omap-usb2: Balance pm_runtime_enable() on probe failure

2014-07-02 Thread Roger Quadros
If probe fails then we need to call pm_runtime_disable() to balance out the previous pm_runtime_enable() call. Else it will cause unbalanced pm_runtime_enable() call in the succeding probe call. This anomaly was observed when the call to devm_phy_create() failed with -EPROBE_DEFER.

[PATCH 3/6] phy: core: Support regulator supply for PHY power

2014-07-02 Thread Roger Quadros
Some PHYs can be powered by an external power regulator. e.g. USB_HS PHY on DRA7 SoC. Make the PHY core support a power regulator. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/phy/phy-core.c | 32 include/linux/phy/phy.h | 2 ++ 2 files changed, 34

[PATCH 6/6] ARM: dts: dra7-evm: Add regulator information to USB2 PHYs

2014-07-02 Thread Roger Quadros
The ldousb_reg regulator provides power to the USB1 and USB2 High Speed PHYs. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7-evm.dts | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/dra7-evm.dts b/arch/arm/boot/dts/dra7-evm.dts index

[PATCH 4/6] phy: core: Add phy-supply to DT binding documentation

2014-07-02 Thread Roger Quadros
phy-supply is a phandle to the regulator that provides power to the PHY. This regulator is managed during the PHY power on/off sequence by the phy core driver. Signed-off-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/phy/phy-bindings.txt | 4 1 file changed, 4

[PATCH 2/6] phy: core: Fix error path in phy_create()

2014-07-02 Thread Roger Quadros
Prevent resources from being freed twice in case device_add() call fails within phy_create(). Also use ida_simple_remove() instead of ida_remove() as we had used ida_simple_get() to allocate the ida. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/phy/phy-core.c | 7 --- 1 file

[PATCH 0/6] omap: phy: dra7-evm PHY fixes for 3.16

2014-07-02 Thread Roger Quadros
Hi, On DRA7-evm, the VDDA_1V8_PHY supply must be always-on for proper functioning of the PHYs on the SoC. The 3.3V USB supply (ldousb_reg) can be turned OFF when the High Speed USB PHYs are not in use. We add regulator support in the PHY framework core to manage the PHY's regulator during PHY

[PATCH 1/6] ARM: dts: dra7-evm: Make VDDA_1V8_PHY supply always on

2014-07-02 Thread Roger Quadros
After clarification from the hardware team it was found that this 1.8V PHY supply can't be switched OFF when SoC is Active. It can only be switched off when in PORz (power on reset). This patch is required for proper functionality of USB, SATA and PCIe on DRA7-evm. CC: Rajendra Nayak

gpio-omap: wakeup mask

2014-07-02 Thread Pascal Huerst
Hi everyone, we have a device with an am335x and are using some gpios on bank0 to wake up the device from suspend to ram. We have some user buttons which are configured in the devicetree as gpio-keys and one power-key which should wake up the device: buttons { power {

[next-20140702]Build regression omap2plus_defconfig, multi_v7_defconfig builds fine

2014-07-02 Thread Nishanth Menon
Tony, make omap2plus_defconfig ;make zImage on next-20140702 LD fs/built-in.o scripts/mod/modpost.c: In function ‘remove_dot’: scripts/mod/modpost.c:1710:10: warning: ignoring return value of ‘strtoul’, declared with attribute warn_unused_result [-Wunused-result] arch/arm/kernel

Re: [PATCH 3/6] phy: core: Support regulator supply for PHY power

2014-07-02 Thread Sergei Shtylyov
Hello. On 07/02/2014 04:03 PM, Roger Quadros wrote: Some PHYs can be powered by an external power regulator. e.g. USB_HS PHY on DRA7 SoC. Make the PHY core support a power regulator. Signed-off-by: Roger Quadros rog...@ti.com --- drivers/phy/phy-core.c | 32

Re: [PATCH 1/6] ARM: dts: dra7-evm: Make VDDA_1V8_PHY supply always on

2014-07-02 Thread Nishanth Menon
On 07/02/2014 07:03 AM, Roger Quadros wrote: After clarification from the hardware team it was found that this 1.8V PHY supply can't be switched OFF when SoC is Active. It can only be switched off when in PORz (power on reset). I dont think folks know the reasoning why hardware team decided

Re: am335x: linux 3.16-rc3: USB DMA issue

2014-07-02 Thread Yegor Yefremov
On Tue, Jul 1, 2014 at 5:37 PM, Ezequiel García ezequ...@vanguardiasur.com.ar wrote: On 1 July 2014 12:07, Yegor Yefremov yegorsli...@googlemail.com wrote: [..] What can be done with these error messages: of_get_named_gpiod_flags: can't parse gpios property of node

Re: am335x: linux 3.16-rc3: USB DMA issue

2014-07-02 Thread Yegor Yefremov
On Tue, Jul 1, 2014 at 5:43 PM, Bin Liu binml...@gmail.com wrote: On Tue, Jul 1, 2014 at 10:37 AM, Ezequiel García ezequ...@vanguardiasur.com.ar wrote: On 1 July 2014 12:07, Yegor Yefremov yegorsli...@googlemail.com wrote: [..] What can be done with these error messages:

[PATCH v2] ARM: OMAP2+: Make GPMC skip disabled devices

2014-07-02 Thread Guido Martínez
Currently, child nodes of the gpmc node are iterated and probed regardless of their 'status' property. This means adding 'status = disabled;' has no effect. This patch changes the iteration to only probe nodes marked as available. Signed-off-by: Guido Martínez gu...@vanguardiasur.com.ar --- v2:

Re: [PATCH 1/8] CLK: ti: dra7: Initialize USB_DPLL

2014-07-02 Thread Tero Kristo
On 03/07/2014 03:09 PM, Roger Quadros wrote: USB_DPLL must be initialized and locked at boot so that USB modules can work. Also program USB_DLL_M2 output to half rate. CC: Mike Turquette mturque...@linaro.org CC: Tero Kristo t-kri...@ti.com Signed-off-by: Roger Quadros rog...@ti.com ---

Re: [PATCH 1/6] ARM: dts: dra7-evm: Make VDDA_1V8_PHY supply always on

2014-07-02 Thread Roger Quadros
On 07/02/2014 04:05 PM, Nishanth Menon wrote: On 07/02/2014 07:03 AM, Roger Quadros wrote: After clarification from the hardware team it was found that this 1.8V PHY supply can't be switched OFF when SoC is Active. It can only be switched off when in PORz (power on reset). I dont think

Re: am335x: system doesn't reboot after flashing NAND

2014-07-02 Thread Yegor Yefremov
On Fri, Jun 6, 2014 at 11:33 AM, Roger Quadros rog...@ti.com wrote: On 06/05/2014 01:07 PM, Yegor Yefremov wrote: On Thu, Jun 5, 2014 at 12:02 PM, Roger Quadros rog...@ti.com wrote: On 06/04/2014 10:45 PM, Yegor Yefremov wrote: On Wed, Jun 4, 2014 at 12:52 PM, Sekhar Nori nsek...@ti.com wrote:

Re: [RFC PATCH] tty: serial: Add 8250-core based omap driver

2014-07-02 Thread Felipe Balbi
Hi, +linux-omap, lakml On Wed, Jul 02, 2014 at 06:00:09PM +0200, Sebastian Andrzej Siewior wrote: This patch provides a 8250-core based UART driver for the internal OMAP UART. The longterm goal is to provide the same functionality as the current OMAP uart driver and hopefully DMA support

Re: atmel_mxt_ts: defaulting irqflags to IRQF_TRIGGER_FALLING

2014-07-02 Thread Dmitry Torokhov
On Wed, Jul 2, 2014 at 4:54 AM, Nick Dyer nick.d...@itdev.co.uk wrote: On 02/07/14 11:49, Sekhar Nori wrote: On Tuesday 01 July 2014 09:44 PM, Stephen Warren wrote: On the Tegra systems I have, IRQF_TRIGGER_FALLING is the correct (or at least a valid) choice. That's probably because the Atmel

Re: [RFC PATCH] tty: serial: Add 8250-core based omap driver

2014-07-02 Thread Aaro Koskinen
Hi, On Wed, Jul 02, 2014 at 11:09:32AM -0500, Felipe Balbi wrote: It has been only tested as console UART. The tty name is ttyS based instead of ttyO. How big is the pain here, what could be the easiest way to provide compatibility? have been considering that myself for months. You could

Re: [RFC PATCH] tty: serial: Add 8250-core based omap driver

2014-07-02 Thread Robert Nelson
On Wed, Jul 2, 2014 at 2:09 PM, Aaro Koskinen aaro.koski...@iki.fi wrote: Hi, On Wed, Jul 02, 2014 at 11:09:32AM -0500, Felipe Balbi wrote: It has been only tested as console UART. The tty name is ttyS based instead of ttyO. How big is the pain here, what could be the easiest way to

Re: [PATCHv5 06/15] hwspinlock/omap: enable module before reading SYSSTATUS register

2014-07-02 Thread Suman Anna
Hi Ohad, On 07/01/2014 07:51 AM, Ohad Ben-Cohen wrote: Hi Suman, On Thu, May 1, 2014 at 3:34 AM, Suman Anna s-a...@ti.com wrote: The number of hwspinlocks are determined based on the value read from the IP block's SYSSTATUS register. However, the module may not be enabled and clocked, and

Re: [PATCHv5 05/15] hwspinlock/omap: add support for dt nodes

2014-07-02 Thread Suman Anna
Hi Ohad, On 07/01/2014 07:48 AM, Ohad Ben-Cohen wrote: Hi Suman, On Thu, May 1, 2014 at 3:34 AM, Suman Anna s-a...@ti.com wrote: static int omap_hwspinlock_probe(struct platform_device *pdev) { - struct hwspinlock_pdata *pdata = pdev-dev.platform_data; + struct device_node

Re: [PATCH/RESEND 0/9] drm: tilcdc driver fixes

2014-07-02 Thread Ezequiel García
On 02 Jul 02:08 PM, Dave Airlie wrote: On 2 July 2014 12:31, Darren Etheridge detheri...@ti.com wrote: On 07/01/2014 06:39 PM, Guido Martínez wrote: On Fri, Jun 27, 2014 at 05:08:51PM -0500, Darren Etheridge wrote: [snip] Otherwise I think this is a good and useful patch series.

Re: [PATCH 0/3] GPIO OMAP driver changes for v3.17

2014-07-02 Thread Kevin Hilman
Javier Martinez Canillas jav...@dowhile0.org writes: Hi Linus, This is a small series with trivial changes to the gpio-omap driver. There are no functional changes. Patches 1 and 2 removes code that it's not necessary anymore now that the driver has been converted to use the gpiolib

Re: [PATCHv5 03/15] hwspinlock/core: maintain a list of registered hwspinlock banks

2014-07-02 Thread Suman Anna
Hi Ohad, On 07/01/2014 07:26 AM, Ohad Ben-Cohen wrote: Hi Suman, On Thu, May 1, 2014 at 3:34 AM, Suman Anna s-a...@ti.com wrote: The hwspinlock_device structure is used for registering a bank of locks with the driver core. The structure already contains the necessary members to identify

Re: [PATCHv5 04/15] hwspinlock/core: add common OF helpers

2014-07-02 Thread Suman Anna
Hi Ohad, On Thu, May 1, 2014 at 3:34 AM, Suman Anna s-a...@ti.com wrote: 2. The of_hwspin_lock_simple_xlate() is a simple default translator function for hwspinlock provider implementations that use a single cell number for requesting a specific lock (relatively indexed) within a

Re: am335x: system doesn't reboot after flashing NAND

2014-07-02 Thread Yegor Yefremov
On Wed, Jul 2, 2014 at 5:45 PM, Yegor Yefremov yegorsli...@googlemail.com wrote: On Fri, Jun 6, 2014 at 11:33 AM, Roger Quadros rog...@ti.com wrote: On 06/05/2014 01:07 PM, Yegor Yefremov wrote: On Thu, Jun 5, 2014 at 12:02 PM, Roger Quadros rog...@ti.com wrote: On 06/04/2014 10:45 PM, Yegor

[PATCH 0/2] hwspinlock/omap - new SoC support

2014-07-02 Thread Suman Anna
Hi Ohad, The following two patches allow the OMAP hwspinlock driver to be enabled for AM33xx, AM437x and DRA7xx SoCs. The patches are rebased onto 3.16-rc3 and are identical to those posted in the OMAP hwspinlock DT support v5 series [1][2]. Posting these separately to decouple from the DT

[PATCH 2/2] hwspinlock/omap: enable build for AM33xx, AM43xx DRA7xx

2014-07-02 Thread Suman Anna
HwSpinlocks are supported on AM33xx, AM43xx and DRA7xx SoC device families as well. The IPs are identical to that of OMAP4/OMAP5, except for the number of locks. Add a depends on to the above family of SoCs to enable the build support for OMAP hwspinlock driver for any of the above SoC configs.

[PATCH 1/2] hwspinlock/omap: enable module before reading SYSSTATUS register

2014-07-02 Thread Suman Anna
The number of hwspinlocks are determined based on the value read from the IP block's SYSSTATUS register. However, the module may not be enabled and clocked, and the read may result in a bus error. This particular issue is seen rather easily on AM33XX, since the module wakeup is software

Re: FIX ME in function ocpi_enable in file arch/arm/mach-omap1/opci.c

2014-07-02 Thread Nick Krause
Therefore I will send it a patch removing this FIXME. Cheers Nick On Wed, Jul 2, 2014 at 2:55 AM, Tony Lindgren t...@atomide.com wrote: * Nick Krause xerofo...@gmail.com [140701 15:51]: Hey Tony and Russel , There is a FIX ME message in this function of the file stated in my subject line. I

[PATCH] omap16xx: Removes fixme no longer needed in ocpi_enable()

2014-07-02 Thread Nicholas Krause
This removes the FIXME message above ocpi_enable being declared for proper locking in this function. As of the current kernel verisons there is no need for locking as only one driver uses this function currently and therefore there is no need for real locking requirements. Signed-off-by: Nicholas

FIXME message in arch/arm/mach-omap2/gpmc-onenand.c

2014-07-02 Thread Nick Krause
Hey Kevin, When using csope I get a FIXME message on lines , 321 -325 in arch/arm/mach-omap2/gpmc-onenand.c on the latest 3.16 r4 code. I was wondering if I can remove the legacy code or is it needed still for certain mach-omap2 based boards. Cheers Nick -- To unsubscribe from this list: send the

Re: [PATCH 15/15] drm/omap: Add infoframe dvi/hdmi mode support

2014-07-02 Thread Tomi Valkeinen
On 24/06/14 13:04, Tomi Valkeinen wrote: Make the omapdrm driver use the new HDMI ops when possible. omapdrm will call set_hdmi_mode (when available) to tell the encoder driver whether the monitor is a DVI or HDMI monitor, and if it's an HDMI monitor, omapdrm will call set_hdmi_infoframe to