linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] dts: imx: fix sd card gpio polarity specified in device tree
@ 2015-06-17 17:33 Dong Aisheng
  2015-06-17 17:33 ` [PATCH 1/5] dts: imx51: " Dong Aisheng
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Dong Aisheng @ 2015-06-17 17:33 UTC (permalink / raw)
  To: linux-arm-kernel

Commit 8d86e4f mmc: sdhci-esdhc-imx: Call mmc_of_parse()
serious break the sd card detect/write protect function
since a lot of GPIO flags of cd-gpios/wp-gpios are wrongly set
in devicetree.
Before commit 8d86e4f, we do not use GPIO flags passed from
devicetree. But after it, GPIO flags specfied in dt becomes valid
and will affect the normal cd/wp function.

This patch series fixes all wrongly set GPIO flags in devicetree.

Because the eSDHC/uSDHC host driver only supports
MMC_CAP2_RO_ACTIVE_HIGH and no MMC_CAP2_CD_ACTIVE_HIGH,
so i changed the dts accordingly.

It is supposed to not cause any function break since all boards
affected work well before commit 8d86e4f with this type of CAPs.

However, i still CCed each board maintainer affected by this change,
Please help review and let me know if any wrong change.

The series is based on shawn/for-next tree.

Fixes: 8d86e4fcccf6 ("mmc: sdhci-esdhc-imx: Call mmc_of_parse()")

Dong Aisheng (5):
  dts: imx51: fix sd card gpio polarity specified in device tree
  dts: imx53: fix sd card gpio polarity specified in device tree
  dts: imx6: fix sd card gpio polarity specified in device tree
  dts: imx25: fix sd card gpio polarity specified in device tree
  dts: imx7: fix sd card gpio polarity specified in device tree

 arch/arm/boot/dts/imx25-pdk.dts              |  4 ++--
 arch/arm/boot/dts/imx51-apf51dev.dts         |  2 +-
 arch/arm/boot/dts/imx53-ard.dts              |  4 ++--
 arch/arm/boot/dts/imx53-m53evk.dts           |  4 ++--
 arch/arm/boot/dts/imx53-qsb-common.dtsi      |  4 ++--
 arch/arm/boot/dts/imx53-smd.dts              |  4 ++--
 arch/arm/boot/dts/imx53-tqma53.dtsi          |  4 ++--
 arch/arm/boot/dts/imx53-tx53.dtsi            |  4 ++--
 arch/arm/boot/dts/imx53-voipac-bsb.dts       |  4 ++--
 arch/arm/boot/dts/imx6dl-riotboard.dts       |  8 ++++----
 arch/arm/boot/dts/imx6q-arm2.dts             |  5 +++--
 arch/arm/boot/dts/imx6q-gk802.dts            |  3 ++-
 arch/arm/boot/dts/imx6q-tbs2910.dts          |  4 ++--
 arch/arm/boot/dts/imx6qdl-aristainetos.dtsi  |  4 ++--
 arch/arm/boot/dts/imx6qdl-aristainetos2.dtsi |  4 ++--
 arch/arm/boot/dts/imx6qdl-cubox-i.dtsi       |  2 +-
 arch/arm/boot/dts/imx6qdl-dfi-fs700-m60.dtsi |  4 +++-
 arch/arm/boot/dts/imx6qdl-gw52xx.dtsi        |  2 +-
 arch/arm/boot/dts/imx6qdl-gw53xx.dtsi        |  2 +-
 arch/arm/boot/dts/imx6qdl-gw54xx.dtsi        |  2 +-
 arch/arm/boot/dts/imx6qdl-hummingboard.dtsi  |  2 +-
 arch/arm/boot/dts/imx6qdl-nitrogen6x.dtsi    |  4 ++--
 arch/arm/boot/dts/imx6qdl-phytec-pfla02.dtsi |  8 ++++----
 arch/arm/boot/dts/imx6qdl-rex.dtsi           |  4 ++--
 arch/arm/boot/dts/imx6qdl-sabreauto.dtsi     |  4 ++--
 arch/arm/boot/dts/imx6qdl-sabrelite.dtsi     |  6 +++---
 arch/arm/boot/dts/imx6qdl-sabresd.dtsi       |  8 ++++----
 arch/arm/boot/dts/imx6qdl-tx6.dtsi           |  4 ++--
 arch/arm/boot/dts/imx6qdl-wandboard.dtsi     |  6 ++++--
 arch/arm/boot/dts/imx6sl-evk.dts             | 10 +++++-----
 arch/arm/boot/dts/imx6sx-sabreauto.dts       |  4 ++--
 arch/arm/boot/dts/imx6sx-sdb.dtsi            |  4 ++--
 arch/arm/boot/dts/imx7d-sdb.dts              |  4 ++--
 33 files changed, 74 insertions(+), 68 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-06-17 17:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-17 17:33 [PATCH 0/5] dts: imx: fix sd card gpio polarity specified in device tree Dong Aisheng
2015-06-17 17:33 ` [PATCH 1/5] dts: imx51: " Dong Aisheng
2015-06-17 17:33 ` [PATCH 2/5] dts: imx53: " Dong Aisheng
2015-06-17 17:33 ` [PATCH 3/5] dts: imx6: " Dong Aisheng
2015-06-17 17:33 ` [PATCH 4/5] dts: imx25: " Dong Aisheng
2015-06-17 17:33 ` [PATCH 5/5] dts: imx7: " Dong Aisheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).