linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: mach-shmobile: add SDHI2 to the 2.8V fixed regulator consumers on kzm9g
@ 2012-06-30 23:12 Guennadi Liakhovetski
  0 siblings, 0 replies; 2+ messages in thread
From: Guennadi Liakhovetski @ 2012-06-30 23:12 UTC (permalink / raw)
  To: linux-sh

The recently added SDHI2 interface to kzm9g needs power supplies for the
upcoming transition away from OCR masks, provided in platform data.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
---

Rafael, please, take this one too for 3.6. SDHI2 has just been added, so, 
we need a power regulator for it as well.

 arch/arm/mach-shmobile/board-kzm9g.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-shmobile/board-kzm9g.c b/arch/arm/mach-shmobile/board-kzm9g.c
index e72ff8d..53b7ea9 100644
--- a/arch/arm/mach-shmobile/board-kzm9g.c
+++ b/arch/arm/mach-shmobile/board-kzm9g.c
@@ -373,11 +373,13 @@ static struct platform_device mmc_device = {
 	.resource	= sh_mmcif_resources,
 };
 
-/* Fixed 2.8V regulators to be used by SDHI0 */
+/* Fixed 2.8V regulators to be used by SDHI0 and SDHI2 */
 static struct regulator_consumer_supply fixed2v8_power_consumers[]  {
 	REGULATOR_SUPPLY("vmmc", "sh_mobile_sdhi.0"),
 	REGULATOR_SUPPLY("vqmmc", "sh_mobile_sdhi.0"),
+	REGULATOR_SUPPLY("vmmc", "sh_mobile_sdhi.2"),
+	REGULATOR_SUPPLY("vqmmc", "sh_mobile_sdhi.2"),
 };
 
 /* SDHI */
-- 
1.7.2.5


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ARM: mach-shmobile: add SDHI2 to the 2.8V fixed regulator consumers on kzm9g
@ 2012-07-02 21:59 Rafael J. Wysocki
  0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2012-07-02 21:59 UTC (permalink / raw)
  To: linux-sh

On Sunday, July 01, 2012, Guennadi Liakhovetski wrote:
> The recently added SDHI2 interface to kzm9g needs power supplies for the
> upcoming transition away from OCR masks, provided in platform data.
> 
> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
> ---
> 
> Rafael, please, take this one too for 3.6. SDHI2 has just been added, so, 
> we need a power regulator for it as well.

Applied to the kzm9g branch of the renesas.git tree.

Thanks,
Rafael


>  arch/arm/mach-shmobile/board-kzm9g.c |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/mach-shmobile/board-kzm9g.c b/arch/arm/mach-shmobile/board-kzm9g.c
> index e72ff8d..53b7ea9 100644
> --- a/arch/arm/mach-shmobile/board-kzm9g.c
> +++ b/arch/arm/mach-shmobile/board-kzm9g.c
> @@ -373,11 +373,13 @@ static struct platform_device mmc_device = {
>  	.resource	= sh_mmcif_resources,
>  };
>  
> -/* Fixed 2.8V regulators to be used by SDHI0 */
> +/* Fixed 2.8V regulators to be used by SDHI0 and SDHI2 */
>  static struct regulator_consumer_supply fixed2v8_power_consumers[] >  {
>  	REGULATOR_SUPPLY("vmmc", "sh_mobile_sdhi.0"),
>  	REGULATOR_SUPPLY("vqmmc", "sh_mobile_sdhi.0"),
> +	REGULATOR_SUPPLY("vmmc", "sh_mobile_sdhi.2"),
> +	REGULATOR_SUPPLY("vqmmc", "sh_mobile_sdhi.2"),
>  };
>  
>  /* SDHI */
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-07-02 21:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-30 23:12 [PATCH] ARM: mach-shmobile: add SDHI2 to the 2.8V fixed regulator consumers on kzm9g Guennadi Liakhovetski
  -- strict thread matches above, loose matches on Subject: below --
2012-07-02 21:59 Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).