Re: [PATCH v4 08/14] v4l: ti-vpe: Rename csc memory resource name

2014-03-13 Thread Archit Taneja
Hi Kamil, On Thursday 13 March 2014 08:14 PM, Kamil Debski wrote: Hi, From: Archit Taneja [mailto:arc...@ti.com] Sent: Thursday, March 13, 2014 12:44 PM Rename the memory block resource "vpe_csc" to "csc" since it also exists within the VIP IP block. This would make the name more generic, and

Re: [PATCH 1/5] iommu/omap: Use the cache cleaning API

2014-03-13 Thread Suman Anna
Hi Laurent, On 03/07/2014 06:46 PM, Laurent Pinchart wrote: The page table entries must be cleaned from the cache before being accessed by the IOMMU. Instead of implementing cache management manually (and ignoring L2 cache), use clean_dcache_area() to make sure the entries are visible to the dev

Re: [PATCH 0/5] OMAP IOMMU fixes and IOMMU architecture questions

2014-03-13 Thread Suman Anna
Hi Laurent, On 03/07/2014 06:46 PM, Laurent Pinchart wrote: Hello, This patch set fixes miscellaneous issues with the OMAP IOMMU driver, found when trying to port the OMAP3 ISP away from omap-iovmm to the ARM DMA API. The biggest issue is fixed by patch 5/5, while the other patches fix smaller

Re: [PATCH 5/5] iommu/omap: Fix map protection value handling

2014-03-13 Thread Suman Anna
Hi Laurent, On 03/07/2014 06:46 PM, Laurent Pinchart wrote: The prot flags passed to the IOMMU map handler are defined in include/linux/iommu.h as IOMMU_(READ|WRITE|CACHE|EXEC). However, the driver expects to receive MMU_RAM_* OMAP-specific flags. This causes IOMMU flags being interpreted as pag

Re: [RFC 4/5] clocksource: omap-timer: Introduce clocksource driver for OMAP SoCs

2014-03-13 Thread Joel Fernandes
On 03/13/2014 03:48 PM, Tony Lindgren wrote: > * Joel Fernandes [140313 13:43]: >> We introduce functions to initialize clocksource and clockevent, use >> CLOCKSOURCE_OF_DECLARE to declare the clocksource, and handle the clocksource >> selection on a per-SoC basis (Currently only AM335x is support

Re: [RFC 3/5] ARM: OMAP2+: timer: Add clocksource initialization and powerup support

2014-03-13 Thread Joel Fernandes
On 03/13/2014 04:52 PM, Rob Herring wrote: > On Thu, Mar 13, 2014 at 3:35 PM, Joel Fernandes wrote: >> Introduce a generic omap timer initialization function that can >> be used by all SoCs for which support is available in the clocksource >> driver introduced in the series. >> >> The function wil

[GIT PULL] omap fixes for v3.15 merge window

2014-03-13 Thread Tony Lindgren
The following changes since commit cfbf8d4857c26a8a307fb7cd258074c9dcd8c691: Linux 3.14-rc4 (2014-02-23 17:40:03 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v3.15/fixes-for-merge-window for you to fetch change

Re: [PATCH v9 0/9] USB Host support for OMAP5 uEVM

2014-03-13 Thread Lee Jones
> > > That does mean I need a) all of the Maintainer Acks and b) you to tell > > > me which ones need to go through a single tree. > > > > You need to take patches 1 to 6 in the MFD tree. Out of these, patches 1 to > > 4 > > need to be shared with Tony as an immutable branch. > > > > Tony, could

Re: [PATCH 3/5] iommu/omap: Flush the TLB only after updating translation table entries

2014-03-13 Thread Suman Anna
Hi Laurent, On 03/07/2014 06:46 PM, Laurent Pinchart wrote: Flushing the TLB before updating translation entries creates a race condition and can lead to stale TLB entries if a translation request arrives between flushing the TLB and updating the translation entries. As there's no requirement to

Re: [PATCH 2/5] iommu/omap: Fix 'no page for' debug message in flush_iotlb_page()

2014-03-13 Thread Suman Anna
Hi Laurent, On 03/07/2014 06:46 PM, Laurent Pinchart wrote: The flush_iotlb_page() function prints a debug message when no corresponding page was found in the TLB. That condition is incorrectly checked and always resolves to true, given that the for_each_iotlb_cr() loop is never interrupted and

[PATCH] DTS: ARM: OMAP3-N900: Add WL1251 support

2014-03-13 Thread Sebastian Reichel
Add device tree support for the wireless chip built into the Nokia N900. Signed-off-by: Sebastian Reichel --- arch/arm/boot/dts/omap3-n900.dts | 40 1 file changed, 40 insertions(+) diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-

[PATCH] wl1251 device tree support

2014-03-13 Thread Sebastian Reichel
Hi Tony/Benoît, The DT support for wl1251 has been merged to wireless-next [0], so I guess it's safe to merge the following DTS addition for 3.15. [0] https://git.kernel.org/cgit/linux/kernel/git/linville/wireless-next.git/commit/?id=07bbca6f142d02b4b09d66ed3c2cde36c77057ad -- Sebastian Sebast

Re: [RFC 3/5] ARM: OMAP2+: timer: Add clocksource initialization and powerup support

2014-03-13 Thread Rob Herring
On Thu, Mar 13, 2014 at 3:35 PM, Joel Fernandes wrote: > Introduce a generic omap timer initialization function that can > be used by all SoCs for which support is available in the clocksource > driver introduced in the series. > > The function will also be responsible for calling clock initializa

Re: [PATCH v3 5/8] ARM: OMAP5: hwmod: Add ocp2scp3 and sata hwmods

2014-03-13 Thread Paul Walmsley
On Wed, 12 Mar 2014, Tony Lindgren wrote: > * Roger Quadros [140307 02:18]: > > From: Keshava Munegowda > > > > Create hwmods for ocp2scp3 and sata modules. > > Paul, does this look OK to you? I didn't go over every entry with a magnifying glass, but did take a quick look at the sysc_offs an

Re: [PATCH] ARM: OMAP4: hwmod data: correct the idlemodes for spinlock

2014-03-13 Thread Tony Lindgren
* Benoit Cousson [140313 14:11]: > Hi Paul, > > On 13/03/2014 22:02, Paul Walmsley wrote: > >On Thu, 13 Mar 2014, Tony Lindgren wrote: > > > >>* Paul Walmsley [131225 20:51]: > >>>(cc Benoît) > >>> > >>>On Mon, 23 Dec 2013, Suman Anna wrote: > >>> > The spinlock module's SYSCONFIG register d

Re: [PATCH] ARM: OMAP4: hwmod data: correct the idlemodes for spinlock

2014-03-13 Thread Benoit Cousson
Hi Paul, On 13/03/2014 22:02, Paul Walmsley wrote: On Thu, 13 Mar 2014, Tony Lindgren wrote: * Paul Walmsley [131225 20:51]: (cc Benoît) On Mon, 23 Dec 2013, Suman Anna wrote: The spinlock module's SYSCONFIG register does not support smart wakeup, so remove this flag from the idle modes i

Re: [PATCH] ARM: OMAP4: hwmod data: correct the idlemodes for spinlock

2014-03-13 Thread Paul Walmsley
On Thu, 13 Mar 2014, Tony Lindgren wrote: > * Paul Walmsley [131225 20:51]: > > (cc Benoît) > > > > On Mon, 23 Dec 2013, Suman Anna wrote: > > > > > The spinlock module's SYSCONFIG register does not support > > > smart wakeup, so remove this flag from the idle modes in > > > the spinlock hwmod

Re: [RFC 4/5] clocksource: omap-timer: Introduce clocksource driver for OMAP SoCs

2014-03-13 Thread Tony Lindgren
* Joel Fernandes [140313 13:43]: > We introduce functions to initialize clocksource and clockevent, use > CLOCKSOURCE_OF_DECLARE to declare the clocksource, and handle the clocksource > selection on a per-SoC basis (Currently only AM335x is supported). Powering up > of the timer will be done with

Re: [PATCH] ARM: OMAP2+: INTC: Acknowledge stuck active interrupts

2014-03-13 Thread Tony Lindgren
* Tony Lindgren [140307 08:09]: > * Sørensen, Stefan [140307 04:44]: > > On Thu, 2014-03-06 at 10:32 -0800, Tony Lindgren wrote: > > > While playing with this, you may want to also do one more test and > > > forward port these two patches adding checks for spurious interrupts: > > > > > > 6ccc4c

[RFC 5/5] ARM: AM33xx: Move to using omap_generic_timer_init for init_time

2014-03-13 Thread Joel Fernandes
Earlier patch in this series introduced a function omap_generic_timer_init for all DT platforms. Use it for AM33xx SoC. Signed-off-by: Joel Fernandes --- arch/arm/mach-omap2/board-generic.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-omap2/board-generic.c

[RFC 0/5] Clocksource driver for OMAP SoCs

2014-03-13 Thread Joel Fernandes
Here's an RFC series for clocksource migration of OMAP timers. This attempt is going to step-by-step attempt to migrate platforms such that everything is kept working smoothly during migration. Currently the series introduces a clocksource driver and migrates AM335x platform to discuss the general

[RFC 3/5] ARM: OMAP2+: timer: Add clocksource initialization and powerup support

2014-03-13 Thread Joel Fernandes
Introduce a generic omap timer initialization function that can be used by all SoCs for which support is available in the clocksource driver introduced in the series. The function will also be responsible for calling clock initialization required for everything else to work. Signed-off-by: Joel F

[RFC 2/5] ARM: dts: am33xx: Set parent clock for timer through DT

2014-03-13 Thread Joel Fernandes
Signed-off-by: Joel Fernandes --- arch/arm/boot/dts/am33xx.dtsi |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 4e6c959..51b7008 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi @@ -352,6 +3

[RFC 4/5] clocksource: omap-timer: Introduce clocksource driver for OMAP SoCs

2014-03-13 Thread Joel Fernandes
We introduce functions to initialize clocksource and clockevent, use CLOCKSOURCE_OF_DECLARE to declare the clocksource, and handle the clocksource selection on a per-SoC basis (Currently only AM335x is supported). Powering up of the timer will be done with the help of the mach-omap layer function t

Re: [PATCH] ARM: OMAP4: Fix definition of IS_PM44XX_ERRATUM

2014-03-13 Thread Tony Lindgren
* Kevin Hilman [140313 11:30]: > Nishanth Menon writes: > > > Just like IS_PM34XX_ERRATUM, IS_PM44XX_ERRATUM is valid only if > > CONFIG_PM is enabled, else, disabling CONFIG_PM results in build > > failure complaining about the following: > > arch/arm/mach-omap2/built-in.o: In function `omap4_b

[RFC 1/5] ARM: dts: am33xx: Add clock nodes for timer1 and timer2

2014-03-13 Thread Joel Fernandes
Signed-off-by: Joel Fernandes --- arch/arm/boot/dts/am33xx.dtsi |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/am33xx.dtsi b/arch/arm/boot/dts/am33xx.dtsi index 6d95d3d..4e6c959 100644 --- a/arch/arm/boot/dts/am33xx.dtsi +++ b/arch/arm/boot/dts/am33xx.dtsi @@ -347,6 +3

Re: [RESEND PATCH 1/1] arm: dts: am33xx: correcting dt node unit address for usb

2014-03-13 Thread Tony Lindgren
* Felipe Balbi [140306 07:33]: > On Thu, Mar 06, 2014 at 06:01:34PM +0530, Mugunthan V N wrote: > > DT node's unit address should be its own register offset address to make it > > a > > unique across the system. This patch corrects the incorrect USB entries with > > correct register offset for un

Re: [PATCH] ARM: OMAP4: hwmod data: correct the idlemodes for spinlock

2014-03-13 Thread Tony Lindgren
* Paul Walmsley [131225 20:51]: > (cc Benoît) > > On Mon, 23 Dec 2013, Suman Anna wrote: > > > The spinlock module's SYSCONFIG register does not support > > smart wakeup, so remove this flag from the idle modes in > > the spinlock hwmod definition. > > > > Signed-off-by: Suman Anna > > Benoît

Re: [PATCH v3 0/2] ARM: OMAP4+: Fix gpmc_fck clock

2014-03-13 Thread Tony Lindgren
* Florian Vaussard [140313 01:36]: > Hi, > > On 02/26/2014 11:38 AM, Florian Vaussard wrote: > > Hello, > > > > Trying to get my SMSC9221 working on OMAP4 with DT, > > I faced a misconfigured gpmc_fck (dummy clock set to 0) > > resulting in serveral division-by-zero, misconfigured > > timings an

[GIT PULL 2/2] omap overo related device tree changes for v3.15

2014-03-13 Thread Tony Lindgren
The following changes since commit cfbf8d4857c26a8a307fb7cd258074c9dcd8c691: Linux 3.14-rc4 (2014-02-23 17:40:03 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v3.15/dt-overo-signed for you to fetch changes up to

[GIT PULL 1/2] omap device tree changes for v3.15, part 3

2014-03-13 Thread Tony Lindgren
Hi, Resending these two, looks like my updated scripts have some issues hitting the mailing lists.. The following changes since commit 18c49af3ee9e32a535413a949672bea726699f04: ARM: dts: am335x-evmsk: enable dual_emac mode (2014-03-05 11:53:36 -0800) are available in the git repository at:

Re: [PATCH] ARM: OMAP4: Fix definition of IS_PM44XX_ERRATUM

2014-03-13 Thread Kevin Hilman
Nishanth Menon writes: > Just like IS_PM34XX_ERRATUM, IS_PM44XX_ERRATUM is valid only if > CONFIG_PM is enabled, else, disabling CONFIG_PM results in build > failure complaining about the following: > arch/arm/mach-omap2/built-in.o: In function `omap4_boot_secondary': > :(.text+0x8a70): undefined

Re: [PATCH v2 4/4] ARM: DTS: AM43x: Add DSS node

2014-03-13 Thread Tomi Valkeinen
On 13/03/14 19:46, Mark Rutland wrote: > On Thu, Mar 13, 2014 at 08:58:29AM +, Sathya Prakash M R wrote: >> Add device node for DSS module for AM4372. Both the >> AM437x-Gp evm and Am43x-Epos evm use the same LCD panel. >> The lcd timings are added in respective dts files. >> Adds display pinct

Re: [PATCH v2 4/4] ARM: DTS: AM43x: Add DSS node

2014-03-13 Thread Mark Rutland
On Thu, Mar 13, 2014 at 08:58:29AM +, Sathya Prakash M R wrote: > Add device node for DSS module for AM4372. Both the > AM437x-Gp evm and Am43x-Epos evm use the same LCD panel. > The lcd timings are added in respective dts files. > Adds display pinctrl and enables required gpio. > Also set the

Re: [PATCH] ASoC: tlv320aic31xx: Remove snd_soc_codec_set_cache_io() call

2014-03-13 Thread Mark Brown
On Thu, Mar 13, 2014 at 06:22:35PM +0200, Jyri Sarha wrote: > Remove snd_soc_codec_set_cache_io(codec, 8, 8, SND_SOC_REGMAP) call > and codec->control_data = aic31xx->regmap assignment since that > already done by core. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v6] ASoC: tlv320aic31xx: Fix unused variable warning from aic31xx_clk_off

2014-03-13 Thread Mark Brown
On Thu, Mar 13, 2014 at 05:37:52PM +0200, Jyri Sarha wrote: > Fix "warning: unused variable 'aic31xx'" from function 'aic31xx_clk_off'. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH v6] ASoC: tlv320aic31xx: Add basic codec driver implementation

2014-03-13 Thread Mark Brown
On Thu, Mar 13, 2014 at 04:35:44PM +0200, Jyri Sarha wrote: > This commit adds a bare bones driver support for TLV320AIC31XX family > audio codecs. The driver adds basic stereo playback trough headphone > and speaker outputs and mono capture trough microphone inputs. Please don't resend patches th

Re: [PATCH v4 2/5] ARM: dts: am43xx clock data

2014-03-13 Thread Roger Quadros
On 03/13/2014 05:11 PM, George Cherian wrote: > Add USB and USB PHY reference clock data > > Signed-off-by: George Cherian > --- > arch/arm/boot/dts/am43xx-clocks.dtsi | 32 > 1 file changed, 32 insertions(+) > > diff --git a/arch/arm/boot/dts/am43xx-clocks.dtsi

Re: [PATCH v1 1/3] ARM: dts: am335x-bone: add support for beaglebone NAND cape

2014-03-13 Thread Tony Lindgren
* Robert Nelson [140313 06:33]: > On Thu, Mar 13, 2014 at 8:03 AM, Nishanth Menon wrote: > > On 03/13/2014 01:19 AM, Gupta, Pekon wrote: > > [..] > >>> diff --git a/arch/arm/boot/dts/am335x-bone-memory-cape.dts > >>> b/arch/arm/boot/dts/am335x-bone-memory-cape.dts > >>> new file mode 100644 > >>

Re: [PATCHv4 4/7] hwspinlock/core: add common OF helpers

2014-03-13 Thread Josh Cartwright
On Tue, Mar 04, 2014 at 11:38:23AM -0600, Suman Anna wrote: > Hi Ohad, > > On 03/02/2014 02:19 PM, Bjorn Andersson wrote: > >On Sat, Mar 1, 2014 at 9:14 PM, Ohad Ben-Cohen wrote: > >>On Mon, Feb 10, 2014 at 9:14 PM, Suman Anna wrote: > >>>On 02/07/2014 04:49 PM, Bjorn Andersson wrote: > >>>Ohad,

Re: [PATCH] dma: omap-dma: Implement device_slave_caps callback

2014-03-13 Thread Tony Lindgren
* Peter Ujfalusi [140313 00:52]: > Hi Tony, > > On 03/12/2014 07:37 PM, Tony Lindgren wrote: > > * Peter Ujfalusi [140307 05:39]: > >> With the callback implemented omap-dma can provide information to client > >> drivers regarding to supported address widths, directions, residue > >> granularity

[PATCH] ASoC: tlv320aic31xx: Remove snd_soc_codec_set_cache_io() call

2014-03-13 Thread Jyri Sarha
Remove snd_soc_codec_set_cache_io(codec, 8, 8, SND_SOC_REGMAP) call and codec->control_data = aic31xx->regmap assignment since that already done by core. Signed-off-by: Jyri Sarha --- This patch should fix the last minute breakkage of v3.15 ASoC updates build. sound/soc/codecs/tlv320aic31xx.c |

[PATCH v6] ASoC: tlv320aic31xx: Fix unused variable warning from aic31xx_clk_off

2014-03-13 Thread Jyri Sarha
Fix "warning: unused variable 'aic31xx'" from function 'aic31xx_clk_off'. Signed-off-by: Jyri Sarha --- sound/soc/codecs/tlv320aic31xx.c |1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/tlv320aic31xx.c b/sound/soc/codecs/tlv320aic31xx.c index e626b56..c9f6989 100644 --- a/s

Re: [PATCH v5] ASoC: tlv320aic31xx: Add basic codec driver implementation

2014-03-13 Thread Jyri Sarha
On 03/13/2014 02:20 PM, Mark Brown wrote: On Tue, Mar 11, 2014 at 12:57:32PM +0200, Jyri Sarha wrote: This commit adds a bare bones driver support for TLV320AIC31XX family audio codecs. The driver adds basic stereo playback trough headphone and speaker outputs and mono capture trough microphone

Re: [PATCH v4 0/5] Add USB nodes for am43xx epos and gp evm

2014-03-13 Thread Felipe Balbi
On Thu, Mar 13, 2014 at 08:41:11PM +0530, George Cherian wrote: > The patch series adds USB dt nodes for am43xx epos and gp evm > Boot tested with linux-next + Tony's omap-for-v3.15/dt > > Changes from v1 -> v2 > * Reorder "doc: Add "ti,am437x-dwc3" comaptible for dwc3 glue" > * Addres

[PATCH v4 1/5] doc: Add "ti,am437x-dwc3" comaptible for dwc3 glue

2014-03-13 Thread George Cherian
Add the compatible "ti,am437x-dwc3" for dwc3 glue driver. Signed-off-by: George Cherian Acked-by: Roger Quadros --- Documentation/devicetree/bindings/usb/omap-usb.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/omap-usb.txt b/Doc

[PATCH v4 2/5] ARM: dts: am43xx clock data

2014-03-13 Thread George Cherian
Add USB and USB PHY reference clock data Signed-off-by: George Cherian --- arch/arm/boot/dts/am43xx-clocks.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/am43xx-clocks.dtsi b/arch/arm/boot/dts/am43xx-clocks.dtsi index 142009c..c74d45

[PATCH v4 4/5] ARM: dts: am437x-gp-evm: Enable USB

2014-03-13 Thread George Cherian
Enable - USB PHY - USB for am437x-gp-evm Signed-off-by: George Cherian Acked-by: Roger Quadros --- arch/arm/boot/dts/am437x-gp-evm.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/am437x-gp-evm.dts b/arch/arm/boot/dts/am437x-gp-evm.d

[PATCH v4 5/5] ARM: dts: am43x-epos-evm: Enable USB

2014-03-13 Thread George Cherian
Enable - USB PHY - USB for am43x-epos-evm Signed-off-by: George Cherian Acked-by: Roger Quadros --- arch/arm/boot/dts/am43x-epos-evm.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/am43x-epos-evm.dts b/arch/arm/boot/dts/am43x-epos-

[PATCH v4 3/5] ARM: dts: AM4372: Add USB nodes

2014-03-13 Thread George Cherian
Add nodes for 2 instances each of - ocp2scp - USB PHY control module - USB PHY - dwc3_omap - USB for AM43xx. Signed-off-by: George Cherian Acked-by: Roger Quadros --- arch/arm/boot/dts/am4372.dtsi | 94 +++ 1 file

[PATCH v4 0/5] Add USB nodes for am43xx epos and gp evm

2014-03-13 Thread George Cherian
The patch series adds USB dt nodes for am43xx epos and gp evm Boot tested with linux-next + Tony's omap-for-v3.15/dt Changes from v1 -> v2 * Reorder "doc: Add "ti,am437x-dwc3" comaptible for dwc3 glue" * Address v1 coments on "ARM: dts: AM4372: Add USB nodes" Changes from v2 ->

RE: [PATCH v4 06/14] v4l: ti-vpe: Fix some params in VPE data descriptors

2014-03-13 Thread Kamil Debski
Hi, > From: Archit Taneja [mailto:arc...@ti.com] > Sent: Thursday, March 13, 2014 12:44 PM > To: k.deb...@samsung.com; hverk...@xs4all.nl > Cc: linux-me...@vger.kernel.org; linux-omap@vger.kernel.org; Archit > Taneja > Subject: [PATCH v4 06/14] v4l: ti-vpe: Fix some params in VPE data > descriptor

RE: [PATCH v4 08/14] v4l: ti-vpe: Rename csc memory resource name

2014-03-13 Thread Kamil Debski
Hi, > From: Archit Taneja [mailto:arc...@ti.com] > Sent: Thursday, March 13, 2014 12:44 PM > > Rename the memory block resource "vpe_csc" to "csc" since it also > exists within the VIP IP block. This would make the name more generic, > and both VPE and VIP DT nodes in the future can use it. I un

RE: [PATCH v4 01/14] v4l: ti-vpe: Make sure in job_ready that we have the needed number of dst_bufs

2014-03-13 Thread Kamil Debski
> From: Archit Taneja [mailto:arc...@ti.com] > Sent: Thursday, March 13, 2014 12:44 PM > > VPE has a ctrl parameter which decides how many mem to mem transactions > the active job from the job queue can perform. > > The driver's job_ready() made sure that the number of ready source > buffers are

[PATCH v6] ASoC: tlv320aic31xx: Add basic codec driver implementation

2014-03-13 Thread Jyri Sarha
This commit adds a bare bones driver support for TLV320AIC31XX family audio codecs. The driver adds basic stereo playback trough headphone and speaker outputs and mono capture trough microphone inputs. The driver is currently missing support at least for mini DSP features and jack detection. I hav

RE: [PATCH v3 01/14] v4l: ti-vpe: Make sure in job_ready that we have the needed number of dst_bufs

2014-03-13 Thread Kamil Debski
Hi, > From: Archit Taneja [mailto:arc...@ti.com] > Sent: Tuesday, March 11, 2014 9:34 AM > > VPE has a ctrl parameter which decides how many mem to mem transactions > the active job from the job queue can perform. > > The driver's job_ready() made sure that the number of ready source > buffers a

RE: [PATCH v3 02/14] v4l: ti-vpe: register video device only when firmware is loaded

2014-03-13 Thread Kamil Debski
Hi, > From: Archit Taneja [mailto:arc...@ti.com] > Sent: Thursday, March 13, 2014 1:09 PM > > Hi Kamil, > > On Thursday 13 March 2014 05:18 PM, Kamil Debski wrote: > > Hi Archit, > > > >> From: Archit Taneja [mailto:arc...@ti.com] > >> Sent: Tuesday, March 11, 2014 9:34 AM > >> > >> vpe fops(vpe

Re: [PATCH 00/18] edma/ASoC: dmaengine PCM for AM335x and AM447x

2014-03-13 Thread Mark Brown
On Thu, Mar 13, 2014 at 11:18:22AM +0200, Peter Ujfalusi wrote: > With this series AM335x and AM447x will use the dmaengine PCM for audio. The > daVinci devices will keep using the davinci-pcm for now since I do not have > means to test them but the code is written in a way that they can be switch

Re: [alsa-devel] [PATCH 13/18] dma: edma: Print the direction value as well when it is not supported

2014-03-13 Thread Peter Ujfalusi
On 03/13/2014 03:03 PM, Shevchenko, Andriy wrote: > On Thu, 2014-03-13 at 11:18 +0200, Peter Ujfalusi wrote: >> In case of not supported direction it is better to print the direction also. >> It is unlikely, but in such an event it helps with the debugging. >> >> Signed-off-by: Peter Ujfalusi >> -

Re: [PATCH 10/18] dma: edma: Reduce debug print verbosity for non verbose debugging

2014-03-13 Thread Peter Ujfalusi
On 03/13/2014 02:53 PM, Shevchenko, Andriy wrote: > On Thu, 2014-03-13 at 11:18 +0200, Peter Ujfalusi wrote: >> Do not print the paRAM information when verbose debugging is not asked and >> also reduce the number of lines printed in edma_prep_dma_cyclic() >> >> Signed-off-by: Peter Ujfalusi >> ---

Re: [alsa-devel] [PATCH 14/18] ASoC: davinci: Add edma dmaengine platform driver

2014-03-13 Thread Lars-Peter Clausen
On 03/13/2014 02:03 PM, Peter Ujfalusi wrote: On 03/13/2014 12:28 PM, Lars-Peter Clausen wrote: +int edma_pcm_platform_register(struct device *dev) +{ +if (dev->of_node) +return snd_dmaengine_pcm_register(dev, +&edma_dmaengine_pcm_config, +SND_

Re: [PATCH v1 1/3] ARM: dts: am335x-bone: add support for beaglebone NAND cape

2014-03-13 Thread Robert Nelson
On Thu, Mar 13, 2014 at 8:03 AM, Nishanth Menon wrote: > On 03/13/2014 01:19 AM, Gupta, Pekon wrote: > [..] >>> diff --git a/arch/arm/boot/dts/am335x-bone-memory-cape.dts >>> b/arch/arm/boot/dts/am335x-bone-memory-cape.dts >>> new file mode 100644 >>> index 000..7ab088d >>> --- /dev/null >>>

Re: [PATCH 13/18] dma: edma: Print the direction value as well when it is not supported

2014-03-13 Thread Shevchenko, Andriy
On Thu, 2014-03-13 at 11:18 +0200, Peter Ujfalusi wrote: > In case of not supported direction it is better to print the direction also. > It is unlikely, but in such an event it helps with the debugging. > > Signed-off-by: Peter Ujfalusi > --- > drivers/dma/edma.c | 4 ++-- > 1 file changed, 2 i

Re: [PATCH v1 1/3] ARM: dts: am335x-bone: add support for beaglebone NAND cape

2014-03-13 Thread Nishanth Menon
On 03/13/2014 01:19 AM, Gupta, Pekon wrote: [..] >> diff --git a/arch/arm/boot/dts/am335x-bone-memory-cape.dts >> b/arch/arm/boot/dts/am335x-bone-memory-cape.dts >> new file mode 100644 >> index 000..7ab088d >> --- /dev/null >> +++ b/arch/arm/boot/dts/am335x-bone-memory-cape.dts >> > From disc

Re: [alsa-devel] [PATCH 14/18] ASoC: davinci: Add edma dmaengine platform driver

2014-03-13 Thread Peter Ujfalusi
On 03/13/2014 12:28 PM, Lars-Peter Clausen wrote: >> +int edma_pcm_platform_register(struct device *dev) >> +{ >> +if (dev->of_node) >> +return snd_dmaengine_pcm_register(dev, >> +&edma_dmaengine_pcm_config, >> +SND_DMAENGINE_PCM_FLAG_NO_RESIDUE);

Re: [PATCH 10/18] dma: edma: Reduce debug print verbosity for non verbose debugging

2014-03-13 Thread Shevchenko, Andriy
On Thu, 2014-03-13 at 11:18 +0200, Peter Ujfalusi wrote: > Do not print the paRAM information when verbose debugging is not asked and > also reduce the number of lines printed in edma_prep_dma_cyclic() > > Signed-off-by: Peter Ujfalusi > --- > drivers/dma/edma.c | 11 +-- > 1 file change

Re: [PATCH v5] ASoC: tlv320aic31xx: Add basic codec driver implementation

2014-03-13 Thread Mark Brown
On Tue, Mar 11, 2014 at 12:57:32PM +0200, Jyri Sarha wrote: > This commit adds a bare bones driver support for TLV320AIC31XX family > audio codecs. The driver adds basic stereo playback trough headphone > and speaker outputs and mono capture trough microphone inputs. Applied, thanks. One thing it

Re: [PATCH v3 1/5] doc: Add "ti,am437x-dwc3" comaptible for dwc3 glue

2014-03-13 Thread Roger Quadros
On 03/13/2014 01:41 PM, George Cherian wrote: > On 3/13/2014 4:02 PM, Roger Quadros wrote: >> Hi George, >> >> On 03/07/2014 01:56 PM, George Cherian wrote: >>> Add the compatible "ti,am437x-dwc3" for dwc3 glue driver. >>> >>> Signed-off-by: George Cherian >>> --- >>> Documentation/devicetree/bi

Re: [PATCH v3 2/5] ARM: dts: am43xx clock data

2014-03-13 Thread George Cherian
On 3/13/2014 4:05 PM, Roger Quadros wrote: Hi George, On 03/07/2014 01:56 PM, George Cherian wrote: Add USB reference clock data Signed-off-by: George Cherian --- arch/arm/boot/dts/am43xx-clocks.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/a

Re: [PATCH v3 02/14] v4l: ti-vpe: register video device only when firmware is loaded

2014-03-13 Thread Archit Taneja
Hi Kamil, On Thursday 13 March 2014 05:18 PM, Kamil Debski wrote: Hi Archit, From: Archit Taneja [mailto:arc...@ti.com] Sent: Tuesday, March 11, 2014 9:34 AM vpe fops(vpe_open in particular) should be called only when VPDMA firmware is loaded. File operations on the video device are possible

Re: [alsa-devel] [PATCH 14/18] ASoC: davinci: Add edma dmaengine platform driver

2014-03-13 Thread Lars-Peter Clausen
On 03/13/2014 12:56 PM, Peter Ujfalusi wrote: On 03/13/2014 12:28 PM, Lars-Peter Clausen wrote: On 03/13/2014 10:18 AM, Peter Ujfalusi wrote: [...] +static const struct snd_pcm_hardware edma_pcm_hardware = { +.info = SNDRV_PCM_INFO_MMAP | + SNDRV_PCM_INFO_MMAP_VALID | + SND

Re: [alsa-devel] [PATCH 14/18] ASoC: davinci: Add edma dmaengine platform driver

2014-03-13 Thread Peter Ujfalusi
On 03/13/2014 12:28 PM, Lars-Peter Clausen wrote: > On 03/13/2014 10:18 AM, Peter Ujfalusi wrote: [...] >> +static const struct snd_pcm_hardware edma_pcm_hardware = { +.info >> = SNDRV_PCM_INFO_MMAP | + SNDRV_PCM_INFO_MMAP_VALID | + >> SNDRV_PCM_INFO_BATCH | +

RE: [PATCH v3 02/14] v4l: ti-vpe: register video device only when firmware is loaded

2014-03-13 Thread Kamil Debski
Hi Archit, > From: Archit Taneja [mailto:arc...@ti.com] > Sent: Tuesday, March 11, 2014 9:34 AM > > vpe fops(vpe_open in particular) should be called only when VPDMA > firmware is loaded. File operations on the video device are possible > the moment it is registered. > > Currently, we register t

[PATCH v4 05/14] v4l: ti-vpe: Allow usage of smaller images

2014-03-13 Thread Archit Taneja
The minimum width and height for VPE input/output was kept as 128 pixels. VPE doesn't have a constraint on the image height, it requires the image width to be at least 16 bytes. Change the minimum supported dimensions to 32x32. This allows us to de-interlace qcif content. A smaller image size than

[PATCH v4 01/14] v4l: ti-vpe: Make sure in job_ready that we have the needed number of dst_bufs

2014-03-13 Thread Archit Taneja
VPE has a ctrl parameter which decides how many mem to mem transactions the active job from the job queue can perform. The driver's job_ready() made sure that the number of ready source buffers are sufficient for the job to execute successfully. But it didn't make sure if there are sufficient read

[PATCH v4 07/14] v4l: ti-vpe: Add selection API in VPE driver

2014-03-13 Thread Archit Taneja
Add selection ioctl ops. For VPE, cropping makes sense only for the input to VPE(or V4L2_BUF_TYPE_VIDEO_OUTPUT/MPLANE buffers) and composing makes sense only for the output of VPE(or V4L2_BUF_TYPE_VIDEO_CAPTURE/MPLANE buffers). For the CAPTURE type, V4L2_SEL_TGT_COMPOSE results in VPE writing the

[PATCH v4 11/14] v4l: ti-vpe: Fix initial configuration queue data

2014-03-13 Thread Archit Taneja
The vpe output and capture queues are initially configured to default values in vpe_open(). A G_FMT before any S_FMTs will result in these values being populated. The colorspace and bytesperline parameter of this initial configuration are incorrect. This breaks compliance when as we get 'TRY_FMT(G

[PATCH v4 08/14] v4l: ti-vpe: Rename csc memory resource name

2014-03-13 Thread Archit Taneja
Rename the memory block resource "vpe_csc" to "csc" since it also exists within the VIP IP block. This would make the name more generic, and both VPE and VIP DT nodes in the future can use it. Signed-off-by: Archit Taneja --- drivers/media/platform/ti-vpe/csc.c | 2 +- 1 file changed, 1 insertio

[PATCH v4 04/14] v4l: ti-vpe: Allow DMABUF buffer type support

2014-03-13 Thread Archit Taneja
For OMAP and DRA7x, we generally allocate video and graphics buffers through omapdrm since the corresponding omap-gem driver provides DMM-Tiler backed contiguous buffers. omapdrm is a dma-buf exporter. These buffers are used by other drivers in the video pipeline. Add VB2_DMABUF flag to the io_mod

[PATCH v4 13/14] v4l: ti-vpe: Set correct field parameter for output and capture buffers

2014-03-13 Thread Archit Taneja
The vpe driver wasn't setting the correct field parameter for dequed CAPTURE type buffers for the case where the captured output is progressive. Set the field to V4L2_FIELD_NONE for the completed destination buffers when the captured output is progressive. For OUTPUT type buffers, a queued buffer

[PATCH v4 09/14] v4l: ti-vpe: report correct capabilities in querycap

2014-03-13 Thread Archit Taneja
querycap currently returns V4L2_CAP_VIDEO_M2M as a capability, this should be V4L2_CAP_VIDEO_M2M_MPLANE instead, as the driver supports multiplanar formats. Reviewed-by: Hans Verkuil Signed-off-by: Archit Taneja --- drivers/media/platform/ti-vpe/vpe.c | 2 +- 1 file changed, 1 insertion(+), 1 d

[PATCH v4 06/14] v4l: ti-vpe: Fix some params in VPE data descriptors

2014-03-13 Thread Archit Taneja
Some parameters of the VPE descriptors were understood incorrectly. They are now fixed. The fixes are explained as follows: - When adding an inbound data descriptor to the VPDMA descriptor list, we intend to use c_rect as the cropped region fetched by VPDMA. Therefore, c_rect->width shouldn't

[PATCH v4 02/14] v4l: ti-vpe: register video device only when firmware is loaded

2014-03-13 Thread Archit Taneja
vpe fops(vpe_open in particular) should be called only when VPDMA firmware is loaded. File operations on the video device are possible the moment it is registered. Currently, we register the video device for VPE at driver probe, after calling a vpdma helper to initialize VPDMA and load firmware. T

[PATCH v4 10/14] v4l: ti-vpe: Use correct bus_info name for the device in querycap

2014-03-13 Thread Archit Taneja
The bus_info parameter in v4l2_capabilities expects a 'platform_' prefix. This wasn't done in the driver and hence was breaking compliance. Update the bus_info parameter accordingly. Reviewed-by: Hans Verkuil Signed-off-by: Archit Taneja --- drivers/media/platform/ti-vpe/vpe.c | 3 ++- 1 file c

[PATCH v4 03/14] v4l: ti-vpe: Use video_device_release_empty

2014-03-13 Thread Archit Taneja
The video_device struct is currently embedded in the driver data struct vpe_dev. A vpe_dev instance is allocated by the driver, and the memory for the vfd is a part of this struct. The v4l2 core, however, manages the removal of the vfd region, through the video_device's .release() op, which curren

[PATCH v4 14/14] v4l: ti-vpe: retain v4l2_buffer flags for captured buffers

2014-03-13 Thread Archit Taneja
The dequed CAPTURE_MPLANE type buffers don't contain the flags that the originally queued OUTPUT_MPLANE type buffers have. This breaks compliance. Copy the source v4l2_buffer flags to the destination v4l2_buffer flags before they are dequed. Reviewed-by: Hans Verkuil Signed-off-by: Archit Taneja

[PATCH v4 12/14] v4l: ti-vpe: zero out reserved fields in try_fmt

2014-03-13 Thread Archit Taneja
Zero out the reserved formats in v4l2_pix_format_mplane and v4l2_plane_pix_format members of the returned v4l2_format pointer when passed through TRY_FMT ioctl. This ensures that the user doesn't interpret the non-zero fields as some data passed by the driver, and ensures compliance. Reviewed-by:

[PATCH v4 00/14] v4l: ti-vpe: Some VPE fixes and enhancements

2014-03-13 Thread Archit Taneja
This patch set mainly consists of minor fixes for the VPE driver. These fixes ensure the following: - The VPE module can be inserted and removed successively. - Make sure that smaller resolutions like qcif work correctly. - Prevent race condition between firmware loading and an open call to the v4

Re: [PATCH v3 1/5] doc: Add "ti,am437x-dwc3" comaptible for dwc3 glue

2014-03-13 Thread George Cherian
On 3/13/2014 4:02 PM, Roger Quadros wrote: Hi George, On 03/07/2014 01:56 PM, George Cherian wrote: Add the compatible "ti,am437x-dwc3" for dwc3 glue driver. Signed-off-by: George Cherian --- Documentation/devicetree/bindings/usb/omap-usb.txt | 4 +++- 1 file changed, 3 insertions(+), 1 de

Re: [PATCH v3 5/5] ARM: dts: am43x-epos-evm: Enable USB

2014-03-13 Thread Roger Quadros
On 03/07/2014 01:57 PM, George Cherian wrote: > Enable > - ocp2scp > - USB PHY control module > - USB PHY > - dwc3_omap > - USB we are not enabling "PHY control module" here. > > for am43x-epos-evm > > Signed-off-by: George Cherian With the description change. A

Re: [PATCH v3 4/5] ARM: dts: am437x-gp-evm: Enable USB

2014-03-13 Thread Roger Quadros
On 03/07/2014 01:57 PM, George Cherian wrote: > Enable > - ocp2scp > - USB PHY control module > - USB PHY > - dwc3_omap > - USB > for am437x-gp-evm > > Signed-off-by: George Cherian Acked-by: Roger Quadros > --- > arch/arm/boot/dts/am437x-gp-evm.dts | 18

Re: [PATCH v3 3/5] ARM: dts: AM4372: Add USB nodes

2014-03-13 Thread Roger Quadros
On 03/07/2014 01:57 PM, George Cherian wrote: > Add nodes for 2 instances each of > - ocp2scp > - USB PHY control module > - USB PHY > - dwc3_omap > - USB > > for AM43xx. > > Signed-off-by: George Cherian > Acked-by: Roger Quadros > --- > arch/arm/boot/dts/am4372.

Re: [alsa-devel] [PATCH 14/18] ASoC: davinci: Add edma dmaengine platform driver

2014-03-13 Thread Lars-Peter Clausen
On 03/13/2014 10:18 AM, Peter Ujfalusi wrote: [...] +static const struct snd_pcm_hardware edma_pcm_hardware = { + .info = SNDRV_PCM_INFO_MMAP | + SNDRV_PCM_INFO_MMAP_VALID | + SNDRV_PCM_INFO_BATCH | +

Re: [PATCH v3 2/5] ARM: dts: am43xx clock data

2014-03-13 Thread Roger Quadros
Hi George, On 03/07/2014 01:56 PM, George Cherian wrote: > Add USB reference clock data > > Signed-off-by: George Cherian > --- > arch/arm/boot/dts/am43xx-clocks.dtsi | 17 + > 1 file changed, 17 insertions(+) > > diff --git a/arch/arm/boot/dts/am43xx-clocks.dtsi > b/arch/arm/

Re: [PATCH v3 1/5] doc: Add "ti,am437x-dwc3" comaptible for dwc3 glue

2014-03-13 Thread Roger Quadros
Hi George, On 03/07/2014 01:56 PM, George Cherian wrote: > Add the compatible "ti,am437x-dwc3" for dwc3 glue driver. > > Signed-off-by: George Cherian > --- > Documentation/devicetree/bindings/usb/omap-usb.txt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Document

Re: [PATCH v2 2/4] ARM: AM43xx: fix dpll init in bypass mode

2014-03-13 Thread Sathya Prakash
On Thursday 13 March 2014 03:54 PM, Tomi Valkeinen wrote: On 13/03/14 10:58, Sathya Prakash M R wrote: From: Tomi Valkeinen On AM43xx, if a PLL is in bypass at kernel init, the code in omap2_get_dpll_rate() will not realize this and will try to calculate the clock rate using the multiplier and

Re: [PATCH v2 4/4] ARM: DTS: AM43x: Add DSS node

2014-03-13 Thread Sathya Prakash
On Thursday 13 March 2014 03:51 PM, Tomi Valkeinen wrote: On 13/03/14 10:58, Sathya Prakash M R wrote: Add device node for DSS module for AM4372. Both the AM437x-Gp evm and Am43x-Epos evm use the same LCD panel. The lcd timings are added in respective dts files. Adds display pinctrl and enables

Re: [PATCH v2 2/4] ARM: AM43xx: fix dpll init in bypass mode

2014-03-13 Thread Tomi Valkeinen
On 13/03/14 10:58, Sathya Prakash M R wrote: > From: Tomi Valkeinen > > On AM43xx, if a PLL is in bypass at kernel init, the code in > omap2_get_dpll_rate() will not realize this and will try to calculate > the clock rate using the multiplier and the divider, resulting in > errors. > > omap2_ini

Re: [PATCH v2 4/4] ARM: DTS: AM43x: Add DSS node

2014-03-13 Thread Tomi Valkeinen
On 13/03/14 10:58, Sathya Prakash M R wrote: > Add device node for DSS module for AM4372. Both the > AM437x-Gp evm and Am43x-Epos evm use the same LCD panel. > The lcd timings are added in respective dts files. > Adds display pinctrl and enables required gpio. > Also set the right parent clock to t

[PATCH 02/18] dma: edma: Add support for DMA_PAUSE/RESUME operation

2014-03-13 Thread Peter Ujfalusi
Pause/Resume can be used by the audio stack when the stream is paused/resumed The edma platform code has support for this and the legacy audio stack used this. Signed-off-by: Peter Ujfalusi --- drivers/dma/edma.c | 28 1 file changed, 28 insertions(+) diff --git a/d

  1   2   >