All of lore.kernel.org
 help / color / mirror / Atom feed
From: AKASHI Takahiro <takahiro.akashi@linaro.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 0/2] arm: qemu-arm: enable PL031 (RTC)
Date: Wed,  4 Jul 2018 16:36:26 +0900	[thread overview]
Message-ID: <20180704073628.23596-1-takahiro.akashi@linaro.org> (raw)

This is a revised version of my proposal[1].

 [1] https://lists.denx.de/pipermail/u-boot/2018-July/333534.html

VMs provided by qemu for arm are equiped with PL031 device.
In patch#1, pl031 driver is converted to driver model, and
in patch#2, this driver is enabled in defconfig of qemu-arm.

This patch set is motivated by running UEFI SCT(Self-Certification Test)
and measuring time on u-boot on qemu-arm.
Heinrich has already posted UEFI's GetTime() implementation.

Changes in v2(July 4, 2018)
* based on Heinrich's comments,
* remove legacy mode interface
* enable the driver in defconfig

AKASHI Takahiro (2):
  rtc: pl031: convert the driver to driver model
  arm: qemu-arm: enable PL031 (RTC) in defconfig

 configs/qemu_arm64_defconfig         |   2 +
 configs/qemu_arm_defconfig           |   2 +
 drivers/rtc/Kconfig                  |   6 ++
 drivers/rtc/pl031.c                  | 109 +++++++++++++++++----------
 include/dm/platform_data/rtc_pl031.h |  12 +++
 5 files changed, 91 insertions(+), 40 deletions(-)
 create mode 100644 include/dm/platform_data/rtc_pl031.h

-- 
2.17.0

             reply	other threads:[~2018-07-04  7:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-04  7:36 AKASHI Takahiro [this message]
2018-07-04  7:36 ` [U-Boot] [PATCH v2 1/2] rtc: pl031: convert the driver to driver model AKASHI Takahiro
2018-07-04  8:53   ` Alexander Graf
2018-07-04 11:29     ` Tuomas Tynkkynen
2018-07-05  8:30     ` AKASHI Takahiro
2018-07-04 10:50   ` Heinrich Schuchardt
2018-07-05  9:37     ` AKASHI Takahiro
2018-07-04 11:35   ` Tuomas Tynkkynen
2018-07-05  7:12     ` AKASHI Takahiro
2018-07-09  0:50       ` AKASHI Takahiro
2018-07-10 20:49         ` Simon Glass
2018-07-04  7:36 ` [U-Boot] [PATCH v2 2/2] arm: qemu-arm: enable PL031 (RTC) in defconfig AKASHI Takahiro
2018-07-04  8:56   ` Alexander Graf
2018-07-04 10:25     ` Heinrich Schuchardt
2018-07-05  6:59       ` AKASHI Takahiro

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=20180704073628.23596-1-takahiro.akashi@linaro.org \
    --to=takahiro.akashi@linaro.org \
    --cc=u-boot@lists.denx.de \
    /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.