linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: thomas.abraham@linaro.org (Thomas Abraham)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 0/3] mmc: sdhci-s3c: Remove 'clk_type' member from platform data
Date: Tue, 04 Oct 2011 12:58:32 +0530	[thread overview]
Message-ID: <1317713315-5830-1-git-send-email-thomas.abraham@linaro.org> (raw)

This patchset removes all uses of 'clk_type' member from the platform data
of sdhci-s3c driver. The clk_type is a SoC specific information and not a board/
machine specific information. Hence, this information can be more aptly
represented using SoC specific driver data in the sdhci-s3c driver.

Hence all uses of 'clk_type' member in sdhci-s3c driver's platform data is
removed. In place of that, the sdhci host qurik 'SDHCI_QUIRK_NONSTANDARD_CLOCK'
is used to handle controllers that do not have a standard sdclk division
(like those in the exynos4 SoC's).

This is a pre-requisite patchset for adding device tree support for sdhci-s3c
driver. While migrating towards device tree support, retreving 'clk_type'
information does not seem correct and hence it has been added as SoC specific
driver data.

This patchset is based on the following tree
https://github.com/kgene/linux-samsung.git  branch: for-next

and tested on smdkv310, smdkv210 and smdk2416.

Thomas Abraham (3):
  mmc: sdhci-s3c: Remove usage of clk_type member in platform data
  arm: exynos4: use 'exynos4-sdhci' as device name for sdhci controllers
  arm: samsung: remove all uses of clk_type member in sdhci platform data

 arch/arm/mach-exynos4/clock.c               |   16 +++---
 arch/arm/mach-exynos4/cpu.c                 |    5 ++
 arch/arm/mach-exynos4/mach-armlex4210.c     |    3 -
 arch/arm/mach-exynos4/mach-nuri.c           |    3 -
 arch/arm/mach-exynos4/mach-origen.c         |    2 -
 arch/arm/mach-exynos4/mach-smdk4212.c       |    2 -
 arch/arm/mach-exynos4/mach-smdkv310.c       |    4 --
 arch/arm/mach-exynos4/mach-universal_c210.c |    2 -
 arch/arm/plat-samsung/dev-hsmmc.c           |    1 -
 arch/arm/plat-samsung/dev-hsmmc1.c          |    1 -
 arch/arm/plat-samsung/dev-hsmmc2.c          |    1 -
 arch/arm/plat-samsung/dev-hsmmc3.c          |    1 -
 arch/arm/plat-samsung/include/plat/sdhci.h  |   34 ++++++++++---
 arch/arm/plat-samsung/platformdata.c        |    2 -
 drivers/mmc/host/sdhci-s3c.c                |   74 +++++++++++++++++++++++++--
 15 files changed, 110 insertions(+), 41 deletions(-)

             reply	other threads:[~2011-10-04  7:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-04  7:28 Thomas Abraham [this message]
2011-10-04  7:28 ` [PATCH 1/3] mmc: sdhci-s3c: Remove usage of clk_type member in platform data Thomas Abraham
2011-10-04  7:53   ` Kyungmin Park
2011-10-04  8:15     ` Thomas Abraham
2011-10-04  7:28 ` [PATCH 2/3] arm: exynos4: use 'exynos4-sdhci' as device name for sdhci controllers Thomas Abraham
2011-10-04  7:28 ` [PATCH 3/3] arm: samsung: remove all uses of clk_type member in sdhci platform data Thomas Abraham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1317713315-5830-1-git-send-email-thomas.abraham@linaro.org \
    --to=thomas.abraham@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).