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

2014-03-13 Thread Gupta, Pekon
[...] arch/arm/boot/dts/Makefile|1 + arch/arm/boot/dts/am335x-bone-memory-cape.dts | 123 + 2 files changed, 124 insertions(+) create mode 100644 arch/arm/boot/dts/am335x-bone-memory-cape.dts diff --git a/arch/arm/boot/dts/Makefile

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

2014-03-13 Thread Peter Ujfalusi
Hi Tony, On 03/12/2014 07:37 PM, Tony Lindgren wrote: * Peter Ujfalusi peter.ujfal...@ti.com [140307 05:39]: With the callback implemented omap-dma can provide information to client drivers regarding to supported address widths, directions, residue granularity, etc. This may need some

Re: [PATCH 0/3] ARM: dts: overo: Add graphics output

2014-03-13 Thread Florian Vaussard
Hi, On 03/12/2014 08:14 AM, Tomi Valkeinen wrote: On 11/03/14 14:34, Florian Vaussard wrote: Hi, This series enables the DVI / LCD graphics present on some of the Overo expansion boards. DVI output: - Tobi - Summit LCD (3.5''): - Alto35 LCD (4.3''): - Chestnut43 - Palo43 -

Re: [PATCH 1/3] ARM: dts: overo: Add support for DVI output

2014-03-13 Thread Florian Vaussard
Hi, On 03/12/2014 08:11 AM, Tomi Valkeinen wrote: On 11/03/14 14:34, Florian Vaussard wrote: Summit and Tobi expansion boards have a HDMI connector with a TFP410 encoder. Add a common include file for this configuration, and then use it for Summit and Tobi. Signed-off-by: Florian Vaussard

Re: [PATCH 0/7] ARM: dts: overo: Add new expansion boards

2014-03-13 Thread Florian Vaussard
Hi, On 03/12/2014 06:22 PM, Tony Lindgren wrote: * Florian Vaussard florian.vauss...@epfl.ch [140311 05:24]: Hi, This series adds the support for 5 new expansion boards from Gumstix: - Palo43 - Gallop43 - Chestnut43 - Alto35 - Summit The 1st patch is a preparatory work, in order to

Re: [PATCH v4 5/9] ARM: dts: omap3-overo: Add HSUSB PHY

2014-03-13 Thread Florian Vaussard
On 03/12/2014 06:19 PM, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [140311 02:46]: Any sane design would maintain register offsets but it doesn't seem so with omap34xx vs omap36xx. So my assumption was wrong. I'll ack this patch. OK thanks, I'll apply the whole series with your

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

2014-03-13 Thread Florian Vaussard
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 and driver lost in the La La Land. To solve this, patch 1

[PATCH v2 3/4] ARM: OMAP2+: AM43xx DSS Hwmod

2014-03-13 Thread Sathya Prakash M R
Add DSS hwmod structs for AM43xx. Signed-off-by: Sathya Prakash M R sath...@ti.com --- arch/arm/mach-omap2/omap_hwmod_43xx_data.c | 104 arch/arm/mach-omap2/prcm43xx.h |1 + 2 files changed, 105 insertions(+) diff --git

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

2014-03-13 Thread Sathya Prakash M R
From: Tomi Valkeinen tomi.valkei...@ti.com 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_init_dpll_parent() has similar issue. Add

[PATCH v2 1/4] OMAPDSS: Add DSS features for AM43xx

2014-03-13 Thread Sathya Prakash M R
Add DSS features for AM43xx. Signed-off-by: Sathya Prakash M R sath...@ti.com --- arch/arm/mach-omap2/display.c |2 + drivers/video/omap2/dss/dispc.c|1 + drivers/video/omap2/dss/dpi.c |2 + drivers/video/omap2/dss/dsi.c |1 +

[PATCH v2 0/4] Add Display support for AM43xx

2014-03-13 Thread Sathya Prakash M R
This patch series adds DSS support to the AM43x. The DPI LCD panel is supported on both am43x-epos-evm and am437x-gp-evm. The LCD panel is from OSD model: OSD057T0559-34TS Version 1 of this series can be found below[1]: [1]: https://patchwork.kernel.org/patch/3274421/ Tested on am43x-epos-evm

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

2014-03-13 Thread Sathya Prakash M R
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 the DSS clock. Signed-off-by: Sathya Prakash M R

Re: [PATCHv8 2/4] power_supply: Introduce generic psy charging driver

2014-03-13 Thread Pavel Machek
On Wed 2014-03-12 15:32:59, Linus Walleij wrote: On Mon, Mar 10, 2014 at 5:33 AM, Jenny Tc jenny...@intel.com wrote: On Fri, Mar 07, 2014 at 09:25:20PM +0100, Pavel Machek wrote: + /* sort based on priority. 0 has the highest priority */ + for (i = 0; i cnt; ++i) +

Re: [PATCH 2/4] power_supply: Introduce generic psy charging driver

2014-03-13 Thread Pavel Machek
Hi! 30*HZ means 30 seconds in the kernel... what is hard to understand about it? Well I might be picky, but since it is a charging algorithm dealing with ampères, volts, constant-current/constant-voltage, watchdogs and timeouts, all stated in SI units, it would be nice if all such

Re: [PATCH] arm: omap: cm-t3530: Add MMC2/SDIO/WLAN support

2014-03-13 Thread Igor Grinberg
On 03/12/14 19:44, Tony Lindgren wrote: * Stefan Roese s...@denx.de [140312 03:52]: Add support for the MMC2/SDIO WiFi Libertas (Marvell) module available on the CM-T3530 SOM. Signed-off-by: Stefan Roese s...@denx.de Cc: Dmitry Lifshitz lifsh...@compulab.co.il Cc: Igor Grinberg

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

2014-03-13 Thread Peter Ujfalusi
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 peter.ujfal...@ti.com --- drivers/dma/edma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 18/18] ASoC: davinci-mcasp: Place constraint on the period size based on FIFO config

2014-03-13 Thread Peter Ujfalusi
We need to place constraint on the period size (and indirectly to buffer size) if the read or write AFIFO is enabled and it is configured for more than one word otherwise the DMA will fail in buffer configuration where the sizes are not aligned with the requested FIFO configuration.

[PATCH 14/18] ASoC: davinci: Add edma dmaengine platform driver

2014-03-13 Thread Peter Ujfalusi
Platform driver glue for SoC using eDMA3 to use dmaengine PCM. The maximum number of periods need to be limited to 19 since the edma dmaengine driver limits the paRAM slot use for audio at in cyclic mode. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- sound/soc/davinci/Kconfig| 1 +

[PATCH 16/18] ASoC: davinci-mcasp: Provide correct filter_data for dmaengine for non-DT boot

2014-03-13 Thread Peter Ujfalusi
When we boot with non-DT mode the damengine will need the channel number and a filter function in order to get the channel. The filter_data is filled in the DAI driver while the filter_function will be provided by the edma-pcm driver. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com ---

[PATCH 17/18] ASoC: davinci-mcasp: Assign the dma_data earlier in dai_probe callback

2014-03-13 Thread Peter Ujfalusi
Remove the dai startup callback and do the dma_data setup for dmaengine in the dai_probe function. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- sound/soc/davinci/davinci-mcasp.c | 35 +++ 1 file changed, 19 insertions(+), 16 deletions(-) diff --git

[PATCH 11/18] dma: edma: Prefix debug prints where the text were identical in prep callbacks

2014-03-13 Thread Peter Ujfalusi
prep_slave_sg and prep_dma_cyclic callbacks have mostly same failure cases with the same texts printed in case we hit them. It helps when debugging if we know exactly which callback generated the errors. At the same time change the debug level for descriptor allocation failure from dbg to err

[PATCH 15/18] ASoC: davinci-mcasp: Use dmaengine based platform driver for AM335x/447x

2014-03-13 Thread Peter Ujfalusi
Use the edma-pcm with AM335x and AM447x SoCs. Keep using the davinci-pcm for DaVinci devices, they can be switched to use the dmaengine based driver later when they are verified to work correctly. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- sound/soc/davinci/davinci-mcasp.c | 46

[PATCH 12/18] dma: edma: Add channel number to debug prints

2014-03-13 Thread Peter Ujfalusi
It helps to identify issues if we have some information regarding to the channel which the event is associated. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma/edma.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/dma/edma.c

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

2014-03-13 Thread Peter Ujfalusi
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 peter.ujfal...@ti.com --- drivers/dma/edma.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git

[PATCH 07/18] DMA: edma: Use different eventq for cyclic channels

2014-03-13 Thread Peter Ujfalusi
To improve latency with cyclic DMA operation it is preferred to use different eventq/tc than the default which is used by all other drivers (mmc, spi, i2c, etc). When preparing the cyclic dma ask for non default queue for the channel which is going to be used with cyclic mode. Signed-off-by:

[PATCH 08/18] dma: edma: Implement device_slave_caps callback

2014-03-13 Thread Peter Ujfalusi
With the callback implemented omap-dma can provide information to client drivers regarding to supported address widths, directions, residue granularity, etc. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/dma/edma.c | 18 ++ 1 file changed, 18 insertions(+) diff

[PATCH 04/18] arm: common: edma: Select event queue 1 as default when booted with DT

2014-03-13 Thread Peter Ujfalusi
Use the EVENTQ_1 for default and leave the EVENTQ_0 to be used by high priority channels, like audio. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/common/edma.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/common/edma.c

[PATCH 06/18] arm: common: edma: API to request non default queue for a channel

2014-03-13 Thread Peter Ujfalusi
When using eDMA3 via dmaengine all dma channels will use the default queue. Since during request time we do not have means to change this it need to be done later, before the DMA has been started. With the added function it is possible to move the channel to a non default queue if it is possible,

[PATCH 05/18] arm: common: edma: Save the number of event queues/TCs

2014-03-13 Thread Peter Ujfalusi
For later use save the number of queues available for the CC. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/common/edma.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c index 19520e2519d9..be267b2080be 100644 ---

[PATCH 01/18] platform_data: edma: Be precise with the paRAM struct

2014-03-13 Thread Peter Ujfalusi
The edmacc_param struct should follow the layout of the paRAM area in the HW. Be explicit on the size of the fields (u32) and also mark the struct as packed to avoid any padding on non 32bit architectures. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- include/linux/platform_data/edma.h

[PATCH 09/18] dma: edma: Simplify direction configuration in edma_config_pset()

2014-03-13 Thread Peter Ujfalusi
We only support DEV_TO_MEM or MEM_TO_DEV directions with edma driver and the check for the direction has been already done in the function calling edma_config_pset(). The error reporting is redundant and also the else if () can be removed. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com ---

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

2014-03-13 Thread Peter Ujfalusi
Hi, 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 switched to use the edma-pcm easily (DA850/OMAP-L138 has been tested

[PATCH 03/18] dma: edma: Set DMA_CYCLIC capability flag

2014-03-13 Thread Peter Ujfalusi
Indicate that the edma dmaengine driver has support for cyclic mode. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/common/edma.c | 1 + drivers/dma/edma.c | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/common/edma.c b/arch/arm/common/edma.c index

[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 peter.ujfal...@ti.com --- drivers/dma/edma.c | 28 1 file changed, 28

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 the

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 tomi.valkei...@ti.com 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

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 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 tomi.valkei...@ti.com 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

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 george.cher...@ti.com --- Documentation/devicetree/bindings/usb/omap-usb.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

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 george.cher...@ti.com --- arch/arm/boot/dts/am43xx-clocks.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/am43xx-clocks.dtsi

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 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 george.cher...@ti.com Acked-by: Roger Quadros rog...@ti.com ---

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 george.cher...@ti.com Acked-by: Roger Quadros rog...@ti.com ---

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 george.cher...@ti.com With the description

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 george.cher...@ti.com --- Documentation/devicetree/bindings/usb/omap-usb.txt | 4 +++- 1 file changed, 3

[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

[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 hans.verk...@cisco.com

[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.

[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.

[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 hans.verk...@cisco.com Signed-off-by: Archit Taneja arc...@ti.com ---

[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 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

[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 hans.verk...@cisco.com Signed-off-by: Archit Taneja arc...@ti.com --- drivers/media/platform/ti-vpe/vpe.c | 2 +-

[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

[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

[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 arc...@ti.com --- drivers/media/platform/ti-vpe/csc.c | 2 +- 1 file changed,

[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

[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 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

[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

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 the

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: [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 | +

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: [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 george.cher...@ti.com --- arch/arm/boot/dts/am43xx-clocks.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git

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 george.cher...@ti.com ---

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'd

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 peter.ujfal...@ti.com --- drivers/dma/edma.c | 11 +--

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); Since the

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 discussions,

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 n...@ti.com 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: [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, +

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 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 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 switched

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_open in particular)

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 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

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

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 understand

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 descriptors

[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 - v3

[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 george.cher...@ti.com Acked-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/am43x-epos-evm.dts | 18 ++ 1 file changed, 18 insertions(+) diff --git

[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 george.cher...@ti.com Acked-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/am4372.dtsi | 94

[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 george.cher...@ti.com Acked-by: Roger Quadros rog...@ti.com --- 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

[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 george.cher...@ti.com --- 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

[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 george.cher...@ti.com Acked-by: Roger Quadros rog...@ti.com --- Documentation/devicetree/bindings/usb/omap-usb.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git

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 * Address v1

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

[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 jsa...@ti.com --- 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

[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 jsa...@ti.com --- This patch should fix the last minute breakkage of v3.15 ASoC updates build.

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

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

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 o...@wizery.com wrote: On Mon, Feb 10, 2014 at 9:14 PM, Suman Anna s-a...@ti.com wrote: On 02/07/2014 04:49 PM, Bjorn Andersson

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

2014-03-13 Thread Tony Lindgren
* Robert Nelson robertcnel...@gmail.com [140313 06:33]: On Thu, Mar 13, 2014 at 8:03 AM, Nishanth Menon n...@ti.com 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

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 george.cher...@ti.com --- arch/arm/boot/dts/am43xx-clocks.dtsi | 32 1 file changed, 32 insertions(+) diff --git

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 that

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] 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 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 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 pinctrl and

  1   2   >