mmc: dt: Allow to specify that no write protect signal is present
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 6 May 2015 18:31:20 +0000 (20:31 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 1 Jun 2015 07:07:00 +0000 (09:07 +0200)
commit19f4424677455a01b93163975cfbcffa9adb3336
tree995b9643e6ac498a8d9991e6df13bd2cf6db05e3
parent9f6e0bff2afb52a4c29f5ca8a4db01810357974e
mmc: dt: Allow to specify that no write protect signal is present

Allow to specify in the device-tree that no physical write-protect signal
is connected to a particular instance of a MMC controller. Setting the
property will cause the core will assume that the SD card is always
read-write.

The name for the new property is 'disable-wp' and was chosen based on the
property with the same function from the Synopsys designware mobile storage
host controller DT bindings specification.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Documentation/devicetree/bindings/mmc/mmc.txt
drivers/mmc/core/host.c