[PATCH] ASoC: tlv320aic3x: Add support for tlv320aic3104

2015-01-30 Thread Jyri Sarha
Disables GPIO support and LINE2 input and renames Mic3 input to Mic2, if tlv320aic3104 mode is seleced. Devicetree binding document is updated accordingly. Signed-off-by: Jyri Sarha jsa...@ti.com --- .../devicetree/bindings/sound/tlv320aic3x.txt | 10 +- sound/soc/codecs/tlv320aic3x.c

Re: [PATCH v3 0/5] Add support for Fujitsu USB host controller

2015-01-30 Thread Felipe Balbi
Hi, On Thu, Jan 29, 2015 at 10:23:12AM -0600, Felipe Balbi wrote: On Tue, Jan 27, 2015 at 09:22:50AM -0600, Felipe Balbi wrote: Hi, On Sun, Jan 25, 2015 at 04:13:23PM +0800, Sneeker Yeh wrote: These patches add support for XHCI compliant Host controller found on Fujitsu Socs, and

Re: [PATCH 00/11] ARM: OMAP3: legacy clock data move under clk driver

2015-01-30 Thread Tero Kristo
On 01/30/2015 02:42 AM, Mike Turquette wrote: Quoting Tero Kristo (2015-01-29 12:19:29) On 01/08/2015 01:00 AM, Tony Lindgren wrote: * Tero Kristo t-kri...@ti.com [141216 08:22]: Hi, These patches move the legacy clock data for omap3 under drivers/clk/ti. After these patches are applied, it

[PATCH] arm: config: omap2plus_defconfig: switch over to LZMA compression

2015-01-30 Thread Felipe Balbi
LZMA compression makes about 33% smaller zImage with just a slight extra decompression time. Before this patch, zImage built with o2+_dc is 4.5MiB and after it's about 3.3MiB. Suggested-by: David Cohen david.a.co...@linux.intel.com Signed-off-by: Felipe Balbi ba...@ti.com ---

[PATCH 2/4] mmc: core: allow non-blocking form of mmc_claim_host

2015-01-30 Thread NeilBrown
Change the handling for the 'abort' flag so that if it is set, but we can claim the host, then do the claim, rather than aborting. When the abort is async this just means that a race between aborting an allowing a claim is resolved slightly differently. Any code must already be able to handle

[PATCH 4/4] mmc: omap_hsmmc: switch to 1-bit before stopping clocks.

2015-01-30 Thread NeilBrown
Make use of the new mmc_sdio_want_no_clocks() call to avoid stopping clocks while SD Card interrupts are enabled and we aren't in 1-bit mode. Also stop clocks immediately in omap_hsmmc_disable_fclk() if 1-bit mode has been entered for this purpose. With this, I can use my libertas wifi with a

[PATCH 1/4] mmc: core: fold mmc_set_bus_width calls into sdio_enable_4bit_bus.

2015-01-30 Thread NeilBrown
Every call to sdio_enable_4bit_bus is followed (on success) but a call to mmc_set_bus_width(). To simplify the code, include those calls directly in sdio_enable_4bit_bus(). Signed-off-by: NeilBrown n...@brown.name --- drivers/mmc/core/sdio.c | 32 1 file

[PATCH 3/4] mmc: sdio: support switching to 1-bit before turning off clocks

2015-01-30 Thread NeilBrown
According to section 7.1.2 of http://www.sandisk.com/media/File/OEM/Manuals/SD_SDIO_specsv1.pdf In the case where the interrupt mechanism is used to wake the host while the card is in a low power state (i.e. no clocks), Both the card and the host shall be placed into the 1-bit SD

Re: [PATCH] ARM: dst: OMAP3-N900: Add microphone bias voltages

2015-01-30 Thread Pavel Machek
On Fri 2015-01-30 21:23:20, Jarkko Nikula wrote: From: Pavel Machek pa...@ucw.cz N900 audio recording needs that codec provides bias voltage for integrated digital microphone and headset microphone depending which one is used. Digital microphone uses 2 V bias and it comes from the codec A

[PATCH 1/3] arm: omap2+ remove dead clock code

2015-01-30 Thread Michael Turquette
Remove omap_clocks_register and dummy_ck. The former is not used anymore now that the statically defined clk stuctures are replaced with proper descriptors and registered with the framework. The dummy clock in arch/arm/mach-omap2 is made redundant by the OMAP3+ clock data that migrated to

Re: [PATCH 1/3] arm: omap2+ remove dead clock code

2015-01-30 Thread Tony Lindgren
* Michael Turquette mturque...@linaro.org [150130 13:28]: Remove omap_clocks_register and dummy_ck. The former is not used anymore now that the statically defined clk stuctures are replaced with proper descriptors and registered with the framework. The dummy clock in arch/arm/mach-omap2 is

[PATCH-v2 0/4] mmc: switch to 1-bit mode which stopping clocks.

2015-01-30 Thread NeilBrown
This is a new version which moves most of the code into mmc/core so it is available to all drivers. I was wrong about not being able to sleep in pm_runtime callbacks. There are spinlocks, but not the ones I thought they were... Anyway, I tried switching to 1-bit mode from within the

Re: [PATCH 00/11] ARM: OMAP3: legacy clock data move under clk driver

2015-01-30 Thread Mike Turquette
Quoting Tero Kristo (2015-01-30 07:20:36) On 01/30/2015 02:42 AM, Mike Turquette wrote: Quoting Tero Kristo (2015-01-29 12:19:29) On 01/08/2015 01:00 AM, Tony Lindgren wrote: * Tero Kristo t-kri...@ti.com [141216 08:22]: Hi, These patches move the legacy clock data for omap3 under

[PATCH] ARM: dst: OMAP3-N900: Add microphone bias voltages

2015-01-30 Thread Jarkko Nikula
From: Pavel Machek pa...@ucw.cz N900 audio recording needs that codec provides bias voltage for integrated digital microphone and headset microphone depending which one is used. Digital microphone uses 2 V bias and it comes from the codec A part. Codec B part drives the headset microphone bias

Clock Regression in next-20150130 caused by cb75a8fcd14e

2015-01-30 Thread Tony Lindgren
Hi all, Looks like commit cb75a8fcd14e (clk: Add rate constraints to clocks) causes a regression on at least omaps where the serial console either does not show anything, or just prints garbage. Reverting cb75a8fcd14e makes things work again on next-20150130. Any ideas? Regards, Tony

Re: [PATCH v13 4/6] clk: Add rate constraints to clocks

2015-01-30 Thread Stephen Boyd
On 01/29, Stephen Boyd wrote: On 01/29/15 05:31, Geert Uytterhoeven wrote: Hi Tomeu, Mike, On Fri, Jan 23, 2015 at 12:03 PM, Tomeu Vizoso tomeu.viz...@collabora.com wrote: --- a/drivers/clk/clk.c +++ b/drivers/clk/clk.c @@ -2391,25 +2543,24 @@ int __clk_get(struct clk *clk)

Re: [PATCH v7 1/4] Documentation: dt: add common bindings for hwspinlock

2015-01-30 Thread Bjorn Andersson
On Fri, Jan 16, 2015 at 4:46 PM, Ohad Ben-Cohen o...@wizery.com wrote: Mark, On Fri, Jan 16, 2015 at 12:17 PM, Mark Rutland mark.rutl...@arm.com wrote: The hwlock is a basic hardware primitive that allow synchronization between different processors in the system, which may be running Linux

[GIT PULL] omap device tree changes for v3.20, part 3

2015-01-30 Thread Tony Lindgren
The following changes since commit 1f43c45df7afb706470f7d81d983dd7763a9452f: ARM: dts: dra72-evm: Add qspi device (2015-01-20 10:07:25 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v3.20/dt-pt3-v2 for you to

Re: [PATCH 0/3] Changes to cpsw and davinci_emac for getting MAC address

2015-01-30 Thread David Miller
From: Tony Lindgren t...@atomide.com Date: Wed, 28 Jan 2015 11:33:03 -0800 Here are a few patches to add common code for cpsw and davinci_emac for getting the MAC address. Looks like we can also now add code to get the MAC address on 3517 but in a slightly different way. Applied to net-next,

Re: Clock Regression in next-20150130 caused by cb75a8fcd14e

2015-01-30 Thread Guenter Roeck
things work again on next-20150130. Any ideas? The patch seems to have some problems. Also see http://www.spinics.net/lists/kernel/msg1916843.html. Guenter -- To unsubscribe from this list: send the line unsubscribe linux-omap in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH v7 1/4] Documentation: dt: add common bindings for hwspinlock

2015-01-30 Thread Ohad Ben-Cohen
On Sat, Jan 31, 2015 at 1:29 AM, Bjorn Andersson bj...@kryo.se wrote: In a system where you have two hwlock blocks lckA and lckB, each consisting of 8 locks and you have dspB that can only access lckB This is a good example - thanks. To be able to cope with such cases we will have to pass a

Re: [PATCH] irqchip: gic: Don't complain in gic_get_cpumask() if UP system

2015-01-30 Thread Felipe Balbi
+linux-omap On Fri, Jan 30, 2015 at 04:43:30PM -0800, Stephen Boyd wrote: In a uniprocessor implementation the interrupt processor targets registers are read-as-zero/write-ignored (RAZ/WI). Unfortunately gic_get_cpumask() will print a critical message saying GIC CPU mask not found - kernel

Re: [PATCH v2 2/7] usb: extcon: Fix USB-Host cable name

2015-01-30 Thread Roger Quadros
Hi, On 30/01/15 13:04, Roger Quadros wrote: Felipe Chanwoo, On 26/01/15 14:15, Roger Quadros wrote: The recommended name for USB-Host cable state is USB-Host and not USB-HOST as per drivers/extcon/extcon-class.c extcon_cable_name. Change all instances of USB-HOST to USB-Host.

Re: [PATCH v3 1/7] extcon: usb-gpio: Introduce gpio usb extcon driver

2015-01-30 Thread Roger Quadros
+Thomas (for irq/dummychip.c question) Hi, On 30/01/15 13:09, Roger Quadros wrote: Chanwoo, On 30/01/15 02:06, Chanwoo Choi wrote: Hi Roger, On 01/29/2015 08:26 PM, Roger Quadros wrote: Chanwoo, On 29/01/15 03:49, Chanwoo Choi wrote: Hi Roger, We need to discuss one point about

Re: [PATCH v3 1/7] extcon: usb-gpio: Introduce gpio usb extcon driver

2015-01-30 Thread Roger Quadros
On 30/01/15 02:11, Chanwoo Choi wrote: Hi Roger, On 01/28/2015 09:15 PM, Roger Quadros wrote: This driver observes the USB ID pin connected over a GPIO and updates the USB cable extcon states accordingly. The existing GPIO extcon driver is not suitable for this purpose as it needs to be

[PATCH] omapfb: Return error code when applying overlay settings fails

2015-01-30 Thread Peter Meerwald
the check of the return code is missing, user space does not get notified about the error condition: omapdss OVERLAY error: overlay 2 horizontally not inside the display area (403 + 800 = 800) omapdss APPLY error: failed to apply settings: illegal configuration. Signed-off-by: Peter Meerwald

Re: 3.19 on Nokia n900: audio quality awful

2015-01-30 Thread Pavel Machek
Hi! I looked around the diff between 3.18 and 3.19, reverted these, and audio quality is back to reasonable level. commit 68f438378cde79e29f71c7e043b10d76001d8892 Author: Lars-Peter Clausen l...@metafoo.de Date: Wed Nov 26 20:57:57 2014 +0100 ASoC: tlv320aic3x: Cleanup manual bias level

Re: 3.19 on Nokia n900: audio quality awful

2015-01-30 Thread Pavel Machek
Hi! I looked around the diff between 3.18 and 3.19, reverted these, and audio quality is back to reasonable level. Actually, reverting 368494093354ac613a80c2e1d77602aa12473cf0 seems enough. Any quick patches to test? Or should we revert so that 3.19-final works ok? Thanks,

Re: 3.19 on Nokia n900: audio quality awful

2015-01-30 Thread Pali Rohár
On Thursday 29 January 2015 21:42:18 Pavel Machek wrote: Hi! I did this: I'm not sure which one is main microphone and which is headset, but I guess 2V should be close enough to 2.5V to produce something different from zeros..? Main or integrated is digital microphone

Re: 3.19 on Nokia n900: audio quality awful

2015-01-30 Thread Pavel Machek
Hi! diff --git a/sound/soc/omap/rx51.c b/sound/soc/omap/rx51.c index 04896d6252a2..7f299357c2d2 100644 --- a/sound/soc/omap/rx51.c +++ b/sound/soc/omap/rx51.c @@ -250,14 +250,14 @@ static const struct snd_soc_dapm_route audio_map[] = { {FM Transmitter, NULL, LLOUT},

Re: [PATCH v2 1/7] extcon: usb-gpio: Introduce gpio usb extcon driver

2015-01-30 Thread Roger Quadros
On 29/01/15 18:56, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [150129 03:34]: On 28/01/15 19:09, Tony Lindgren wrote: * Roger Quadros rog...@ti.com [150128 04:15]: On 28/01/15 04:19, Chanwoo Choi wrote: I still fail to understand that we need to call disable_irq() in .suspend() and

Re: 3.19 on Nokia n900: audio quality awful

2015-01-30 Thread Peter Ujfalusi
On 01/30/2015 02:40 PM, Peter Ujfalusi wrote: On 01/30/2015 12:37 PM, Pavel Machek wrote: Hi! I looked around the diff between 3.18 and 3.19, reverted these, and audio quality is back to reasonable level. Actually, reverting 368494093354ac613a80c2e1d77602aa12473cf0 seems enough. Any

Re: [PATCH v2 2/7] usb: extcon: Fix USB-Host cable name

2015-01-30 Thread Roger Quadros
Felipe Chanwoo, On 26/01/15 14:15, Roger Quadros wrote: The recommended name for USB-Host cable state is USB-Host and not USB-HOST as per drivers/extcon/extcon-class.c extcon_cable_name. Change all instances of USB-HOST to USB-Host. Signed-off-by: Roger Quadros rog...@ti.com

Re: [PATCH v3 1/7] extcon: usb-gpio: Introduce gpio usb extcon driver

2015-01-30 Thread Roger Quadros
Chanwoo, On 30/01/15 02:06, Chanwoo Choi wrote: Hi Roger, On 01/29/2015 08:26 PM, Roger Quadros wrote: Chanwoo, On 29/01/15 03:49, Chanwoo Choi wrote: Hi Roger, We need to discuss one point about 'id_irqwake'. I don't recommend to use 'id_irqwake' field. And I catch build warning by

Re: 3.19 on Nokia n900: audio quality awful

2015-01-30 Thread Peter Ujfalusi
On 01/30/2015 12:37 PM, Pavel Machek wrote: Hi! I looked around the diff between 3.18 and 3.19, reverted these, and audio quality is back to reasonable level. Actually, reverting 368494093354ac613a80c2e1d77602aa12473cf0 seems enough. Any quick patches to test? Or should we revert so