mmc: mtk-sd: add a dts property cd-active-high for builtin-cd mode
authorWeijie Gao <weijie.gao@mediatek.com>
Wed, 25 Sep 2019 09:45:38 +0000 (17:45 +0800)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Fri, 25 Oct 2019 15:20:44 +0000 (17:20 +0200)
commit77ebea23c374330e6bf2d9db3c8d2943d3d34fe8
tree55e397015bbbfca6138639ffded19d23a5c6db64
parent3c92a957eed490a8a5ccc12d7bf57c0141e71850
mmc: mtk-sd: add a dts property cd-active-high for builtin-cd mode

This patch adds a dts property cd-active-high for builtin-cd mode to make
it configurable instead of using hardcoded active-low.

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
drivers/mmc/mtk-sd.c