From: Kevin Hilman <khilman@kernel.org>
To: Alexandre Belloni <alexandre.belloni@bootlin.com>,
linux-rtc@vger.kernel.org
Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Neil Armstrong <narmstrong@baylibre.com>
Subject: [PATCH v3 0/2] rtc: add new Amlogic Virtual Wake RTC
Date: Mon, 12 Aug 2019 16:28:48 -0700 [thread overview]
Message-ID: <20190812232850.8016-1-khilman@kernel.org> (raw)
From: Kevin Hilman <khilman@baylibre.com>
Add a new driver for the virtual wake RTC on Amlogic SoCs.
The RTC is virtual from the Linux side because it's a hardware timer
managed by firmware on the secure co-processor (SCP.) The interface
is 1 register where a wakeup time (in seconds) is written. The SCP then
uses this value to program an always-on timer.
Changes since v2:
- switch to devm_platform_ioremap_resource()
- switch to devm_rtc_allocate_device() and rtc_register_device()
Changes since v1:
- add MAINTAINERS entry
- add nop ->alarm_irq_enable() (workaround for RTC core
limitation pointed out by Alexandre Belloni)
- remove unused ->read_alarm()
- fix statics
- move resume to dev_pm_ops
- add suspend hook
- don't calculate (or write) the alarm timer value until suspend time
Changes since Neil's original version
- move from do_gettimeofday() to ktime_get()
Kevin Hilman (1):
dt-bindings: rtc: new binding for Amlogic VRTC
Neil Armstrong (1):
rtc: Add Amlogic Virtual Wake RTC
.../bindings/rtc/rtc-meson-vrtc.txt | 22 +++
MAINTAINERS | 1 +
drivers/rtc/Kconfig | 11 ++
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-meson-vrtc.c | 156 ++++++++++++++++++
5 files changed, 191 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rtc/rtc-meson-vrtc.txt
create mode 100644 drivers/rtc/rtc-meson-vrtc.c
--
2.22.0
_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic
WARNING: multiple messages have this Message-ID (diff)
From: Kevin Hilman <khilman@kernel.org>
To: Alexandre Belloni <alexandre.belloni@bootlin.com>,
linux-rtc@vger.kernel.org
Cc: linux-amlogic@lists.infradead.org,
linux-arm-kernel@lists.infradead.org,
Neil Armstrong <narmstrong@baylibre.com>,
devicetree@vger.kernel.org
Subject: [PATCH v3 0/2] rtc: add new Amlogic Virtual Wake RTC
Date: Mon, 12 Aug 2019 16:28:48 -0700 [thread overview]
Message-ID: <20190812232850.8016-1-khilman@kernel.org> (raw)
From: Kevin Hilman <khilman@baylibre.com>
Add a new driver for the virtual wake RTC on Amlogic SoCs.
The RTC is virtual from the Linux side because it's a hardware timer
managed by firmware on the secure co-processor (SCP.) The interface
is 1 register where a wakeup time (in seconds) is written. The SCP then
uses this value to program an always-on timer.
Changes since v2:
- switch to devm_platform_ioremap_resource()
- switch to devm_rtc_allocate_device() and rtc_register_device()
Changes since v1:
- add MAINTAINERS entry
- add nop ->alarm_irq_enable() (workaround for RTC core
limitation pointed out by Alexandre Belloni)
- remove unused ->read_alarm()
- fix statics
- move resume to dev_pm_ops
- add suspend hook
- don't calculate (or write) the alarm timer value until suspend time
Changes since Neil's original version
- move from do_gettimeofday() to ktime_get()
Kevin Hilman (1):
dt-bindings: rtc: new binding for Amlogic VRTC
Neil Armstrong (1):
rtc: Add Amlogic Virtual Wake RTC
.../bindings/rtc/rtc-meson-vrtc.txt | 22 +++
MAINTAINERS | 1 +
drivers/rtc/Kconfig | 11 ++
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-meson-vrtc.c | 156 ++++++++++++++++++
5 files changed, 191 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rtc/rtc-meson-vrtc.txt
create mode 100644 drivers/rtc/rtc-meson-vrtc.c
--
2.22.0
WARNING: multiple messages have this Message-ID (diff)
From: Kevin Hilman <khilman@kernel.org>
To: Alexandre Belloni <alexandre.belloni@bootlin.com>,
linux-rtc@vger.kernel.org
Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Neil Armstrong <narmstrong@baylibre.com>
Subject: [PATCH v3 0/2] rtc: add new Amlogic Virtual Wake RTC
Date: Mon, 12 Aug 2019 16:28:48 -0700 [thread overview]
Message-ID: <20190812232850.8016-1-khilman@kernel.org> (raw)
From: Kevin Hilman <khilman@baylibre.com>
Add a new driver for the virtual wake RTC on Amlogic SoCs.
The RTC is virtual from the Linux side because it's a hardware timer
managed by firmware on the secure co-processor (SCP.) The interface
is 1 register where a wakeup time (in seconds) is written. The SCP then
uses this value to program an always-on timer.
Changes since v2:
- switch to devm_platform_ioremap_resource()
- switch to devm_rtc_allocate_device() and rtc_register_device()
Changes since v1:
- add MAINTAINERS entry
- add nop ->alarm_irq_enable() (workaround for RTC core
limitation pointed out by Alexandre Belloni)
- remove unused ->read_alarm()
- fix statics
- move resume to dev_pm_ops
- add suspend hook
- don't calculate (or write) the alarm timer value until suspend time
Changes since Neil's original version
- move from do_gettimeofday() to ktime_get()
Kevin Hilman (1):
dt-bindings: rtc: new binding for Amlogic VRTC
Neil Armstrong (1):
rtc: Add Amlogic Virtual Wake RTC
.../bindings/rtc/rtc-meson-vrtc.txt | 22 +++
MAINTAINERS | 1 +
drivers/rtc/Kconfig | 11 ++
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-meson-vrtc.c | 156 ++++++++++++++++++
5 files changed, 191 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rtc/rtc-meson-vrtc.txt
create mode 100644 drivers/rtc/rtc-meson-vrtc.c
--
2.22.0
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Kevin Hilman <khilman@kernel.org>
To: Alexandre Belloni <alexandre.belloni@bootlin.com>,
linux-rtc@vger.kernel.org
Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Neil Armstrong <narmstrong@baylibre.com>
Subject: [PATCH v3 0/2] rtc: add new Amlogic Virtual Wake RTC
Date: Mon, 12 Aug 2019 16:28:48 -0700 [thread overview]
Message-ID: <20190812232850.8016-1-khilman@kernel.org> (raw)
From: Kevin Hilman <khilman@baylibre.com>
Add a new driver for the virtual wake RTC on Amlogic SoCs.
The RTC is virtual from the Linux side because it's a hardware timer
managed by firmware on the secure co-processor (SCP.) The interface
is 1 register where a wakeup time (in seconds) is written. The SCP then
uses this value to program an always-on timer.
Changes since v2:
- switch to devm_platform_ioremap_resource()
- switch to devm_rtc_allocate_device() and rtc_register_device()
Changes since v1:
- add MAINTAINERS entry
- add nop ->alarm_irq_enable() (workaround for RTC core
limitation pointed out by Alexandre Belloni)
- remove unused ->read_alarm()
- fix statics
- move resume to dev_pm_ops
- add suspend hook
- don't calculate (or write) the alarm timer value until suspend time
Changes since Neil's original version
- move from do_gettimeofday() to ktime_get()
Kevin Hilman (1):
dt-bindings: rtc: new binding for Amlogic VRTC
Neil Armstrong (1):
rtc: Add Amlogic Virtual Wake RTC
.../bindings/rtc/rtc-meson-vrtc.txt | 22 +++
MAINTAINERS | 1 +
drivers/rtc/Kconfig | 11 ++
drivers/rtc/Makefile | 1 +
drivers/rtc/rtc-meson-vrtc.c | 156 ++++++++++++++++++
5 files changed, 191 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rtc/rtc-meson-vrtc.txt
create mode 100644 drivers/rtc/rtc-meson-vrtc.c
--
2.22.0
next reply other threads:[~2019-08-12 23:29 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-12 23:28 Kevin Hilman [this message]
2019-08-12 23:28 ` [PATCH v3 0/2] rtc: add new Amlogic Virtual Wake RTC Kevin Hilman
2019-08-12 23:28 ` Kevin Hilman
2019-08-12 23:28 ` Kevin Hilman
2019-08-12 23:28 ` [PATCH v3 1/2] dt-bindings: rtc: new binding for Amlogic VRTC Kevin Hilman
2019-08-12 23:28 ` Kevin Hilman
2019-08-12 23:28 ` Kevin Hilman
2019-08-12 23:28 ` Kevin Hilman
2019-08-22 21:11 ` Alexandre Belloni
2019-08-22 21:11 ` Alexandre Belloni
2019-08-22 21:11 ` Alexandre Belloni
2019-08-22 21:11 ` Alexandre Belloni
2019-08-12 23:28 ` [PATCH v3 2/2] rtc: Add Amlogic Virtual Wake RTC Kevin Hilman
2019-08-12 23:28 ` Kevin Hilman
2019-08-12 23:28 ` Kevin Hilman
2019-08-12 23:28 ` Kevin Hilman
2019-08-22 21:11 ` Alexandre Belloni
2019-08-22 21:11 ` Alexandre Belloni
2019-08-22 21:11 ` Alexandre Belloni
2019-08-22 21:11 ` Alexandre Belloni
2019-08-22 20:52 ` [PATCH v3 0/2] rtc: add new " Kevin Hilman
2019-08-22 20:52 ` Kevin Hilman
2019-08-22 20:52 ` Kevin Hilman
2019-08-22 20:52 ` Kevin Hilman
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=20190812232850.8016-1-khilman@kernel.org \
--to=khilman@kernel.org \
--cc=alexandre.belloni@bootlin.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-rtc@vger.kernel.org \
--cc=narmstrong@baylibre.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.