1 From 597258492a6930e916cb16c09b3adf1508062a00 Mon Sep 17 00:00:00 2001
2 From: Andrew Litt <ajlitt@splunge.net>
3 Date: Mon, 11 Jan 2016 07:55:54 +0000
4 Subject: [PATCH] SDIO-overlay: add bus_width parameter
6 Allow setting of the SDIO bus width capability of the bcm2835-mmc
7 host. This is helpful when only a 1 bit wide bus is connected
8 between host and device but both host and device advertise 4 bit
11 arch/arm/boot/dts/overlays/README | 2 ++
12 arch/arm/boot/dts/overlays/sdio-overlay.dts | 2 ++
13 2 files changed, 4 insertions(+)
15 --- a/arch/arm/boot/dts/overlays/README
16 +++ b/arch/arm/boot/dts/overlays/README
17 @@ -634,6 +634,8 @@ Params: overclock_50 Clock (
18 poll_once Disable SDIO-device polling every second
19 (default on: polling once at boot-time)
21 + bus_width Set the SDIO host bus width (default 4 bits)
25 Info: Tunes the bcm2835-sdhost SD/MMC driver
26 --- a/arch/arm/boot/dts/overlays/sdio-overlay.dts
27 +++ b/arch/arm/boot/dts/overlays/sdio-overlay.dts
29 pinctrl-names = "default";
30 pinctrl-0 = <&sdio_pins>;
39 poll_once = <&sdio_mmc>,"non-removable?";
40 + bus_width = <&sdio_mmc>,"bus-width:0";