mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] ARM: at91: enable eic
@ 2022-02-28 12:23 Claudiu Beznea
  2022-02-28 12:23 ` [PATCH 1/2] ARM: dts: at91: sama7g5: add eic node Claudiu Beznea
  2022-02-28 12:23 ` [PATCH 2/2] ARM: configs: at91: add eic Claudiu Beznea
  0 siblings, 2 replies; 5+ messages in thread
From: Claudiu Beznea @ 2022-02-28 12:23 UTC (permalink / raw)
  To: nicolas.ferre, alexandre.belloni, ludovic.desroches
  Cc: robh+dt, linux, linux-arm-kernel, devicetree, linux-kernel,
	Claudiu Beznea

Hi,

The following 2 patches enable EIC support available on SAMA7G5.

Thank you,
Claudiu Beznea

Claudiu Beznea (2):
  ARM: dts: at91: sama7g5: add eic node
  ARM: configs: at91: add eic

 arch/arm/boot/dts/sama7g5.dtsi   | 13 +++++++++++++
 arch/arm/configs/sama7_defconfig |  1 +
 2 files changed, 14 insertions(+)

-- 
2.32.0


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

* [PATCH 1/2] ARM: dts: at91: sama7g5: add eic node
  2022-02-28 12:23 [PATCH 0/2] ARM: at91: enable eic Claudiu Beznea
@ 2022-02-28 12:23 ` Claudiu Beznea
  2022-03-04 10:42   ` Nicolas Ferre
  2022-02-28 12:23 ` [PATCH 2/2] ARM: configs: at91: add eic Claudiu Beznea
  1 sibling, 1 reply; 5+ messages in thread
From: Claudiu Beznea @ 2022-02-28 12:23 UTC (permalink / raw)
  To: nicolas.ferre, alexandre.belloni, ludovic.desroches
  Cc: robh+dt, linux, linux-arm-kernel, devicetree, linux-kernel,
	Claudiu Beznea

Add EIC node.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
 arch/arm/boot/dts/sama7g5.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi
index e6d0c90cf710..efc5437f09ec 100644
--- a/arch/arm/boot/dts/sama7g5.dtsi
+++ b/arch/arm/boot/dts/sama7g5.dtsi
@@ -455,6 +455,19 @@ i2s1: i2s@e1620000 {
 			status = "disabled";
 		};
 
+		eic: interrupt-controller@e1628000 {
+			compatible = "microchip,sama7g5-eic";
+			reg = <0xe1628000 0xec>;
+			interrupt-parent = <&gic>;
+			interrupt-controller;
+			#interrupt-cells = <2>;
+			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
+				     <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
+			clocks = <&pmc PMC_TYPE_PERIPHERAL 37>;
+			clock-names = "pclk";
+			status = "disabled";
+		};
+
 		pit64b0: timer@e1800000 {
 			compatible = "microchip,sama7g5-pit64b", "microchip,sam9x60-pit64b";
 			reg = <0xe1800000 0x4000>;
-- 
2.32.0


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

* [PATCH 2/2] ARM: configs: at91: add eic
  2022-02-28 12:23 [PATCH 0/2] ARM: at91: enable eic Claudiu Beznea
  2022-02-28 12:23 ` [PATCH 1/2] ARM: dts: at91: sama7g5: add eic node Claudiu Beznea
@ 2022-02-28 12:23 ` Claudiu Beznea
  2022-03-04 11:51   ` Nicolas Ferre
  1 sibling, 1 reply; 5+ messages in thread
From: Claudiu Beznea @ 2022-02-28 12:23 UTC (permalink / raw)
  To: nicolas.ferre, alexandre.belloni, ludovic.desroches
  Cc: robh+dt, linux, linux-arm-kernel, devicetree, linux-kernel,
	Claudiu Beznea

Add eic.

Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
 arch/arm/configs/sama7_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/configs/sama7_defconfig b/arch/arm/configs/sama7_defconfig
index aad10ae85a7d..ecb5c4b750e1 100644
--- a/arch/arm/configs/sama7_defconfig
+++ b/arch/arm/configs/sama7_defconfig
@@ -190,6 +190,7 @@ CONFIG_IIO_SW_TRIGGER=y
 CONFIG_AT91_SAMA5D2_ADC=y
 CONFIG_PWM=y
 CONFIG_PWM_ATMEL=y
+CONFIG_MCHP_EIC=y
 CONFIG_EXT2_FS=y
 CONFIG_EXT3_FS=y
 CONFIG_FANOTIFY=y
-- 
2.32.0


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

* Re: [PATCH 1/2] ARM: dts: at91: sama7g5: add eic node
  2022-02-28 12:23 ` [PATCH 1/2] ARM: dts: at91: sama7g5: add eic node Claudiu Beznea
@ 2022-03-04 10:42   ` Nicolas Ferre
  0 siblings, 0 replies; 5+ messages in thread
From: Nicolas Ferre @ 2022-03-04 10:42 UTC (permalink / raw)
  To: Claudiu Beznea, alexandre.belloni, ludovic.desroches
  Cc: robh+dt, linux, linux-arm-kernel, devicetree, linux-kernel

On 28/02/2022 at 13:23, Claudiu Beznea wrote:
> Add EIC node.
> 
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

Queued in at91-dt for 5.18.
Best regards,
   Nicolas

> ---
>   arch/arm/boot/dts/sama7g5.dtsi | 13 +++++++++++++
>   1 file changed, 13 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi
> index e6d0c90cf710..efc5437f09ec 100644
> --- a/arch/arm/boot/dts/sama7g5.dtsi
> +++ b/arch/arm/boot/dts/sama7g5.dtsi
> @@ -455,6 +455,19 @@ i2s1: i2s@e1620000 {
>   			status = "disabled";
>   		};
>   
> +		eic: interrupt-controller@e1628000 {
> +			compatible = "microchip,sama7g5-eic";
> +			reg = <0xe1628000 0xec>;
> +			interrupt-parent = <&gic>;
> +			interrupt-controller;
> +			#interrupt-cells = <2>;
> +			interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
> +				     <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
> +			clocks = <&pmc PMC_TYPE_PERIPHERAL 37>;
> +			clock-names = "pclk";
> +			status = "disabled";
> +		};
> +
>   		pit64b0: timer@e1800000 {
>   			compatible = "microchip,sama7g5-pit64b", "microchip,sam9x60-pit64b";
>   			reg = <0xe1800000 0x4000>;


-- 
Nicolas Ferre

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

* Re: [PATCH 2/2] ARM: configs: at91: add eic
  2022-02-28 12:23 ` [PATCH 2/2] ARM: configs: at91: add eic Claudiu Beznea
@ 2022-03-04 11:51   ` Nicolas Ferre
  0 siblings, 0 replies; 5+ messages in thread
From: Nicolas Ferre @ 2022-03-04 11:51 UTC (permalink / raw)
  To: Claudiu Beznea, alexandre.belloni, ludovic.desroches
  Cc: robh+dt, linux, linux-arm-kernel, devicetree, linux-kernel

On 28/02/2022 at 13:23, Claudiu Beznea wrote:
> Add eic.
> 
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

Queued for 5.18 in at91-defconfig
Regards,
   Nicolas

> ---
>   arch/arm/configs/sama7_defconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/configs/sama7_defconfig b/arch/arm/configs/sama7_defconfig
> index aad10ae85a7d..ecb5c4b750e1 100644
> --- a/arch/arm/configs/sama7_defconfig
> +++ b/arch/arm/configs/sama7_defconfig
> @@ -190,6 +190,7 @@ CONFIG_IIO_SW_TRIGGER=y
>   CONFIG_AT91_SAMA5D2_ADC=y
>   CONFIG_PWM=y
>   CONFIG_PWM_ATMEL=y
> +CONFIG_MCHP_EIC=y
>   CONFIG_EXT2_FS=y
>   CONFIG_EXT3_FS=y
>   CONFIG_FANOTIFY=y


-- 
Nicolas Ferre

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

end of thread, other threads:[~2022-03-04 11:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-28 12:23 [PATCH 0/2] ARM: at91: enable eic Claudiu Beznea
2022-02-28 12:23 ` [PATCH 1/2] ARM: dts: at91: sama7g5: add eic node Claudiu Beznea
2022-03-04 10:42   ` Nicolas Ferre
2022-02-28 12:23 ` [PATCH 2/2] ARM: configs: at91: add eic Claudiu Beznea
2022-03-04 11:51   ` Nicolas Ferre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®