From: "Jiaxun Yang" <jiaxun.yang@flygoat.com>
To: "Binbin Zhou" <zhoubinbin@loongson.cn>,
"Alessandro Zummo" <a.zummo@towertech.it>,
"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
"Thomas Bogendoerfer" <tsbogend@alpha.franken.de>,
"Huacai Chen" <chenhuacai@loongson.cn>,
"Xuerui Wang" <kernel@xen0n.name>
Cc: linux-rtc@vger.kernel.org,
"linux-mips@vger.kernel.org" <linux-mips@vger.kernel.org>,
loongarch@lists.linux.dev, "Rob Herring" <robh+dt@kernel.org>,
"Krzysztof Kozlowski" <krzysztof.kozlowski+dt@linaro.org>,
devicetree@vger.kernel.org, "Qing Zhang" <zhangqing@loongson.cn>,
"Tiezhu Yang" <yangtiezhu@loongson.cn>,
zhaoxiao <zhaoxiao@uniontech.com>, "WANG Xuerui" <git@xen0n.name>
Subject: Re: [PATCH V2 6/7] MIPS: Loongson64: DTS: Add RTC support to Loongson-2K
Date: Wed, 11 Jan 2023 16:47:13 +0000 [thread overview]
Message-ID: <f6c80b25-c11d-4f11-885c-6d7fb71bb92f@app.fastmail.com> (raw)
In-Reply-To: <8be1bf437f5407c54a93e7be2c6303d0eb6eeb83.1673227292.git.zhoubinbin@loongson.cn>
在2023年1月9日一月 上午1:36,Binbin Zhou写道:
> The Loongson-2K RTC module is now supported, enable it.
>
> The MMIO address is unclear from the Loongson 2K1000 user manual, I took
> it from Loongson's out-of-tree fork of Linux 4.19.
Can confirm this MMIO address is correct. It matches current confbus BAR
setting by PMON.
>
> Signed-off-by: WANG Xuerui <git@xen0n.name>
> Signed-off-by: Binbin Zhou <zhoubinbin@loongson.cn>
Acked-by: Jiaxun Yang <jiaxun.yang@flygoat.com>
> ---
> arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
> b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
> index 8143a61111e3..c22414595140 100644
> --- a/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
> +++ b/arch/mips/boot/dts/loongson/loongson64-2k1000.dtsi
> @@ -57,6 +57,13 @@ pm: reset-controller@1fe07000 {
> reg = <0 0x1fe07000 0 0x422>;
> };
>
> + rtc0: rtc@1fe07800 {
> + compatible = "loongson,ls2x-rtc";
> + reg = <0 0x1fe07800 0 0x78>;
> + interrupt-parent = <&liointc0>;
> + interrupts = <60 IRQ_TYPE_LEVEL_LOW>;
> + };
> +
> liointc0: interrupt-controller@1fe11400 {
> compatible = "loongson,liointc-2.0";
> reg = <0 0x1fe11400 0 0x40>,
> --
> 2.31.1
--
- Jiaxun
next prev parent reply other threads:[~2023-01-11 16:47 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-09 1:35 [PATCH V2 0/7] rtc: ls2x: Add support for the Loongson-2K/LS7A RTC Binbin Zhou
2023-01-09 1:35 ` [PATCH V2 1/7] dt-bindings: rtc: Add Loongson LS2X RTC support Binbin Zhou
2023-01-09 1:35 ` [PATCH V2 2/7] rtc: Add support for the Loongson-2K/LS7A RTC Binbin Zhou
2023-01-11 16:48 ` Jiaxun Yang
2023-01-23 23:34 ` Alexandre Belloni
2023-02-01 9:16 ` Binbin Zhou
2023-02-14 23:13 ` Alexandre Belloni
2023-02-27 2:26 ` Binbin Zhou
2023-02-27 5:39 ` Alexandre Belloni
2023-01-09 1:35 ` [PATCH V2 3/7] LoongArch: Enable LS2X RTC in loongson3_defconfig Binbin Zhou
2023-01-09 1:36 ` [PATCH V2 4/7] MIPS: Loongson64: DTS: Add RTC support to LS7A Binbin Zhou
2023-01-09 1:36 ` [PATCH V2 5/7] MIPS: Loongson: Enable LS2X RTC in loongson3_defconfig Binbin Zhou
2023-01-09 1:36 ` [PATCH V2 6/7] MIPS: Loongson64: DTS: Add RTC support to Loongson-2K Binbin Zhou
2023-01-11 16:47 ` Jiaxun Yang [this message]
2023-01-09 1:36 ` [PATCH V2 7/7] MIPS: Loongson: Enable LS2X RTC in loongson2k_defconfig Binbin Zhou
2023-01-23 23:15 ` [PATCH V2 0/7] rtc: ls2x: Add support for the Loongson-2K/LS7A RTC Alexandre Belloni
2023-01-31 12:59 ` Binbin Zhou
2023-02-10 10:03 ` Binbin Zhou
2023-02-14 23:17 ` Alexandre Belloni
2023-02-15 2:16 ` Kelvin Cheung
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=f6c80b25-c11d-4f11-885c-6d7fb71bb92f@app.fastmail.com \
--to=jiaxun.yang@flygoat.com \
--cc=a.zummo@towertech.it \
--cc=alexandre.belloni@bootlin.com \
--cc=chenhuacai@loongson.cn \
--cc=devicetree@vger.kernel.org \
--cc=git@xen0n.name \
--cc=kernel@xen0n.name \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=robh+dt@kernel.org \
--cc=tsbogend@alpha.franken.de \
--cc=yangtiezhu@loongson.cn \
--cc=zhangqing@loongson.cn \
--cc=zhaoxiao@uniontech.com \
--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).