public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: clearfog: fix sdhci supply property name
@ 2018-08-21 19:12 Baruch Siach
  2018-09-21 13:42 ` Gregory CLEMENT
  0 siblings, 1 reply; 4+ messages in thread
From: Baruch Siach @ 2018-08-21 19:12 UTC (permalink / raw)
  To: linux-arm-kernel

The vmmc phandle, like all power supply property names, must have the
'-supply' suffix.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
 arch/arm/boot/dts/armada-388-clearfog.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/armada-388-clearfog.dtsi b/arch/arm/boot/dts/armada-388-clearfog.dtsi
index 7c6ad2afb094..1b0d0680c8b6 100644
--- a/arch/arm/boot/dts/armada-388-clearfog.dtsi
+++ b/arch/arm/boot/dts/armada-388-clearfog.dtsi
@@ -48,7 +48,7 @@
 					     &clearfog_sdhci_cd_pins>;
 				pinctrl-names = "default";
 				status = "okay";
-				vmmc = <&reg_3p3v>;
+				vmmc-supply = <&reg_3p3v>;
 				wp-inverted;
 			};
 
-- 
2.18.0

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

* [PATCH] ARM: dts: clearfog: fix sdhci supply property name
  2018-08-21 19:12 [PATCH] ARM: dts: clearfog: fix sdhci supply property name Baruch Siach
@ 2018-09-21 13:42 ` Gregory CLEMENT
  2018-09-21 13:51   ` Russell King - ARM Linux
  0 siblings, 1 reply; 4+ messages in thread
From: Gregory CLEMENT @ 2018-09-21 13:42 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Baruch,
 
 On mar., ao?t 21 2018, Baruch Siach <baruch@tkos.co.il> wrote:

> The vmmc phandle, like all power supply property names, must have the
> '-supply' suffix.
>

I also noticed it a few months ago and then I forgot. However, does it
add any value to have this regulator?

Now that I found my note, I considered to just remove this line as well
as the regulator node.

What do you think ?

Gregory

> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
>  arch/arm/boot/dts/armada-388-clearfog.dtsi | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/boot/dts/armada-388-clearfog.dtsi b/arch/arm/boot/dts/armada-388-clearfog.dtsi
> index 7c6ad2afb094..1b0d0680c8b6 100644
> --- a/arch/arm/boot/dts/armada-388-clearfog.dtsi
> +++ b/arch/arm/boot/dts/armada-388-clearfog.dtsi
> @@ -48,7 +48,7 @@
>  					     &clearfog_sdhci_cd_pins>;
>  				pinctrl-names = "default";
>  				status = "okay";
> -				vmmc = <&reg_3p3v>;
> +				vmmc-supply = <&reg_3p3v>;
>  				wp-inverted;
>  			};
>  
> -- 
> 2.18.0
>
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

-- 
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com

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

* [PATCH] ARM: dts: clearfog: fix sdhci supply property name
  2018-09-21 13:42 ` Gregory CLEMENT
@ 2018-09-21 13:51   ` Russell King - ARM Linux
  2018-09-21 14:05     ` Gregory CLEMENT
  0 siblings, 1 reply; 4+ messages in thread
From: Russell King - ARM Linux @ 2018-09-21 13:51 UTC (permalink / raw)
  To: linux-arm-kernel

On Fri, Sep 21, 2018 at 03:42:09PM +0200, Gregory CLEMENT wrote:
> Hi Baruch,
>  
>  On mar., ao?t 21 2018, Baruch Siach <baruch@tkos.co.il> wrote:
> 
> > The vmmc phandle, like all power supply property names, must have the
> > '-supply' suffix.
> >
> 
> I also noticed it a few months ago and then I forgot. However, does it
> add any value to have this regulator?
> 
> Now that I found my note, I considered to just remove this line as well
> as the regulator node.

The "value" is it's a fuller description of the hardware, and DT is a
hardware description, not a description of what the software requires.
So, imho, it's completely correct to specify the vmmc.  As maintainer
for the Clearfog DT, I'd like it to stay (and be fixed).  Thanks.

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line in suburbia: sync at 13.8Mbps down 630kbps up
According to speedtest.net: 13Mbps down 490kbps up

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

* [PATCH] ARM: dts: clearfog: fix sdhci supply property name
  2018-09-21 13:51   ` Russell King - ARM Linux
@ 2018-09-21 14:05     ` Gregory CLEMENT
  0 siblings, 0 replies; 4+ messages in thread
From: Gregory CLEMENT @ 2018-09-21 14:05 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Russell King,
 
 On ven., sept. 21 2018, Russell King - ARM Linux <linux@armlinux.org.uk> wrote:

> On Fri, Sep 21, 2018 at 03:42:09PM +0200, Gregory CLEMENT wrote:
>> Hi Baruch,
>>  
>>  On mar., ao?t 21 2018, Baruch Siach <baruch@tkos.co.il> wrote:
>> 
>> > The vmmc phandle, like all power supply property names, must have the
>> > '-supply' suffix.
>> >
>> 
>> I also noticed it a few months ago and then I forgot. However, does it
>> add any value to have this regulator?
>> 
>> Now that I found my note, I considered to just remove this line as well
>> as the regulator node.
>
> The "value" is it's a fuller description of the hardware, and DT is a
> hardware description, not a description of what the software requires.
> So, imho, it's completely correct to specify the vmmc.  As maintainer
> for the Clearfog DT, I'd like it to stay (and be fixed).  Thanks.

OK so: applied on mvebu/dt

Thanks,

Gregory
>
> -- 
> RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
> FTTC broadband for 0.8mile line in suburbia: sync at 13.8Mbps down 630kbps up
> According to speedtest.net: 13Mbps down 490kbps up

-- 
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com

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

end of thread, other threads:[~2018-09-21 14:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-21 19:12 [PATCH] ARM: dts: clearfog: fix sdhci supply property name Baruch Siach
2018-09-21 13:42 ` Gregory CLEMENT
2018-09-21 13:51   ` Russell King - ARM Linux
2018-09-21 14:05     ` Gregory CLEMENT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox