Re: [PATCH v3] sdhci: Advertise 2.0v supply on SDIO host interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2018-01-10 at 21:06 +0100, Ulf Hansson wrote:
> On 10 January 2018 at 19:04, Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> > On Wed, 2018-01-10 at 18:01 +0100, Ulf Hansson wrote:
> > > On 10 January 2018 at 16:32, Andy Shevchenko
> > > <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:

> > > Why not instead extend the range in sdhci_set_power_noreg() to
> > > also
> > > check for MMC_VDD_20_21?
> > > 
> > > Or is there a problem with that?
> > 
> > Do we have any grounds to do this in generic code?
> > 
> > Moreover, if we check for 2.0v what should we do in generic code?
> > For my understanding
> > 
> > case _20_21:
> >  pwr = _180;
> 
> Yeah, why is that a problem?

For me there is none. I assume that there might be hardware which we do
not possess and which would be broken by this change.

If you think this is okay, the resulting patch can be just two liner:

1) add custom ocr_mask in sdhci-pci-core;
2) add additional case in sdhci generic code.

> You should never reach this point, unless the host announce support
> via the ocr mask, for the _20_21 VDD.
> 
> What does other variants do in this regards?

I'm not sure I understand what "variants" you meant. Hardware? Host
controllers? Cards?

-- 
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux