[PATCH RFC v3 2/8] ASoC: davinci-evm: Add named clock reference to DT bindings

2014-01-27 Thread Jyri Sarha
The referenced clock is used to get codec clock rate and the clock is disabled and enabled in startup and shutdown snd_soc_ops call backs. The change is also documented in DT bindigs document. Signed-off-by: Jyri Sarha jsa...@ti.com cc: bcous...@baylibre.com ---

[PATCH RFC v3 5/8] ASoC: davinci: HDMI audio build for AM33XX and TDA998x

2014-01-27 Thread Jyri Sarha
Adds configuration option for HDMI audio support for AM33XX based boards with NXP TDA998x HDMI transmitter. The audio is connected to NXP TDA998x trough McASP running in i2s mode. Signed-off-by: Jyri Sarha jsa...@ti.com --- sound/soc/davinci/Kconfig | 12

[PATCH RFC v3 1/8] clk: add gpio controlled clock

2014-01-27 Thread Jyri Sarha
The added clk-gpio is a basic clock that can be enabled and disabled trough a gpio output. The DT binding document for the clock is also added. For EPROBE_DEFER handling the registering of the clock has to be delayed until of_clk_get() call time. Signed-off-by: Jyri Sarha jsa...@ti.com cc:

[PATCH RFC v3 8/8] ARM: OMAP2+: omap2plus_defconfig: Enable BeagleBone Black HDMI audio support

2014-01-27 Thread Jyri Sarha
Select following: CONFIG_SND_DAVINCI_SOC=m CONFIG_SND_AM335X_SOC_NXPTDA_EVM=m Signed-off-by: Jyri Sarha jsa...@ti.com cc: t...@atomide.com --- arch/arm/configs/omap2plus_defconfig |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/configs/omap2plus_defconfig

[PATCH RFC v3 3/8] ASoC: davinci-mcasp: Set BCLK divider if McASP is BCLK master

2014-01-27 Thread Jyri Sarha
Make BCLK divider setting implicite in hw_params call if McASP device is the bit clock master on the audio serial bus. Signed-off-by: Jyri Sarha jsa...@ti.com --- sound/soc/davinci/davinci-mcasp.c | 20 1 file changed, 20 insertions(+) diff --git

[PATCH RFC v3 6/8] drm/tilcdc: Add I2C HDMI audio config for tda998x

2014-01-27 Thread Jyri Sarha
The configuration is needed for HDMI audio. The swap and mirr parameters have to be correctly set in the configuration in order to have proper colors in the HDMI picture. Signed-off-by: Jyri Sarha jsa...@ti.com cc: airl...@linux.ie --- drivers/gpu/drm/tilcdc/tilcdc_slave.c | 24

[PATCH RFC v3 0/8] Beaglebone-Black HDMI audio

2014-01-27 Thread Jyri Sarha
Changes since RFC v2 version of the patches: - Dropped out already applied: ASoC: hdmi-codec: Add devicetree binding with documentation - Addresses Mark's comments here: http://mailman.alsa-project.org/pipermail/alsa-devel/2013-December/070605.html - ASoC: davinci-evm: Add named clock

[PATCH RFC v3 7/8] ARM: OMAP2+: omap2plus_defconfig: Enable tilcdc and TDA998X HDMI support

2014-01-27 Thread Jyri Sarha
This enables HDMI video support on Beaglebone-Black. Signed-off-by: Jyri Sarha jsa...@ti.com cc: t...@atomide.com --- arch/arm/configs/omap2plus_defconfig |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig index

[PATCH RFC v3 4/8] ASoC: davinci-evm: HDMI audio support for TDA998x trough McASP I2S bus

2014-01-27 Thread Jyri Sarha
Add machine driver support for BeagleBone-Black and other boards with tilcdc support and NXP TDA998X HDMI transmitter connected to McASP port in I2S mode. McASP produces the bit clock for the i2s bus from the masted clock by a simple divider and the available sample rates depend on the used master

Re: [PATCH 1/2] usb: dwc3: core: continue probing if usb phy library returns -ENODEV/-ENXIO

2014-01-27 Thread Felipe Balbi
Hi, On Mon, Jan 27, 2014 at 05:08:55PM +0200, Heikki Krogerus wrote: Since PHYs for dwc3 is optional (not all SoCs that have DWC3 use PHYs), do not return from probe if the USB PHY library returns -ENODEV as that this isn't correct, they all have PHYs, some of them might not be

Re: [PATCH 1/2] usb: dwc3: core: continue probing if usb phy library returns -ENODEV/-ENXIO

2014-01-27 Thread Heikki Krogerus
Hi Felipe, On Tue, Jan 21, 2014 at 08:47:25AM -0600, Felipe Balbi wrote: On Tue, Jan 21, 2014 at 03:41:38PM +0530, Kishon Vijay Abraham I wrote: Since PHYs for dwc3 is optional (not all SoCs that have DWC3 use PHYs), do not return from probe if the USB PHY library returns -ENODEV as that

Re: [alsa-devel] [PATCH RFC v3 0/8] Beaglebone-Black HDMI audio

2014-01-27 Thread Jyri Sarha
On 01/27/2014 05:51 PM, Lars-Peter Clausen wrote: Hi, I think you should try to get this in sync with the work Jean-Francois is currently doing[1]. Having the HDMI transmitter register a CODEC device is definitely the right approach, compared to the rather 'interesting' constraints stuff you do

Re: [alsa-devel] [PATCH RFC v3 0/8] Beaglebone-Black HDMI audio

2014-01-27 Thread Lars-Peter Clausen
On 01/27/2014 05:17 PM, Jyri Sarha wrote: On 01/27/2014 05:51 PM, Lars-Peter Clausen wrote: Hi, I think you should try to get this in sync with the work Jean-Francois is currently doing[1]. Having the HDMI transmitter register a CODEC device is definitely the right approach, compared to the

Re: [alsa-devel] [PATCH RFC v3 0/8] Beaglebone-Black HDMI audio

2014-01-27 Thread Lars-Peter Clausen
Hi, I think you should try to get this in sync with the work Jean-Francois is currently doing[1]. Having the HDMI transmitter register a CODEC device is definitely the right approach, compared to the rather 'interesting' constraints stuff you do in patch 4. - Lars [1]

[BISECTED] OMAP: DSS: clk rate mismatch

2014-01-27 Thread Ivaylo Dimitrov
Hi Tomi, linux-next-20140124 DSS is broken on N900 - display stays black (there is some noise though). I booted the kernel with qemu and it gives the following warning: [0.623779] DSS: set fck to 17280 [0.624237] [ cut here ] [0.624298] WARNING: CPU:

Re: [alsa-devel] [PATCH RFC v3 0/8] Beaglebone-Black HDMI audio

2014-01-27 Thread Jean-Francois Moine
On Mon, 27 Jan 2014 18:17:54 +0200 Jyri Sarha jsa...@ti.com wrote: Support for S16_LE could maybe be added if the tda998x specific codec would fiddle with CTS_N predivider-setting (K select) according to the used sample width. But it appears Cobox plays all the sample formats fine without

Re: [PATCH RFC v3 2/8] ASoC: davinci-evm: Add named clock reference to DT bindings

2014-01-27 Thread Mark Brown
On Mon, Jan 27, 2014 at 05:37:51PM +0200, Jyri Sarha wrote: The referenced clock is used to get codec clock rate and the clock is disabled and enabled in startup and shutdown snd_soc_ops call backs. The change is also documented in DT bindigs document. Applied, thanks. signature.asc

Re: [BISECTED] OMAP: DSS: clk rate mismatch

2014-01-27 Thread Christoph Fritz
On Mon, 2014-01-27 at 19:30 +0200, Ivaylo Dimitrov wrote: linux-next-20140124 DSS is broken on N900 - display stays black (there is some noise though). I booted the kernel with qemu and it gives the following warning: [0.623779] DSS: set fck to 17280 [0.624237] [

Re: [alsa-devel] [PATCH RFC v3 0/8] Beaglebone-Black HDMI audio

2014-01-27 Thread Jyri Sarha
On 01/27/2014 08:06 PM, Jean-Francois Moine wrote: On Mon, 27 Jan 2014 18:17:54 +0200 Jyri Sarha jsa...@ti.com wrote: Support for S16_LE could maybe be added if the tda998x specific codec would fiddle with CTS_N predivider-setting (K select) according to the used sample width. But it appears

Re: [alsa-devel] [PATCH RFC v3 0/8] Beaglebone-Black HDMI audio

2014-01-27 Thread Jyri Sarha
On 01/27/2014 06:32 PM, Lars-Peter Clausen wrote: On 01/27/2014 05:17 PM, Jyri Sarha wrote: On 01/27/2014 05:51 PM, Lars-Peter Clausen wrote: Hi, I think you should try to get this in sync with the work Jean-Francois is currently doing[1]. Having the HDMI transmitter register a CODEC device

Re: [alsa-devel] [PATCH RFC v3 0/8] Beaglebone-Black HDMI audio

2014-01-27 Thread Lars-Peter Clausen
On 01/27/2014 08:40 PM, Jyri Sarha wrote: On 01/27/2014 06:32 PM, Lars-Peter Clausen wrote: On 01/27/2014 05:17 PM, Jyri Sarha wrote: On 01/27/2014 05:51 PM, Lars-Peter Clausen wrote: Hi, I think you should try to get this in sync with the work Jean-Francois is currently doing[1]. Having the

Re: [PATCH] ARM: OMAP4+: move errata initialization to omap4_pm_init_early

2014-01-27 Thread Kevin Hilman
Tony Lindgren t...@atomide.com writes: * Kevin Hilman khil...@linaro.org [140123 09:55]: Grygorii Strashko grygorii.stras...@ti.com writes: On 01/20/2014 10:06 PM, Nishanth Menon wrote: Move all OMAP4 PM errata initializations to centralized location in omap4_pm_init_early. This allows

ethernet support for OMAP5 UEVM

2014-01-27 Thread Nathan Lynch
Hi, I am able to boot an OMAP5 uevm board with linux-next 20140124. However, the smsc ethernet device does not show up without these patches on top: ARM: dts: OMAP5: Add 60MHz clock reference to USB Host module https://patchwork.kernel.org/patch/3001841/ ARM: dts: omap5-uevm: Provide USB PHY

Re: [PATCH RFC v3 3/8] ASoC: davinci-mcasp: Set BCLK divider if McASP is BCLK master

2014-01-27 Thread Mark Brown
On Mon, Jan 27, 2014 at 05:37:52PM +0200, Jyri Sarha wrote: Make BCLK divider setting implicite in hw_params call if McASP device is the bit clock master on the audio serial bus. Applied, thanks. signature.asc Description: Digital signature

Re: [PATCH RFC v3 4/8] ASoC: davinci-evm: HDMI audio support for TDA998x trough McASP I2S bus

2014-01-27 Thread Mark Brown
On Mon, Jan 27, 2014 at 05:37:53PM +0200, Jyri Sarha wrote: Add machine driver support for BeagleBone-Black and other boards with tilcdc support and NXP TDA998X HDMI transmitter connected to McASP port in I2S mode. McASP produces the bit clock for the i2s bus from the masted clock by a simple

Re: ethernet support for OMAP5 UEVM

2014-01-27 Thread Nathan Lynch
On 01/27/2014 02:14 PM, Nathan Lynch wrote: Hi, I am able to boot an OMAP5 uevm board with linux-next 20140124. However, the smsc ethernet device does not show up without these patches on top: ARM: dts: OMAP5: Add 60MHz clock reference to USB Host module

[PATCH V2] regulator: fixed: update to devm_* API

2014-01-27 Thread Manish Badarkhe
Update the code to use devm_* API so that driver core will manage resources. Signed-off-by: Manish Badarkhe badarkhe.man...@gmail.com --- Changes since V1: 1. Updated driver to use devm_kzalloc to kstrdup. 2. Updated commit message. Not tested on any board. :100644 100644 5ea64b9... e9763a4...

[PATCH] ARM: OMAP2+: gpmc: fix: DT ONENAND child nodes not probed when MTD_ONENAND is built as module

2014-01-27 Thread Pekon Gupta
Fixes: commit 75d3625e0e86b2d8d77b4e9c6f685fd7ea0d5a96 ARM: OMAP2+: gpmc: add DT bindings for OneNAND OMAP SoC(s) depend on GPMC controller driver to parse GPMC DT child nodes and register them platform_device for ONENAND driver to probe later. However this does not happen if generic

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

2014-01-27 Thread Pekon Gupta
Fixes: commit bc6b1e7b86f5d8e4a6fc1c0189e64bba4077efe0 ARM: OMAP: gpmc: add DT bindings for GPMC timings and NAND OMAP SoC(s) depend on GPMC controller driver to parse GPMC DT child nodes and register them platform_device for NAND driver to probe later. However this does not happen if

Re: [PATCH V2] regulator: fixed: update to devm_* API

2014-01-27 Thread Dmitry Torokhov
Hi Manish, On Tue, Jan 28, 2014 at 08:42:00AM +0530, Manish Badarkhe wrote: Update the code to use devm_* API so that driver core will manage resources. Signed-off-by: Manish Badarkhe badarkhe.man...@gmail.com --- Changes since V1: 1. Updated driver to use devm_kzalloc to kstrdup. 2.

Re: [PATCH V2] regulator: fixed: update to devm_* API

2014-01-27 Thread Manish Badarkhe
Hi Dmitry, Thank you for your review. On Tue, Jan 28, 2014 at 12:03 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: Hi Manish, On Tue, Jan 28, 2014 at 08:42:00AM +0530, Manish Badarkhe wrote: Update the code to use devm_* API so that driver core will manage resources. Signed-off-by:

Re: [PATCH V2] regulator: fixed: update to devm_* API

2014-01-27 Thread Heiko Stübner
On Tuesday, 28. January 2014 12:46:01 Manish Badarkhe wrote: Hi Dmitry, Thank you for your review. On Tue, Jan 28, 2014 at 12:03 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote: Hi Manish, On Tue, Jan 28, 2014 at 08:42:00AM +0530, Manish Badarkhe wrote: Update the code to

RE: [PATCH v1 0/2] mtd: nand: omap: booting from NAND using u-boot

2014-01-27 Thread Gupta, Pekon
Hi Brian, From: Brian Norris Hi Pekon, Sorry, I'm revisiting your patch series a bit late. There are a few factors that contributed to this, though. 1. This patch series talks extensively about U-Boot. U-Boot is not my interest, nor should it be the focus of kernel (driver) development.

Re: [PATCH RFC v3 4/8] ASoC: davinci-evm: HDMI audio support for TDA998x trough McASP I2S bus

2014-01-27 Thread Jyri Sarha
On 01/27/2014 10:49 PM, Mark Brown wrote: On Mon, Jan 27, 2014 at 05:37:53PM +0200, Jyri Sarha wrote: Add machine driver support for BeagleBone-Black and other boards with tilcdc support and NXP TDA998X HDMI transmitter connected to McASP port in I2S mode. McASP produces the bit clock for the

Re: [BISECTED] OMAP: DSS: clk rate mismatch

2014-01-27 Thread Tomi Valkeinen
On 2014-01-27 19:30, Ivaylo Dimitrov wrote: Hi Tomi, linux-next-20140124 DSS is broken on N900 - display stays black (there is some noise though). I booted the kernel with qemu and it gives the following warning: [0.623779] DSS: set fck to 17280 [0.624237] [ cut