From: Chen-Yu Tsai <wens@csie.org>
To: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Chen-Yu Tsai <wens@csie.org>,
linux-arm-kernel@lists.infradead.org,
linux-sunxi@googlegroups.com, linux-kernel@vger.kernel.org
Subject: [PATCH 09/12] ARM: dts: sun8i: Enable mmc controller on ippo-q8h-v5
Date: Sun, 17 Aug 2014 11:52:15 +0800 [thread overview]
Message-ID: <1408247538-16950-10-git-send-email-wens@csie.org> (raw)
In-Reply-To: <1408247538-16950-1-git-send-email-wens@csie.org>
The card detect pin setting was taken from the original fex file,
and is confirmed to work.
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
---
arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts b/arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts
index 224f53e..ef1e4f3 100644
--- a/arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts
+++ b/arch/arm/boot/dts/sun8i-a23-ippo-q8h-v5.dts
@@ -13,6 +13,7 @@
/dts-v1/;
/include/ "sun8i-a23.dtsi"
+/include/ "sunxi-common-regulators.dtsi"
/ {
model = "Ippo Q8H Dual Core Tablet (v5)";
@@ -23,6 +24,25 @@
};
soc@01c00000 {
+ mmc0: mmc@01c0f000 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc0_pins_a>, <&mmc0_cd_pin_q8h>;
+ vmmc-supply = <®_vcc3v0>;
+ bus-width = <4>;
+ cd-gpios = <&pio 1 4 0>; /* PB4 */
+ cd-inverted;
+ status = "okay";
+ };
+
+ pinctrl@01c20800 {
+ mmc0_cd_pin_q8h: mmc0_cd_pin@0 {
+ allwinner,pins = "PB4";
+ allwinner,function = "gpio_in";
+ allwinner,drive = <0>;
+ allwinner,pull = <1>;
+ };
+ };
+
r_uart: serial@01f02800 {
pinctrl-names = "default";
pinctrl-0 = <&r_uart_pins_a>;
--
2.1.0
next prev parent reply other threads:[~2014-08-17 3:55 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-17 3:52 [PATCH 00/12] ARM: sun8i: Enable pinctrl, i2c and mmc Chen-Yu Tsai
2014-08-17 3:52 ` [PATCH 01/12] ARM: dts: sun8i: Add PIO controller node to the sun8i dtsi Chen-Yu Tsai
2014-08-17 3:52 ` [PATCH 02/12] ARM: dts: sun8i: Add R_PIO controller node to the dtsi Chen-Yu Tsai
2014-08-17 3:52 ` [PATCH 03/12] ARM: dts: sun8i: Add pinmux set for uart0 Chen-Yu Tsai
2014-08-17 3:52 ` [PATCH 04/12] ARM: dts: sun8i: Add pin muxing option for R_UART Chen-Yu Tsai
2014-08-17 3:52 ` [PATCH 05/12] ARM: dts: sun8i: ippo-q8h: Add pinctrl properties " Chen-Yu Tsai
2014-08-17 3:52 ` [PATCH 06/12] ARM: dts: sun8i: Add mmc clocks to the dtsi Chen-Yu Tsai
2014-08-17 3:52 ` [PATCH 07/12] ARM: dts: sun8i: Add pin-muxing info for the mmc controllers Chen-Yu Tsai
2014-08-17 3:52 ` [PATCH 08/12] ARM: dts: sun8i: Add mmc controller nodes Chen-Yu Tsai
2014-08-17 3:52 ` Chen-Yu Tsai [this message]
2014-08-17 3:52 ` [PATCH 10/12] ARM: dts: sun8i: Add pin-muxing info for the i2c controllers Chen-Yu Tsai
2014-08-17 3:52 ` [PATCH 11/12] ARM: dts: sun8i: Add i2c controller nodes Chen-Yu Tsai
2014-08-17 8:02 ` Maxime Ripard
2014-08-17 15:20 ` Chen-Yu Tsai
2014-08-18 14:27 ` Maxime Ripard
2014-08-18 15:57 ` [linux-sunxi] " Chen-Yu Tsai
2014-08-17 3:52 ` [PATCH 12/12] ARM: dts: sun8i: Enable i2c controllers on ippo-q8h-v5 Chen-Yu Tsai
2014-08-17 8:03 ` [PATCH 00/12] ARM: sun8i: Enable pinctrl, i2c and mmc Maxime Ripard
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=1408247538-16950-10-git-send-email-wens@csie.org \
--to=wens@csie.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@googlegroups.com \
--cc=maxime.ripard@free-electrons.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
all inboxes | Powered by JetHome®