From: Jan Kiszka <jan.kiszka@siemens.com>
To: huaqian.li@siemens.com, nm@ti.com, vigneshr@ti.com,
kristo@kernel.org, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org
Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, baocheng.su@siemens.com
Subject: Re: [PATCH] arm64: dts: ti: Add reserved memory for watchdog
Date: Fri, 16 Feb 2024 17:48:51 +0100 [thread overview]
Message-ID: <c6a3fc6a-d21e-4b76-bfc0-82de2f729ad7@siemens.com> (raw)
In-Reply-To: <20240117060654.109424-1-huaqian.li@siemens.com>
On 17.01.24 07:06, huaqian.li@siemens.com wrote:
> From: Li Hua Qian <huaqian.li@siemens.com>
>
> This patch adds a reserved memory for the TI AM65X platform watchdog
> to reserve the specific info, triggering the watchdog reset in last
> boot, to know if the board reboot is due to a watchdog reset.
>
> Signed-off-by: Li Hua Qian <huaqian.li@siemens.com>
> ---
> The driver and binding have hit the master, which could be found in the
> following link.
> - watchdog:rit_wdt: Add support for WDIOF_CARDRESET
> - dt-bindings: watchdog: ti,rti-wdt: Add support for WDIOF_CARDRESET
> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=29057cc5bddc785ea0a11534d7ad2546fa0872d3
>
> arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi | 10 ++++++++++
> 1 file changed, 10 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi
> index 61a634afaa4f..88321799d468 100644
> --- a/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi
> +++ b/arch/arm64/boot/dts/ti/k3-am65-iot2050-common.dtsi
> @@ -75,6 +75,12 @@ rtos_ipc_memory_region: ipc-memories@a2000000 {
> alignment = <0x1000>;
> no-map;
> };
> +
> + /* To reserve the power-on(PON) reason for watchdog reset */
> + wdt_reset_memory_region: wdt-memory@a2200000 {
> + reg = <0x00 0xa2200000 0x00 0x1000>;
> + no-map;
> + };
> };
>
> leds {
> @@ -1427,6 +1433,10 @@ &mcu_r5fss0_core1 {
> mboxes = <&mailbox0_cluster1>, <&mbox_mcu_r5fss0_core1>;
> };
>
> +&mcu_rti1 {
> + memory-region = <&wdt_reset_memory_region>;
> +};
> +
> &icssg0_mdio {
> status = "okay";
> pinctrl-names = "default";
Is this not forgotten (now that my IOT2050 series was merged)?
Thanks,
Jan
--
Siemens AG, Technology
Linux Expert Center
next prev parent reply other threads:[~2024-02-16 16:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-17 6:06 huaqian.li
2024-02-16 16:48 ` Jan Kiszka [this message]
2024-02-19 13:20 ` Vignesh Raghavendra
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=c6a3fc6a-d21e-4b76-bfc0-82de2f729ad7@siemens.com \
--to=jan.kiszka@siemens.com \
--cc=baocheng.su@siemens.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=huaqian.li@siemens.com \
--cc=kristo@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nm@ti.com \
--cc=robh+dt@kernel.org \
--cc=vigneshr@ti.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®