Re: [PATCH 13/16] ARM: omap: move platform_data definitions

2012-09-18 Thread Peter Ujfalusi
Hi Arnd, On 09/12/2012 08:20 PM, Arnd Bergmann wrote: On Tuesday 11 September 2012, Peter Ujfalusi wrote: OMAP McBSP has nothing to do with a dsp. A better name would be: ti-mcbsp.h (or leave it as mcbsp.h) McBSP stands for: Multichannel Buffered Serial Port and it is used for audio

Re: [PATCH v4 00/14] MFD/ASoC/Input: twl4030-audio submodule DT support

2012-09-19 Thread Peter Ujfalusi
Hi Samuel, On 09/19/2012 03:24 AM, Samuel Ortiz wrote: Hi Peter, On Mon, Sep 10, 2012 at 01:46:18PM +0300, Peter Ujfalusi wrote: Hello, Generated on top of: git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git topic/omap I applied the first 8 patches, but I'd like to get Mark's ACK

[PATCH 0/2] ARM/dts: OMAP4: Enable twl6040 GPO functionality

2012-09-19 Thread Peter Ujfalusi
Hello, The following two patch is needed for the twl6040 GPO driver (going via MFD tree) to work correctly. Regards, Peter --- Peter Ujfalusi (2): ARM/dts: omap4-sdp: Enable GPO functionality for twl6040 ARM/dts: omap4-panda: Enable GPO functionality for twl6040 arch/arm/boot/dts/omap4

[PATCH 1/2] ARM/dts: omap4-sdp: Enable GPO functionality for twl6040

2012-09-19 Thread Peter Ujfalusi
Add the needed properties for twl6040 so the GPO functionality can be used by other drivers. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap4-sdp.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts/omap4

[PATCH 2/2] ARM/dts: omap4-panda: Enable GPO functionality for twl6040

2012-09-19 Thread Peter Ujfalusi
Add the needed properties for twl6040 so the GPO functionality can be used by other drivers. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap4-panda.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/omap4-panda.dts b/arch/arm/boot/dts

Re: [PATCH 08/29] ARM: OMAP2+: Make board-zoom.h local

2012-09-20 Thread Peter Ujfalusi
/00711.html Cc: Peter Ujfalusi peter.ujfal...@ti.com Cc: Jarkko Nikula jarkko.nik...@bitmer.com Cc: Liam Girdwood l...@ti.com Cc: Mark Brown broo...@opensource.wolfsonmicro.com Cc: alsa-de...@alsa-project.org Signed-off-by: Tony Lindgren t...@atomide.com --- arch/arm/mach-omap2/board

Re: [PATCH 2/3] OMAP i2c: pinctrl-ify i2c-omap.c

2012-09-21 Thread Peter Ujfalusi
On 09/19/2012 07:07 PM, Pantelis Antoniou wrote: Add support for pinctrl mux settings in the OMAP I2C driver. If no such pinctl bindings are found a warning message is printed. Signed-off-by: Pantelis Antoniou pa...@antoniou-consulting.com --- drivers/i2c/busses/i2c-omap.c | 7 +++ 1

[PATCH v3] ARM: OMAP4: twl-common: Support for additional devices on i2c1 bus

2012-09-24 Thread Peter Ujfalusi
on OMAP4 boards. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- Hi Tony, I have refreshed the patch on top of arm-soc/for-next branch. Would it be possible to queue this patch via arm-soc so it will be in 3.7-rc1 already? Originally this patch was sent for 3.6... Regards, Peter arch/arm

Re: [PATCH v3] ARM: OMAP4: twl-common: Support for additional devices on i2c1 bus

2012-09-25 Thread Peter Ujfalusi
Hi Tony, On 09/24/2012 08:34 PM, Tony Lindgren wrote: * Tony Lindgren t...@atomide.com [120924 08:44]: * Peter Ujfalusi peter.ujfal...@ti.com [120924 02:24]: On OMAP4 the i2c1 bus is dedicated for the PMIC and audio related devices. Manufacturers can opt to use different codec than twl6040

Re: [PATCHv7 17/21] ARM: OMAP4: TWL: enable high speed mode for PMIC communication

2012-09-26 Thread Peter Ujfalusi
Hi Tero, On 09/25/2012 07:33 PM, Tero Kristo wrote: With the new parameters, I2C can now be put to high speed mode for better performance. We have twl6040 on the same bus. have you tried this with audio enabled? twl6040 is in standard mode (up to 100 kbps) after power up... Signed-off-by:

Re: [PATCHv7 17/21] ARM: OMAP4: TWL: enable high speed mode for PMIC communication

2012-09-26 Thread Peter Ujfalusi
On 09/26/2012 03:06 PM, Tero Kristo wrote: On Wed, 2012-09-26 at 14:39 +0300, Peter Ujfalusi wrote: Hi Tero, On 09/25/2012 07:33 PM, Tero Kristo wrote: With the new parameters, I2C can now be put to high speed mode for better performance. We have twl6040 on the same bus. have you tried

Re: Help needed with remaining plat headers

2012-09-28 Thread Peter Ujfalusi
On 09/27/2012 12:57 PM, Vutla, Lokesh wrote: clkdev_omap.h clock.h common.h cpu.h dma-44xx.h dma.h As a part of clean up I am looking at dma.h and dma-44xx.h files ll send you patches once cleanup and testing is done. One note for the dma.h, dma-44xx.h: The audio drivers used to include

Re: Help needed with remaining plat headers

2012-10-01 Thread Peter Ujfalusi
Hi, On 09/28/2012 09:58 AM, Vutla, Lokesh wrote: Hi, I see a module build failure in linux-next tree. Any one else facing this issue or I am missing something. Using master branch on git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git Below is the log . $ make modules -j 10

Re: [PATCH 3.7-rc1] omap zoom2.c: Fix compile error by including correct header files

2012-10-03 Thread Peter Ujfalusi
On 10/03/2012 05:31 PM, Tim Gardner wrote: Cc: Peter Ujfalusi peter.ujfal...@ti.com Cc: Jarkko Nikula jarkko.nik...@bitmer.com Cc: Liam Girdwood l...@ti.com Cc: Mark Brown broo...@opensource.wolfsonmicro.com Cc: Jaroslav Kysela pe...@perex.cz Cc: Takashi Iwai ti...@suse.de Cc: linux-omap

Re: ASoC: Fix wrong include for McPDM

2012-10-04 Thread Peter Ujfalusi
Hi Tony, On 10/03/2012 07:52 PM, Tony Lindgren wrote: McPDM needs platt/cpu.h for omap_rev and not omap_hwmod.h. Drivers must not include omap_hwmod.h at, it will be private to mach-omap2 soon. Fix the problem before other drivers will also start including omap_hwmod.h. Note that also

[PATCH 0/2] ASoC: omap-mcpdm updates for 3.7

2012-10-04 Thread Peter Ujfalusi
Hello Mark, Tony, The mcpdm driver no longer needs to include any plat/*.h file, clearing the way for the single kernel image. Regards, Peter --- Peter Ujfalusi (1): ASoC: omap-mcpdm: Remove OMAP revision check Tony Lindgren (1): ASoC: Fix wrong include for McPDM sound/soc/omap/omap

[PATCH 1/2] ASoC: Fix wrong include for McPDM

2012-10-04 Thread Peter Ujfalusi
From: Tony Lindgren t...@atomide.com McPDM needs platt/cpu.h for omap_rev and not omap_hwmod.h. Drivers must not include omap_hwmod.h at, it will be private to mach-omap2 soon. Fix the problem before other drivers will also start including omap_hwmod.h. Note that also plat/cpu.h will be going

[PATCH 2/2] ASoC: omap-mcpdm: Remove OMAP revision check

2012-10-04 Thread Peter Ujfalusi
The OMAP revision check is not needed since the watchdog bit is not in use on 4430 ES1.0 and have no effect when we set the bit. The watchdog need to be enabled on all other revisions. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- sound/soc/omap/omap-mcpdm.c | 10 ++ 1 file

Re: [PATCH 2/2] ASoC: omap-mcpdm: Remove OMAP revision check

2012-10-04 Thread Peter Ujfalusi
On 10/04/2012 11:15 AM, Peter Ujfalusi wrote: The OMAP revision check is not needed since the watchdog bit is not in use on 4430 ES1.0 and have no effect when we set the bit. The watchdog need to be enabled on all other revisions. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com

[PATCH v2 0/2] ASoC: omap-mcpdm updates for 3.7

2012-10-04 Thread Peter Ujfalusi
Hello Mark, Tony, Change since v1: - Fixed the second patch to keep the omap_mcpdm_open_stream() - after a coffee The mcpdm driver no longer needs to include any plat/*.h file, clearing the way for the single kernel image. Regards, Peter --- Peter Ujfalusi (1): ASoC: omap-mcpdm: Remove OMAP

[PATCH v2 1/2] ASoC: Fix wrong include for McPDM

2012-10-04 Thread Peter Ujfalusi
From: Tony Lindgren t...@atomide.com McPDM needs platt/cpu.h for omap_rev and not omap_hwmod.h. Drivers must not include omap_hwmod.h at, it will be private to mach-omap2 soon. Fix the problem before other drivers will also start including omap_hwmod.h. Note that also plat/cpu.h will be going

[PATCH v2 2/2] ASoC: omap-mcpdm: Remove OMAP revision check

2012-10-04 Thread Peter Ujfalusi
The OMAP revision check is not needed since the watchdog bit is not in use on 4430 ES1.0 and have no effect when we set the bit. The watchdog need to be enabled on all other revisions. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- sound/soc/omap/omap-mcpdm.c | 9 ++--- 1 file

[PATCH 0/9] ARM: dts/OMAP: Pinmux audio configuration for OMAP4+

2012-10-04 Thread Peter Ujfalusi
this series queued for 3.7? Regards, Peter --- Peter Ujfalusi (9): ARM: OMAP: board-4430-sdp: Pin mux configuration for audio needs ARM: OMAP: board-omap4panda: Pin mux configuration for audio needs ARM/dts: omap4-panda: Disable unused audio IPs ARM/dts: omap4-sdp: Disable unused McBSP3 ARM

[PATCH 1/9] ARM: OMAP: board-4430-sdp: Pin mux configuration for audio needs

2012-10-04 Thread Peter Ujfalusi
u-boot stopped configuring 'non essential' pins recently. These pins are essential for audio and need to be done to have working audio on the board. Pin Mux configuration for: twl6040 audpwron gpio, McPDM, DMIC, McBSP1 and McBSP2. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm

[PATCH 3/9] ARM/dts: omap4-panda: Disable unused audio IPs

2012-10-04 Thread Peter Ujfalusi
McBSP2, McBSP3 and DMIC is not usable on PandaBoard (not connected, no external pins provided for them). Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap4-panda.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/omap4-panda.dts

[PATCH 4/9] ARM/dts: omap4-sdp: Disable unused McBSP3

2012-10-04 Thread Peter Ujfalusi
McBSP3 is not usable on OMAP4 SDP/Blaze (the pins used for McPDM). Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap4-sdp.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts/omap4-sdp.dts index 94a23b3

[PATCH 5/9] ARM/dts: omap5-evm: Disable unused McBSP3

2012-10-04 Thread Peter Ujfalusi
McBSP3 is not usable on OMAP4 SDP/Blaze (the pins used for McPDM). Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap5-evm.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/omap5-evm.dts b/arch/arm/boot/dts/omap5-evm.dts index 9c41a3f

[PATCH 2/9] ARM: OMAP: board-omap4panda: Pin mux configuration for audio needs

2012-10-04 Thread Peter Ujfalusi
u-boot stopped configuring 'non essential' pins recently. These pins are essential for audio and need to be done to have working audio on the board. Pin Mux configuration for: twl6040 audpwron gpio, McPDM, and McBSP1. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2

[PATCH 6/9] ARM/dts: omap4-sdp: pinmux configuration for audio

2012-10-04 Thread Peter Ujfalusi
-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap4-sdp.dts | 53 + 1 file changed, 53 insertions(+) diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts/omap4-sdp.dts index cf09875..5b7e04f 100644 --- a/arch/arm/boot/dts/omap4

[PATCH 7/9] ARM/dts: omap4-panda: pinmux configuration for audio

2012-10-04 Thread Peter Ujfalusi
u-boot stopped configuring 'non essential' pins recently. The kernel needs to configure the mux for audio needs. Since the pinmux for these IPs are static let pinctrl to handle the mux configuration for. Configuring the mux for: twl6040 (audpwron, irq), McPDM and McBSP1. Signed-off-by: Peter

[PATCH 8/9] ARM/dts: Add pinctrl driver entries for omap5

2012-10-04 Thread Peter Ujfalusi
These all use the generic pinctrl-single driver for the padconf registers. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap5.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi index

[PATCH 9/9] ARM/dts: omap5-evm: pinmux configuration for audio

2012-10-04 Thread Peter Ujfalusi
-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap5-evm.dts | 54 + 1 file changed, 54 insertions(+) diff --git a/arch/arm/boot/dts/omap5-evm.dts b/arch/arm/boot/dts/omap5-evm.dts index 825e607..c663eba 100644 --- a/arch/arm/boot/dts/omap5

[PATCH] OMAPDSS: Correct check for the callback pointer in dss_dsi_disable_pads()

2012-10-16 Thread Peter Ujfalusi
Appear to be a copy-paste bug: the code was checking board_data-dsi_enable_pads while calling board_data-dsi_disable_pads. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- Hi Tomi, not sure if this need to be included to 3.7 Regards, Peter drivers/video/omap2/dss/core.c | 2 +- 1

[PATCH] ARM/dts: omap3: Fix mcbsp2/3 hwmods to be able to probe the drivers for audio

2012-10-18 Thread Peter Ujfalusi
() to append the DMA resources since we - accidentally - end up having the same number of resources provided from DT (IO/IRQ) as we have in hwmod for the McBSP ports without the ST resources. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- Hi Tony, Benoit, Can you please take this patch for 3.7

[PATCH 0/2] ARM: OMAP: hwmod/omapd_device: Fix for resource handling in DT boot

2012-10-30 Thread Peter Ujfalusi
be filled via OF. In this case we do not update the resources at all. Tony, Benoit, Paul: Not sure if this qualify for 3.7 inclusion, but for sure going to help us to clean up the OMAP5 hwmod database. Regards, Peter --- Peter Ujfalusi (2): ARM: OMAP: hwmod: Add possibility to count hwmod resources

[PATCH 1/2] ARM: OMAP: hwmod: Add possibility to count hwmod resources based on type

2012-10-30 Thread Peter Ujfalusi
Add flags parameter for omap_hwmod_count_resources() so users can tell which type of resources they are interested when counting them in hwmod database. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/omap_hwmod.c | 27 --- arch/arm

[PATCH 2/2] ARM: OMAP: omap_device: Correct resource handling for DT boot

2012-10-30 Thread Peter Ujfalusi
the DMA resurce from hwmod to the OF provided ones. In this way we can start removing hwmod data for devices which have their resources correctly configured in DT without regressions. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/plat-omap/omap_device.c | 80

[PATCH v2 1/2] ARM: OMAP: hwmod: Add possibility to count hwmod resources based on type

2012-10-30 Thread Peter Ujfalusi
Add flags parameter for omap_hwmod_count_resources() so users can tell which type of resources they are interested when counting them in hwmod database. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/omap_hwmod.c | 27 --- arch/arm

[PATCH v2 0/2] ARM: OMAP: hwmod/omapd_device: Fix for resource handling in DT boot

2012-10-30 Thread Peter Ujfalusi
the OMAP5 hwmod database. Regards, Peter --- Peter Ujfalusi (2): ARM: OMAP: hwmod: Add possibility to count hwmod resources based on type ARM: OMAP: omap_device: Correct resource handling for DT boot arch/arm/mach-omap2/omap_hwmod.c | 27 + arch/arm/plat-omap/include/plat

[PATCH v2 2/2] ARM: OMAP: omap_device: Correct resource handling for DT boot

2012-10-30 Thread Peter Ujfalusi
the DMA resurce from hwmod to the OF provided ones. In this way we can start removing hwmod data for devices which have their resources correctly configured in DT without regressions. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/plat-omap/omap_device.c | 84

[PATCH 0/3] ARM: OMAP4: register V1V8, V2V1 regulators

2012-05-02 Thread Peter Ujfalusi
issues. Regards, Peter --- Peter Ujfalusi (3): OMAP4: twl-common: Add twl6030 V1V8, V2V1 SMPS common configuration OMAP: 4430SDP: Use common configuration for V1V8, V2V1 supplies OMAP: omap4panda: Use common configuration for V1V8, V2V1 supplies arch/arm/mach-omap2/board-4430sdp.c|4

[PATCH 3/3] OMAP: omap4panda: Use common configuration for V1V8, V2V1 supplies

2012-05-02 Thread Peter Ujfalusi
These supplies going to be needed for the twl6040 driver. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/board-omap4panda.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board

[PATCH 2/3] OMAP: 4430SDP: Use common configuration for V1V8, V2V1 supplies

2012-05-02 Thread Peter Ujfalusi
These supplies going to be needed for the twl6040 driver. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/board-4430sdp.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board

[PATCH 1/3] OMAP4: twl-common: Add twl6030 V1V8, V2V1 SMPS common configuration

2012-05-02 Thread Peter Ujfalusi
) as consumer for V1V8, and V2V1. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/twl-common.c | 42 ++ arch/arm/mach-omap2/twl-common.h |2 + 2 files changed, 44 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCH] MFD: twl6040: Add regulator support for VIO, V2V1 supplies

2012-05-02 Thread Peter Ujfalusi
twl6040 has three power supply source: VBAT needs to be connected to VBAT, VIO, and V2V1. Add regulator support for the VIO, V2V1 supplies. Initially handle the two supply together with bulk commands. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Reviewed-by: Mark Brown broo

[PATCH v2 0/3] ARM: OMAP4: register V1V8, V2V1 regulators

2012-05-09 Thread Peter Ujfalusi
for the twl6040 MFD driver will be going via MFD tree to avoid cross tree issues. Regards, Peter --- Peter Ujfalusi (3): OMAP4: twl-common: Add twl6030 V1V8, V2V1 SMPS common configuration OMAP: 4430SDP: Use common configuration for V1V8, V2V1 supplies OMAP: omap4panda: Use common configuration

[PATCH v2 1/3] OMAP4: twl-common: Add twl6030 V1V8, V2V1 SMPS common configuration

2012-05-09 Thread Peter Ujfalusi
) as consumer for V1V8, and V2V1. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/twl-common.c | 43 ++ arch/arm/mach-omap2/twl-common.h |2 + 2 files changed, 45 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2

[PATCH v2 2/3] OMAP: 4430SDP: Use common configuration for V1V8, V2V1 supplies

2012-05-09 Thread Peter Ujfalusi
These supplies going to be needed for the twl6040 driver. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/board-4430sdp.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/board-4430sdp.c b/arch/arm/mach-omap2/board

[PATCH v2 3/3] OMAP: omap4panda: Use common configuration for V1V8, V2V1 supplies

2012-05-09 Thread Peter Ujfalusi
These supplies going to be needed for the twl6040 driver. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/board-omap4panda.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/board-omap4panda.c b/arch/arm/mach-omap2/board

[PATCH 1/7] arm/dts: omap4: Add entry for OMAP McPDM IP

2012-06-08 Thread Peter Ujfalusi
McPDM is used on OMAP4 based boards to communicate with an external audio codec (twl6040). Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap4.dtsi |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm

[PATCH 2/7] arm/dts: omap4: Add entry for OMAP DMIC IP

2012-06-08 Thread Peter Ujfalusi
DMIC IP is used to connect up to 6 digital microphones directly to OMAP. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap4.dtsi |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap4.dtsi b/arch/arm/boot/dts/omap4

[PATCH 5/7] arm/dts: omap4-sdp: Enable audio support via device tree

2012-06-08 Thread Peter Ujfalusi
On OMAP4 SDP the audio setup includes the twl6040 codec and digital microphones. Since OMAP4 SDP is a reference board it has all possible audio interfaces connected. This information is passed via the ti,audio-routing property. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm

[PATCH 3/7] arm/dts: omap4-sdp: Add fixed regulator to represent VBAT

2012-06-08 Thread Peter Ujfalusi
There are devices connected to VBAT. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap4-sdp.dts |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts/omap4-sdp.dts index e55d42a..4b51611

[PATCH 4/7] arm/dts: omap4-sdp: Add support for twl6040

2012-06-08 Thread Peter Ujfalusi
The twl6040 provides the audio and vibra support on OMAP4 SDP boards. It is connected to i2c1 bus with 0x4b address. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap4-sdp.dts | 25 + 1 files changed, 25 insertions(+), 0 deletions(-) diff

[PATCH 6/7] arm/dts: omap4-panda: Audio support for PandaBoard 4430

2012-06-08 Thread Peter Ujfalusi
PandaBoard uses twl6040 connected via McPDM for audio. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/boot/dts/omap4-panda.dts | 37 + 1 files changed, 37 insertions(+), 0 deletions(-) diff --git a/arch/arm/boot/dts/omap4-panda.dts b/arch

[PATCH 7/7] arm/dts: New dts file for PandaBoardES (4460)

2012-06-08 Thread Peter Ujfalusi
The 4430 and 4460 version of PandaBoard mostly the same with exception at least in audio setup. Use the omap4-panda.dts file as a base and only override the differences between the revisions. For audio it is the name of the sound card and the routing information. Signed-off-by: Peter Ujfalusi

[PATCH 0/7] arm/dts: Audio support for OMAP4 devices (SDP, PandaBoard)

2012-06-08 Thread Peter Ujfalusi
--- Peter Ujfalusi (7): arm/dts: omap4: Add entry for OMAP McPDM IP arm/dts: omap4: Add entry for OMAP DMIC IP arm/dts: omap4-sdp: Add fixed regulator to represent VBAT arm/dts: omap4-sdp: Add support for twl6040 arm/dts: omap4-sdp: Enable audio support via device tree arm/dts: omap4

[PATCH 0/3] ARM: OMAP2/3: Move McBSP fck alias to hwmod data

2012-06-14 Thread Peter Ujfalusi
BeagleBoard, compile tested it for OMAP2. Regards, Peter --- Peter Ujfalusi (3): ARM: OMAP2: Move McBSP fck clock alias to hwmod data for OMAP2420 ARM: OMAP2: Move McBSP fck clock alias to hwmod data for OMAP2430 ARM: OMAP3: Move McBSP fck clock alias to hwmod data arch/arm/mach-omap2

[PATCH 1/3] ARM: OMAP2: Move McBSP fck clock alias to hwmod data for OMAP2420

2012-06-14 Thread Peter Ujfalusi
Remove the existing alias for pad_fck, prcm_fck from the clock data and add them as opt_clks to the hwmod data. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/clock2420_data.c |4 arch/arm/mach-omap2/omap_hwmod_2420_data.c |9 + 2 files

[PATCH 2/3] ARM: OMAP2: Move McBSP fck clock alias to hwmod data for OMAP2430

2012-06-14 Thread Peter Ujfalusi
Remove the existing alias for pad_fck, prcm_fck from the clock data and add them as opt_clks to the hwmod data. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/clock2430_data.c | 10 -- arch/arm/mach-omap2/omap_hwmod_2430_data.c | 15

[PATCH 3/3] ARM: OMAP3: Move McBSP fck clock alias to hwmod data

2012-06-14 Thread Peter Ujfalusi
Remove the existing alias for pad_fck, prcm_fck from the clock data and add them as opt_clks to the hwmod data. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/clock3xxx_data.c | 10 -- arch/arm/mach-omap2/omap_hwmod_3xxx_data.c | 21

[PATCH] ARM: OMAP2: twl-common: Fix compiler warning

2012-06-15 Thread Peter Ujfalusi
OMAP3/4 is selected. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/twl-common.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-omap2/twl-common.c b/arch/arm/mach-omap2/twl-common.c index 119d5a9..5447c13 100644 --- a/arch/arm

[PATCH] MFD: twl4030-codec: Update e-mail address

2011-05-09 Thread Peter Ujfalusi
Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/mfd/twl4030-codec.c |3 ++- include/linux/mfd/twl4030-codec.h |1 + 2 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/mfd/twl4030-codec.c b/drivers/mfd/twl4030-codec.c index c02fded..3641a6f 100644

[PATCH v2] MFD: twl4030-codec: Update e-mail address

2011-05-09 Thread Peter Ujfalusi
Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- Hello, Instead of keeping the old Nokia mail address, just change it to my new email address in the author line. drivers/mfd/twl4030-codec.c |4 ++-- include/linux/mfd/twl4030-codec.h |2 +- 2 files changed, 3 insertions

Re: [alsa-devel] [PATCH] ASoC: omap-mcbsp: Remove restrictive checks for cpu type

2011-05-11 Thread Peter Ujfalusi
-off-by: Sanjeev Premi pr...@ti.com cc: Mark Brown broo...@opensource.wolfsonmicro.com cc: Liam Girdwood l...@ti.com cc: Jarkko Nikula jhnik...@gmail.com --- Acked-by: Peter Ujfalusi peter.ujfal...@ti.com -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body

Re: beagleboardxm 2.6.39rc4 mcbsp problems.

2011-05-16 Thread Peter Ujfalusi
On Saturday 14 May 2011 05:47:33 Steve Calfee wrote: I put in a few debug statements. It appears that my DMA never gets started. I know it can work with a different machine and codec driver, but not mine. I don't see any explicit DMA init, but that must be the problem. Any more ideas? You

[PATCH] OMAP4: McBSP: Clear rx_irq at probe time

2011-05-17 Thread Peter Ujfalusi
, clear the rx_irq at probe time on OMAP4. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/plat-omap/mcbsp.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/arch/arm/plat-omap/mcbsp.c b/arch/arm/plat-omap/mcbsp.c index 5587acf..1e4e32e 100644 --- a/arch

Re: beagleboardxm 2.6.39rc4 mcbsp problems.

2011-05-17 Thread Peter Ujfalusi
Hi, On Monday 16 May 2011 21:07:40 Steve Calfee wrote: No, they get called. I just don't get the clock on the bclk pin. OK. Could you try to disconnect the CLKX, and FSX lines from OMAP, and see that you have the clocks on the codec side? If in this way you still can not see the clocks, than

Re: [PATCH 1/2] OMAP4: HDMI: Add OMAP device for HDMI audio CPU DAI

2011-05-17 Thread Peter Ujfalusi
On Tuesday 17 May 2011 22:35:09 Steve Calfee wrote: I think the generally accepted method of doing stuff like this is to have the ifdeffery in a header file where a inline code segment is defined if it applies to the processor being built. If the code does not apply to the model being built, a

Re: [PATCH] OMAP4: McBSP: Clear rx_irq at probe time

2011-05-17 Thread Peter Ujfalusi
On Tuesday 17 May 2011 15:57:00 Tony Lindgren wrote: This file should be under drivers/ somewhere, can you guys please take care of that? Yeah, this has been discussed several times, and we have not reached agreement where to move this very OMAP specific code. One option was to move it under

Re: [PATCH] OMAP4: McBSP: Clear rx_irq at probe time

2011-05-18 Thread Peter Ujfalusi
Hi Tony, On Tuesday 17 May 2011 15:57:00 Tony Lindgren wrote: This file should be under drivers/ somewhere, can you guys please take care of that? Do you have a place in mind? We have several things under arch/arm/plat-omap, like i2c, dma, fb, gpio, mcbsp, usb... Should we create a directory

Re: beagleboardxm 2.6.39rc4 mcbsp problems.

2011-05-19 Thread Peter Ujfalusi
Hi, On Thursday 19 May 2011 03:30:51 Steve Calfee wrote: On 05/17/11 03:42, Peter Ujfalusi wrote: Good suggestion. After switching to my codec as master, I could see the clocks. But one problem was the beagleboardxm trainer has level shifters, but they are one directional, and not correct

Re: beagleboardxm 2.6.39rc4 mcbsp problems.

2011-05-20 Thread Peter Ujfalusi
On Friday 20 May 2011 02:58:30 Steve Calfee wrote: On 05/19/11 04:28, Peter Ujfalusi wrote: Correct, I can set bit clock to 64*lrclk, 48*lrclk, 128*lrclk, 17*lrclk, and 18*lrclk. Strange, that there is no option for 32*lrclk. The audio folks here think that it is normal to send more than

Re: beagleboardxm 2.6.39rc4 mcbsp problems.

2011-05-20 Thread Peter Ujfalusi
Hi, On Friday 20 May 2011 09:29:11 Jarkko Nikula wrote: This very likely sounds that in master mode the master clock to McBSP is missing if there is no DMA running. If the clock setup is correct for McBSP, than it runs the clocks, and shifts out data. Did you try to use internal 96 MHz

[PATCH 0/8] MFD/ASoC: TWL4030/TWL6040 changes

2011-06-01 Thread Peter Ujfalusi
. It applies on top of linux-next as well. Regards, Peter --- Misael Lopez Cruz (3): mfd: twl6040: Add initial support ASoC: twl6040: Convert into TWL6040 MFD child input: Add initial support for TWL6040 vibrator Peter Ujfalusi (5): MFD: twl4030-codec: Rename internals from codec to audio

[PATCH 3/8] MFD: twl4030-audio: Rename platform data

2011-06-01 Thread Peter Ujfalusi
-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/board-3430sdp.c |8 arch/arm/mach-omap2/board-devkit8000.c |8 arch/arm/mach-omap2/board-igep0020.c |8 arch/arm/mach-omap2/board-omap3beagle.c |8 arch/arm/mach

[PATCH 8/8] OMAP4: SDP4430: Add twl6040 vibrator platform support

2011-06-01 Thread Peter Ujfalusi
Add twl4030_vibra platform data, and the needed regulators for twl6040 vibrator. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/board-4430sdp.c | 50 ++- 1 files changed, 49 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach

[PATCH 7/8] input: Add initial support for TWL6040 vibrator

2011-06-01 Thread Peter Ujfalusi
Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/input/misc/Kconfig | 11 + drivers/input/misc/Makefile|1 + drivers/input/misc/twl6040-vibra.c | 428 include/linux/i2c/twl.h|8 + 4 files changed, 448

[PATCH 6/8] MFD: twl6040: Change platform data for soc codec driver

2011-06-01 Thread Peter Ujfalusi
Pass twl4030_codec_data instead of the twl4030_audio_data for the ASoC codec driver. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/mfd/twl6040-core.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/mfd/twl6040-core.c b/drivers/mfd/twl6040

[PATCH 5/8] ASoC: twl6040: Convert into TWL6040 MFD child

2011-06-01 Thread Peter Ujfalusi
child, vibrator registers are skipped in CODEC driver. Signed-off-by: Misael Lopez Cruz misael.lo...@ti.com Signed-off-by: Jorge Eduardo Candelaria jorge.candela...@ti.com Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- sound/soc/codecs/Kconfig |1 + sound/soc/codecs/twl6040.c

[PATCH 1/8] MFD: twl4030-codec: Rename internals from codec to audio

2011-06-01 Thread Peter Ujfalusi
In preparation of renaming the driver from twl4030-codec to twl4030-audio, first do some clean ups in the driver, which does not cause any problems outside. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/mfd/twl4030-codec.c | 135 ++- 1

[PATCH 4/8] mfd: twl6040: Add initial support

2011-06-01 Thread Peter Ujfalusi
-by: Misael Lopez Cruz misael.lo...@ti.com Signed-off-by: Jorge Eduardo Candelaria jorge.candela...@ti.com Signed-off-by: Margarita Olaya Cabrera magi.ol...@ti.com Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/plat-omap/include/plat/irqs.h | 12 +- drivers/mfd/Kconfig

[PATCH 2/8] MFD: twl4030-codec - twl4030-audio: Rename the driver

2011-06-01 Thread Peter Ujfalusi
Rename the driver, and header file from twl4030-codec to twl4030-audio. To avoid breakage change depending drivers at the same time. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com CC: Misael Lopez Cruz misael.lo...@ti.com --- drivers/input/misc/Kconfig |2 +- drivers/input/misc

Re: [PATCH 3/8] MFD: twl4030-audio: Rename platform data

2011-06-01 Thread Peter Ujfalusi
On Wednesday 01 June 2011 15:07:54 Tony Lindgren wrote: Can you please take a look at creating arch/arm/mach-omap2/i2c-twl.c or something in common-board-devices.c to get rid of the cut and paste duplication in every board-*.c file? Yes, it would make sense, since most of the board has

Re: [PATCH 3/8] MFD: twl4030-audio: Rename platform data

2011-06-01 Thread Peter Ujfalusi
On Wednesday 01 June 2011 16:00:34 Tony Lindgren wrote: Yeah, most of it might be possible to describe with just a flags like TWL_HAS_VIBRA etc. Or TWL_BOARD_HAS_VIBRA, TWL_BOARD_HAS_CODEC... For the audio part it is a bit complicated than that: different base frequencies, for twl6040 we have

Re: [PATCH 3/8] MFD: twl4030-audio: Rename platform data

2011-06-02 Thread Peter Ujfalusi
On Wednesday 01 June 2011 16:38:23 Tony Lindgren wrote: But you could easily remove all the board specific struct twl4030_codec_data and struct twl4030_codec_audio_data entries by adding a default audio init option to omap_pmic_init for the common configuration. Yeah, I can grep in the board

Re: [PATCH 3/8] MFD: twl4030-audio: Rename platform data

2011-06-03 Thread Peter Ujfalusi
On Friday 03 June 2011 11:08:22 Tony Lindgren wrote: Yeah if it gets big then a separate file is better. Also, if we have a common init function for twl, then it's easy to add the board specific device tree initialization to that too and just leave out the calls to omap_pmic_init from

Re: [PATCH 4/8] mfd: twl6040: Add initial support

2011-06-03 Thread Peter Ujfalusi
On Wednesday 01 June 2011 16:47:21 Krishnamoorthy, Balaji T wrote: +int twl6040_reg_read(struct twl6040 *twl6040, unsigned int reg) +{ + int ret; + u8 val = 0; + + mutex_lock(twl6040-io_mutex); + ret = twl_i2c_read_u8(TWL_MODULE_AUDIO_VOICE, val, reg); Can

[PATCH v2 01/12] OMAP: New pmic-common for common TWL configuration

2011-06-07 Thread Peter Ujfalusi
Introduce a new file, which will be used to configure common pmic (TWL) devices, regulators. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/Makefile |2 +- arch/arm/mach-omap2/common-board-devices.c | 21 - arch/arm/mach-omap2/common

[PATCH v2 04/12] OMAP3: Move common regulator configuration to pmic-common

2011-06-07 Thread Peter Ujfalusi
Some regulator config can be moved out from board files, since they are close to identical. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/board-3430sdp.c | 51 -- arch/arm/mach-omap2/board-cm-t35.c | 41

[PATCH v2 09/12] ASoC: twl6040: Convert into TWL6040 MFD child

2011-06-07 Thread Peter Ujfalusi
child, vibrator registers are skipped in CODEC driver. Signed-off-by: Misael Lopez Cruz misael.lo...@ti.com Signed-off-by: Jorge Eduardo Candelaria jorge.candela...@ti.com Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Acked-by: Mark Brown broo...@opensource.wolfsonmicro.com --- sound/soc

[PATCH v2 11/12] input: Add initial support for TWL6040 vibrator

2011-06-07 Thread Peter Ujfalusi
Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/input/misc/Kconfig | 11 + drivers/input/misc/Makefile|1 + drivers/input/misc/twl6040-vibra.c | 428 include/linux/i2c/twl.h|8 + 4 files changed, 448

[PATCH v2 12/12] OMAP4: SDP4430: Add twl6040 vibrator platform support

2011-06-07 Thread Peter Ujfalusi
Add twl4030_vibra platform data, and the needed regulators for twl6040 vibrator. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/board-4430sdp.c | 48 +++ 1 files changed, 48 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach

[PATCH v2 00/12] MFD/ASoC/Input: TWL4030/TWL60X0 changes

2011-06-07 Thread Peter Ujfalusi
): mfd: twl6040: Add initial support ASoC: twl6040: Convert into TWL6040 MFD child input: Add initial support for TWL6040 vibrator Peter Ujfalusi (9): OMAP: New pmic-common for common TWL configuration OMAP4: Move common twl6030 configuration to pmic-common OMAP3: Move common pmic

[PATCH v2 02/12] OMAP4: Move common twl6030 configuration to pmic-common

2011-06-07 Thread Peter Ujfalusi
Reduce the amount of duplicated code by moving the common configuration for TWL6030 (on OMAP4 platform) to the pmic-common file. Use the omap4_pmic_config function from board files to properly configure the PMIC with the common fields. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch

[PATCH v2 05/12] MFD: twl4030-codec: Rename internals from codec to audio

2011-06-07 Thread Peter Ujfalusi
In preparation of renaming the driver from twl4030-codec to twl4030-audio, first do some clean ups in the driver, which does not cause any problems outside. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/mfd/twl4030-codec.c | 135 ++- 1

[PATCH v2 06/12] MFD: twl4030-codec - twl4030-audio: Rename the driver

2011-06-07 Thread Peter Ujfalusi
Rename the driver, and header file from twl4030-codec to twl4030-audio. To avoid breakage change depending drivers at the same time. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com CC: Misael Lopez Cruz misael.lo...@ti.com --- drivers/input/misc/Kconfig |2 +- drivers/input/misc

[PATCH v2 03/12] OMAP3: Move common pmic configuration to pmic-common

2011-06-07 Thread Peter Ujfalusi
Reduce the amount of duplicated code by moving the common configuration for twl4030/5030/tpsxx to the pmic-common file. Use the omap3_pmic_config function from board files to properly configure the PMIC with the common fields. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach

[PATCH v2 07/12] MFD: twl4030-audio: Rename platform data

2011-06-07 Thread Peter Ujfalusi
-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/mach-omap2/board-3430sdp.c |2 +- arch/arm/mach-omap2/board-devkit8000.c |2 +- arch/arm/mach-omap2/board-igep0020.c |2 +- arch/arm/mach-omap2/board-omap3beagle.c |2 +- arch/arm/mach-omap2/board-omap3evm.c

[PATCH v2 08/12] mfd: twl6040: Add initial support

2011-06-07 Thread Peter Ujfalusi
-by: Misael Lopez Cruz misael.lo...@ti.com Signed-off-by: Jorge Eduardo Candelaria jorge.candela...@ti.com Signed-off-by: Margarita Olaya Cabrera magi.ol...@ti.com Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- arch/arm/plat-omap/include/plat/irqs.h | 12 +- drivers/mfd/Kconfig

<    1   2   3   4   5   6   7   8   9   10   >