devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] Add support of inverting power control and some minor cleanup
@ 2016-08-06  5:36 Shawn Lin
       [not found] ` <1470461784-3955-1-git-send-email-shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Shawn Lin @ 2016-08-06  5:36 UTC (permalink / raw)
  To: Jaehoon Chung, Ulf Hansson, Rob Herring
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, Heiko Stuebner, Shawn Lin,
	Brian Norris, linux-mmc-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Doug Anderson,
	linux-rockchip-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r


By default, dw_mmc outputs high level voltage to indicate powering
up the card and outputs low level vcltage to indicate powering
off the card. But that is not always correct. The power io should
be able to control different kind of hw components to supply or
cutoff power to the card. We have boards that need this patchset
to make the power control correct. Meanwhile let's expose it to
DT for board-specific usage.



Shawn Lin (6):
  dt-bindings: rockchip-dw-mshc: add description of
    rockchip,power-invert
  mmc: dw_mmc: cleanup power setting of set_ios callback
  mmc: dw_mmc: split out dw_mci_set_power
  mmc: dw_mmc: split out dw_mci_set_power_reg
  mmc: dw_mmc: support inverted power control
  mmc: dw_mmc-rockchip: add parsing of power control from DT

 .../devicetree/bindings/mmc/rockchip-dw-mshc.txt   |   6 +
 drivers/mmc/host/dw_mmc-rockchip.c                 |   8 ++
 drivers/mmc/host/dw_mmc.c                          | 134 ++++++++++++---------
 drivers/mmc/host/dw_mmc.h                          |   1 +
 4 files changed, 90 insertions(+), 59 deletions(-)

-- 
2.3.7

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

end of thread, other threads:[~2016-08-06  5:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-06  5:36 [PATCH 0/6] Add support of inverting power control and some minor cleanup Shawn Lin
     [not found] ` <1470461784-3955-1-git-send-email-shawn.lin-TNX95d0MmH7DzftRWevZcw@public.gmane.org>
2016-08-06  5:36   ` [PATCH 1/6] dt-bindings: rockchip-dw-mshc: add description of rockchip, power-invert Shawn Lin
2016-08-06  5:36   ` [PATCH 2/6] mmc: dw_mmc: cleanup power setting of set_ios callback Shawn Lin
2016-08-06  5:36   ` [PATCH 3/6] mmc: dw_mmc: split out dw_mci_set_power Shawn Lin
2016-08-06  5:36   ` [PATCH 4/6] mmc: dw_mmc: split out dw_mci_set_power_reg Shawn Lin
2016-08-06  5:37   ` [PATCH 5/6] mmc: dw_mmc: support inverted power control Shawn Lin
2016-08-06  5:37   ` [PATCH 6/6] mmc: dw_mmc-rockchip: add parsing of power control from DT Shawn Lin

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).