Re: [PATCH 2/2] iommu/omap: Add support for configuring dsp iommus on DRA7xx

2015-07-22 Thread Suman Anna
Hi Tony, On 07/22/2015 12:26 AM, Tony Lindgren wrote: * Suman Anna s-a...@ti.com [150721 16:58]: --- a/drivers/iommu/omap-iommu.c +++ b/drivers/iommu/omap-iommu.c @@ -26,6 +26,8 @@ #include linux/of_iommu.h #include linux/of_irq.h #include linux/of_platform.h +#include linux/regmap.h

[Bug?] OMAP4+: pbias functionality is broken

2015-07-22 Thread Grygorii Strashko
Hi Tony, Tero, All, It seems MMC PBIAS regulator functionality is broken now (on DRA7 at least). 1) On DRA7 I can see that pbias_regulator: pbias_regulator device is not registered. It happens because pbias_mmc_reg is defined in DT as child of scm_conf: scm_conf@0 which is syscon and, as result,

Re: [Bug?] OMAP4+: pbias functionality is broken

2015-07-22 Thread Grygorii Strashko
+Cc: Kishon Vijay Abraham I kis...@ti.com On 07/22/2015 07:48 PM, Grygorii Strashko wrote: Hi Tony, Tero, All, It seems MMC PBIAS regulator functionality is broken now (on DRA7 at least). 1) On DRA7 I can see that pbias_regulator: pbias_regulator device is not registered. It happens because

Re: twl6030-gpadc support for twl6037

2015-07-22 Thread Graeme Gregory
On Wed, 22 Jul 2015, at 08:28 PM, Belisko Marek wrote: Adding also twl6030-gpadc driver authors to loop On Mon, Jul 20, 2015 at 8:57 AM, Belisko Marek marek.beli...@gmail.com wrote: Hi all, I'm trying to figure out what is relation between palmas mfd driver and twl-core for twl603x

Re: twl6030-gpadc support for twl6037

2015-07-22 Thread Graeme Gregory
On Wed, 22 Jul 2015, at 08:33 PM, Graeme Gregory wrote: On Wed, 22 Jul 2015, at 08:28 PM, Belisko Marek wrote: Adding also twl6030-gpadc driver authors to loop On Mon, Jul 20, 2015 at 8:57 AM, Belisko Marek marek.beli...@gmail.com wrote: Hi all, I'm trying to figure out

[PATCH 0/5] [input] tsc2005 cleanup

2015-07-22 Thread Sebastian Reichel
Hi, The following patches simplify and cleanup the tsc2005 touchscreen driver. Apart from making the driver more readable, the direct usage of SPI has been reduced to one function, so that tsc2004 support may be addable now (see [0]). Changes since PATCHv1 [1]: * Avoid mixing spi_*_drvdata()

[PATCH 5/5] Input: tsc2005 - convert to gpiod

2015-07-22 Thread Sebastian Reichel
The GPIOD API can be used from boardcode, so that the DT check can be removed. To avoid breaking existing boardcode, _optional() variant has been chosen. For completly removing the DT check, the regulator has also been made optional, so that it could be supplied from boardcode. As a side-effect

[PATCH 4/5] Input: tsc2005 - simplify drvdata acquisition

2015-07-22 Thread Sebastian Reichel
Using dev_*_drvdata() instead of spi_*_drvdata() reduces lines of code and prepares the driver for possible tsc2004 support, which is i2c based. Signed-off-by: Sebastian Reichel s...@kernel.org --- drivers/input/touchscreen/tsc2005.c | 16 ++-- 1 file changed, 6 insertions(+), 10

RE: [PATCH 3/4] Revert ARM: OMAP4: remove dead kconfig option OMAP4_ERRATA_I688

2015-07-22 Thread Woodruff, Richard
From: linux-arm-kernel [mailto:linux-arm-kernel- boun...@lists.infradead.org] On Behalf Of Russell King Sent: Wednesday, July 15, 2015 12:47 PM This reverts commit 606da4826b89b044b51e3a84958b802204cfe4c7. We actually need this code for proper behaviour of OMAP4, and it needs fixing a

Re: twl6030-gpadc support for twl6037

2015-07-22 Thread Dr. H. Nikolaus Schaller
Am 22.07.2015 um 21:41 schrieb Graeme Gregory g...@slimlogic.co.uk: On Wed, 22 Jul 2015, at 08:33 PM, Graeme Gregory wrote: On Wed, 22 Jul 2015, at 08:28 PM, Belisko Marek wrote: Adding also twl6030-gpadc driver authors to loop On Mon, Jul 20, 2015 at 8:57 AM, Belisko Marek

Re: twl6030-gpadc support for twl6037

2015-07-22 Thread Belisko Marek
Adding also twl6030-gpadc driver authors to loop On Mon, Jul 20, 2015 at 8:57 AM, Belisko Marek marek.beli...@gmail.com wrote: Hi all, I'm trying to figure out what is relation between palmas mfd driver and twl-core for twl603x devices. twl-core driver seems to be older than palmas driver

[PATCH 2/5] Input: tsc2005 - fix Kconfig indentation

2015-07-22 Thread Sebastian Reichel
Replace spaces with tab, so that the tsc2005 Kconfig entry matches the other entries in drivers/input/touchscreen/Kconfig. Signed-off-by: Sebastian Reichel s...@kernel.org --- drivers/input/touchscreen/Kconfig | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH 3/5] Input: tsc2005 - convert to regmap

2015-07-22 Thread Sebastian Reichel
Convert driver, so that it uses regmap instead of directly using spi_transfer for all register accesses. Signed-off-by: Sebastian Reichel s...@kernel.org --- drivers/input/touchscreen/Kconfig | 1 + drivers/input/touchscreen/tsc2005.c | 171 +--- 2 files

[PATCH 1/5] Input: tsc2005 - improve readability of register defines

2015-07-22 Thread Sebastian Reichel
Improve defines for first control byte by removing 0x00 prefix (the defines are for 8 bit values and not for 16 bit values) and expose register structure by exposing the shift. Signed-off-by: Sebastian Reichel s...@kernel.org --- drivers/input/touchscreen/tsc2005.c | 28

Re: linux 4.2-rc1 broken Nokia N900

2015-07-22 Thread Pali Rohár
On Wednesday 22 July 2015 00:13:34 Michael Welling wrote: On Wed, Jul 22, 2015 at 04:03:07AM +0200, Sebastian Reichel wrote: Hi, On Tue, Jul 21, 2015 at 07:17:41PM -0500, Michael Welling wrote: On Tue, Jul 21, 2015 at 11:34:41AM +0200, Pavel Machek wrote: This code has my head

Re: [PATCH 3/3] mmc: host: omap_hsmmc: Add custom card detect irq handler

2015-07-22 Thread Vignesh R
Hi Andreas, On 07/21/2015 01:46 PM, Andreas Fenkart wrote: Hi Vignesh, Generally I don't like this patch, it will make it harder, not easier, to maintain the omap hsmmc driver. Also given that the bug occurs rarely, people will be reluctant to clean it up later or accept patches. see

[GIT PULL 2/3] drop few more legacy boards for v4.3

2015-07-22 Thread Tony Lindgren
The following changes since commit bc0195aad0daa2ad5b0d76cce22b167bc3435590: Linux 4.2-rc2 (2015-07-12 15:10:30 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v4.3/legacy-v2-signed for you to fetch changes up to

[GIT PULL 3/3] defconfig changes for v4.3

2015-07-22 Thread Tony Lindgren
The following changes since commit bc0195aad0daa2ad5b0d76cce22b167bc3435590: Linux 4.2-rc2 (2015-07-12 15:10:30 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap omap-for-v4.3/defconfig for you to fetch changes up to

[GIT PULL 1/3] omap dts changes for v4.3, part2

2015-07-22 Thread Tony Lindgren
The following changes since commit 80edaaead3687b47ba3760588306937439ebd7bd: ARM: dts: am335x-evm: Switch using simple-audio-card for audio support (2015-07-14 04:28:25 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap

Re: [PATCH] mmc: omap_hsmmc: Update driver to support without regulators

2015-07-22 Thread Ulf Hansson
[...] Hi Ulf, Just to clarify do you have an issue with this patch or in general you rather nothave !CONFIG_REGULATOR supported? If its the latter then wouldit be better to remove the !CONFIG_REGULATOR portion from this driver all together. I don't like this patch as is, as it seems like

Re: [PATCH] mmc: omap_hsmmc: Update driver to support without regulators

2015-07-22 Thread Kishon Vijay Abraham I
Hi, On Wednesday 22 July 2015 05:37 PM, Ulf Hansson wrote: [...] Hi Ulf, Just to clarify do you have an issue with this patch or in general you rather nothave !CONFIG_REGULATOR supported? If its the latter then wouldit be better to remove the !CONFIG_REGULATOR portion from this driver

Re: linux 4.2-rc1 broken Nokia N900

2015-07-22 Thread Pavel Machek
On Wed 2015-07-22 04:03:07, Sebastian Reichel wrote: Hi, On Tue, Jul 21, 2015 at 07:17:41PM -0500, Michael Welling wrote: On Tue, Jul 21, 2015 at 11:34:41AM +0200, Pavel Machek wrote: This code has my head spinning. I found that the errors do not occur when the driver is built into

Re: linux 4.2-rc1 broken Nokia N900

2015-07-22 Thread Sebastian Reichel
Hi, On Wed, Jul 22, 2015 at 09:27:32AM +0200, Pali Rohár wrote: diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcspi.c index 5867384..f7d9ffd 100644 --- a/drivers/spi/spi-omap2-mcspi.c +++ b/drivers/spi/spi-omap2-mcspi.c @@ -245,6 +245,7 @@ static void

[PATCH v3 2/2] dmaengine: ti-dma-crossbar: Add support for eDMA

2015-07-22 Thread Peter Ujfalusi
The crossbar for eDMA works exactly the same way as sDMA, but sDMA requires an offset of 1, while no offset is needed for eDMA. Based on the patch from Misael Lopez Cruz misael.lo...@ti.com Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com CC: Misael Lopez Cruz misael.lo...@ti.com ---

[PATCH v3 1/2] dmaengine: ti-dma-crossbar: Make idr xbar instance-specific

2015-07-22 Thread Peter Ujfalusi
From: Misael Lopez Cruz misael.lo...@ti.com In preparation for supporting multiple DMA crossbar instances, make the idr xbar instance specific. Signed-off-by: Misael Lopez Cruz misael.lo...@ti.com Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma/ti-dma-crossbar.c | 9

[PATCH v3 0/2] dmaengine: ti-dma-crossbar: Support for eDMA

2015-07-22 Thread Peter Ujfalusi
Hi Vinod, Strange, for me the v2 series applied cleanly on top of rc1, but to be safe I have generated this series on top of 4.2-rc3 Changes since v02: - generated on top of 4.2-rc3 Changes since v01: - Drop change in compatible for the crossbar driver and do the configuration based on the DT

[PATCH] spi: omap2-mcspi: add runtime PM to set_cs()

2015-07-22 Thread Sebastian Reichel
Since commit ddcad7e9068eb omap2_mcspi_set_cs() is called without runtime power management requested. Thus the below kernel oops may be generated if a device is accessed after the runtime power management timeout. This patch fixes the problem by requesting runtime power management in

Re: [Bug?] OMAP4+: pbias functionality is broken

2015-07-22 Thread Kishon Vijay Abraham I
Hi, On Wednesday 22 July 2015 10:32 PM, Grygorii Strashko wrote: +Cc: Kishon Vijay Abraham I kis...@ti.com On 07/22/2015 07:48 PM, Grygorii Strashko wrote: Hi Tony, Tero, All, It seems MMC PBIAS regulator functionality is broken now (on DRA7 at least). 1) On DRA7 I can see that

[PATCH 0/3] Another Errata 430973 Update

2015-07-22 Thread Sebastian Reichel
Hi, This patchset is a followup to e748994 and a6d74678, that unconditionally enable the errata 430973 workaround for Cortex A8 CPUs. The first patch removes the CONFIG_ARM_ERRATA_430973 guard in the Nokia N900's IBE code, since all sold N900s are affected by the bug (AFAIK). The next two

[PATCH 1/3] ARM: OMAP2+: N900: always enable IBE bit

2015-07-22 Thread Sebastian Reichel
The kernel's workaround for Errata 430973 consists of a BTAC/BTB flush at context switch. This requires the IBE bit being set, which should normally be done by the bootloader. Since the Nokia N900's bootloader is not easily replaceable, a pdata quirk enables the IBE bit for the Nokia N900. Until

[PATCH 3/3] ARM: errata 430973: move !ARCH_MULTIPLATFORM to Kconfig

2015-07-22 Thread Sebastian Reichel
Having the !ARCH_MULTIPLATFORM dependency in the Kconfig file results in one option less to think about when configuring the kernel. Signed-off-by: Sebastian Reichel s...@kernel.org --- arch/arm/Kconfig | 1 + arch/arm/mm/proc-v7.S | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)

[PATCH 2/3] ARM: update errata 430973 documentation

2015-07-22 Thread Sebastian Reichel
The Errata 430973 workaround config option only enables the IBE bit, which should be done by the bootloader if possible. Signed-off-by: Sebastian Reichel s...@kernel.org --- arch/arm/Kconfig | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index

Re: [PATCH] spi: omap2-mcspi: add runtime PM to set_cs()

2015-07-22 Thread Michael Welling
On Wed, Jul 22, 2015 at 08:46:09PM +0200, Sebastian Reichel wrote: Since commit ddcad7e9068eb omap2_mcspi_set_cs() is called without runtime power management requested. Thus the below kernel oops may be generated if a device is accessed after the runtime power management timeout. This patch

Re: [GIT PULL 2/3] drop few more legacy boards for v4.3

2015-07-22 Thread Olof Johansson
On Wed, Jul 22, 2015 at 02:41:17AM -0700, Tony Lindgren wrote: The following changes since commit bc0195aad0daa2ad5b0d76cce22b167bc3435590: Linux 4.2-rc2 (2015-07-12 15:10:30 -0700) are available in the git repository at:

Re: [GIT PULL 3/3] defconfig changes for v4.3g

2015-07-22 Thread Olof Johansson
On Wed, Jul 22, 2015 at 02:41:18AM -0700, Tony Lindgren wrote: The following changes since commit bc0195aad0daa2ad5b0d76cce22b167bc3435590: Linux 4.2-rc2 (2015-07-12 15:10:30 -0700) are available in the git repository at:

Re: [GIT PULL 1/3] omap dts changes for v4.3, part2

2015-07-22 Thread Olof Johansson
On Wed, Jul 22, 2015 at 02:41:16AM -0700, Tony Lindgren wrote: The following changes since commit 80edaaead3687b47ba3760588306937439ebd7bd: ARM: dts: am335x-evm: Switch using simple-audio-card for audio support (2015-07-14 04:28:25 -0700) are available in the git repository at:

Re: [PATCH v3 0/2] dmaengine: ti-dma-crossbar: Support for eDMA

2015-07-22 Thread Vinod Koul
On Wed, Jul 22, 2015 at 11:48:08AM +0300, Peter Ujfalusi wrote: Hi Vinod, Strange, for me the v2 series applied cleanly on top of rc1, but to be safe I have generated this series on top of 4.2-rc3 Applied now, thanks -- ~Vinod -- To unsubscribe from this list: send the line unsubscribe

Re: linux 4.2-rc1 broken Nokia N900

2015-07-22 Thread Pali Rohár
On Wednesday 22 July 2015 15:33:18 Sebastian Reichel wrote: Hi, On Wed, Jul 22, 2015 at 09:27:32AM +0200, Pali Rohár wrote: diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcspi.c index 5867384..f7d9ffd 100644 --- a/drivers/spi/spi-omap2-mcspi.c +++

Re: [PATCH] mmc: omap_hsmmc: Update driver to support without regulators

2015-07-22 Thread Franklin S Cooper Jr.
On 07/21/2015 02:39 PM, Franklin S Cooper Jr. wrote: On 07/21/2015 06:40 AM, Ulf Hansson wrote: On 14 July 2015 at 21:29, Franklin S Cooper Jr fcoo...@ti.com wrote: From: Roger Quadros rog...@ti.com Update driver to support without regulators. Without this patch boards that do not enable