From: Huacai Chen <chenhuacai@kernel.org>
To: Binbin Zhou <zhoubinbin@loongson.cn>
Cc: Alessandro Zummo <a.zummo@towertech.it>,
linux-rtc@vger.kernel.org,
"open list:MIPS" <linux-mips@vger.kernel.org>,
devicetree@vger.kernel.org, loongarch@lists.linux.dev,
ACPI Devel Maling List <linux-acpi@vger.kernel.org>,
Qing Zhang <zhangqing@loongson.cn>
Subject: Re: [PATCH 0/7] rtc: ls2x: Add support for the Loongson-2K/LS7A RTC
Date: Sat, 3 Sep 2022 22:15:33 +0800 [thread overview]
Message-ID: <CAAhV-H5+7_o1znvnOdbASwxL09NxSr6vAFpiZZC16DHGtt5f9w@mail.gmail.com> (raw)
In-Reply-To: <cover.1662190009.git.zhoubinbin@loongson.cn>
Hi, Binbin,
On Sat, Sep 3, 2022 at 5:35 PM Binbin Zhou <zhoubinbin@loongson.cn> wrote:
>
> Hi all:
>
> The initial DT-base ls2x rtc driver was written by Wang Xuerui, he has
> released five versions of patchset before, and all related mail records
> are shown below if you are interested:
>
> https://lore.kernel.org/all/?q=ls2x-rtc
>
> In this series of patches, based on the code above, I have added the
> following support:
>
> 1. Add ACPI-related support, as Loongson-3 + LS7A is now ACPI-base
> by default on LoonArch;
> 2. Add rtc alarm/walarm related functions.
>
> Unfortunately, I have only tested the Loongson-3A4000+LS7A1000/LS7A2000
> under LoongArch architecture.
I think Loongson-3A4000 should be Loongson-3A5000 here. And I think
Qing Zhang can help us to test on Loongson-2K platform.
Huacai
>
> NOTE:
> The related functions of rtc alarm/walarm depend on ACPI registers, so rtc
> alarm may not be available on the DT-base environment. Such as Loongson-2k/3
> under MIPS.
>
> Thanks.
>
> Binbin Zhou (2):
> rtc: ls2x: Add support for the Loongson-2K/LS7A RTC
> LoongArch: Enable LS2X RTC in loongson3_defconfig
>
> WANG Xuerui (5):
> dt-bindings: rtc: Add bindings for LS2X RTC
> MIPS: Loongson64: DTS: Add RTC support to LS7A
> MIPS: Loongson: Enable LS2X RTC in loongson3_defconfig
> MIPS: Loongson64: DTS: Add RTC support to Loongson-2K
> MIPS: Loongson: Enable LS2X RTC in loongson2k_defconfig
>
> .../devicetree/bindings/rtc/trivial-rtc.yaml | 2 +
> arch/loongarch/configs/loongson3_defconfig | 1 +
> .../boot/dts/loongson/loongson64-2k1000.dtsi | 5 +
> arch/mips/boot/dts/loongson/ls7a-pch.dtsi | 5 +
> arch/mips/configs/loongson2k_defconfig | 1 +
> arch/mips/configs/loongson3_defconfig | 1 +
> drivers/rtc/Kconfig | 11 +
> drivers/rtc/Makefile | 1 +
> drivers/rtc/rtc-ls2x.c | 366 ++++++++++++++++++
> 9 files changed, 393 insertions(+)
> create mode 100644 drivers/rtc/rtc-ls2x.c
>
> --
> 2.31.1
>
>
prev parent reply other threads:[~2022-09-03 14:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-03 9:34 [PATCH 0/7] rtc: ls2x: Add support for the Loongson-2K/LS7A RTC Binbin Zhou
2022-09-03 9:34 ` [PATCH 1/7] " Binbin Zhou
2022-09-03 9:34 ` [PATCH 2/7] LoongArch: Enable LS2X RTC in loongson3_defconfig Binbin Zhou
2022-09-03 10:45 ` Xi Ruoyao
2022-09-03 14:19 ` Huacai Chen
2022-09-03 9:34 ` [PATCH 3/7] dt-bindings: rtc: Add bindings for LS2X RTC Binbin Zhou
2022-09-03 9:34 ` [PATCH 4/7] MIPS: Loongson64: DTS: Add RTC support to LS7A Binbin Zhou
2022-09-03 9:34 ` [PATCH 5/7] MIPS: Loongson: Enable LS2X RTC in loongson3_defconfig Binbin Zhou
2022-09-03 9:35 ` [PATCH 6/7] MIPS: Loongson64: DTS: Add RTC support to Loongson-2K Binbin Zhou
2022-09-03 9:35 ` [PATCH 7/7] MIPS: Loongson: Enable LS2X RTC in loongson2k_defconfig Binbin Zhou
2022-09-03 14:15 ` Huacai Chen [this message]
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=CAAhV-H5+7_o1znvnOdbASwxL09NxSr6vAFpiZZC16DHGtt5f9w@mail.gmail.com \
--to=chenhuacai@kernel.org \
--cc=a.zummo@towertech.it \
--cc=devicetree@vger.kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=zhangqing@loongson.cn \
--cc=zhoubinbin@loongson.cn \
/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;
as well as URLs for NNTP newsgroup(s).