From: Arnd Bergmann <arnd@arndb.de>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: Lee Jones <lee.jones@linaro.org>,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Arnd Bergmann <arnd@arndb.de>
Subject: [PATCH 0/7] ARM: ux500: cleanup of CPU id handling
Date: Fri, 24 Jun 2016 11:41:25 +0200 [thread overview]
Message-ID: <20160624094132.1852086-1-arnd@arndb.de> (raw)
I stumbled over the cpu_is_u*() function in ux500 and decided to
see if I could simplify that code a bit. I ended up with a
significant reduction of code in arch/arm/mach-ux500/.
The new version is compile-tested with lots of randconfig builds,
but I did not run it on actual hardware, so it needs to be
tested by someone who has access to at least one of the
machines.
I had an earlier series to cleanup the ux500 platform data,
and this is based on top of those changes but should also be
easy to rebase as a standalone series. It's probably best
to merge both patch sets as a single branch for v4.8 through
the arm-soc tree, provided the testing is successful.
Patch 6/7 is the only one that should be user-visible, so
please review carefully if the change is desired or not.
Arnd
Arnd Bergmann (7):
ARM: ux500: move l2x0 init to .init_irq
ARM: ux500: use CLK_OF_DECLARE()
ARM: ux500: remove cpu_is_u* helpers
ARM: ux500: consolidate soc_device code in id.c
ARM: ux500: call ux500_setup_id later
ARM: ux500: move soc_id driver to drivers/soc
ARM: ux500: consolidate base platform files
MAINTAINERS | 1 -
arch/arm/mach-ux500/Makefile | 3 +-
arch/arm/mach-ux500/cache-l2x0.c | 67 ----------
arch/arm/mach-ux500/cpu-db8500.c | 124 ++++++++++++------
arch/arm/mach-ux500/cpu.c | 148 ---------------------
arch/arm/mach-ux500/id.c | 116 -----------------
arch/arm/mach-ux500/id.h | 144 ---------------------
arch/arm/mach-ux500/platsmp.c | 1 -
arch/arm/mach-ux500/setup.h | 11 --
drivers/clk/ux500/u8500_of_clk.c | 16 +--
drivers/clk/ux500/u8540_clk.c | 16 +--
drivers/clk/ux500/u9540_clk.c | 4 +-
drivers/soc/Kconfig | 1 +
drivers/soc/Makefile | 1 +
drivers/soc/ux500/Kconfig | 7 +
drivers/soc/ux500/ux500-soc-id.c | 222 ++++++++++++++++++++++++++++++++
include/linux/platform_data/clk-ux500.h | 17 ---
17 files changed, 326 insertions(+), 573 deletions(-)
delete mode 100644 arch/arm/mach-ux500/cache-l2x0.c
delete mode 100644 arch/arm/mach-ux500/cpu.c
delete mode 100644 arch/arm/mach-ux500/id.c
delete mode 100644 arch/arm/mach-ux500/id.h
create mode 100644 drivers/soc/ux500/Kconfig
create mode 100644 drivers/soc/ux500/ux500-soc-id.c
delete mode 100644 include/linux/platform_data/clk-ux500.h
--
2.9.0
next reply other threads:[~2016-06-24 9:41 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-24 9:41 Arnd Bergmann [this message]
2016-06-24 9:41 ` [PATCH 1/7] ARM: ux500: move l2x0 init to .init_irq Arnd Bergmann
2016-06-24 9:41 ` [PATCH 2/7] ARM: ux500: use CLK_OF_DECLARE() Arnd Bergmann
2016-06-24 9:41 ` [PATCH 3/7] ARM: ux500: remove cpu_is_u* helpers Arnd Bergmann
2016-06-24 9:41 ` [PATCH 4/7] ARM: ux500: consolidate soc_device code in id.c Arnd Bergmann
2016-06-24 9:41 ` [PATCH 5/7] ARM: ux500: call ux500_setup_id later Arnd Bergmann
2016-06-24 9:41 ` [PATCH 6/7] ARM: ux500: move soc_id driver to drivers/soc Arnd Bergmann
2016-06-24 9:41 ` [PATCH 7/7] ARM: ux500: consolidate base platform files 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=20160624094132.1852086-1-arnd@arndb.de \
--to=arnd@arndb.de \
--cc=lee.jones@linaro.org \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®