All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adrian Hunter <adrian.hunter-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
To: Jon Hunter <jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	Thierry Reding
	<thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Lucas Stach <dev-8ppwABl0HbeELgA04lAiVw@public.gmane.org>,
	Ulf Hansson <ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
	Alexandre Courbot
	<gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH] ARM: tegra: beaver: allow SD card voltage to be changed
Date: Tue, 28 Jun 2016 16:27:29 +0300	[thread overview]
Message-ID: <57727B41.1080506@intel.com> (raw)
In-Reply-To: <576CF9F3.7090406-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

On 24/06/16 12:14, Jon Hunter wrote:
> Hi Adrian,
> 
> On 14/06/16 15:19, Jon Hunter wrote:
> 
> ...
> 
>>>> So the controller itself supports UHS-I modes, but a given board may not
>>>> have the regulator to support them. We need a way to determine if the
>>>> board can support the UHS-I modes. Now we could check to see if the
>>>> regulator is present in the Tegra SDHCI driver and if not remove the cap
>>>> flags. However, I was not sure if this is applicable to other sdhci
>>>> controllers and so there should be a generic solution for this?
>>>
>>> There is SDHCI_QUIRK2_NO_1_8_V but it doesn't cover the eMMC 1.8V DDR52 case
>>> at present.  Dong Aisheng wanted to plug that gap but I wanted to get rid of
>>> SDHCI_QUIRK2_NO_1_8_V:
>>>
>>> 	http://marc.info/?l=linux-mmc&m=146132847206423&w=2
>>
>> Ok, that would require the tegra sdhci driver to set this quirk for a
>> board, which is do-able, I guess. However, given the above I am not sure
>> what path you are suggesting we take to resolve this? Does not sound
>> like we should be looking at using SDHCI_QUIRK2_NO_1_8_V anyway.
> 
> Any feedback here? Are you still planning to get rid of
> SDHCI_QUIRK2_NO_1_8_V or should we use this?

Don't use SDHCI_QUIRK2_NO_1_8_V.

I sent some patches that make it easier for drivers to do whatever they want:

	http://marc.info/?l=linux-mmc&m=146712062816835

	

WARNING: multiple messages have this Message-ID (diff)
From: adrian.hunter@intel.com (Adrian Hunter)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: tegra: beaver: allow SD card voltage to be changed
Date: Tue, 28 Jun 2016 16:27:29 +0300	[thread overview]
Message-ID: <57727B41.1080506@intel.com> (raw)
In-Reply-To: <576CF9F3.7090406@nvidia.com>

On 24/06/16 12:14, Jon Hunter wrote:
> Hi Adrian,
> 
> On 14/06/16 15:19, Jon Hunter wrote:
> 
> ...
> 
>>>> So the controller itself supports UHS-I modes, but a given board may not
>>>> have the regulator to support them. We need a way to determine if the
>>>> board can support the UHS-I modes. Now we could check to see if the
>>>> regulator is present in the Tegra SDHCI driver and if not remove the cap
>>>> flags. However, I was not sure if this is applicable to other sdhci
>>>> controllers and so there should be a generic solution for this?
>>>
>>> There is SDHCI_QUIRK2_NO_1_8_V but it doesn't cover the eMMC 1.8V DDR52 case
>>> at present.  Dong Aisheng wanted to plug that gap but I wanted to get rid of
>>> SDHCI_QUIRK2_NO_1_8_V:
>>>
>>> 	http://marc.info/?l=linux-mmc&m=146132847206423&w=2
>>
>> Ok, that would require the tegra sdhci driver to set this quirk for a
>> board, which is do-able, I guess. However, given the above I am not sure
>> what path you are suggesting we take to resolve this? Does not sound
>> like we should be looking at using SDHCI_QUIRK2_NO_1_8_V anyway.
> 
> Any feedback here? Are you still planning to get rid of
> SDHCI_QUIRK2_NO_1_8_V or should we use this?

Don't use SDHCI_QUIRK2_NO_1_8_V.

I sent some patches that make it easier for drivers to do whatever they want:

	http://marc.info/?l=linux-mmc&m=146712062816835

	

  parent reply	other threads:[~2016-06-28 13:27 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-29 21:01 [PATCH] ARM: tegra: beaver: allow SD card voltage to be changed Lucas Stach
2016-02-29 21:01 ` Lucas Stach
     [not found] ` <1456779678-20173-1-git-send-email-dev-8ppwABl0HbeELgA04lAiVw@public.gmane.org>
2016-05-13  7:25   ` Lucas Stach
2016-05-13  7:25     ` Lucas Stach
     [not found]     ` <1463124331.2459.0.camel-8ppwABl0HbeELgA04lAiVw@public.gmane.org>
2016-05-13 17:27       ` Thierry Reding
2016-05-13 17:27         ` Thierry Reding
     [not found]         ` <20160513172704.GA498-EkSeR96xj6Pcmrwk2tT4+A@public.gmane.org>
2016-05-13 19:08           ` Lucas Stach
2016-05-13 19:08             ` Lucas Stach
2016-05-19 14:29           ` Jon Hunter
2016-05-19 14:29             ` Jon Hunter
     [not found]             ` <573DCDB3.80202-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-06-13 10:22               ` Jon Hunter
2016-06-13 10:22                 ` Jon Hunter
     [not found]                 ` <575E897A.5080508-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-06-14  6:20                   ` Adrian Hunter
2016-06-14  6:20                     ` Adrian Hunter
     [not found]                     ` <575FA21E.80309-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-06-14  8:23                       ` Jon Hunter
2016-06-14  8:23                         ` Jon Hunter
     [not found]                         ` <575FBEE5.50905-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-06-14 10:05                           ` Adrian Hunter
2016-06-14 10:05                             ` Adrian Hunter
     [not found]                             ` <575FD6E0.7070201-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-06-14 14:19                               ` Jon Hunter
2016-06-14 14:19                                 ` Jon Hunter
     [not found]                                 ` <5760125A.8030102-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-06-24  9:14                                   ` Jon Hunter
2016-06-24  9:14                                     ` Jon Hunter
     [not found]                                     ` <576CF9F3.7090406-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-06-28 13:27                                       ` Adrian Hunter [this message]
2016-06-28 13:27                                         ` Adrian Hunter
2016-05-19 14:31   ` Jon Hunter
2016-05-19 14:31     ` Jon Hunter
     [not found]     ` <573DCE43.70906-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2016-05-19 16:12       ` Stephen Warren
2016-05-19 16:12         ` Stephen Warren
  -- strict thread matches above, loose matches on Subject: below --
2016-06-30 15:32 [PATCH] ARM: tegra: beaver: Allow " Thierry Reding
     [not found] ` <20160630153208.22761-1-thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-07-07  5:22   ` Olof Johansson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57727B41.1080506@intel.com \
    --to=adrian.hunter-ral2jqcrhueavxtiumwx3w@public.gmane.org \
    --cc=dev-8ppwABl0HbeELgA04lAiVw@public.gmane.org \
    --cc=gnurou-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=jonathanh-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
    --cc=thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=ulf.hansson-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.