devb-sdmmc-*

Generic information for SDHI memory card, MMC, and eMMC drivers

Note: You must be root or have the right abilities to start this driver.

Syntax:

devb-sdmmc-variant [blk option[,option]..
                   [cam option[,option]...]
                   [sdmmc option[,option]...]
                   [sdio option[,option]...]
                   [disk option[,option]...]

Runs on:

QNX Neutrino

Options:

Note: Use commas (,) to separate the options. You can put the blk, cam, sdmmc, sdio, and disk groups of options in any order.
blk options
The blk options control the io-blk.so driver. If specified, they must follow the blk keyword. For more information, see io-blk.so.
cam options
The cam options control libcam.so. If specified, they must follow the cam keyword.
disk options
The disk options control the driver's interface to cam-disk.so. If specified, they must follow the disk keyword.
sdmmc options:
The sdmmc options control the driver's interface to the SD/MMC device. If there are multiple SD/MMC devices, you can repeat these options for each controller. Remember, however, to specify the sdmmc keyword before each controller's set of options.
priority=prio
Set the priority of the processing thread. The default is 21.
busno=bus
The bus number of the SDIO controller.
verbose=[level]
Set the verbosity level.
partitions=on
Enable the eMMC partitions. The default is off.
cache=on
Enable eMMC volatile cache. The default is off.
pwroff_notify=[short|long]
Set power off notification mode for the eMMC. The notification can either be short or long.
sdio options:
The sdio options control the driver's interface to the SD/MMC host controller. If there are multiple host controllers, you can repeat these options for each controller. Remember, however, to specify the sdio keyword before each controller's set of options.
verbose=[level]
Set the SDIO verbosity level.
hc=name
The name of the host controller.
vid=vid
The vendor ID of the controller.
did=device_id
The device ID of the controller.
idx=idx
The index of the controller in the machine, where idx is a value between 0 and the number of adapters.
addr=addr
The address of the interface.
irq=req
The interrupt used by the controller.
dma=channel
The DMA channel to use.
clk=clk
Set the operational clock.
~bmstr
Disable DMA.
~ac12
Disable AC12. The default is on.
~ac23
Disable AC23. The default is on.
bw=[~]bw
Set/Clear bus widths (4, 8).
timing=[~]timing
Set/Clear timings. The valid values to use are hs, ddr, sdr12, sdr25, sdr50, sdr104, hs200, hs400.
pm=idle:sleep
Set the power management idle/sleep time in milliseconds (ms). The default is 100:10000 ms.
emmc
An eMMC device is connected to the interface.
bs=board-specific
Board-specific options. Run the use message on the target to get more information about the board-specific options available on your target for your driver.
drv_type=drv_strength
Set the driver strength value for the HS_TIMING register. The driver strength value controls the impedance at which the HS200- or HS400-compatible eMMC chip drives communication lines to the SoC. The accepted values are 0–4. These values align with the I/O driver strength types listed in the JEDEC eMMC standard (document JESD84).
Note: Not all eMMC chips support driver strength values greater than 0. The default value is 0.

Examples:

These are examples for the devb-sdmmc-rcar-gen3 driver.

For an SD memory card:
devb-sdmmc-rcar_gen3 blk cache=64m cam pnp, bounce=128k sdio idx=0
For eMMC Flash:
devb-sdmmc-rcar_gen3 blk cache=64m cam bounce=128k mem name=below4G
                     sdio idx=2, emmc disk name=mmc