public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v6 0/3] mmc: sh_mobile_sdhi: fix missing r7s72100 clocks
@ 2017-01-25 20:28 Chris Brandt
  2017-01-25 20:28 ` [PATCH v6 1/3] mmc: sh_mobile_sdhi: add support for 2 clocks Chris Brandt
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Chris Brandt @ 2017-01-25 20:28 UTC (permalink / raw)
  To: Ulf Hansson, Rob Herring, Mark Rutland, Simon Horman,
	Wolfram Sang, Geert Uytterhoeven
  Cc: devicetree, linux-mmc, linux-renesas-soc, Chris Brandt

At first this started out as a simple typo fix, until I realized
that the SDHI in the RZ/A1 has 2 clocks per channel and both need
to be turned on/off.

This patch series adds the ability to specify 2 clocks instead of
just 1, and does so for the RZ/A1 r7s72100.

This patch has been tested on an RZ/A1 RSK board. Card detect works
fine as well as bind/unbind.

v6:
* more detailed descritpion in tmio_mmc.txt

v5:
* Take implementation details out of DT documentation and put into
  the driver code.

v4:
* No code changes, only text udpates to explain why there are 2 clocks
  and why we need to treat them as 1 clock.

Chris Brandt (3):
  mmc: sh_mobile_sdhi: add support for 2 clocks
  mmc: sh_mobile_sdhi: explain clock bindings
  ARM: dts: r7s72100: update sdhi clock bindings

 Documentation/devicetree/bindings/mmc/tmio_mmc.txt | 13 ++++++++++++
 arch/arm/boot/dts/r7s72100.dtsi                    | 17 +++++++++++-----
 drivers/mmc/host/sh_mobile_sdhi.c                  | 23 ++++++++++++++++++++++
 include/dt-bindings/clock/r7s72100-clock.h         |  6 ++++--
 4 files changed, 52 insertions(+), 7 deletions(-)

-- 
2.10.1

^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <1485443632-22612-1-git-send-email-vladimir.barinov@cogentembedded.com>]

end of thread, other threads:[~2017-01-30 20:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-25 20:28 [PATCH v6 0/3] mmc: sh_mobile_sdhi: fix missing r7s72100 clocks Chris Brandt
2017-01-25 20:28 ` [PATCH v6 1/3] mmc: sh_mobile_sdhi: add support for 2 clocks Chris Brandt
2017-01-25 20:28 ` [PATCH v6 2/3] mmc: sh_mobile_sdhi: explain clock bindings Chris Brandt
     [not found]   ` <20170125202810.16876-3-chris.brandt-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2017-01-30 20:37     ` Rob Herring
2017-01-25 20:28 ` [PATCH v6 3/3] ARM: dts: r7s72100: update sdhi " Chris Brandt
     [not found] ` <20170125202810.16876-1-chris.brandt-zM6kxYcvzFBBDgjK7y7TUQ@public.gmane.org>
2017-01-26  8:07   ` [PATCH v6 0/3] mmc: sh_mobile_sdhi: fix missing r7s72100 clocks Ulf Hansson
2017-01-26 10:12     ` Wolfram Sang
2017-01-26 12:53       ` Chris Brandt
2017-01-27  8:40       ` Simon Horman
2017-01-27 14:57       ` Ulf Hansson
2017-01-26 10:30     ` Simon Horman
     [not found]       ` <20170126103013.GB27721-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>
2017-01-26 12:53         ` Chris Brandt
     [not found] <1485443632-22612-1-git-send-email-vladimir.barinov@cogentembedded.com>
     [not found] ` <1485443632-22612-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
     [not found]   ` <1485442486-18427-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
     [not found]     ` <1485442469-18378-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
     [not found]       ` <1485442460-18339-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>
     [not found]         ` <1485442449-18300-1-git-send-email-vladimir.barinov-M4DtvfQ/ZS1MRgGoP+s0PdBPR1lH4CV8@public.gmane.org>

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox