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

2013-12-08 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

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

2013-12-08 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:

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

2013-12-08 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 ---

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

2013-12-08 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

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

2013-12-08 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

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

2013-12-08 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

[RFC v2 3/8] ASoC: davinci-evm: HDMI audio support for TDA998x trough McASP I2S bus

2013-12-08 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. The 44100 Hz sample-rate and it's multiples can not be supported on Beaglebone-Black because of limited clock-rate support. The only supported

[RFC v2 4/8] ASoC: hdmi-codec: Add devicetree binding with documentation

2013-12-08 Thread Jyri Sarha
Signed-off-by: Jyri Sarha jsa...@ti.com cc: bcous...@baylibre.com --- Documentation/devicetree/bindings/sound/hdmi.txt | 17 + sound/soc/codecs/hdmi.c | 10 ++ 2 files changed, 27 insertions(+) create mode 100644

[RFC v2 0/8] Beaglebone-Black HDMI audio

2013-12-08 Thread Jyri Sarha
Changes since the first RFC version of the patches: - Drop out already applied: ASoC: hdmi-codec: Add SNDRV_PCM_FMTBIT_32_LE playback format - Change sound node's compatible property form: ti,am33xx-beaglebone-black to ti,am33xx-beaglebone-black-audio - Some minor style issue fixes from TI

[RFC v2] ARM/dts: am335x-boneblack: Add HDMI audio support

2013-12-08 Thread Jyri Sarha
Adds mcasp0_pins, clk_mcasp0_fixed, clk_mcasp0, mcasp0, hdmi_audio, and sound nodes. Signed-off-by: Jyri Sarha jsa...@ti.com --- arch/arm/boot/dts/am335x-boneblack.dts | 52 1 file changed, 52 insertions(+) diff --git a/arch/arm/boot/dts/am335x-boneblack.dts

[RFC v2] Beaglebone-Black HDMI audio

2013-12-08 Thread Jyri Sarha
Changes since the first RFC version of the patch: - Change sound node's compatible property form: ti,am33xx-beaglebone-black to ti,am33xx-beaglebone-black-audio The patch has been rebased on top of: git://git.kernel.org/pub/scm/linux/kernel/git/bcousson/linux-omap-dt.git for_3.13/dts The

Re: 3.13-rc3 (commit 7ce93f3) breaks Nokia N900 DT boot

2013-12-08 Thread Aaro Koskinen
Hi, On Fri, Dec 06, 2013 at 02:27:25PM -0800, Tony Lindgren wrote: * Sebastian Reichel s...@debian.org [131206 13:37]: Nokia N900 DT boot breaks for me using 3.13-rc3. You can see the relevant kernel output below. Disabling the AES module in the omap3-n900.dts with status = disabled fixed

Re: 3.13-rc3 (commit 7ce93f3) breaks Nokia N900 DT boot

2013-12-08 Thread Tony Lindgren
* Aaro Koskinen aaro.koski...@iki.fi [131208 06:15]: Hi, On Fri, Dec 06, 2013 at 02:27:25PM -0800, Tony Lindgren wrote: * Sebastian Reichel s...@debian.org [131206 13:37]: Nokia N900 DT boot breaks for me using 3.13-rc3. You can see the relevant kernel output below. Disabling the AES

Re: 3.13-rc3 (commit 7ce93f3) breaks Nokia N900 DT boot

2013-12-08 Thread Sebastian Reichel
On Sun, Dec 08, 2013 at 08:40:29AM -0800, Tony Lindgren wrote: * Aaro Koskinen aaro.koski...@iki.fi [131208 06:15]: Hi, On Fri, Dec 06, 2013 at 02:27:25PM -0800, Tony Lindgren wrote: * Sebastian Reichel s...@debian.org [131206 13:37]: Nokia N900 DT boot breaks for me using 3.13-rc3.

Re: 3.13-rc3 (commit 7ce93f3) breaks Nokia N900 DT boot

2013-12-08 Thread Tony Lindgren
* Sebastian Reichel s...@debian.org [131208 09:11]: On Sun, Dec 08, 2013 at 08:40:29AM -0800, Tony Lindgren wrote: * Aaro Koskinen aaro.koski...@iki.fi [131208 06:15]: Hi, On Fri, Dec 06, 2013 at 02:27:25PM -0800, Tony Lindgren wrote: * Sebastian Reichel s...@debian.org [131206

Re: 3.13-rc3 (commit 7ce93f3) breaks Nokia N900 DT boot

2013-12-08 Thread Aaro Koskinen
On Sun, Dec 08, 2013 at 09:43:51AM -0800, Tony Lindgren wrote: * Sebastian Reichel s...@debian.org [131208 09:11]: On Sun, Dec 08, 2013 at 08:40:29AM -0800, Tony Lindgren wrote: * Aaro Koskinen aaro.koski...@iki.fi [131208 06:15]: Hi, On Fri, Dec 06, 2013 at 02:27:25PM -0800,

Re: 3.13-rc3 (commit 7ce93f3) breaks Nokia N900 DT boot

2013-12-08 Thread Sebastian Reichel
On Sun, Dec 08, 2013 at 09:43:51AM -0800, Tony Lindgren wrote: * Sebastian Reichel s...@debian.org [131208 09:11]: On Sun, Dec 08, 2013 at 08:40:29AM -0800, Tony Lindgren wrote: * Aaro Koskinen aaro.koski...@iki.fi [131208 06:15]: Hi, On Fri, Dec 06, 2013 at 02:27:25PM -0800,

Re: [PATCH v2 01/15] mfd: menelaus: Drop __exit section annotation

2013-12-08 Thread Felipe Balbi
On Tue, Dec 03, 2013 at 09:51:36AM +, Lee Jones wrote: The code looks mostly fine, but the implementation of the commit logs seems lazy. Please submit a v3 using coherent sentences with full explanations and correct punctuation. example ? -- balbi signature.asc Description: Digital

Re: OMAP3 NAND ECC selection

2013-12-08 Thread Mike Dunn
On 12/05/2013 11:38 AM, Tony Lindgren wrote: * Thomas Petazzoni thomas.petazz...@free-electrons.com [131205 11:33]: Dear Brian Norris, On Thu, 5 Dec 2013 11:24:18 -0800, Brian Norris wrote: The long term benefits is simply to properly handle the hardware constraints. We have hardware

[GIT PULL] two regression fixes and two more omap dt fixes against v3.13-rc2

2013-12-08 Thread Tony Lindgren
The following changes since commit 374b105797c3d4f29c685f3be535c35f5689b30e: Linux 3.13-rc3 (2013-12-06 09:34:04 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v3.13/yet-more-dt-regressions-take2 for you to

Re: [PATCH v2 5/6] Revert ARM: OMAP2+: Provide alias to USB PHY clock

2013-12-08 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [131023 03:14]: On 10/22/2013 06:17 PM, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [131010 02:23]: On 10/09/2013 06:15 PM, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [131009 00:19]: Hi Tony, On 10/08/2013 01:06 PM, Roger Quadros wrote:

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

2013-12-08 Thread Paul Walmsley
On Tue, 3 Dec 2013, 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 1/3] ARM: OMAP4+: hwmod data: Don't prevent RESET of USB Host module

2013-12-08 Thread Paul Walmsley
Hi Benoît, On Tue, 3 Dec 2013, Roger Quadros wrote: Without this, the USB devices are sometimes not detected on OMAP4 Panda with u-boot v2013.10. Unlike what the comment states, errata i660 does not state that we can't RESET the USB host module. Instead it states that RESET is the only

Re: [PATCH 2/3] ARM: OMAP2+: hwmod: Fix RESET logic

2013-12-08 Thread Paul Walmsley
Hi Roger, On Tue, 3 Dec 2013, Roger Quadros wrote: In _ocp_softreset(), after _set_softreset() + write_sysconfig(), the hwmod's sysc_cache will always contain SOFTRESET bit set so all further writes to sysconfig using this cache will initiate a repeated SOFTRESET e.g. enable_sysc(). This is

Re: [PATCH 3/3] ARM: OMAP3: hwmod data: Don't prevent RESET of USB Host module

2013-12-08 Thread Paul Walmsley
On Tue, 3 Dec 2013, Roger Quadros wrote: Unlike what the comment states, errata i660 does not state that we can't RESET the USB host module. Instead it states that RESET is the only way to recover from a deadlock situation. RESET ensures that the module is in a known good state irrespective

Re: [PATCH v2 0/3] ARM: OMAP2+: USB Host bug fixes for 3.13 rc

2013-12-08 Thread Paul Walmsley
On Wed, 4 Dec 2013, Tomi Valkeinen wrote: Tested on Panda and Beagle xM. Works fine for me. Thanks, added your Tested-by's to both patches that I've queued. - Paul -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] ARM: OMAP2+: hwmod: Fix usage of invalid iclk / oclk when clock node is not present

2013-12-08 Thread Paul Walmsley
Hi Nishanth, On Mon, 2 Dec 2013, Nishanth Menon wrote: commit dc75925d(OMAP: hwmod: Fix the missing braces) introduced missing braces, however, we just set return result if clk_get fail and we populate the error pointer in clk pointer and pass it along to clk_prepare. This is wrong. The

Re: [PATCH 1/3] ARM: OMAP4+: hwmod data: Don't prevent RESET of USB Host module

2013-12-08 Thread Tony Lindgren
* Paul Walmsley p...@pwsan.com [131208 17:27]: Hi Benoît, On Tue, 3 Dec 2013, Roger Quadros wrote: Without this, the USB devices are sometimes not detected on OMAP4 Panda with u-boot v2013.10. Unlike what the comment states, errata i660 does not state that we can't RESET the USB

Re: [PATCH 1/3] ARM: OMAP4+: hwmod data: Don't prevent RESET of USB Host module

2013-12-08 Thread Paul Walmsley
On Sun, 8 Dec 2013, Tony Lindgren wrote: * Paul Walmsley p...@pwsan.com [131208 17:27]: On Tue, 3 Dec 2013, Roger Quadros wrote: Without this, the USB devices are sometimes not detected on OMAP4 Panda with u-boot v2013.10. Unlike what the comment states, errata i660 does not

RE: OMAP3 NAND ECC selection

2013-12-08 Thread Gupta, Pekon
Hi, From: Thomas Petazzoni [mailto:thomas.petazz...@free-electrons.com] On Thu, 5 Dec 2013 11:24:18 -0800, Brian Norris wrote: [...] Using 1-bit ECC on NAND is not a long-term solution. Given that fact, I think your ROM code is what may need to change, not the entire MTD subsystem. As

Re: [PATCH v2 2/2] arm: omap: remove *.auto* from device names given in usb_bind_phy

2013-12-08 Thread Kishon Vijay Abraham I
Hi, On Saturday 07 December 2013 02:38 AM, Felipe Balbi wrote: Hi, On Fri, Dec 06, 2013 at 01:14:38PM +0100, Javier Martinez Canillas wrote: On Fri, Dec 6, 2013 at 1:06 PM, Kishon Vijay Abraham I kis...@ti.com wrote: Previously MUSB wrapper (OMAP) device used PLATFORM_DEVID_AUTO while

Re: [PATCH v3 04/10] usb: dwc3: use quirks to know if a particualr platform doesn't have PHY

2013-12-08 Thread Kishon Vijay Abraham I
Hi, On Thursday 05 December 2013 01:28 PM, Heikki Krogerus wrote: Hi, On Thu, Dec 05, 2013 at 12:04:46PM +0530, Kishon Vijay Abraham I wrote: On Wednesday 04 December 2013 08:10 PM, Heikki Krogerus wrote: On Mon, Nov 25, 2013 at 03:31:24PM +0530, Kishon Vijay Abraham I wrote: There can be

Re: [PATCH] omap: twl-common: Fix musb-hdrc device name.

2013-12-08 Thread Belisko Marek
Hi Tony, On Thu, Dec 5, 2013 at 7:43 PM, Tony Lindgren t...@atomide.com wrote: * Belisko Marek marek.beli...@gmail.com [131203 01:21]: On Tue, Dec 3, 2013 at 10:08 AM, Belisko Marek marek.beli...@gmail.com wrote: Hi, On Tue, Dec 3, 2013 at 9:58 AM, Kishon Vijay Abraham I kis...@ti.com