public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: <Claudiu.Beznea@microchip.com>
To: <clement.leger@bootlin.com>, <Eugen.Hristev@microchip.com>,
	<Ludovic.Desroches@microchip.com>
Cc: <u-boot@lists.denx.de>, <Nicolas.Ferre@microchip.com>,
	<thomas.petazzoni@bootlin.com>
Subject: Re: [PATCH v5 2/4] ARM: dts: at91: sama5d2: add AIC node
Date: Mon, 7 Mar 2022 11:00:31 +0000	[thread overview]
Message-ID: <df06ca41-caee-39df-2535-8785ef2cf71e@microchip.com> (raw)
In-Reply-To: <20220304110540.132520-3-clement.leger@bootlin.com>

On 04.03.2022 13:05, Clément Léger wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
> 
> When using interrupts property, a global interrupt controller needs to
> be added to avoid warnings when compiling device-tree:
> 
>  arch/arm/dts/at91-sama5d2_xplained.dtb: Warning (interrupts_property):
>     /ahb/apb/timer@f800c000: Missing interrupt-parent
> 
> Add AIC node as the sama5d2 global interrupt controller.
> 
> Signed-off-by: Clément Léger <clement.leger@bootlin.com>
> ---
>  arch/arm/dts/sama5d2.dtsi | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/arch/arm/dts/sama5d2.dtsi b/arch/arm/dts/sama5d2.dtsi
> index 038cd73c03..dee68dc022 100644
> --- a/arch/arm/dts/sama5d2.dtsi
> +++ b/arch/arm/dts/sama5d2.dtsi
> @@ -3,6 +3,7 @@
>  / {
>         model = "Atmel SAMA5D2 family SoC";
>         compatible = "atmel,sama5d2";
> +       interrupt-parent = <&aic>;
> 
>         aliases {
>                 spi0 = &spi0;
> @@ -700,6 +701,15 @@
>                                 clocks = <&h32ck>;
>                         };
> 
> +                       aic: interrupt-controller@fc020000 {
> +                               #interrupt-cells = <3>;
> +                               compatible = "atmel,sama5d2-aic";
> +                               interrupt-controller;
> +                               reg = <0xfc020000 0x200>;

Most of the nodes in this DT has compatible and reg at the beginning. For
clarity would be good to keep the rule for this one as well.

> +                               atmel,external-irqs = <49>;
> +                               status = "disabled";
> +                       };
> +
>                         watchdog@f8048040 {
>                                 compatible = "atmel,sama5d4-wdt";
>                                 reg = <0xf8048040 0x10>;
> --
> 2.34.1
> 


  parent reply	other threads:[~2022-03-07 11:00 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-04 11:05 [PATCH v5 0/4] add TCB driver for sama5d2 Clément Léger
2022-03-04 11:05 ` [PATCH v5 1/4] timer: atmel_tcb_timer: add atmel_tcb driver Clément Léger
2022-03-07 10:57   ` Claudiu.Beznea
2022-03-07 11:08     ` Clément Léger
2022-03-04 11:05 ` [PATCH v5 2/4] ARM: dts: at91: sama5d2: add AIC node Clément Léger
2022-03-04 14:33   ` Eugen.Hristev
2022-03-07 11:00   ` Claudiu.Beznea [this message]
2022-03-04 11:05 ` [PATCH v5 3/4] ARM: dts: at91: sama5d2: add TCB node Clément Léger
2022-03-04 14:31   ` Eugen.Hristev
2022-03-04 14:42     ` Clément Léger
2022-03-04 11:05 ` [PATCH v5 4/4] configs: sama5d2: enable option CONFIG_ATMEL_TCB_TIMER Clément Léger
2022-03-07 11:06   ` Claudiu.Beznea
2022-03-07 11:10     ` Clément Léger
2022-03-07 13:06       ` Claudiu.Beznea
2022-03-07 13:14         ` Eugen.Hristev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=df06ca41-caee-39df-2535-8785ef2cf71e@microchip.com \
    --to=claudiu.beznea@microchip.com \
    --cc=Eugen.Hristev@microchip.com \
    --cc=Ludovic.Desroches@microchip.com \
    --cc=Nicolas.Ferre@microchip.com \
    --cc=clement.leger@bootlin.com \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox