All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Daniel Golle" <daniel@makrotopia.org>,
	linux-serial@vger.kernel.org, devicetree@vger.kernel.org,
	linux-clk@vger.kernel.org
Cc: robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH 2/6] dt-bindings: serial: lantiq,asc: Add Lightning Mountain
Date: Wed, 02 Dec 2026 21:01:46 +0000	[thread overview]
Message-ID: <sashiko-outbox-246611@kernel.org> (raw)
In-Reply-To: <86ca83a8bf7adaa37e2f2cd8eaabb00739714a5a.1796234065.git.daniel@makrotopia.org>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: serial: lantiq,asc: interrupts listed before clocks
--

commit dfe99524d6819457c927271603303f61be3fd091
Author: Daniel Golle <daniel@makrotopia.org>

dt-bindings: serial: lantiq,asc: Add Lightning Mountain

This commit adds the intel,lgm-asc compatible string for the Lightning
Mountain SoC ASC serial controller, describing its single combined
interrupt and required clocks.

> diff --git a/Documentation/devicetree/bindings/serial/lantiq,asc.yaml b/Documentation/devicetree/bindings/serial/lantiq,asc.yaml
> index 96e8c79cb0478..1a7a6f8dfa104 100644
> --- a/Documentation/devicetree/bindings/serial/lantiq,asc.yaml
> +++ b/Documentation/devicetree/bindings/serial/lantiq,asc.yaml
> @@ -10,21 +10,18 @@ maintainers:
>    - John Crispin <john@phrozen.org>
>    - Songjun Wu <songjun.wu@linux.intel.com>
>  
> -allOf:
> -  - $ref: /schemas/serial/serial.yaml#
> -
>  properties:
>    compatible:
> -    const: lantiq,asc
> +    enum:
> +      - intel,lgm-asc
> +      - lantiq,asc
>  
>    reg:
>      maxItems: 1
>  
>    interrupts:
> -    items:
> -      - description: TX interrupt
> -      - description: RX interrupt
> -      - description: Error interrupt
> +    minItems: 1
> +    maxItems: 3
>  
>    clocks:
>      items:

[ ... ]

> @@ -54,3 +74,13 @@ examples:
>                       <GIC_SHARED 105 IRQ_TYPE_LEVEL_HIGH>,
>                       <GIC_SHARED 106 IRQ_TYPE_LEVEL_HIGH>;
>      };
> +  - |
> +    #include <dt-bindings/clock/intel,lgm-clk.h>
> +
> +    serial@e0a00000 {
> +        compatible = "intel,lgm-asc";
> +        reg = <0xe0a00000 0x1000>;
> +        interrupts = <128 1>;
> +        clocks = <&cgu0 LGM_CLK_NOC4>, <&cgu0 LGM_GCLK_ASC0>;
> +        clock-names = "freq", "asc";
> +    };

[Severity: Low]
In both the new serial@e0a00000 example node and the top-level properties
mapping, interrupts is listed before clocks and clock-names.  Should
interrupts be placed after clocks and clock-names to follow the standard
Device Tree property ordering (compatible, reg, clocks, clock-names,
interrupts)?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/cover.1796234065.git.daniel@makrotopia.org?part=2

  reply	other threads:[~2026-12-02 21:01 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 20:55 [PATCH 0/6] x86: Initial support for MaxLinear Lightning Mountain Daniel Golle
2026-12-02 20:56 ` [PATCH 1/6] clk: mxl: Look up the CGU regmap by device node Daniel Golle
2026-12-02 20:56 ` [PATCH 2/6] dt-bindings: serial: lantiq,asc: Add Lightning Mountain Daniel Golle
2026-12-02 21:01   ` sashiko-bot [this message]
2026-12-02 20:56 ` [PATCH 3/6] dt-bindings: timer: Convert intel,ce4100-hpet to DT schema Daniel Golle
2026-12-02 20:57 ` [PATCH 4/6] dt-bindings: x86: Document MaxLinear Lightning Mountain Daniel Golle
2026-12-02 20:57 ` [PATCH 5/6] x86/platform: Add MaxLinear Lightning Mountain SoC option Daniel Golle
2026-12-02 20:58 ` [PATCH 6/6] x86/dts: Add MaxLinear MxL25641-HDK-6 board Daniel Golle
2026-12-02 21:03 ` [PATCH 0/6] x86: Initial support for MaxLinear Lightning Mountain sashiko-bot

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=sashiko-outbox-246611@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=daniel@makrotopia.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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 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.