Linux Watchdog driver development
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: Kathiravan Thirumoorthy
	<kathiravan.thirumoorthy@oss.qualcomm.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Bjorn Andersson <andersson@kernel.org>,
	Konrad Dybcio <konradybcio@kernel.org>,
	Wim Van Sebroeck <wim@linux-watchdog.org>,
	Guenter Roeck <linux@roeck-us.net>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-watchdog@vger.kernel.org
Subject: Re: [PATCH RFC 4/6] dt-bindings: sram: qcom,imem: add the support for restart reason
Date: Wed, 9 Apr 2025 09:02:56 +0200	[thread overview]
Message-ID: <fdf2d127-a4a6-4a4f-89ac-9f9dbe136ff8@kernel.org> (raw)
In-Reply-To: <20250408-wdt_reset_reason-v1-4-e6ec30c2c926@oss.qualcomm.com>

On 08/04/2025 10:49, Kathiravan Thirumoorthy wrote:
> In the Qualcomm IPQ SoCs, system restart reason is captured in the IMEM
> location by bootloaders and Linux populates this information to the
> userspace. Add a child node for the restart reason in the IMEM region.
> 
> Signed-off-by: Kathiravan Thirumoorthy <kathiravan.thirumoorthy@oss.qualcomm.com>
> ---
>  .../devicetree/bindings/sram/qcom,imem.yaml        | 24 ++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/sram/qcom,imem.yaml b/Documentation/devicetree/bindings/sram/qcom,imem.yaml
> index dec1b1ee924cf1386f559eb262ea864f2788c165..c3dab5fbc88c1515bfb3585f18aed9e01ae36fe4 100644
> --- a/Documentation/devicetree/bindings/sram/qcom,imem.yaml
> +++ b/Documentation/devicetree/bindings/sram/qcom,imem.yaml
> @@ -56,6 +56,10 @@ patternProperties:
>      $ref: /schemas/remoteproc/qcom,pil-info.yaml#
>      description: Peripheral image loader relocation region
>  
> +  "^restart-reason@[0-9a-f]+$":
> +    $ref: /schemas/watchdog/qcom,restart-reason.yaml#

Just fold it here... but really, there is little point in describing
memory layout of syscon block register by register. What will be next?
Another entry for one more register? And then another? And another? And
every time you will claim "just this one", because you decide not to
provide complete picture when sending bindings for the first time?


Best regards,
Krzysztof

  reply	other threads:[~2025-04-09  7:03 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-08  8:49 [PATCH RFC 0/6] Add support to read the restart reason from IMEM Kathiravan Thirumoorthy
2025-04-08  8:49 ` [PATCH RFC 1/6] dt-bindings: sram: qcom,imem: Document IPQ5424 compatible Kathiravan Thirumoorthy
2025-04-09  6:58   ` Krzysztof Kozlowski
2025-04-11  4:57     ` Kathiravan Thirumoorthy
2025-04-08  8:49 ` [PATCH RFC 2/6] arm64: dts: qcom: ipq5424: Add the IMEM node Kathiravan Thirumoorthy
2025-04-09 18:41   ` Konrad Dybcio
2025-04-11  5:01     ` Kathiravan Thirumoorthy
2025-04-11  9:03       ` Konrad Dybcio
2025-04-11  9:17         ` Kathiravan Thirumoorthy
2025-04-08  8:49 ` [PATCH RFC 3/6] dt-bindings: watchdog: Add Qualcomm restart reason binding Kathiravan Thirumoorthy
2025-04-08 11:41   ` Rob Herring (Arm)
2025-04-09  7:00   ` Krzysztof Kozlowski
2025-04-11  5:25     ` Kathiravan Thirumoorthy
2025-04-08  8:49 ` [PATCH RFC 4/6] dt-bindings: sram: qcom,imem: add the support for restart reason Kathiravan Thirumoorthy
2025-04-09  7:02   ` Krzysztof Kozlowski [this message]
2025-04-08  8:49 ` [PATCH RFC 5/6] watchdog: qcom-wdt: add support to read the restart reason from IMEM Kathiravan Thirumoorthy
2025-04-08 12:33   ` Guenter Roeck
2025-04-11  5:29     ` Kathiravan Thirumoorthy
2025-04-09  7:03   ` Krzysztof Kozlowski
2025-04-11  5:34     ` Kathiravan Thirumoorthy
2025-04-08  8:49 ` [PATCH RFC 6/6] arm64: dts: qcom: ipq5424: add node for the restart reason information Kathiravan Thirumoorthy
2025-04-09 18:49 ` [PATCH RFC 0/6] Add support to read the restart reason from IMEM Konrad Dybcio

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=fdf2d127-a4a6-4a4f-89ac-9f9dbe136ff8@kernel.org \
    --to=krzk@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=kathiravan.thirumoorthy@oss.qualcomm.com \
    --cc=konradybcio@kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-watchdog@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=robh@kernel.org \
    --cc=wim@linux-watchdog.org \
    /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