Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1344827

[PATCH 4/4] ARM: bcm2835: Enable SDHOST by default.

From Eric Anholt <eric@anholt.net>
Newsgroups linux.kernel
Subject [PATCH 4/4] ARM: bcm2835: Enable SDHOST by default.
Date 2016-02-27 00:20 +0100
Message-ID <r6zPZ-26L-33@gated-at.bofh.it> (permalink)
References <r6zPY-26L-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This improves read speed on my SD card (as reported by hdparm -t) from
10.15MB/sec to 16.70MB/sec.  Once we add slave DMA, we can get to
18.45MB/sec.

Signed-off-by: Eric Anholt <eric@anholt.net>
---
 arch/arm/boot/dts/bcm2835-rpi.dtsi | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/bcm2835-rpi.dtsi b/arch/arm/boot/dts/bcm2835-rpi.dtsi
index b8efd41..65d3594 100644
--- a/arch/arm/boot/dts/bcm2835-rpi.dtsi
+++ b/arch/arm/boot/dts/bcm2835-rpi.dtsi
@@ -65,10 +65,18 @@
 	pinctrl-names = "default";
 	pinctrl-0 = <&emmc_gpio48>;
 
-	status = "okay";
 	bus-width = <4>;
 };
 
+&sdhost {
+	pinctrl-names = "default";
+	pinctrl-0 = <&sdhost_gpio48>;
+
+	bus-width = <4>;
+
+	status = "okay";
+};
+
 &pwm {
 	pinctrl-names = "default";
 	pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio45>;
-- 
2.7.0

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/4] bcm2835 SDHOST controller Eric Anholt <eric@anholt.net> - 2016-02-27 00:20 +0100
  [PATCH 4/4] ARM: bcm2835: Enable SDHOST by default. Eric Anholt <eric@anholt.net> - 2016-02-27 00:20 +0100
  Re: [PATCH 0/4] bcm2835 SDHOST controller Martin Sperl <martin@sperl.org> - 2016-02-29 11:10 +0100

csiph-web