• Lars-Peter Clausen's avatar
    mmc: dt: Allow to specify that no write protect signal is present · 19f44246
    Lars-Peter Clausen authored
    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: default avatarLars-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: default avatarUlf Hansson <ulf.hansson@linaro.org>
    19f44246
host.c 17.9 KB