From: Kishon Vijay Abraham I <kishon@ti.com>
To: tony@atomide.com, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-omap@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, linux-mmc@vger.kernel.org
Cc: bcousson@baylibre.com, robh+dt@kernel.org, pawel.moll@arm.com,
mark.rutland@arm.com, ijc+devicetree@hellion.org.uk,
galak@codeaurora.org, linux@arm.linux.org.uk, nsekhar@ti.com,
kishon@ti.com
Subject: [PATCH 1/7] ARM: dts: dra72-evm: add evm_3v3_sd regulator
Date: Thu, 30 Jul 2015 13:43:34 +0530 [thread overview]
Message-ID: <1438244020-4244-2-git-send-email-kishon@ti.com> (raw)
In-Reply-To: <1438244020-4244-1-git-send-email-kishon@ti.com>
Add a node for evm_3v3_sd using pcf which feeds on to mmc vdd.
Update mapping for vmmc-supply and vmmc_aux-supply.
evm_3v3_sd supplies to SD card vdd, and ldo1 to sdcard i/o lines.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
---
arch/arm/boot/dts/dra72-evm.dts | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/dra72-evm.dts b/arch/arm/boot/dts/dra72-evm.dts
index 8037384..3998d37 100644
--- a/arch/arm/boot/dts/dra72-evm.dts
+++ b/arch/arm/boot/dts/dra72-evm.dts
@@ -30,6 +30,15 @@
regulator-max-microvolt = <3300000>;
};
+ evm_3v3_sd: fixedregulator-sd {
+ compatible = "regulator-fixed";
+ regulator-name = "evm_3v3_sd";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ enable-active-high;
+ gpio = <&pcf_gpio_21 5 GPIO_ACTIVE_HIGH>;
+ };
+
extcon_usb1: extcon_usb1 {
compatible = "linux,extcon-usb-gpio";
id-gpio = <&pcf_gpio_21 1 GPIO_ACTIVE_HIGH>;
@@ -491,8 +500,8 @@
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&mmc1_pins_default>;
-
- vmmc-supply = <&ldo1_reg>;
+ vmmc-supply = <&evm_3v3_sd>;
+ vmmc_aux-supply = <&ldo1_reg>;
bus-width = <4>;
/*
* SDCD signal is not being used here - using the fact that GPIO mode
--
1.7.9.5
next prev parent reply other threads:[~2015-07-30 8:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-30 8:13 [PATCH 0/7] ARM: dts: MMC fixes for DRA7 based boards Kishon Vijay Abraham I
2015-07-30 8:13 ` Kishon Vijay Abraham I [this message]
2015-07-30 8:13 ` [PATCH 2/7] ARM: dts: dra7-evm: add evm_3v3_sd regulator Kishon Vijay Abraham I
2015-07-30 8:13 ` [PATCH 3/7] ARM: dts: dra72-evm: Set max clock frequency of MMC1 and MMC2 Kishon Vijay Abraham I
2015-07-30 8:13 ` [PATCH 4/7] ARM: dts: dra7-evm: Add MMCSD card removal GPIO Kishon Vijay Abraham I
2015-07-30 8:13 ` [PATCH 5/7] ARM: dts: am57xx-beagle-x15: mmc1: remove redundant pbias-supply property Kishon Vijay Abraham I
2015-07-30 8:13 ` [PATCH 6/7] ARM: dts: dra7-evm: Fix spurious card insert/removal interrupt Kishon Vijay Abraham I
2015-07-30 8:13 ` [PATCH 7/7] ARM: dts: dra72-evm: " Kishon Vijay Abraham I
[not found] ` <1438244020-4244-1-git-send-email-kishon-l0cyMroinI0@public.gmane.org>
2015-08-05 10:54 ` [PATCH 0/7] ARM: dts: MMC fixes for DRA7 based boards Tony Lindgren
2015-08-05 15:06 ` Kishon Vijay Abraham I
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=1438244020-4244-2-git-send-email-kishon@ti.com \
--to=kishon@ti.com \
--cc=bcousson@baylibre.com \
--cc=devicetree@vger.kernel.org \
--cc=galak@codeaurora.org \
--cc=ijc+devicetree@hellion.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=linux-omap@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mark.rutland@arm.com \
--cc=nsekhar@ti.com \
--cc=pawel.moll@arm.com \
--cc=robh+dt@kernel.org \
--cc=tony@atomide.com \
/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).