]> asedeno.scripts.mit.edu Git - linux.git/commit
mmc: tmio: deprecate "toshiba, mmc-wrprotect-disable" DT property
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 17 Jan 2018 16:28:11 +0000 (01:28 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 5 Mar 2018 08:09:11 +0000 (09:09 +0100)
commit788778b0d21a6d5cd5bc6c880591119e17932327
treed13e5f90b8a4e23f169b3ae593f4c0a2f69e4903
parent218f6024abec04ec78e56b6761f70d404bab8637
mmc: tmio: deprecate "toshiba, mmc-wrprotect-disable" DT property

This property is equivalent to "disable-wp" defined in
Documentation/devicetree/bindings/mmc/mmc.txt

The TMIO MMC core calls mmc_of_parse(), and it sets
MMC_CAP2_NO_WRITE_PROTECT if "disable-wp" property is present.

We do not need a vendor-specific property to do the same thing.

Let's remove the description from the dt-binding to prevent new boards
from using it.

I am keeping the driver code for existing DT files, but added
comments that this is deprecated.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Documentation/devicetree/bindings/mmc/tmio_mmc.txt
drivers/mmc/host/tmio_mmc_core.c