devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm64: dts: r8a7795: Add GIC-400 virtual interfaces
@ 2016-02-09  8:14 Dirk Behme
  2016-02-15  5:46 ` Kuninori Morimoto
  0 siblings, 1 reply; 3+ messages in thread
From: Dirk Behme @ 2016-02-09  8:14 UTC (permalink / raw)
  To: linux-renesas-soc, horms; +Cc: devicetree, linux-arm-kernel, Dirk Behme

Besides the distributor and the CPU interface the GIC-400 additionally
supports the virtual interface control blocks and the virtual CPU interfaces.

Add the physical base addresses and size for these.

See

http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0471b/index.html
-> 3.2. GIC-400 register map

and Linux kernel's

Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt

for more details.

Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
---
 arch/arm64/boot/dts/renesas/r8a7795.dtsi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
index 8f1ed23..0163967 100644
--- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
+++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
@@ -130,7 +130,9 @@
 			#address-cells = <0>;
 			interrupt-controller;
 			reg = <0x0 0xf1010000 0 0x1000>,
-			      <0x0 0xf1020000 0 0x2000>;
+			      <0x0 0xf1020000 0 0x2000>,
+			      <0x0 0xf1040000 0 0x2000>,
+			      <0x0 0xf1060000 0 0x2000>;
 			interrupts = <GIC_PPI 9
 					(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
 		};
-- 
2.5.1

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

* Re: [PATCH] arm64: dts: r8a7795: Add GIC-400 virtual interfaces
  2016-02-09  8:14 [PATCH] arm64: dts: r8a7795: Add GIC-400 virtual interfaces Dirk Behme
@ 2016-02-15  5:46 ` Kuninori Morimoto
  2016-02-15 12:40   ` Dirk Behme
  0 siblings, 1 reply; 3+ messages in thread
From: Kuninori Morimoto @ 2016-02-15  5:46 UTC (permalink / raw)
  To: Dirk Behme; +Cc: Simon, Linux-Renesas, Linux-DT, Linux-ARM, Geert Uytterhoeven


Hi Dirk
Cc Geert

> Besides the distributor and the CPU interface the GIC-400 additionally
> supports the virtual interface control blocks and the virtual CPU interfaces.
> 
> Add the physical base addresses and size for these.
> 
> See
> 
> http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0471b/index.html
> -> 3.2. GIC-400 register map
> 
> and Linux kernel's
> 
> Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt
> 
> for more details.
> 
> Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
> ---

Our R-Car chip is out-of-mapping.
Geert had indicated it in
http://thread.gmane.org/gmane.linux.ports.sh.devel/49751/focus=51544
And we have no answer about it I think

>  arch/arm64/boot/dts/renesas/r8a7795.dtsi | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm64/boot/dts/renesas/r8a7795.dtsi b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> index 8f1ed23..0163967 100644
> --- a/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> +++ b/arch/arm64/boot/dts/renesas/r8a7795.dtsi
> @@ -130,7 +130,9 @@
>  			#address-cells = <0>;
>  			interrupt-controller;
>  			reg = <0x0 0xf1010000 0 0x1000>,
> -			      <0x0 0xf1020000 0 0x2000>;
> +			      <0x0 0xf1020000 0 0x2000>,
> +			      <0x0 0xf1040000 0 0x2000>,
> +			      <0x0 0xf1060000 0 0x2000>;
>  			interrupts = <GIC_PPI 9
>  					(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
>  		};
> -- 
> 2.5.1
> 

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

* Re: [PATCH] arm64: dts: r8a7795: Add GIC-400 virtual interfaces
  2016-02-15  5:46 ` Kuninori Morimoto
@ 2016-02-15 12:40   ` Dirk Behme
  0 siblings, 0 replies; 3+ messages in thread
From: Dirk Behme @ 2016-02-15 12:40 UTC (permalink / raw)
  To: Kuninori Morimoto, Geert Uytterhoeven
  Cc: Simon, Linux-Renesas, Linux-DT, Linux-ARM

On 15.02.2016 06:46, Kuninori Morimoto wrote:
>
> Hi Dirk
> Cc Geert
>
>> Besides the distributor and the CPU interface the GIC-400 additionally
>> supports the virtual interface control blocks and the virtual CPU interfaces.
>>
>> Add the physical base addresses and size for these.
>>
>> See
>>
>> http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0471b/index.html
>> -> 3.2. GIC-400 register map
>>
>> and Linux kernel's
>>
>> Documentation/devicetree/bindings/interrupt-controller/arm,gic.txt
>>
>> for more details.
>>
>> Signed-off-by: Dirk Behme <dirk.behme@de.bosch.com>
>> ---
>
> Our R-Car chip is out-of-mapping.
> Geert had indicated it in
> http://thread.gmane.org/gmane.linux.ports.sh.devel/49751/focus=51544
> And we have no answer about it I think


Could you point us to the code where you think our out-of-mapping 
doesn't work?

Best regards

Dirk

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

end of thread, other threads:[~2016-02-15 12:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-09  8:14 [PATCH] arm64: dts: r8a7795: Add GIC-400 virtual interfaces Dirk Behme
2016-02-15  5:46 ` Kuninori Morimoto
2016-02-15 12:40   ` Dirk Behme

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).