Re: advanced LED controllers

2015-03-03 Thread Alexandre Courbot
On Mon, Mar 2, 2015 at 6:21 PM, Pavel Machek pa...@ucw.cz wrote: On Wed 2015-02-25 18:06:07, Alexandre Courbot wrote: On Wed, Feb 25, 2015 at 5:25 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: CC linux-gpio, as this looks like the LED equivalent of bulk gpio? Indeed. The LED core could

Re: [PATCH] ASoC: omap-pcm: Allow only formats with 1, 2, and 4 byte physical size

2015-03-03 Thread Jarkko Nikula
On Tue, Mar 03, 2015 at 01:41:21PM +0200, Peter Ujfalusi wrote: On 03/03/2015 01:28 PM, Jyri Sarha wrote: sDMA support only transfer elements with 1, 2, and 4 byte physical size. Initialize the pcm driver accordingly. Acked-by: Peter Ujfalusi peter.ujfal...@ti.com Signed-off-by:

[PATCH 2/6] mmc: omap_hsmmc: use slot-gpio functions to manage read-only pin directly

2015-03-03 Thread Andreas Fenkart
The indirection via omap_hsmmc_get_ro and omap_hsmmc_get_wp is redundant. Also dropped setting gpio_wp to EINVAL since platform date is read-only Untested: no device with ro pin was available, but change is fairly simple Signed-off-by: Andreas Fenkart afenk...@gmail.com ---

[PATCH 0/6] mmc: omap_hsmmc: simplify cover/card detect logic

2015-03-03 Thread Andreas Fenkart
These patches are trying to clean up the cover/card detect logic. Mobile phones (some) have no card detect pin, but can detect if the cover is removed. The purpose is the same; detect if card is being added/removed, but the details differ. When the cover is removed, it does not mean the

[PATCH 1/6] mmc: omap_hsmmc: remove unused fields from struct omap_hsmmc_host

2015-03-03 Thread Andreas Fenkart
addon to: 09108968b7b72b6083a3bfc8f8259a74ed57255e mmc: omap_hsmmc: remove prepare/complete system suspend support Signed-off-by: Andreas Fenkart afenk...@gmail.com --- drivers/mmc/host/omap_hsmmc.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c

[PATCH 5/6] mmc: omap_hsmmc: simplify card/cover detect isr

2015-03-03 Thread Andreas Fenkart
strip the card dectet logic from cover detect isr and vice versa the generic mmc_gpio_cd_irqt isr, uses 200ms on removal/insertion, hence that should be fine here as well Signed-off-by: Andreas Fenkart afenk...@gmail.com --- drivers/mmc/host/omap_hsmmc.c | 27 +++ 1 file

[PATCH 3/6] mmc: omap_hsmmc: use distinctive code paths for cover / card detect logic

2015-03-03 Thread Andreas Fenkart
Mobile phones (some) have no card detect pin, but can detect if the cover is removed. The purpose is the same; detect if card is being added/removed, but the details differ. When the cover is removed, it does not mean the card is gone. But it might, since it is accessible now. It's like a warning.

[PATCH 4/6] ARM: OMAP2: HSMMC: platform_data: explicit gpio_cover / gpio_cd fields

2015-03-03 Thread Andreas Fenkart
Cover detection and card detection are not equivalent, cover detection is like a warning that something might happen (cover removed, card is accessible), card detection a notification that something has happened. You could use both in parallel. Technically this is not possible, since there is only

[PATCH 6/6] mmc: omap_hsmmc: use generic slot-gpio isr to manage card detect pin

2015-03-03 Thread Andreas Fenkart
Signed-off-by: Andreas Fenkart afenk...@gmail.com --- drivers/mmc/host/omap_hsmmc.c | 13 - 1 file changed, 13 deletions(-) diff --git a/drivers/mmc/host/omap_hsmmc.c b/drivers/mmc/host/omap_hsmmc.c index 4f6fbe5..0c3368e 100644 --- a/drivers/mmc/host/omap_hsmmc.c +++

Re: [PATCH] ASoC: omap-pcm: Allow only formats with 1, 2, and 4 byte physical size

2015-03-03 Thread Peter Ujfalusi
On 03/03/2015 02:22 PM, Jarkko Nikula wrote: On Tue, Mar 03, 2015 at 01:41:21PM +0200, Peter Ujfalusi wrote: On 03/03/2015 01:28 PM, Jyri Sarha wrote: sDMA support only transfer elements with 1, 2, and 4 byte physical size. Initialize the pcm driver accordingly. Acked-by: Peter Ujfalusi

Re: [PATCH] ASoC: omap-pcm: Allow only formats with 1, 2, and 4 byte physical size

2015-03-03 Thread Jyri Sarha
On 03/03/2015 02:22 PM, Jarkko Nikula wrote: On Tue, Mar 03, 2015 at 01:41:21PM +0200, Peter Ujfalusi wrote: On 03/03/2015 01:28 PM, Jyri Sarha wrote: sDMA support only transfer elements with 1, 2, and 4 byte physical size. Initialize the pcm driver accordingly. Acked-by: Peter Ujfalusi

Re: [PATCH 0/8] ARM OMAP2+ GPMC: fixes and bus children

2015-03-03 Thread Roger Quadros
Robert, On 26/02/15 16:45, Robert ABEL wrote: These are the changes I proposed in three separate patchsets #([1], [2], [3]) rebased to 3.19 as well as new changes for little bugs I noticed while preparing this patchset. 1. DEBUG was undefined in source code -- remove offending lines 2. add

Re: [PATCH 0/8] ARM OMAP2+ GPMC: fixes and bus children

2015-03-03 Thread Roger Quadros
Robert, On 26/02/15 16:45, Robert ABEL wrote: These are the changes I proposed in three separate patchsets #([1], [2], [3]) rebased to 3.19 as well as new changes for little bugs I noticed while preparing this patchset. 1. DEBUG was undefined in source code -- remove offending lines 2. add

Re: [PATCH 00/10] initial clkdev cleanups

2015-03-03 Thread Andy Shevchenko
On Mon, 2015-03-02 at 13:50 -0800, Stephen Boyd wrote: On 03/02/15 09:05, Russell King - ARM Linux wrote: Here's some initial clkdev cleanups. These are targetted for the next merge window, and while the initial patches can be merged independently, I'd prefer to keep the series together as

Re: [PATCH 2/8] ARM OMAP2+ GPMC: add bus children

2015-03-03 Thread Roger Quadros
Hi Robert, On 27/02/15 17:08, Robert Abel wrote: Hi Roger, On Fri, Feb 27, 2015 at 11:24 AM, Roger Quadros rog...@ti.com wrote: + /* is child a common bus? */ + if (of_match_node(of_default_bus_match_table, child)) + /* create children and other common bus children */

Re: [PATCH 0/8] ARM OMAP2+ GPMC: fixes and bus children

2015-03-03 Thread Robert Abel
Hi Roger, On Tue, Mar 3, 2015 at 1:55 PM, Roger Quadros rog...@ti.com wrote: I'm OK with this version. Tony, after you ACK these I will queue them for v4.1. Please use v4 of my patches. The DTS output has been changed and the comments have their colon. Regards, Robert -- To unsubscribe from

Re: [PATCH 0/9] N900 Modem Speech Support

2015-03-03 Thread Pavel Machek
Hi! This patchset contains the missing speech data support for the Nokia N900 modem. Userland access goes via /dev/cmt_speech. The API is implemented in libcmtspeechdata, which is used by ofono and the freesmartphone.org project. Apart from that the device is also used by the phone

Re: am335x: USB DMA IRQ issue

2015-03-03 Thread Bin Liu
On Sat, Feb 28, 2015 at 3:57 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Sat, Feb 28, 2015 at 10:39:49PM +0100, Yegor Yefremov wrote: On Tue, Feb 24, 2015 at 5:36 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Thu, Feb 05, 2015 at 12:19:23PM +0100, Yegor Yefremov wrote: I have a problem

Re: [PATCH 01/10] media: omap3isp: remove unused clkdev

2015-03-03 Thread Sakari Ailus
Hi Laurent, On Tue, Mar 03, 2015 at 02:39:14AM +0200, Laurent Pinchart wrote: Hi Russell, On Monday 02 March 2015 23:54:35 Russell King - ARM Linux wrote: (Combining replies...) On Tue, Mar 03, 2015 at 12:53:37AM +0200, Sakari Ailus wrote: Hi Laurent and Russell, On Tue, Mar

Re: [PATCH 1/4] usb: phy: twl4030: make runtime pm more reliable.

2015-03-03 Thread NeilBrown
On Mon, 2 Mar 2015 22:03:59 +0100 Pavel Machek pa...@ucw.cz wrote: Hi! + status_changed = + (twl-linkstat == OMAP_MUSB_VBUS_VALID || +twl-linkstat == OMAP_MUSB_ID_GROUND) + != + (status ==

Re: [PATCH 08/15] twl4030_charger: distinguish between USB current and 'AC' current

2015-03-03 Thread NeilBrown
On Mon, 2 Mar 2015 22:05:10 +0100 Pavel Machek pa...@ucw.cz wrote: Hi! The twl4030 charger has two current sources, 'USB' and 'AC' (which is really DC of course...). If 'AC' is providing current, we should set the current limit differently to when it isn't (and so USB is used). So

Re: [PATCH 2/4] usb: phy: twl4030: allow charger to see usb current draw limits.

2015-03-03 Thread NeilBrown
On Mon, 2 Mar 2015 22:03:55 +0100 Pavel Machek pa...@ucw.cz wrote: On Tue 2015-02-24 14:40:37, NeilBrown wrote: The charger needs to know when a USB gadget has been enumerated and what the agreed maximum current was so that it can adjust charging accordingly. So define a set_power()

[PATCH 2/2] pinctrl: Introduce TI IOdelay configuration driver

2015-03-03 Thread Nishanth Menon
SoC family such as DRA7 family of processors have, in addition to the regular muxing of pins (as done by pinctrl-single), an additional hardware module called IODelay which is also expected to be configured. This IODelay module has it's own register space that is independent of the control module.

Re: [PATCH 07/15] twl4030_charger: allow fine control of charger current.

2015-03-03 Thread NeilBrown
On Mon, 2 Mar 2015 22:05:01 +0100 Pavel Machek pa...@ucw.cz wrote: Hi! + /* ichg values in uA. If any are 'large', we set CGAIN to +* '1' which doubles the range for half the precision. +*/ + int ichg_eoc, ichg_lo, ichg_hi, cur; We should really get

Re: [Gta04-owner] [PATCH 3/4] usb: phy: twl4030: add support for reading restore on ID pin.

2015-03-03 Thread Dr. H. Nikolaus Schaller
Am 04.03.2015 um 07:35 schrieb NeilBrown ne...@suse.de: On Mon, 2 Mar 2015 22:04:31 +0100 Pavel Machek pa...@ucw.cz wrote: Hi! The twl4030 phy can measure, with low precision, the resistance-to-ground of the ID pin. Add a function to read the value, and export the result via sysfs.

Re: [PATCH 4/4] usb: phy: twl4030: test ID resistance to see if charger is present.

2015-03-03 Thread NeilBrown
On Mon, 2 Mar 2015 22:04:44 +0100 Pavel Machek pa...@ucw.cz wrote: On Tue 2015-02-24 14:40:37, NeilBrown wrote: If an 'A' plug is inserted, ID should be pulled to ground. If a 'B' plug, then ID should be floating. If an Accessory Charger Adapter is inserted, then ID will be neither

Re: [PATCH 11/15] twl4030_charger: enable manual enable/disable of usb charging.

2015-03-03 Thread NeilBrown
On Mon, 2 Mar 2015 22:03:42 +0100 Pavel Machek pa...@ucw.cz wrote: On Tue 2015-02-24 15:33:52, NeilBrown wrote: 'off' or 'auto' to /sys/class/power/twl4030_usb/mode will now enable or disable charging from USB port. Normally this is enabled on 'plug' and disabled on 'unplug'.

Re: [PATCH 3/4] usb: phy: twl4030: add support for reading restore on ID pin.

2015-03-03 Thread NeilBrown
On Mon, 2 Mar 2015 22:04:31 +0100 Pavel Machek pa...@ucw.cz wrote: Hi! The twl4030 phy can measure, with low precision, the resistance-to-ground of the ID pin. Add a function to read the value, and export the result via sysfs. If the read fails, which it does sometimes, try

Re: [PATCH 01/10] media: omap3isp: remove unused clkdev

2015-03-03 Thread Sakari Ailus
Hi Russell, On Mon, Mar 02, 2015 at 11:54:35PM +, Russell King - ARM Linux wrote: (Combining replies...) On Tue, Mar 03, 2015 at 12:53:37AM +0200, Sakari Ailus wrote: Hi Laurent and Russell, On Tue, Mar 03, 2015 at 12:33:44AM +0200, Laurent Pinchart wrote: Sakari, does it

rmk's taking it easy for a while

2015-03-03 Thread Russell King - ARM Linux
For those who haven't read my post on google+, here's the news. Today, I had my impacted wisdom teeth out under a general anaesthetic. This means that I'm not going to be feeling right for a while, and I'm going to be taking things easy probably for the rest of this week. I'm on quite a high

[PATCH 0/2] pinctrl: Introduce support for iodelay module in TI SoCs

2015-03-03 Thread Nishanth Menon
Hi, SoCs such as DRA7 family from Texas Instruments also include a highly configurable hardware block called the IOdelay block. This block allows very specific custom fine tuning for electrical characteristics of IO pins that are necessary for functionality and device lifetime requirements.

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

2015-03-03 Thread Tony Lindgren
* NeilBrown ne...@suse.de [150223 18:47]: 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

[PATCH 1/2] pinctrl: bindings: pinctrl: Add support for TI's IODelay configuration

2015-03-03 Thread Nishanth Menon
SoCs such as DRA7 family from Texas Instruments also include a highly configurable hardware block called the IOdelay block. This block allows very specific custom fine tuning for electrical characteristics of IO pins. In addition to the regular pin muxing modes supported by the pinctrl-single,

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

2015-03-03 Thread NeilBrown
On Tue, 3 Mar 2015 14:53:55 -0800 Tony Lindgren t...@atomide.com wrote: * NeilBrown ne...@suse.de [150223 18:47]: 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

Re: [PATCH 0/6] mmc: omap_hsmmc: simplify cover/card detect logic

2015-03-03 Thread NeilBrown
On Tue, 3 Mar 2015 13:28:12 +0100 Andreas Fenkart afenk...@gmail.com wrote: These patches are trying to clean up the cover/card detect logic. Mobile phones (some) have no card detect pin, but can detect if the cover is removed. The purpose is the same; detect if card is being

Re: [PATCH 0/9] N900 Modem Speech Support

2015-03-03 Thread Pali Rohár
On Monday 02 March 2015 21:51:48 Sebastian Reichel wrote: Hi, On Mon, Mar 02, 2015 at 08:05:31PM +0100, Pali Rohár wrote: On Monday 02 March 2015 05:38:50 Sebastian Reichel wrote: This patchset contains the missing speech data support for the Nokia N900 modem. [...] Hello, do

Re: [PATCH 08/10] ARM: orion: use clkdev_create()

2015-03-03 Thread Thomas Petazzoni
Dear Russell King, On Mon, 02 Mar 2015 17:06:42 +, Russell King wrote: clkdev_create() is a shorter way to write clkdev_alloc() followed by clkdev_add(). Use this instead. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk --- arch/arm/plat-orion/common.c | 6 +- 1 file

Re: [PATCH 2/8] ARM OMAP2+ GPMC: add bus children

2015-03-03 Thread Robert Abel
Hi Roger, On Tue, Mar 3, 2015 at 11:09 AM, Roger Quadros rog...@ti.com wrote: If that is the case then I'd rather not check for return value of of_platform_populate(). Failure in populating GPMC child's children is already out of scope of GPMC driver. Well, I'd rather leave it in for now.

[PATCH] ASoC: omap-pcm: Allow only formats with 1, 2, and 4 byte physical size

2015-03-03 Thread Jyri Sarha
sDMA support only transfer elements with 1, 2, and 4 byte physical size. Initialize the pcm driver accordingly. Signed-off-by: Jyri Sarha jsa...@ti.com --- sound/soc/omap/omap-pcm.c | 21 - 1 file changed, 20 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] ASoC: omap-pcm: Allow only formats with 1, 2, and 4 byte physical size

2015-03-03 Thread Peter Ujfalusi
On 03/03/2015 01:28 PM, Jyri Sarha wrote: sDMA support only transfer elements with 1, 2, and 4 byte physical size. Initialize the pcm driver accordingly. Acked-by: Peter Ujfalusi peter.ujfal...@ti.com Signed-off-by: Jyri Sarha jsa...@ti.com --- sound/soc/omap/omap-pcm.c | 21

Re: [PATCH RFC 6/6] ARM: dts: am335x-boneblack: Use new binding for HDMI

2015-03-03 Thread Tomi Valkeinen
On 02/03/15 19:42, Russell King - ARM Linux wrote: On Mon, Mar 02, 2015 at 07:08:39PM +0200, Tomi Valkeinen wrote: On 02/03/15 18:06, Russell King - ARM Linux wrote: This is missing the output of tda998x. It should have two ports, input and output, output going to hdmi-connector. We don't

[PATCH] rtc: OMAP: Add external 32k clock feature

2015-03-03 Thread Keerthy
Add external 32k clock feature. The internal clock will be gated during suspend. Hence make use of the external 32k clock so that rtc is functional accross suspend/resume. Signed-off-by: Keerthy j-keer...@ti.com --- Tested on DRA7-EVM. drivers/rtc/rtc-omap.c | 15 ++- 1 file