From: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
To: Sergiu Moga <sergiu.moga@microchip.com>,
a.zummo@towertech.it, alexandre.belloni@bootlin.com,
robh+dt@kernel.org, nicolas.ferre@microchip.com,
claudiu.beznea@microchip.com
Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 4/5] dt-bindings: rtc: at91: Use macros for the IRQ type
Date: Fri, 4 Mar 2022 15:44:03 +0100 [thread overview]
Message-ID: <e97cf184-4e38-c540-da5a-28c762d8d21a@canonical.com> (raw)
In-Reply-To: <20220304142746.121947-5-sergiu.moga@microchip.com>
On 04/03/2022 15:27, Sergiu Moga wrote:
> Prefer using macros for the IRQ type of the example node's
> interrupt property.
>
> Signed-off-by: Sergiu Moga <sergiu.moga@microchip.com>
> ---
> Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml b/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml
> index af25cc275356..d2452067bfe4 100644
> --- a/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml
> +++ b/Documentation/devicetree/bindings/rtc/atmel,at91sam9-rtc.yaml
> @@ -54,10 +54,12 @@ unevaluatedProperties: false
>
> examples:
> - |
> + #include <dt-bindings/interrupt-controller/irq.h>
> +
> rtc@fffffd20 {
> compatible = "atmel,at91sam9260-rtt";
> reg = <0xfffffd20 0x10>;
> - interrupts = <1 4 7>;
> + interrupts = <1 IRQ_TYPE_LEVEL_HIGH 7>;
Ah, I see the change now. This should be squashed with previous patch.
There is no point to add imperfect DTS code which is being changed a
commit later. Example is not bindings.
Best regards,
Krzysztof
next prev parent reply other threads:[~2022-03-04 14:44 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-04 14:27 [PATCH v3 0/5] dt-bindings: rtc: convert at91sam9 bindings to Sergiu Moga
2022-03-04 14:27 ` [PATCH v3 1/5] ARM: dts: at91: Add the required `atmel,rtt-rtc-time-reg` property Sergiu Moga
2022-03-04 14:53 ` Alexandre Belloni
2022-03-04 15:29 ` Sergiu.Moga
2022-03-04 15:43 ` Alexandre Belloni
2022-03-04 14:27 ` [PATCH v3 2/5] ARM: dts: at91: Use the generic "rtc" node name for the rtt IPs Sergiu Moga
2022-03-04 14:27 ` [PATCH v3 3/5] dt-bindings: rtc: convert at91sam9 bindings to json-schema Sergiu Moga
2022-03-04 14:42 ` Krzysztof Kozlowski
2022-03-04 14:27 ` [PATCH v3 4/5] dt-bindings: rtc: at91: Use macros for the IRQ type Sergiu Moga
2022-03-04 14:44 ` Krzysztof Kozlowski [this message]
2022-03-04 15:52 ` Sergiu.Moga
2022-03-04 14:27 ` [PATCH v3 5/5] dt-bindings: rtc: at91: Add SAMA7G5 compatible strings list Sergiu Moga
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=e97cf184-4e38-c540-da5a-28c762d8d21a@canonical.com \
--to=krzysztof.kozlowski@canonical.com \
--cc=a.zummo@towertech.it \
--cc=alexandre.belloni@bootlin.com \
--cc=claudiu.beznea@microchip.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=nicolas.ferre@microchip.com \
--cc=robh+dt@kernel.org \
--cc=sergiu.moga@microchip.com \
/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
all inboxes | Powered by JetHome®