From: Pankaj Dubey <pankaj.dubey@samsung.com>
To: linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Cc: kgene.kim@samsung.com, linux@arm.linux.org.uk,
t.figa@samsung.com, Pankaj Dubey <pankaj.dubey@samsung.com>
Subject: [PATCH 0/4] Introducing Exynos ChipId driver
Date: Sat, 03 May 2014 15:11:36 +0900 [thread overview]
Message-ID: <1399097500-4052-1-git-send-email-pankaj.dubey@samsung.com> (raw)
This patch series attempts to get rid of soc_is_exynosXXXX macros
and eventually with the help of this series we can probably get
rid of CONFIG_SOC_EXYNOSXXXX in near future.
Each Exynos SoC has ChipID block which can give information about
SoC's product Id and revision number. Currently we have single
DT binding information for this as "samsung,exynos4210-chipid".
But Exynos4 and Exynos5 SoC series have one small difference in
chip Id, with resepect to product id bit-masks. So it means we
should have separate compatible string for these different series
of SoCs. So I have created new binding information for handling
this difference. Also currently I can think of putting this driver
code under "drivers/misc/" but suggestions are welcome.
Also current form of driver is missing platfrom driver and needs
init function to be called from machine file (either exynos.c or
platsmp.c). I hope lot of suggestions and comments to improve this
further.
This patch series is based on Kukjin Kim's for-next (3.14_rc1 tag)
and prepared on top of following patch series and it's dependent
patch series.
[1]: Map SYSRAM through generic SRAM bindings.
http://www.spinics.net/lists/arm-kernel/msg327677.html
[2]: Exynos PMU cleanup and refactoring.
https://lkml.org/lkml/2014/4/30/44
Pankaj Dubey (4):
ARM: EXYNOS: remove soc_is_exynos4/5 from exynos.c
ARM: EXYNOS: remove unused header inclusion from hotplug.c
misc: exynos-chipid: Add Exynos Chipid driver support
ARM: EXYNOS: Refactoring to remove soc_is_exynosXXXX macros from
exynos
.../bindings/arm/samsung/exynos-chipid.txt | 15 ++++
arch/arm/Kconfig | 1 +
arch/arm/boot/dts/exynos4.dtsi | 2 +-
arch/arm/boot/dts/exynos5.dtsi | 2 +-
arch/arm/mach-exynos/exynos.c | 66 ++++++++--------
arch/arm/mach-exynos/hotplug.c | 2 -
arch/arm/mach-exynos/platsmp.c | 10 ++-
arch/arm/mach-exynos/pm.c | 28 +++----
arch/arm/plat-samsung/include/plat/cpu.h | 60 --------------
drivers/clk/samsung/clk-exynos4.c | 2 +-
drivers/cpufreq/exynos-cpufreq.c | 9 +--
drivers/cpufreq/exynos-cpufreq.h | 1 -
drivers/cpufreq/exynos4x12-cpufreq.c | 5 +-
drivers/misc/Kconfig | 7 ++
drivers/misc/Makefile | 1 +
drivers/misc/exynos-chipid.c | 83 ++++++++++++++++++++
include/linux/exynos-soc.h | 46 +++++++++++
17 files changed, 215 insertions(+), 125 deletions(-)
create mode 100644 Documentation/devicetree/bindings/arm/samsung/exynos-chipid.txt
create mode 100644 drivers/misc/exynos-chipid.c
create mode 100644 include/linux/exynos-soc.h
--
1.7.10.4
next reply other threads:[~2014-05-03 5:53 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-03 6:11 Pankaj Dubey [this message]
2014-05-03 6:11 ` [PATCH 1/4] ARM: EXYNOS: remove soc_is_exynos4/5 from exynos.c Pankaj Dubey
2014-05-03 6:11 ` [PATCH 2/4] ARM: EXYNOS: remove unused header inclusion from hotplug.c Pankaj Dubey
2014-05-03 6:11 ` [PATCH 3/4] misc: exynos-chipid: Add Exynos Chipid driver support Pankaj Dubey
2014-05-05 7:57 ` Krzysztof Kozlowski
2014-05-05 9:28 ` Pankaj Dubey
2014-05-03 15:02 ` [PATCH 0/4] Introducing Exynos ChipId driver Arnd Bergmann
2014-05-05 9:23 ` Pankaj Dubey
2014-05-05 14:58 ` Arnd Bergmann
2014-05-05 15:01 ` Arnd Bergmann
2014-05-06 6:57 ` Pankaj Dubey
2014-05-06 7:24 ` Arnd Bergmann
2014-05-12 1:47 ` Olof Johansson
2014-05-12 9:47 ` Arnd Bergmann
2014-05-05 15:34 ` Rob Herring
2014-05-06 7:22 ` Arnd Bergmann
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=1399097500-4052-1-git-send-email-pankaj.dubey@samsung.com \
--to=pankaj.dubey@samsung.com \
--cc=kgene.kim@samsung.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=t.figa@samsung.com \
/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
all inboxes | Powered by JetHome®