Re: [PATCH 1/2] sdhci-of-arasan: Add quirk and device tree parameter to fake CD bit

2016-08-29 Thread Ulf Hansson
On 27 August 2016 at 00:29, Zach Brown wrote: > On Fri, Aug 26, 2016 at 09:42:38AM +0200, Ulf Hansson wrote: >> On 25 August 2016 at 22:46, Zach Brown wrote: >> > On Thu, Aug 25, 2016 at 07:28:55PM +0100, Mark Rutland wrote: >> >> On Thu, Aug 25, 2016 at 01:26:22PM -0500, Zach Brown wrote: >> >>

Re: [PATCH 1/2] sdhci-of-arasan: Add quirk and device tree parameter to fake CD bit

2016-08-26 Thread Zach Brown
On Fri, Aug 26, 2016 at 09:42:38AM +0200, Ulf Hansson wrote: > On 25 August 2016 at 22:46, Zach Brown wrote: > > On Thu, Aug 25, 2016 at 07:28:55PM +0100, Mark Rutland wrote: > >> On Thu, Aug 25, 2016 at 01:26:22PM -0500, Zach Brown wrote: > >> > On Thu, Aug 25, 2016 at 07:10:00PM +0100, Mark Rutl

Re: [PATCH 1/2] sdhci-of-arasan: Add quirk and device tree parameter to fake CD bit

2016-08-26 Thread Ulf Hansson
On 25 August 2016 at 22:46, Zach Brown wrote: > On Thu, Aug 25, 2016 at 07:28:55PM +0100, Mark Rutland wrote: >> On Thu, Aug 25, 2016 at 01:26:22PM -0500, Zach Brown wrote: >> > On Thu, Aug 25, 2016 at 07:10:00PM +0100, Mark Rutland wrote: >> > > On Thu, Aug 25, 2016 at 12:15:44PM -0500, Zach Brow

Re: [PATCH 1/2] sdhci-of-arasan: Add quirk and device tree parameter to fake CD bit

2016-08-25 Thread Sören Brinkmann
On Thu, 2016-08-25 at 17:23:47 +0200, Lars-Peter Clausen wrote: > On 08/25/2016 05:10 PM, Sören Brinkmann wrote: > > On Wed, 2016-08-24 at 18:23:03 -0500, Zach Brown wrote: > >> The sdhci controller on xilinx zynq devices will not function unless > >> the cd bit is provided. http://www.xilinx.com/s

Re: [PATCH 1/2] sdhci-of-arasan: Add quirk and device tree parameter to fake CD bit

2016-08-25 Thread Zach Brown
On Thu, Aug 25, 2016 at 07:28:55PM +0100, Mark Rutland wrote: > On Thu, Aug 25, 2016 at 01:26:22PM -0500, Zach Brown wrote: > > On Thu, Aug 25, 2016 at 07:10:00PM +0100, Mark Rutland wrote: > > > On Thu, Aug 25, 2016 at 12:15:44PM -0500, Zach Brown wrote: > > > > In cases where the card is non-remo

Re: [PATCH 1/2] sdhci-of-arasan: Add quirk and device tree parameter to fake CD bit

2016-08-25 Thread Zach Brown
On Thu, Aug 25, 2016 at 07:10:00PM +0100, Mark Rutland wrote: > On Thu, Aug 25, 2016 at 12:15:44PM -0500, Zach Brown wrote: > > On Thu, Aug 25, 2016 at 11:56:55AM +0100, Mark Rutland wrote: > > > On Wed, Aug 24, 2016 at 06:23:03PM -0500, Zach Brown wrote: > > > > +- fake-cd: On Zynq Devices the SDH

Re: [PATCH 1/2] sdhci-of-arasan: Add quirk and device tree parameter to fake CD bit

2016-08-25 Thread Mark Rutland
On Thu, Aug 25, 2016 at 01:26:22PM -0500, Zach Brown wrote: > On Thu, Aug 25, 2016 at 07:10:00PM +0100, Mark Rutland wrote: > > On Thu, Aug 25, 2016 at 12:15:44PM -0500, Zach Brown wrote: > > > In cases where the card is non-removable then polling doesn't make sense. > > > > We have the non-remova

Re: [PATCH 1/2] sdhci-of-arasan: Add quirk and device tree parameter to fake CD bit

2016-08-25 Thread Mark Rutland
On Thu, Aug 25, 2016 at 12:15:44PM -0500, Zach Brown wrote: > On Thu, Aug 25, 2016 at 11:56:55AM +0100, Mark Rutland wrote: > > On Wed, Aug 24, 2016 at 06:23:03PM -0500, Zach Brown wrote: > > > +- fake-cd: On Zynq Devices the SDHCI Controller will not work without > > > the cd > > > + bit. When t

Re: [PATCH 1/2] sdhci-of-arasan: Add quirk and device tree parameter to fake CD bit

2016-08-25 Thread Sören Brinkmann
On Wed, 2016-08-24 at 18:23:03 -0500, Zach Brown wrote: > The sdhci controller on xilinx zynq devices will not function unless > the cd bit is provided. http://www.xilinx.com/support/answers/61064.html > In cases where it is impossible to provide the cd bit in hardware, > setting the controller to

Re: [PATCH 1/2] sdhci-of-arasan: Add quirk and device tree parameter to fake CD bit

2016-08-25 Thread Zach Brown
On Thu, Aug 25, 2016 at 11:56:55AM +0100, Mark Rutland wrote: > On Wed, Aug 24, 2016 at 06:23:03PM -0500, Zach Brown wrote: > > The sdhci controller on xilinx zynq devices will not function unless > > the cd bit is provided. http://www.xilinx.com/support/answers/61064.html > > In cases where it is

Re: [PATCH 1/2] sdhci-of-arasan: Add quirk and device tree parameter to fake CD bit

2016-08-25 Thread Lars-Peter Clausen
On 08/25/2016 05:10 PM, Sören Brinkmann wrote: > On Wed, 2016-08-24 at 18:23:03 -0500, Zach Brown wrote: >> The sdhci controller on xilinx zynq devices will not function unless >> the cd bit is provided. http://www.xilinx.com/support/answers/61064.html >> In cases where it is impossible to provide

Re: [PATCH 1/2] sdhci-of-arasan: Add quirk and device tree parameter to fake CD bit

2016-08-25 Thread Lars-Peter Clausen
On 08/25/2016 05:29 PM, Sören Brinkmann wrote: > On Thu, 2016-08-25 at 17:23:47 +0200, Lars-Peter Clausen wrote: >> On 08/25/2016 05:10 PM, Sören Brinkmann wrote: >>> On Wed, 2016-08-24 at 18:23:03 -0500, Zach Brown wrote: The sdhci controller on xilinx zynq devices will not function unless >>

Re: [PATCH 1/2] sdhci-of-arasan: Add quirk and device tree parameter to fake CD bit

2016-08-25 Thread Mark Rutland
On Wed, Aug 24, 2016 at 06:23:03PM -0500, Zach Brown wrote: > The sdhci controller on xilinx zynq devices will not function unless > the cd bit is provided. http://www.xilinx.com/support/answers/61064.html > In cases where it is impossible to provide the cd bit in hardware, > setting the controller

[PATCH 1/2] sdhci-of-arasan: Add quirk and device tree parameter to fake CD bit

2016-08-24 Thread Zach Brown
The sdhci controller on xilinx zynq devices will not function unless the cd bit is provided. http://www.xilinx.com/support/answers/61064.html In cases where it is impossible to provide the cd bit in hardware, setting the controller to test mode and then setting inserted to true will get the control