devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Russell King - ARM Linux <linux-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org>
To: Fabio Estevam <fabio.estevam-3arQi8VN3Tc@public.gmane.org>,
	Sascha Hauer <kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>,
	Shawn Guo <shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Jon Nettleton <jon-UBr1pzP51AyaMJb+Lgu22Q@public.gmane.org>
Cc: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: Re: [PATCH 4/4] ARM: dts: imx6*-hummingboard2: convert to more conventional vmmc-supply
Date: Sun, 8 Jan 2017 15:06:37 +0000	[thread overview]
Message-ID: <20170108150636.GT14217@n2100.armlinux.org.uk> (raw)
In-Reply-To: <E1cQF0I-0003NN-S7-eh5Bv4kxaXIk46pC+1QYvQNdhmdF6hFW@public.gmane.org>

Damn it, missed the RFC annotation on these patches (very easy to do)
and this one doesn't have a description yet because it needs discussion
with Jon and testing.

On Sun, Jan 08, 2017 at 03:03:26PM +0000, Russell King wrote:
> Signed-off-by: Russell King <rmk+kernel-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>
> ---
>  arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi | 26 +++++++++++++++++++-------
>  1 file changed, 19 insertions(+), 7 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
> index 88833d757f7b..66098a5fdd8d 100644
> --- a/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
> +++ b/arch/arm/boot/dts/imx6qdl-hummingboard2.dtsi
> @@ -75,6 +75,18 @@
>  			regulator-always-on;
>  		};
>  
> +		reg_usdhc2_vmmc: reg-usdhc2-vmmc {
> +			compatible = "regulator-fixed";
> +			gpio = <&gpio4 30 GPIO_ACTIVE_HIGH>;
> +			pinctrl-names = "default";
> +			pinctrl-0 = <&pinctrl_hummingboard2_vmmc>;
> +			regulator-boot-on;
> +			regulator-max-microvolt = <3300000>;
> +			regulator-min-microvolt = <3300000>;
> +			regulator-name = "usdhc2_vmmc";
> +			startup-delay-us = <1000>;
> +		};
> +
>  		reg_usbh1_vbus: usb-h1-vbus {
>  			compatible = "regulator-fixed";
>  			enable-active-high;
> @@ -122,11 +134,6 @@
>  		};
>  	};
>  
> -	usdhc2_pwrseq: usdhc2_pwrseq {
> -		compatible = "mmc-pwrseq-simple";
> -		reset-gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>;
> -	};
> -
>  	sound-sgtl5000 {
>  		audio-codec = <&sgtl5000>;
>  		audio-routing =
> @@ -388,7 +395,6 @@
>  
>  		pinctrl_hummingboard2_usdhc2_aux: hummingboard2-usdhc2-aux {
>  			fsl,pins = <
> -				MX6QDL_PAD_GPIO_4__GPIO1_IO04    0x1f071
>  				MX6QDL_PAD_KEY_ROW1__SD2_VSELECT 0x1b071
>  				MX6QDL_PAD_DISP0_DAT9__GPIO4_IO30 0x1b0b0
>  			>;
> @@ -427,6 +433,12 @@
>  			>;
>  		};
>  
> +		pinctrl_hummingboard2_vmmc: hummingboard2-vmmc {
> +			fsl,pins = <
> +				MX6QDL_PAD_GPIO_4__GPIO1_IO04    0x1f071
> +			>;
> +		};
> +
>  		pinctrl_hummingboard2_usdhc3: hummingboard2-usdhc3 {
>  			fsl,pins = <
>  				MX6QDL_PAD_SD3_CMD__SD3_CMD    0x17059
> @@ -526,7 +538,7 @@
>  		&pinctrl_hummingboard2_usdhc2_aux
>  		&pinctrl_hummingboard2_usdhc2_200mhz
>  	>;
> -	mmc-pwrseq = <&usdhc2_pwrseq>;
> +	vmmc-supply = <&reg_usdhc2_vmmc>;
>  	cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
>  	status = "okay";
>  };
> -- 
> 2.7.4
> 
> 
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

-- 
RMK's Patch system: http://www.armlinux.org.uk/developer/patches/
FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
according to speedtest.net.
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2017-01-08 15:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-08 15:02 [PATCH RFC 0/4] SolidRun Hummingboard 2 support Russell King - ARM Linux
     [not found] ` <20170108150201.GS14217-l+eeeJia6m9URfEZ8mYm6t73F7V6hmMc@public.gmane.org>
2017-01-08 15:03   ` [PATCH 1/4] ARM: dts: imx6qdl: add HummingBoard2 boards Russell King
     [not found]     ` <E1cQF03-0003N1-HY-eh5Bv4kxaXIk46pC+1QYvQNdhmdF6hFW@public.gmane.org>
2017-01-08 15:07       ` Fabio Estevam
     [not found]         ` <CAOMZO5AcyweJ8xgGyGKD4CVPiuxaEE+JKs=ASNUU5BcL+3fASQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-01-08 15:20           ` Russell King - ARM Linux
2017-01-08 15:49             ` Jon Nettleton
2017-01-10  7:31       ` Shawn Guo
2017-01-08 15:03   ` [PATCH 2/4] ARM: dts: imx6*-hummingboard2: fix SD card detect Russell King
2017-01-08 15:03   ` [PATCH 3/4] ARM: dts: imx6*-hummingboard2: use proper gpio flags definitions Russell King
2017-01-08 15:03   ` [PATCH 4/4] ARM: dts: imx6*-hummingboard2: convert to more conventional vmmc-supply Russell King
     [not found]     ` <E1cQF0I-0003NN-S7-eh5Bv4kxaXIk46pC+1QYvQNdhmdF6hFW@public.gmane.org>
2017-01-08 15:06       ` Russell King - ARM Linux [this message]

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=20170108150636.GT14217@n2100.armlinux.org.uk \
    --to=linux-i+ivw8tiwo2tmtq+vha3yw@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=fabio.estevam-3arQi8VN3Tc@public.gmane.org \
    --cc=jon-UBr1pzP51AyaMJb+Lgu22Q@public.gmane.org \
    --cc=kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
    --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=shawnguo-DgEjT+Ai2ygdnm+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 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).