Re: [PATCH] dma: edma: add device_slave_caps() support

2013-07-24 Thread Fernandes, Joel
Sent from my iPhone On Jul 24, 2013, at 2:15 PM, "Lars-Peter Clausen" wrote: > On 07/24/2013 08:55 PM, Joel Fernandes wrote: >> On 07/24/2013 03:40 AM, Lars-Peter Clausen wrote: >>> On 07/24/2013 10:28 AM, Fernandes, Joel wrote: On Jul 24, 2013, at 3:23 AM, "Lars-Peter Clausen" wro

[PATCH 2/2 V2] mmc: esdhc: get voltage from dts file

2013-07-24 Thread Haijun Zhang
Add voltage-range support in esdhc of T4, So we can choose to read voltages from dts file as one optional. If we can get a valid voltage-range from device node, we use this voltage as the final voltage support. Else we still read from capacity or from other provider. Signed-off-by: Haijun Zhang S

Re: [PATCH] dma: edma: add device_slave_caps() support

2013-07-24 Thread Joel Fernandes
On 07/24/2013 01:33 PM, Vinod Koul wrote: > On Wed, Jul 24, 2013 at 01:55:24PM -0500, Joel Fernandes wrote: >> On 07/24/2013 03:40 AM, Lars-Peter Clausen wrote: >>> On 07/24/2013 10:28 AM, Fernandes, Joel wrote: Vinod, or Dan- If this patch looks ok, can you please merge in for -r

Re: [PATCH] dma: edma: add device_slave_caps() support

2013-07-24 Thread Lars-Peter Clausen
On 07/24/2013 08:55 PM, Joel Fernandes wrote: On 07/24/2013 03:40 AM, Lars-Peter Clausen wrote: On 07/24/2013 10:28 AM, Fernandes, Joel wrote: On Jul 24, 2013, at 3:23 AM, "Lars-Peter Clausen" wrote: On 07/24/2013 10:11 AM, Joel Fernandes wrote: On 07/24/2013 03:03 AM, Lars-Peter Clausen w

Re: [PATCH] dma: edma: add device_slave_caps() support

2013-07-24 Thread Vinod Koul
On Wed, Jul 24, 2013 at 01:55:24PM -0500, Joel Fernandes wrote: > On 07/24/2013 03:40 AM, Lars-Peter Clausen wrote: > > On 07/24/2013 10:28 AM, Fernandes, Joel wrote: > >> Vinod, or Dan- If this patch looks ok, can you please merge in for > >> -rc cycle? This patch is required to fix MMC su

Re: [PATCH] dma: edma: add device_slave_caps() support

2013-07-24 Thread Joel Fernandes
On 07/24/2013 03:40 AM, Lars-Peter Clausen wrote: > On 07/24/2013 10:28 AM, Fernandes, Joel wrote: >> >> On Jul 24, 2013, at 3:23 AM, "Lars-Peter Clausen" wrote: >> >>> On 07/24/2013 10:11 AM, Joel Fernandes wrote: On 07/24/2013 03:03 AM, Lars-Peter Clausen wrote: > On 07/23/2013 06:43 PM

[PATCH] mmc: fix null pointer use in mmc_blk_remove_req

2013-07-24 Thread franck . jullien
From: Franck Jullien A previous commit (fdfa20c1631210d0) reordered the shutdown sequence in mmc_blk_remove_req. However, mmc_cleanup_queue is now called before we get the card pointer and, sadly, mmc_cleanup_queue set mq->card to NULL. This patch moves the card pointer assignment before mmc_cle

Question about SD/MMC card sharing the same host bus

2013-07-24 Thread Franck Jullien
Hi, I'd like to know if the current Kernel provides support for card wired on the same host bus, sharing all signals. >From what I've read so far, "the Host sends the ALL_SEND_CID command; this causes all cards on the bus to start sending their unique ID, while monitoring the bus traffic.". Then,

[RFC 2/2] mmc: host: allow setting index via devicetree

2013-07-24 Thread Steffen Trumtrar
As with gpio, uart and others, allow specifying the host index via the aliases-node in the devicetree. On embedded devices, there is often a combination of removable (e.g. SD card) and non-removable mmc devices (e.g. eMMC). Therefore the mmcblk name_idx might change depending on - host of

[RFC 1/2] mmc: block: allow setting name_idx via devicetree

2013-07-24 Thread Steffen Trumtrar
As with gpio, uart and others, allow specifying the name_idx via the aliases-node in the devicetree. On embedded devices, there is often a combination of removable (e.g. SD card) and non-removable mmc devices (e.g. eMMC). Therefore the name_idx might change depending on - host of removable

[RFC 0/2] Set mmc(blk)X with DT alias

2013-07-24 Thread Steffen Trumtrar
Hi! Embedded devices often use multiple SD/MMC devices as boot/rootfs disks. Some of them are removable, some not. If the removable cards are not present, but are probed before the non-removable ones, the indexing scheme changes. This makes it harder to hard-code the rootfs in the cmdline. First

Re: [PATCH] dma: edma: add device_slave_caps() support

2013-07-24 Thread Lars-Peter Clausen
On 07/24/2013 10:28 AM, Fernandes, Joel wrote: > > On Jul 24, 2013, at 3:23 AM, "Lars-Peter Clausen" wrote: > >> On 07/24/2013 10:11 AM, Joel Fernandes wrote: >>> On 07/24/2013 03:03 AM, Lars-Peter Clausen wrote: On 07/23/2013 06:43 PM, Joel Fernandes wrote: > Implement device_slave_cap

Re: [PATCH] dma: edma: add device_slave_caps() support

2013-07-24 Thread Fernandes, Joel
On Jul 24, 2013, at 3:23 AM, "Lars-Peter Clausen" wrote: > On 07/24/2013 10:11 AM, Joel Fernandes wrote: >> On 07/24/2013 03:03 AM, Lars-Peter Clausen wrote: >>> On 07/23/2013 06:43 PM, Joel Fernandes wrote: Implement device_slave_caps(). EDMA has a limited number of slots. Slave drive

Re: [PATCH] dma: edma: add device_slave_caps() support

2013-07-24 Thread Lars-Peter Clausen
On 07/24/2013 10:11 AM, Joel Fernandes wrote: > On 07/24/2013 03:03 AM, Lars-Peter Clausen wrote: >> On 07/23/2013 06:43 PM, Joel Fernandes wrote: >>> Implement device_slave_caps(). EDMA has a limited number of slots. >>> Slave drivers such as omap_hsmmc will query the driver to make >>> sure they

Re: [PATCH] dma: edma: add device_slave_caps() support

2013-07-24 Thread Lars-Peter Clausen
On 07/23/2013 06:43 PM, Joel Fernandes wrote: > Implement device_slave_caps(). EDMA has a limited number of slots. > Slave drivers such as omap_hsmmc will query the driver to make > sure they don't pass in more than these many scatter segments. > > Signed-off-by: Joel Fernandes > --- > Vinod, or

Re: [PATCH] dma: edma: add device_slave_caps() support

2013-07-24 Thread Joel Fernandes
On 07/24/2013 03:03 AM, Lars-Peter Clausen wrote: > On 07/23/2013 06:43 PM, Joel Fernandes wrote: >> Implement device_slave_caps(). EDMA has a limited number of slots. >> Slave drivers such as omap_hsmmc will query the driver to make >> sure they don't pass in more than these many scatter segments.