* [PATCH 1/2] dt-bindings: watchdog: qcom-wdt: document IPQ5018
@ 2023-08-15 14:17 Robert Marko
2023-08-15 14:17 ` [PATCH 2/2] arm64: dts: qcom: ipq5018: add WDT Robert Marko
2023-08-15 14:34 ` [PATCH 1/2] dt-bindings: watchdog: qcom-wdt: document IPQ5018 Conor Dooley
0 siblings, 2 replies; 7+ messages in thread
From: Robert Marko @ 2023-08-15 14:17 UTC (permalink / raw)
To: agross, andersson, konrad.dybcio, wim, linux, robh+dt,
krzysztof.kozlowski+dt, conor+dt, quic_saipraka, linux-arm-msm,
linux-watchdog, linux-kernel
Cc: Robert Marko
Document the IPQ5018 watchdog compatible.
Signed-off-by: Robert Marko <robimarko@gmail.com>
---
Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
index 6d0fe6abd06a..5046dfa55f13 100644
--- a/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
+++ b/Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
@@ -18,6 +18,7 @@ properties:
- items:
- enum:
- qcom,kpss-wdt-ipq4019
+ - qcom,apss-wdt-ipq5018
- qcom,apss-wdt-ipq5332
- qcom,apss-wdt-ipq9574
- qcom,apss-wdt-msm8994
--
2.41.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/2] arm64: dts: qcom: ipq5018: add WDT
2023-08-15 14:17 [PATCH 1/2] dt-bindings: watchdog: qcom-wdt: document IPQ5018 Robert Marko
@ 2023-08-15 14:17 ` Robert Marko
2023-08-15 14:40 ` Krzysztof Kozlowski
2023-08-15 14:34 ` [PATCH 1/2] dt-bindings: watchdog: qcom-wdt: document IPQ5018 Conor Dooley
1 sibling, 1 reply; 7+ messages in thread
From: Robert Marko @ 2023-08-15 14:17 UTC (permalink / raw)
To: agross, andersson, konrad.dybcio, wim, linux, robh+dt,
krzysztof.kozlowski+dt, conor+dt, quic_saipraka, linux-arm-msm,
linux-watchdog, linux-kernel
Cc: Robert Marko
Add the required DT node for WDT operation.
Signed-off-by: Robert Marko <robimarko@gmail.com>
---
arch/arm64/boot/dts/qcom/ipq5018.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
index 3285c86824cf..168322bfb11c 100644
--- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
@@ -182,6 +182,13 @@ v2m1: v2m@1000 {
};
};
+ watchdog: watchdog@b017000 {
+ compatible = "qcom,apss-wdt-ipq5018", "qcom,kpss-wdt";
+ interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>;
+ reg = <0x0b017000 0x40>;
+ clocks = <&sleep_clk>;
+ };
+
timer@b120000 {
compatible = "arm,armv7-timer-mem";
reg = <0x0b120000 0x1000>;
--
2.41.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] dt-bindings: watchdog: qcom-wdt: document IPQ5018
2023-08-15 14:17 [PATCH 1/2] dt-bindings: watchdog: qcom-wdt: document IPQ5018 Robert Marko
2023-08-15 14:17 ` [PATCH 2/2] arm64: dts: qcom: ipq5018: add WDT Robert Marko
@ 2023-08-15 14:34 ` Conor Dooley
1 sibling, 0 replies; 7+ messages in thread
From: Conor Dooley @ 2023-08-15 14:34 UTC (permalink / raw)
To: Robert Marko
Cc: agross, andersson, konrad.dybcio, wim, linux, robh+dt,
krzysztof.kozlowski+dt, conor+dt, quic_saipraka, linux-arm-msm,
linux-watchdog, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 239 bytes --]
On Tue, Aug 15, 2023 at 04:17:50PM +0200, Robert Marko wrote:
> Document the IPQ5018 watchdog compatible.
>
> Signed-off-by: Robert Marko <robimarko@gmail.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Thanks,
Conor.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: ipq5018: add WDT
2023-08-15 14:17 ` [PATCH 2/2] arm64: dts: qcom: ipq5018: add WDT Robert Marko
@ 2023-08-15 14:40 ` Krzysztof Kozlowski
2023-08-15 15:38 ` Robert Marko
0 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-15 14:40 UTC (permalink / raw)
To: Robert Marko, agross, andersson, konrad.dybcio, wim, linux,
robh+dt, krzysztof.kozlowski+dt, conor+dt, quic_saipraka,
linux-arm-msm, linux-watchdog, linux-kernel
On 15/08/2023 16:17, Robert Marko wrote:
> Add the required DT node for WDT operation.
>
> Signed-off-by: Robert Marko <robimarko@gmail.com>
> ---
> arch/arm64/boot/dts/qcom/ipq5018.dtsi | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
> index 3285c86824cf..168322bfb11c 100644
> --- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi
> +++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
> @@ -182,6 +182,13 @@ v2m1: v2m@1000 {
> };
> };
>
> + watchdog: watchdog@b017000 {
> + compatible = "qcom,apss-wdt-ipq5018", "qcom,kpss-wdt";
> + interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>;
I think all GIC_SPI interrupts are level high.
> + reg = <0x0b017000 0x40>;
Keep the reg as second property.
> + clocks = <&sleep_clk>;
> + };
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: ipq5018: add WDT
2023-08-15 14:40 ` Krzysztof Kozlowski
@ 2023-08-15 15:38 ` Robert Marko
2023-08-15 21:33 ` Krzysztof Kozlowski
0 siblings, 1 reply; 7+ messages in thread
From: Robert Marko @ 2023-08-15 15:38 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: agross, andersson, konrad.dybcio, wim, linux, robh+dt,
krzysztof.kozlowski+dt, conor+dt, quic_saipraka, linux-arm-msm,
linux-watchdog, linux-kernel
On Tue, 15 Aug 2023 at 16:40, Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:
>
> On 15/08/2023 16:17, Robert Marko wrote:
> > Add the required DT node for WDT operation.
> >
> > Signed-off-by: Robert Marko <robimarko@gmail.com>
> > ---
> > arch/arm64/boot/dts/qcom/ipq5018.dtsi | 7 +++++++
> > 1 file changed, 7 insertions(+)
> >
> > diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
> > index 3285c86824cf..168322bfb11c 100644
> > --- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi
> > +++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
> > @@ -182,6 +182,13 @@ v2m1: v2m@1000 {
> > };
> > };
> >
> > + watchdog: watchdog@b017000 {
> > + compatible = "qcom,apss-wdt-ipq5018", "qcom,kpss-wdt";
> > + interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>;
>
> I think all GIC_SPI interrupts are level high.
They are most probably using GIC-500 which supports rising edge or
active high interrupts.
Both the older GIC-400 and newer GIC-600 also support the same.
Vendor DTS indicates this level, IPQ8074 and IPQ6018 which use the
same core, and it
seems the same WDT IP use the rising edge IRQ.
>
> > + reg = <0x0b017000 0x40>;
>
> Keep the reg as second property.
Ok,
will do.
Regards,
Robert
>
> > + clocks = <&sleep_clk>;
> > + };
>
> Best regards,
> Krzysztof
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: ipq5018: add WDT
2023-08-15 15:38 ` Robert Marko
@ 2023-08-15 21:33 ` Krzysztof Kozlowski
2023-08-15 21:37 ` Robert Marko
0 siblings, 1 reply; 7+ messages in thread
From: Krzysztof Kozlowski @ 2023-08-15 21:33 UTC (permalink / raw)
To: Robert Marko, Krzysztof Kozlowski
Cc: agross, andersson, konrad.dybcio, wim, linux, robh+dt,
krzysztof.kozlowski+dt, conor+dt, quic_saipraka, linux-arm-msm,
linux-watchdog, linux-kernel
On 15/08/2023 17:38, Robert Marko wrote:
> On Tue, 15 Aug 2023 at 16:40, Krzysztof Kozlowski
> <krzysztof.kozlowski@linaro.org> wrote:
>>
>> On 15/08/2023 16:17, Robert Marko wrote:
>>> Add the required DT node for WDT operation.
>>>
>>> Signed-off-by: Robert Marko <robimarko@gmail.com>
>>> ---
>>> arch/arm64/boot/dts/qcom/ipq5018.dtsi | 7 +++++++
>>> 1 file changed, 7 insertions(+)
>>>
>>> diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
>>> index 3285c86824cf..168322bfb11c 100644
>>> --- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi
>>> +++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
>>> @@ -182,6 +182,13 @@ v2m1: v2m@1000 {
>>> };
>>> };
>>>
>>> + watchdog: watchdog@b017000 {
>>> + compatible = "qcom,apss-wdt-ipq5018", "qcom,kpss-wdt";
>>> + interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>;
>>
>> I think all GIC_SPI interrupts are level high.
>
> They are most probably using GIC-500 which supports rising edge or
> active high interrupts.
> Both the older GIC-400 and newer GIC-600 also support the same.
>
> Vendor DTS indicates this level, IPQ8074 and IPQ6018 which use the
> same core, and it
> seems the same WDT IP use the rising edge IRQ.
>
That's ok, but now I see missing Cc to DT, so standard message goes:
Please use scripts/get_maintainers.pl to get a list of necessary people
and lists to CC. It might happen, that command when run on an older
kernel, gives you outdated entries. Therefore please be sure you base
your patches on recent Linux kernel.
You missed at least DT list (maybe more), so this won't be tested by
automated tooling. Performing review on untested code might be a waste
of time, thus I will skip this patch entirely till you follow the
process allowing the patch to be tested.
Please kindly resend and include all necessary To/Cc entries.
Best regards,
Krzysztof
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/2] arm64: dts: qcom: ipq5018: add WDT
2023-08-15 21:33 ` Krzysztof Kozlowski
@ 2023-08-15 21:37 ` Robert Marko
0 siblings, 0 replies; 7+ messages in thread
From: Robert Marko @ 2023-08-15 21:37 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: Krzysztof Kozlowski, agross, andersson, konrad.dybcio, wim, linux,
robh+dt, krzysztof.kozlowski+dt, conor+dt, quic_saipraka,
linux-arm-msm, linux-watchdog, linux-kernel
On Tue, 15 Aug 2023 at 23:33, Krzysztof Kozlowski <krzk@kernel.org> wrote:
>
> On 15/08/2023 17:38, Robert Marko wrote:
> > On Tue, 15 Aug 2023 at 16:40, Krzysztof Kozlowski
> > <krzysztof.kozlowski@linaro.org> wrote:
> >>
> >> On 15/08/2023 16:17, Robert Marko wrote:
> >>> Add the required DT node for WDT operation.
> >>>
> >>> Signed-off-by: Robert Marko <robimarko@gmail.com>
> >>> ---
> >>> arch/arm64/boot/dts/qcom/ipq5018.dtsi | 7 +++++++
> >>> 1 file changed, 7 insertions(+)
> >>>
> >>> diff --git a/arch/arm64/boot/dts/qcom/ipq5018.dtsi b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
> >>> index 3285c86824cf..168322bfb11c 100644
> >>> --- a/arch/arm64/boot/dts/qcom/ipq5018.dtsi
> >>> +++ b/arch/arm64/boot/dts/qcom/ipq5018.dtsi
> >>> @@ -182,6 +182,13 @@ v2m1: v2m@1000 {
> >>> };
> >>> };
> >>>
> >>> + watchdog: watchdog@b017000 {
> >>> + compatible = "qcom,apss-wdt-ipq5018", "qcom,kpss-wdt";
> >>> + interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>;
> >>
> >> I think all GIC_SPI interrupts are level high.
> >
> > They are most probably using GIC-500 which supports rising edge or
> > active high interrupts.
> > Both the older GIC-400 and newer GIC-600 also support the same.
> >
> > Vendor DTS indicates this level, IPQ8074 and IPQ6018 which use the
> > same core, and it
> > seems the same WDT IP use the rising edge IRQ.
> >
>
> That's ok, but now I see missing Cc to DT, so standard message goes:
>
> Please use scripts/get_maintainers.pl to get a list of necessary people
> and lists to CC. It might happen, that command when run on an older
> kernel, gives you outdated entries. Therefore please be sure you base
> your patches on recent Linux kernel.
>
> You missed at least DT list (maybe more), so this won't be tested by
> automated tooling. Performing review on untested code might be a waste
> of time, thus I will skip this patch entirely till you follow the
> process allowing the patch to be tested.
>
> Please kindly resend and include all necessary To/Cc entries.
Indeed it looks like I managed to miss the DT mailing list somehow, everybody
else was added.
Apologies for it, will resend it in the morning.
Regards,
Robert
>
> Best regards,
> Krzysztof
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-08-15 21:39 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-15 14:17 [PATCH 1/2] dt-bindings: watchdog: qcom-wdt: document IPQ5018 Robert Marko
2023-08-15 14:17 ` [PATCH 2/2] arm64: dts: qcom: ipq5018: add WDT Robert Marko
2023-08-15 14:40 ` Krzysztof Kozlowski
2023-08-15 15:38 ` Robert Marko
2023-08-15 21:33 ` Krzysztof Kozlowski
2023-08-15 21:37 ` Robert Marko
2023-08-15 14:34 ` [PATCH 1/2] dt-bindings: watchdog: qcom-wdt: document IPQ5018 Conor Dooley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox