diff mbox series

[v3,3/3] arm64: dts: exynosautov920: add watchdog DT node

Message ID 20241021063903.793166-4-trunixs.kim@samsung.com
State Superseded
Headers show
Series [v3,1/3] dt-bindings: watchdog: Document ExynosAutoV920 watchdog bindings | expand

Commit Message

김태완 Oct. 21, 2024, 6:39 a.m. UTC
From: Byoungtae Cho <bt.cho@samsung.com>

Adds two watchdog devices for ExynosAutoV920 SoC.

Signed-off-by: Byoungtae Cho <bt.cho@samsung.com>
Signed-off-by: Taewan Kim <trunixs.kim@samsung.com>
---
 .../arm64/boot/dts/exynos/exynosautov920.dtsi | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)

Comments

Krzysztof Kozlowski Nov. 7, 2024, 9:32 a.m. UTC | #1
On 21/10/2024 08:39, Taewan Kim wrote:
> From: Byoungtae Cho <bt.cho@samsung.com>
> 
> Adds two watchdog devices for ExynosAutoV920 SoC.
> 
> Signed-off-by: Byoungtae Cho <bt.cho@samsung.com>
> Signed-off-by: Taewan Kim <trunixs.kim@samsung.com>
> ---
>  .../arm64/boot/dts/exynos/exynosautov920.dtsi | 20 +++++++++++++++++++
>  1 file changed, 20 insertions(+)

How did this happen that this patch was taken to watchdog? There is no
Ack here from me.

Drop this patch from watchdog, I do no agree to take it via that tree.

Best regards,
Krzysztof
Wim Van Sebroeck Nov. 7, 2024, 10:33 a.m. UTC | #2
Hi Krzystof,

> On 21/10/2024 08:39, Taewan Kim wrote:
> > From: Byoungtae Cho <bt.cho@samsung.com>
> > 
> > Adds two watchdog devices for ExynosAutoV920 SoC.
> > 
> > Signed-off-by: Byoungtae Cho <bt.cho@samsung.com>
> > Signed-off-by: Taewan Kim <trunixs.kim@samsung.com>
> > ---
> >  .../arm64/boot/dts/exynos/exynosautov920.dtsi | 20 +++++++++++++++++++
> >  1 file changed, 20 insertions(+)
> 
> How did this happen that this patch was taken to watchdog? There is no
> Ack here from me.
> 
> Drop this patch from watchdog, I do no agree to take it via that tree.
> 
> Best regards,
> Krzysztof
> 

Seems like you are having a hard day. 
The 3 patches are dropped. I presume that you will take them all through your tree then?

Kind regards,
Wim.

PS: the patches are:
[PATCH v3 1/3] dt-bindings: watchdog: Document ExynosAutoV920 watchdog bindings
[PATCH v3 2/3] watchdog: s3c2410_wdt: add support for exynosautov920 SoC
[PATCH v3 3/3] arm64: dts: exynosautov920: add watchdog DT node
Wim Van Sebroeck Nov. 7, 2024, 11:33 a.m. UTC | #3
Hi Krzystof,

> On 07/11/2024 11:33, Wim Van Sebroeck wrote:
> > Hi Krzystof,
> > 
> >> On 21/10/2024 08:39, Taewan Kim wrote:
> >>> From: Byoungtae Cho <bt.cho@samsung.com>
> >>>
> >>> Adds two watchdog devices for ExynosAutoV920 SoC.
> >>>
> >>> Signed-off-by: Byoungtae Cho <bt.cho@samsung.com>
> >>> Signed-off-by: Taewan Kim <trunixs.kim@samsung.com>
> >>> ---
> >>>  .../arm64/boot/dts/exynos/exynosautov920.dtsi | 20 +++++++++++++++++++
> >>>  1 file changed, 20 insertions(+)
> >>
> >> How did this happen that this patch was taken to watchdog? There is no
> >> Ack here from me.
> >>
> >> Drop this patch from watchdog, I do no agree to take it via that tree.
> >>
> >> Best regards,
> >> Krzysztof
> >>
> > 
> > Seems like you are having a hard day. 
> > The 3 patches are dropped. I presume that you will take them all through your tree then?
> 
> I meant only this one patch, not entire patchset. The bindings and
> watchdog driver are for you. I commented only about this patch here - DTS.
> 
> 
> Best regards,
> Krzysztof
> 

I added the first two patches again. Even when it sounds more logical to me to keep the 3 together. But that's a never ending discussion, so we won't go into that :-).

Kind regards,
Wim.
Krzysztof Kozlowski Nov. 7, 2024, 11:37 a.m. UTC | #4
On 07/11/2024 11:33, Wim Van Sebroeck wrote:
> Hi Krzystof,
> 
>> On 21/10/2024 08:39, Taewan Kim wrote:
>>> From: Byoungtae Cho <bt.cho@samsung.com>
>>>
>>> Adds two watchdog devices for ExynosAutoV920 SoC.
>>>
>>> Signed-off-by: Byoungtae Cho <bt.cho@samsung.com>
>>> Signed-off-by: Taewan Kim <trunixs.kim@samsung.com>
>>> ---
>>>  .../arm64/boot/dts/exynos/exynosautov920.dtsi | 20 +++++++++++++++++++
>>>  1 file changed, 20 insertions(+)
>>
>> How did this happen that this patch was taken to watchdog? There is no
>> Ack here from me.
>>
>> Drop this patch from watchdog, I do no agree to take it via that tree.
>>
>> Best regards,
>> Krzysztof
>>
> 
> Seems like you are having a hard day. 
> The 3 patches are dropped. I presume that you will take them all through your tree then?

I meant only this one patch, not entire patchset. The bindings and
watchdog driver are for you. I commented only about this patch here - DTS.


Best regards,
Krzysztof
Krzysztof Kozlowski Nov. 7, 2024, 12:08 p.m. UTC | #5
On 07/11/2024 12:33, Wim Van Sebroeck wrote:
>>> Seems like you are having a hard day. 
>>> The 3 patches are dropped. I presume that you will take them all through your tree then?
>>
>> I meant only this one patch, not entire patchset. The bindings and
>> watchdog driver are for you. I commented only about this patch here - DTS.
>>
>>
>> Best regards,
>> Krzysztof
>>
> 
> I added the first two patches again. Even when it sounds more logical to me to keep the 3 together.

Thank you.

> But that's a never ending discussion, so we won't go into that :-).

DTS is hardware description independent from Linux, therefore always
goes separate way than Linux drivers.

Best regards,
Krzysztof
김태완 Dec. 5, 2024, 12:28 a.m. UTC | #6
Hi Krzysztof,

> On 07/11/2024 12:33, Wim Van Sebroeck wrote:
> >>> Seems like you are having a hard day.
> >>> The 3 patches are dropped. I presume that you will take them all
> through your tree then?
> >>
> >> I meant only this one patch, not entire patchset. The bindings and
> >> watchdog driver are for you. I commented only about this patch here -
> DTS.
> >>
> >>
> >> Best regards,
> >> Krzysztof
> >>
> >
> > I added the first two patches again. Even when it sounds more logical to
> me to keep the 3 together.
> 
> Thank you.
> 
> > But that's a never ending discussion, so we won't go into that :-).
> 
> DTS is hardware description independent from Linux, therefore always goes
> separate way than Linux drivers.
> 
> Best regards,
> Krzysztof

I found that the first two patches have been added to the linux-next git, 
but the last patch has not yet been reviewed.

I would appreciate it if you could take a look at this patch.

Best regards,
Taewan Kim.
Krzysztof Kozlowski Dec. 5, 2024, 7:19 a.m. UTC | #7
On 05/12/2024 01:28, 김태완 wrote:
> Hi Krzysztof,
> 
>> On 07/11/2024 12:33, Wim Van Sebroeck wrote:
>>>>> Seems like you are having a hard day.
>>>>> The 3 patches are dropped. I presume that you will take them all
>> through your tree then?
>>>>
>>>> I meant only this one patch, not entire patchset. The bindings and
>>>> watchdog driver are for you. I commented only about this patch here -
>> DTS.
>>>>
>>>>
>>>> Best regards,
>>>> Krzysztof
>>>>
>>>
>>> I added the first two patches again. Even when it sounds more logical to
>> me to keep the 3 together.
>>
>> Thank you.
>>
>>> But that's a never ending discussion, so we won't go into that :-).
>>
>> DTS is hardware description independent from Linux, therefore always goes
>> separate way than Linux drivers.
>>
>> Best regards,
>> Krzysztof
> 
> I found that the first two patches have been added to the linux-next git, 
> but the last patch has not yet been reviewed.
> 
> I would appreciate it if you could take a look at this patch.

Since this patch was applied, I dropped from my queue. I don't have it
in my inbox anymore. Please rebase, resolve any comments and resend.
Best regards,
Krzysztof
Krzysztof Kozlowski Dec. 5, 2024, 10:35 a.m. UTC | #8
On 05/12/2024 08:19, Krzysztof Kozlowski wrote:
>>>> But that's a never ending discussion, so we won't go into that :-).
>>>
>>> DTS is hardware description independent from Linux, therefore always goes
>>> separate way than Linux drivers.
>>>
>>> Best regards,
>>> Krzysztof
>>
>> I found that the first two patches have been added to the linux-next git, 
>> but the last patch has not yet been reviewed.
>>
>> I would appreciate it if you could take a look at this patch.
> 
> Since this patch was applied, I dropped from my queue. I don't have it
> in my inbox anymore. Please rebase, resolve any comments and resend.

I found it in my inbox and tried to apply but it fails:
error: patch failed: arch/arm64/boot/dts/exynos/exynosautov920.dtsi:172


please rebase and resend.

Best regards,
Krzysztof
김태완 Dec. 5, 2024, 12:25 p.m. UTC | #9
on 05/12/2024 12:25 UTC+09:00, Taewan Kim wrote:
>>>>> But that's a never ending discussion, so we won't go into that :-).
>>>>
>>>> DTS is hardware description independent from Linux, therefore always
>>>> goes separate way than Linux drivers.
>>>>
>>>> Best regards,
>>>> Krzysztof
>>>
>>> I found that the first two patches have been added to the linux-next
>>> git, but the last patch has not yet been reviewed.
>>>
>>> I would appreciate it if you could take a look at this patch.
>>
>> Since this patch was applied, I dropped from my queue. I don't have it
>> in my inbox anymore. Please rebase, resolve any comments and resend.
>
>I found it in my inbox and tried to apply but it fails:
>error: patch failed: arch/arm64/boot/dts/exynos/exynosautov920.dtsi:172
>
>
>please rebase and resend.

Thanks to your hard work, I will resend it after rebase.

Best regards,
Taewan Kim
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/exynos/exynosautov920.dtsi b/arch/arm64/boot/dts/exynos/exynosautov920.dtsi
index 91882b37fdb3..2b3e8debda3d 100644
--- a/arch/arm64/boot/dts/exynos/exynosautov920.dtsi
+++ b/arch/arm64/boot/dts/exynos/exynosautov920.dtsi
@@ -172,6 +172,26 @@  chipid@10000000 {
 			reg = <0x10000000 0x24>;
 		};
 
+		watchdog_cl0: watchdog@10060000 {
+			compatible = "samsung,exynosautov920-wdt";
+			reg = <0x10060000 0x100>;
+			interrupts = <GIC_SPI 953 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&xtcxo>, <&xtcxo>;
+			clock-names = "watchdog", "watchdog_src";
+			samsung,syscon-phandle = <&pmu_system_controller>;
+			samsung,cluster-index = <0>;
+		};
+
+		watchdog_cl1: watchdog@10070000 {
+			compatible = "samsung,exynosautov920-wdt";
+			reg = <0x10070000 0x100>;
+			interrupts = <GIC_SPI 952 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&xtcxo>, <&xtcxo>;
+			clock-names = "watchdog", "watchdog_src";
+			samsung,syscon-phandle = <&pmu_system_controller>;
+			samsung,cluster-index = <1>;
+		};
+
 		gic: interrupt-controller@10400000 {
 			compatible = "arm,gic-v3";
 			#interrupt-cells = <3>;