From: Russell King <rmk+kernel-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org>
To: Shawn Guo <shawnguo-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: Jon Nettleton <jon-UBr1pzP51AyaMJb+Lgu22Q@public.gmane.org>,
Sascha Hauer <kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>,
Fabio Estevam <fabio.estevam-3arQi8VN3Tc@public.gmane.org>,
Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH v2 11/16] ARM: dts: imx6qdl-hummingboard: add SD card regulator
Date: Tue, 28 Nov 2017 15:02:51 +0000 [thread overview]
Message-ID: <E1eJhPP-0006OD-9f@rmk-PC.armlinux.org.uk> (raw)
In-Reply-To: <20171128150045.GV31757-l+eeeJia6m9URfEZ8mYm6t73F7V6hmMc@public.gmane.org>
Add the SD card regulator, which allows the SD card power to be switched
on/off.
Signed-off-by: Russell King <rmk+kernel-I+IVW8TIWO2tmTQ+vhA3Yw@public.gmane.org>
---
arch/arm/boot/dts/imx6qdl-hummingboard.dtsi | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi b/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi
index 84e6392fee1f..1b33cd6752f4 100644
--- a/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-hummingboard.dtsi
@@ -59,6 +59,19 @@
regulator-always-on;
};
+ v_sd: regulator-v-sd {
+ compatible = "regulator-fixed";
+ gpio = <&gpio4 30 GPIO_ACTIVE_HIGH>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_hummingboard_vmmc>;
+ regulator-boot-on;
+ regulator-max-microvolt = <3300000>;
+ regulator-min-microvolt = <3300000>;
+ regulator-name = "v_sd";
+ startup-delay-us = <1000>;
+ vin-supply = <®_3p3v>;
+ };
+
reg_usbh1_vbus: usb-h1-vbus {
compatible = "regulator-fixed";
enable-active-high;
@@ -241,6 +254,11 @@
MX6QDL_PAD_SD2_DAT3__SD2_DATA3 0x13059
>;
};
+ pinctrl_hummingboard_vmmc: hummingboard-vmmc {
+ fsl,pins = <
+ MX6QDL_PAD_DISP0_DAT9__GPIO4_IO30 0x1b0b0
+ >;
+ };
};
};
@@ -292,7 +310,7 @@
&pinctrl_hummingboard_usdhc2_aux
&pinctrl_hummingboard_usdhc2
>;
- vmmc-supply = <®_3p3v>;
+ vmmc-supply = <&v_sd>;
cd-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
status = "okay";
};
--
2.7.4
--
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
next prev parent reply other threads:[~2017-11-28 15:02 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-28 15:00 [PATCH v2 00/16] SolidRun Hummingboard DT updates Russell King - ARM Linux
2017-11-28 15:02 ` [PATCH v2 03/16] ARM: dts: imx6qdl-microsom: rename to imx6qdl-sr-som Russell King
[not found] ` <20171128150045.GV31757-l+eeeJia6m9URfEZ8mYm6t73F7V6hmMc@public.gmane.org>
2017-11-28 15:01 ` [PATCH v2 01/16] ARM: dts: imx6qdl: SolidRun: remove redundant regulators node Russell King
2017-11-28 15:02 ` [PATCH v2 02/16] ARM: dts: imx6qdl: SolidRun: move AR8035 into microsom Russell King
2017-11-28 15:02 ` [PATCH v2 04/16] ARM: dts: imx6qdl: SolidRun: move microsom includes into .dts Russell King
2017-11-28 15:02 ` [PATCH v2 05/16] ARM: dts: imx6qdl-sr-som: use real iomuxc values for ethernet Russell King
2017-11-28 15:02 ` [PATCH v2 06/16] ARM: dts: imx6qdl-sr-som: split out Broadcom Wi-Fi support Russell King
2017-11-28 15:02 ` [PATCH v2 07/16] ARM: dts: imx6qdl-sr-som-brcm: rename sdio clock Russell King
2017-11-28 15:02 ` [PATCH v2 08/16] ARM: dts: imx6qdl-sr-som: add 3.3V vcc regulator Russell King
2017-11-28 15:02 ` [PATCH v2 09/16] ARM: dts: imx6qdl-sr-som: add support for TI Wi-Fi Russell King
2017-11-28 15:02 ` [PATCH v2 10/16] ARM: dts: ixm6qdl-sr-som: add support for eMMC Russell King
[not found] ` <E1eJhPK-0006O6-5I-eh5Bv4kxaXIk46pC+1QYvQNdhmdF6hFW@public.gmane.org>
2017-11-29 14:46 ` Shawn Guo
2017-11-28 15:02 ` Russell King [this message]
2017-11-28 15:02 ` [PATCH v2 12/16] ARM: dts: imx6qdl: SolidRun: rename regulators to match schematic Russell King
2017-11-28 15:03 ` [PATCH v2 13/16] ARM: dts: imx6qdl: SolidRun: fix node names Russell King
2017-11-28 15:03 ` [PATCH v2 14/16] ARM: dts: imx6qdl: SolidRun: add v1.5 som without eMMC Russell King
2017-11-28 15:03 ` [PATCH v2 15/16] ARM: dts: imx6qdl: SolidRun: add v1.5 som with eMMC Russell King
2017-11-28 15:03 ` [PATCH v2 16/16] ARM: dts: imx6qdl-cubox-i: update GPIO specification Russell King
2017-11-28 16:31 ` [PATCH v2 00/16] SolidRun Hummingboard DT updates Fabio Estevam
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=E1eJhPP-0006OD-9f@rmk-PC.armlinux.org.uk \
--to=rmk+kernel-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).