All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: mediatek: mt6795: Add CPUX system timer node
@ 2022-07-29  9:35 ` AngeloGioacchino Del Regno
  0 siblings, 0 replies; 6+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-07-29  9:35 UTC (permalink / raw)
  To: matthias.bgg
  Cc: robh+dt, krzysztof.kozlowski+dt, devicetree, linux-arm-kernel,
	linux-mediatek, linux-kernel, AngeloGioacchino Del Regno

Add a node for mt6795-systimer: this is necessary to start the
System Timer(s) for all cores, finally making CNTVCT_EL0 usable.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
 arch/arm64/boot/dts/mediatek/mt6795.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt6795.dtsi b/arch/arm64/boot/dts/mediatek/mt6795.dtsi
index d4842b4a4eb7..46f0e54be766 100644
--- a/arch/arm64/boot/dts/mediatek/mt6795.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt6795.dtsi
@@ -230,6 +230,14 @@ sysirq: intpol-controller@10200620 {
 			reg = <0 0x10200620 0 0x20>;
 		};
 
+		systimer: timer@10200670 {
+			compatible = "mediatek,mt6795-systimer";
+			reg = <0 0x10200670 0 0x10>;
+			interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&system_clk>;
+			clock-names = "clk13m";
+		};
+
 		gic: interrupt-controller@10221000 {
 			compatible = "arm,gic-400";
 			#interrupt-cells = <3>;
-- 
2.35.1


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH] arm64: dts: mediatek: mt6795: Add CPUX system timer node
@ 2022-07-29  9:35 ` AngeloGioacchino Del Regno
  0 siblings, 0 replies; 6+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-07-29  9:35 UTC (permalink / raw)
  To: matthias.bgg
  Cc: robh+dt, krzysztof.kozlowski+dt, devicetree, linux-arm-kernel,
	linux-mediatek, linux-kernel, AngeloGioacchino Del Regno

Add a node for mt6795-systimer: this is necessary to start the
System Timer(s) for all cores, finally making CNTVCT_EL0 usable.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
---
 arch/arm64/boot/dts/mediatek/mt6795.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/arm64/boot/dts/mediatek/mt6795.dtsi b/arch/arm64/boot/dts/mediatek/mt6795.dtsi
index d4842b4a4eb7..46f0e54be766 100644
--- a/arch/arm64/boot/dts/mediatek/mt6795.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt6795.dtsi
@@ -230,6 +230,14 @@ sysirq: intpol-controller@10200620 {
 			reg = <0 0x10200620 0 0x20>;
 		};
 
+		systimer: timer@10200670 {
+			compatible = "mediatek,mt6795-systimer";
+			reg = <0 0x10200670 0 0x10>;
+			interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&system_clk>;
+			clock-names = "clk13m";
+		};
+
 		gic: interrupt-controller@10221000 {
 			compatible = "arm,gic-400";
 			#interrupt-cells = <3>;
-- 
2.35.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] arm64: dts: mediatek: mt6795: Add CPUX system timer node
  2022-07-29  9:35 ` AngeloGioacchino Del Regno
@ 2022-09-14 11:01   ` AngeloGioacchino Del Regno
  -1 siblings, 0 replies; 6+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-09-14 11:01 UTC (permalink / raw)
  To: matthias.bgg
  Cc: robh+dt, krzysztof.kozlowski+dt, devicetree, linux-arm-kernel,
	linux-mediatek, linux-kernel

Il 29/07/22 11:35, AngeloGioacchino Del Regno ha scritto:
> Add a node for mt6795-systimer: this is necessary to start the
> System Timer(s) for all cores, finally making CNTVCT_EL0 usable.
> 
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

Hello Matthias,

gentle ping for this one - this has no floating dependencies and it's
verified to work as expected.

Cheers,
Angelo

> ---
>   arch/arm64/boot/dts/mediatek/mt6795.dtsi | 8 ++++++++
>   1 file changed, 8 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/mt6795.dtsi b/arch/arm64/boot/dts/mediatek/mt6795.dtsi
> index d4842b4a4eb7..46f0e54be766 100644
> --- a/arch/arm64/boot/dts/mediatek/mt6795.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt6795.dtsi
> @@ -230,6 +230,14 @@ sysirq: intpol-controller@10200620 {
>   			reg = <0 0x10200620 0 0x20>;
>   		};
>   
> +		systimer: timer@10200670 {
> +			compatible = "mediatek,mt6795-systimer";
> +			reg = <0 0x10200670 0 0x10>;
> +			interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
> +			clocks = <&system_clk>;
> +			clock-names = "clk13m";
> +		};
> +
>   		gic: interrupt-controller@10221000 {
>   			compatible = "arm,gic-400";
>   			#interrupt-cells = <3>;



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] arm64: dts: mediatek: mt6795: Add CPUX system timer node
@ 2022-09-14 11:01   ` AngeloGioacchino Del Regno
  0 siblings, 0 replies; 6+ messages in thread
From: AngeloGioacchino Del Regno @ 2022-09-14 11:01 UTC (permalink / raw)
  To: matthias.bgg
  Cc: robh+dt, krzysztof.kozlowski+dt, devicetree, linux-arm-kernel,
	linux-mediatek, linux-kernel

Il 29/07/22 11:35, AngeloGioacchino Del Regno ha scritto:
> Add a node for mt6795-systimer: this is necessary to start the
> System Timer(s) for all cores, finally making CNTVCT_EL0 usable.
> 
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>

Hello Matthias,

gentle ping for this one - this has no floating dependencies and it's
verified to work as expected.

Cheers,
Angelo

> ---
>   arch/arm64/boot/dts/mediatek/mt6795.dtsi | 8 ++++++++
>   1 file changed, 8 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/mt6795.dtsi b/arch/arm64/boot/dts/mediatek/mt6795.dtsi
> index d4842b4a4eb7..46f0e54be766 100644
> --- a/arch/arm64/boot/dts/mediatek/mt6795.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt6795.dtsi
> @@ -230,6 +230,14 @@ sysirq: intpol-controller@10200620 {
>   			reg = <0 0x10200620 0 0x20>;
>   		};
>   
> +		systimer: timer@10200670 {
> +			compatible = "mediatek,mt6795-systimer";
> +			reg = <0 0x10200670 0 0x10>;
> +			interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
> +			clocks = <&system_clk>;
> +			clock-names = "clk13m";
> +		};
> +
>   		gic: interrupt-controller@10221000 {
>   			compatible = "arm,gic-400";
>   			#interrupt-cells = <3>;



_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] arm64: dts: mediatek: mt6795: Add CPUX system timer node
  2022-09-14 11:01   ` AngeloGioacchino Del Regno
@ 2022-09-15 16:32     ` Matthias Brugger
  -1 siblings, 0 replies; 6+ messages in thread
From: Matthias Brugger @ 2022-09-15 16:32 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno
  Cc: robh+dt, krzysztof.kozlowski+dt, devicetree, linux-arm-kernel,
	linux-mediatek, linux-kernel



On 14/09/2022 13:01, AngeloGioacchino Del Regno wrote:
> Il 29/07/22 11:35, AngeloGioacchino Del Regno ha scritto:
>> Add a node for mt6795-systimer: this is necessary to start the
>> System Timer(s) for all cores, finally making CNTVCT_EL0 usable.
>>
>> Signed-off-by: AngeloGioacchino Del Regno 
>> <angelogioacchino.delregno@collabora.com>
> 
> Hello Matthias,
> 
> gentle ping for this one - this has no floating dependencies and it's
> verified to work as expected.
> 

Applied, thanks!

> Cheers,
> Angelo
> 
>> ---
>>   arch/arm64/boot/dts/mediatek/mt6795.dtsi | 8 ++++++++
>>   1 file changed, 8 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/mediatek/mt6795.dtsi 
>> b/arch/arm64/boot/dts/mediatek/mt6795.dtsi
>> index d4842b4a4eb7..46f0e54be766 100644
>> --- a/arch/arm64/boot/dts/mediatek/mt6795.dtsi
>> +++ b/arch/arm64/boot/dts/mediatek/mt6795.dtsi
>> @@ -230,6 +230,14 @@ sysirq: intpol-controller@10200620 {
>>               reg = <0 0x10200620 0 0x20>;
>>           };
>> +        systimer: timer@10200670 {
>> +            compatible = "mediatek,mt6795-systimer";
>> +            reg = <0 0x10200670 0 0x10>;
>> +            interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
>> +            clocks = <&system_clk>;
>> +            clock-names = "clk13m";
>> +        };
>> +
>>           gic: interrupt-controller@10221000 {
>>               compatible = "arm,gic-400";
>>               #interrupt-cells = <3>;
> 
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] arm64: dts: mediatek: mt6795: Add CPUX system timer node
@ 2022-09-15 16:32     ` Matthias Brugger
  0 siblings, 0 replies; 6+ messages in thread
From: Matthias Brugger @ 2022-09-15 16:32 UTC (permalink / raw)
  To: AngeloGioacchino Del Regno
  Cc: robh+dt, krzysztof.kozlowski+dt, devicetree, linux-arm-kernel,
	linux-mediatek, linux-kernel



On 14/09/2022 13:01, AngeloGioacchino Del Regno wrote:
> Il 29/07/22 11:35, AngeloGioacchino Del Regno ha scritto:
>> Add a node for mt6795-systimer: this is necessary to start the
>> System Timer(s) for all cores, finally making CNTVCT_EL0 usable.
>>
>> Signed-off-by: AngeloGioacchino Del Regno 
>> <angelogioacchino.delregno@collabora.com>
> 
> Hello Matthias,
> 
> gentle ping for this one - this has no floating dependencies and it's
> verified to work as expected.
> 

Applied, thanks!

> Cheers,
> Angelo
> 
>> ---
>>   arch/arm64/boot/dts/mediatek/mt6795.dtsi | 8 ++++++++
>>   1 file changed, 8 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/mediatek/mt6795.dtsi 
>> b/arch/arm64/boot/dts/mediatek/mt6795.dtsi
>> index d4842b4a4eb7..46f0e54be766 100644
>> --- a/arch/arm64/boot/dts/mediatek/mt6795.dtsi
>> +++ b/arch/arm64/boot/dts/mediatek/mt6795.dtsi
>> @@ -230,6 +230,14 @@ sysirq: intpol-controller@10200620 {
>>               reg = <0 0x10200620 0 0x20>;
>>           };
>> +        systimer: timer@10200670 {
>> +            compatible = "mediatek,mt6795-systimer";
>> +            reg = <0 0x10200670 0 0x10>;
>> +            interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
>> +            clocks = <&system_clk>;
>> +            clock-names = "clk13m";
>> +        };
>> +
>>           gic: interrupt-controller@10221000 {
>>               compatible = "arm,gic-400";
>>               #interrupt-cells = <3>;
> 
> 

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-09-15 16:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-29  9:35 [PATCH] arm64: dts: mediatek: mt6795: Add CPUX system timer node AngeloGioacchino Del Regno
2022-07-29  9:35 ` AngeloGioacchino Del Regno
2022-09-14 11:01 ` AngeloGioacchino Del Regno
2022-09-14 11:01   ` AngeloGioacchino Del Regno
2022-09-15 16:32   ` Matthias Brugger
2022-09-15 16:32     ` Matthias Brugger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.