All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh@kernel.org>
To: zelong dong <zelong.dong@amlogic.com>
Cc: Neil Armstrong <neil.armstrong@linaro.org>,
	Kevin Hilman <khilman@baylibre.com>,
	Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
	Jerome Brunet <jbrunet@baylibre.com>,
	Marc Kleine-Budde <mkl@pengutronix.de>,
	Vincent Mailhol <mailhol@kernel.org>,
	linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-can@vger.kernel.org
Subject: Re: [PATCH 1/3] dt-bindings: net: can: add Amlogic A9 CAN controller
Date: Tue, 1 Dec 2026 14:39:24 -0600	[thread overview]
Message-ID: <20261201203924.GA3845315-robh@kernel.org> (raw)
In-Reply-To: <20261120080820.3340646-2-zelong.dong@amlogic.com>

On Fri, Nov 20, 2026 at 04:08:18PM +0800, zelong dong wrote:
> From: Zelong Dong <zelong.dong@amlogic.com>
> 
> Add device tree bindings for the CAN-FD controller found on the
> Amlogic A9 SoC family.
> 
> Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
> ---
>  .../bindings/net/can/amlogic,a9-can.yaml      | 65 +++++++++++++++++++
>  1 file changed, 65 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/net/can/amlogic,a9-can.yaml
> 
> diff --git a/Documentation/devicetree/bindings/net/can/amlogic,a9-can.yaml b/Documentation/devicetree/bindings/net/can/amlogic,a9-can.yaml
> new file mode 100644
> index 000000000000..dd4ad6147f2e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/net/can/amlogic,a9-can.yaml
> @@ -0,0 +1,65 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +# # Copyright (C) 2026 Amlogic, Inc. All rights reserved
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/net/can/amlogic,a9-can.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Amlogic A9 SoC CANBus Controller
> +
> +maintainers:
> +  - Zelong Dong <zelong.dong@amlogic.com>
> +
> +properties:
> +  compatible:
> +    const: amlogic,a9-can
> +
> +  reg:
> +    maxItems: 1
> +
> +  interrupts:
> +    maxItems: 1
> +
> +  clocks:
> +    items:
> +      - description: CAN protocol engine clock
> +      - description: CAN filter clock
> +
> +  clock-names:
> +    items:
> +      - const: can_pe
> +      - const: can_filter

Drop 'can_'. It's redundant.

> +
> +  power-domains:
> +    maxItems: 1
> +
> +required:
> +  - compatible
> +  - reg
> +  - interrupts
> +  - clocks
> +  - clock-names
> +
> +allOf:
> +  - $ref: can-controller.yaml#
> +
> +unevaluatedProperties: false
> +
> +examples:
> +  - |
> +    #include <dt-bindings/interrupt-controller/arm-gic.h>
> +
> +    bus {
> +        #address-cells = <2>;
> +        #size-cells = <2>;
> +
> +        can@3a8000 {
> +            compatible = "amlogic,a9-can";
> +            reg = <0x0 0x3a8000 0x0 0x383c>;
> +            interrupts = <GIC_SPI 82 IRQ_TYPE_EDGE_RISING>;
> +            clocks = <&clkc_periphs 0>,
> +                     <&clkc_periphs 1>;
> +            clock-names = "can_pe", "can_filter";
> +            power-domains = <&pwrc 2>;
> +        };
> +    };
> -- 
> 2.47.1
> 

WARNING: multiple messages have this Message-ID (diff)
From: Rob Herring <robh@kernel.org>
To: zelong dong <zelong.dong@amlogic.com>
Cc: Neil Armstrong <neil.armstrong@linaro.org>,
	Kevin Hilman <khilman@baylibre.com>,
	Martin Blumenstingl <martin.blumenstingl@googlemail.com>,
	Jerome Brunet <jbrunet@baylibre.com>,
	Marc Kleine-Budde <mkl@pengutronix.de>,
	Vincent Mailhol <mailhol@kernel.org>,
	linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org,
	linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
	linux-can@vger.kernel.org
Subject: Re: [PATCH 1/3] dt-bindings: net: can: add Amlogic A9 CAN controller
Date: Tue, 1 Dec 2026 14:39:24 -0600	[thread overview]
Message-ID: <20261201203924.GA3845315-robh@kernel.org> (raw)
In-Reply-To: <20261120080820.3340646-2-zelong.dong@amlogic.com>

On Fri, Nov 20, 2026 at 04:08:18PM +0800, zelong dong wrote:
> From: Zelong Dong <zelong.dong@amlogic.com>
> 
> Add device tree bindings for the CAN-FD controller found on the
> Amlogic A9 SoC family.
> 
> Signed-off-by: Zelong Dong <zelong.dong@amlogic.com>
> ---
>  .../bindings/net/can/amlogic,a9-can.yaml      | 65 +++++++++++++++++++
>  1 file changed, 65 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/net/can/amlogic,a9-can.yaml
> 
> diff --git a/Documentation/devicetree/bindings/net/can/amlogic,a9-can.yaml b/Documentation/devicetree/bindings/net/can/amlogic,a9-can.yaml
> new file mode 100644
> index 000000000000..dd4ad6147f2e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/net/can/amlogic,a9-can.yaml
> @@ -0,0 +1,65 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +# # Copyright (C) 2026 Amlogic, Inc. All rights reserved
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/net/can/amlogic,a9-can.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Amlogic A9 SoC CANBus Controller
> +
> +maintainers:
> +  - Zelong Dong <zelong.dong@amlogic.com>
> +
> +properties:
> +  compatible:
> +    const: amlogic,a9-can
> +
> +  reg:
> +    maxItems: 1
> +
> +  interrupts:
> +    maxItems: 1
> +
> +  clocks:
> +    items:
> +      - description: CAN protocol engine clock
> +      - description: CAN filter clock
> +
> +  clock-names:
> +    items:
> +      - const: can_pe
> +      - const: can_filter

Drop 'can_'. It's redundant.

> +
> +  power-domains:
> +    maxItems: 1
> +
> +required:
> +  - compatible
> +  - reg
> +  - interrupts
> +  - clocks
> +  - clock-names
> +
> +allOf:
> +  - $ref: can-controller.yaml#
> +
> +unevaluatedProperties: false
> +
> +examples:
> +  - |
> +    #include <dt-bindings/interrupt-controller/arm-gic.h>
> +
> +    bus {
> +        #address-cells = <2>;
> +        #size-cells = <2>;
> +
> +        can@3a8000 {
> +            compatible = "amlogic,a9-can";
> +            reg = <0x0 0x3a8000 0x0 0x383c>;
> +            interrupts = <GIC_SPI 82 IRQ_TYPE_EDGE_RISING>;
> +            clocks = <&clkc_periphs 0>,
> +                     <&clkc_periphs 1>;
> +            clock-names = "can_pe", "can_filter";
> +            power-domains = <&pwrc 2>;
> +        };
> +    };
> -- 
> 2.47.1
> 

_______________________________________________
linux-amlogic mailing list
linux-amlogic@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-amlogic

  reply	other threads:[~2026-12-01 20:39 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-20  8:08 [PATCH 0/3] can: amlogic: add support for Amlogic A9 CAN-FD controller zelong dong
2026-11-20  8:08 ` zelong dong
2026-11-20  8:08 ` [PATCH 1/3] dt-bindings: net: can: add Amlogic A9 CAN controller zelong dong
2026-11-20  8:08   ` zelong dong
2026-12-01 20:39   ` Rob Herring [this message]
2026-12-01 20:39     ` Rob Herring
2026-11-20  8:08 ` [PATCH 2/3] can: amlogic: add driver for Amlogic A9 CAN-FD controller zelong dong
2026-11-20  8:08   ` zelong dong
2026-11-20  8:08 ` [PATCH 3/3] arm64: dts: amlogic: a9: add CAN controller node zelong dong
2026-11-20  8:08   ` zelong dong
2026-11-20  8:22 ` [PATCH 0/3] can: amlogic: add support for Amlogic A9 CAN-FD controller Marc Kleine-Budde
2026-11-20  8:22   ` Marc Kleine-Budde
2026-11-27 12:09   ` Zelong Dong
2026-11-27 12:09     ` Zelong Dong
2026-11-30  8:30     ` Marc Kleine-Budde
2026-11-30  8:30       ` Marc Kleine-Budde
2026-11-20  8:40 ` Marc Kleine-Budde
2026-11-20  8:40   ` Marc Kleine-Budde

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=20261201203924.GA3845315-robh@kernel.org \
    --to=robh@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=jbrunet@baylibre.com \
    --cc=khilman@baylibre.com \
    --cc=linux-amlogic@lists.infradead.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-can@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mailhol@kernel.org \
    --cc=martin.blumenstingl@googlemail.com \
    --cc=mkl@pengutronix.de \
    --cc=neil.armstrong@linaro.org \
    --cc=zelong.dong@amlogic.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 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.