From: Rob Herring <robh@kernel.org>
To: Russell King <linux@arm.linux.org.uk>,
Alexandre Belloni <alexandre.belloni@free-electrons.com>,
Eric Miao <eric.y.miao@gmail.com>,
Haojian Zhuang <haojian.zhuang@gmail.com>,
Alessandro Zummo <a.zummo@towertech.it>
Cc: rtc-linux@googlegroups.com,
Robert Jarzmik <robert.jarzmik@free.fr>,
Arnd Bergmann <arnd@arndb.de>,
linux-arm-kernel@lists.infradead.org,
Rob Herring <robh@kernel.org>
Subject: [rtc-linux] [PATCH v4 0/6] SA1100/PXA RTC clean-up
Date: Wed, 13 May 2015 10:02:24 -0500 [thread overview]
Message-ID: <1431529350-4597-1-git-send-email-robh@kernel.org> (raw)
This series enables building the SA1100 RTC driver for ARM64 in
preparation for enabling CONFIG_ARCH_MMP on ARM64. This is needed for
supporting the PXA1928 SOC. Clean-up of SA1100 RTC is complicated by the
fact that some PXA chips use both sa1100-rtc and pxa-rtc drivers and
share the same registers. This does not work well with the Linux driver
model. So the first step is removing this sharing by the 2 drivers and
making sa1100-rtc and pxa-rtc mutually exclusive.
The previous versions can be found here[1][2][3]. Patches 1 and 2 are new.
Patches 3, 5, and 6 are unchanged. Patch 4 is mostly the same, but
adjusted due to patches 1 and 2.
A git branch is here[4]. I've tested sa1100-rtc on PXA1928. I need help
testing on PXA27x/3xx.
Rob
[1] http://comments.gmane.org/gmane.linux.ports.arm.kernel/391410
[2] http://comments.gmane.org/gmane.linux.ports.arm.kernel/409740
[3] http://comments.gmane.org/gmane.linux.ports.arm.kernel/412047
[4] git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git marvell/rtc
Rob Herring (6):
rtc: sa1100: prepare to share sa1100_rtc_ops
rtc: pxa: convert to use shared sa1100 functions
ARM: pxa: add memory resource to SA1100 RTC device
rtc: sa1100/pxa: convert to run-time register mapping
ARM: sa1100: remove unused RTC register definitions
ARM: mmp: remove unused RTC register definitions
arch/arm/mach-mmp/include/mach/regs-rtc.h | 23 -----
arch/arm/mach-pxa/devices.c | 18 +---
arch/arm/mach-pxa/pxa27x.c | 1 -
arch/arm/mach-pxa/pxa3xx.c | 1 -
arch/arm/mach-sa1100/include/mach/SA-1100.h | 34 -------
drivers/rtc/Kconfig | 4 +-
drivers/rtc/rtc-pxa.c | 55 +++++------
drivers/rtc/rtc-sa1100.c | 139 +++++++++++++++++-----------
drivers/rtc/rtc-sa1100.h | 23 +++++
9 files changed, 140 insertions(+), 158 deletions(-)
delete mode 100644 arch/arm/mach-mmp/include/mach/regs-rtc.h
create mode 100644 drivers/rtc/rtc-sa1100.h
--
2.1.0
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
WARNING: multiple messages have this Message-ID (diff)
From: robh@kernel.org (Rob Herring)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 0/6] SA1100/PXA RTC clean-up
Date: Wed, 13 May 2015 10:02:24 -0500 [thread overview]
Message-ID: <1431529350-4597-1-git-send-email-robh@kernel.org> (raw)
This series enables building the SA1100 RTC driver for ARM64 in
preparation for enabling CONFIG_ARCH_MMP on ARM64. This is needed for
supporting the PXA1928 SOC. Clean-up of SA1100 RTC is complicated by the
fact that some PXA chips use both sa1100-rtc and pxa-rtc drivers and
share the same registers. This does not work well with the Linux driver
model. So the first step is removing this sharing by the 2 drivers and
making sa1100-rtc and pxa-rtc mutually exclusive.
The previous versions can be found here[1][2][3]. Patches 1 and 2 are new.
Patches 3, 5, and 6 are unchanged. Patch 4 is mostly the same, but
adjusted due to patches 1 and 2.
A git branch is here[4]. I've tested sa1100-rtc on PXA1928. I need help
testing on PXA27x/3xx.
Rob
[1] http://comments.gmane.org/gmane.linux.ports.arm.kernel/391410
[2] http://comments.gmane.org/gmane.linux.ports.arm.kernel/409740
[3] http://comments.gmane.org/gmane.linux.ports.arm.kernel/412047
[4] git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git marvell/rtc
Rob Herring (6):
rtc: sa1100: prepare to share sa1100_rtc_ops
rtc: pxa: convert to use shared sa1100 functions
ARM: pxa: add memory resource to SA1100 RTC device
rtc: sa1100/pxa: convert to run-time register mapping
ARM: sa1100: remove unused RTC register definitions
ARM: mmp: remove unused RTC register definitions
arch/arm/mach-mmp/include/mach/regs-rtc.h | 23 -----
arch/arm/mach-pxa/devices.c | 18 +---
arch/arm/mach-pxa/pxa27x.c | 1 -
arch/arm/mach-pxa/pxa3xx.c | 1 -
arch/arm/mach-sa1100/include/mach/SA-1100.h | 34 -------
drivers/rtc/Kconfig | 4 +-
drivers/rtc/rtc-pxa.c | 55 +++++------
drivers/rtc/rtc-sa1100.c | 139 +++++++++++++++++-----------
drivers/rtc/rtc-sa1100.h | 23 +++++
9 files changed, 140 insertions(+), 158 deletions(-)
delete mode 100644 arch/arm/mach-mmp/include/mach/regs-rtc.h
create mode 100644 drivers/rtc/rtc-sa1100.h
--
2.1.0
next reply other threads:[~2015-05-13 15:02 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-13 15:02 Rob Herring [this message]
2015-05-13 15:02 ` [PATCH v4 0/6] SA1100/PXA RTC clean-up Rob Herring
2015-05-13 15:02 ` [rtc-linux] [PATCH v4 1/6] rtc: sa1100: prepare to share sa1100_rtc_ops Rob Herring
2015-05-13 15:02 ` Rob Herring
2015-05-13 15:02 ` [rtc-linux] [PATCH v4 2/6] rtc: pxa: convert to use shared sa1100 functions Rob Herring
2015-05-13 15:02 ` Rob Herring
2015-05-13 15:02 ` [rtc-linux] [PATCH v4 3/6] ARM: pxa: add memory resource to SA1100 RTC device Rob Herring
2015-05-13 15:02 ` Rob Herring
2015-05-13 15:02 ` [rtc-linux] [PATCH v4 4/6] rtc: sa1100/pxa: convert to run-time register mapping Rob Herring
2015-05-13 15:02 ` Rob Herring
2015-05-13 15:02 ` [rtc-linux] [PATCH v4 5/6] ARM: sa1100: remove unused RTC register definitions Rob Herring
2015-05-13 15:02 ` Rob Herring
2015-05-13 15:02 ` [rtc-linux] [PATCH v4 6/6] ARM: mmp: " Rob Herring
2015-05-13 15:02 ` Rob Herring
2015-05-15 11:13 ` [PATCH v4 0/6] SA1100/PXA RTC clean-up Robert Jarzmik
2015-05-15 11:13 ` Robert Jarzmik
2015-05-18 13:18 ` [rtc-linux] " Rob Herring
2015-05-18 13:18 ` Rob Herring
2015-05-18 18:43 ` Robert Jarzmik
2015-05-18 18:43 ` Robert Jarzmik
2015-06-03 5:31 ` [rtc-linux] " Rob Herring
2015-06-03 5:31 ` Rob Herring
2015-06-05 19:43 ` Robert Jarzmik
2015-06-05 19:43 ` Robert Jarzmik
2015-06-05 21:28 ` [rtc-linux] " Rob Herring
2015-06-05 21:28 ` Rob Herring
2015-06-06 21:25 ` Robert Jarzmik
2015-06-06 21:25 ` Robert Jarzmik
2015-06-08 16:52 ` [rtc-linux] " Rob Herring
2015-06-08 16:52 ` Rob Herring
2015-06-14 8:11 ` Robert Jarzmik
2015-06-14 8:11 ` Robert Jarzmik
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=1431529350-4597-1-git-send-email-robh@kernel.org \
--to=robh@kernel.org \
--cc=a.zummo@towertech.it \
--cc=alexandre.belloni@free-electrons.com \
--cc=arnd@arndb.de \
--cc=eric.y.miao@gmail.com \
--cc=haojian.zhuang@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux@arm.linux.org.uk \
--cc=robert.jarzmik@free.fr \
--cc=rtc-linux@googlegroups.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.