SDIO-overlay: add poll_once-boolean parameter

Add paramter to toggle sdio-device-polling
done every second or once at boot-time.

Signed-off-by: Patrick Boettcher <patrick.boettcher@posteo.de>
This commit is contained in:
Patrick Boettcher
2015-11-20 15:09:36 +01:00
committed by popcornmix
parent e3c114e909
commit e2fd14f8ca
2 changed files with 8 additions and 1 deletions

View File

@@ -610,6 +610,9 @@ Params: overclock_50 Clock (in MHz) to use when the MMC framework
debug Enable debug output (default off)
poll_once Disable SDIO-device polling every second
(default on: polling once at boot-time)
Name: smi
Info: Enables the Secondary Memory Interface peripheral. Uses GPIOs 2-25!

View File

@@ -7,7 +7,7 @@
fragment@3 {
target = <&mmc>;
__overlay__ {
sdio_mmc: __overlay__ {
compatible = "brcm,bcm2835-mmc";
pinctrl-names = "default";
pinctrl-0 = <&sdio_pins>;
@@ -26,4 +26,8 @@
};
};
};
__overrides__ {
poll_once = <&sdio_mmc>,"non-removable?";
};
};