[PATCH v4 1/5] mmc: dw_mmc: Add "disable-wp" device tree property

Will Newton will.newton at gmail.com
Sat Jan 12 04:12:50 EST 2013


On Fri, Jan 11, 2013 at 5:03 PM, Doug Anderson <dianders at chromium.org> wrote:
> The "disable-wp" property is used to specify that a given SD card slot
> doesn't have a concept of write protect.  This eliminates the need for
> special case code for SD slots that should never be write protected
> (like a micro SD slot or a dev board).
>
> The dw_mmc driver is special in needing to specify "disable-wp"
> because the lack of a "wp-gpios" property means to use the special
> purpose write protect line.  On some other mmc devices the lack of
> "wp-gpios" means that write protect should be disabled.
>
> Signed-off-by: Doug Anderson <dianders at chromium.org>
> Acked-by: Seungwon Jeon <tgih.jun at samsung.com>

This looks ok to me too.

Acked-by: Will Newton <will.newton at imgtec.com>


More information about the devicetree-discuss mailing list