From: Xianwei Zhao <xianwei.zhao@amlogic.com>
To: Frank Li <Frank.li@nxp.com>
Cc: Vinod Koul <vkoul@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Kees Cook <kees@kernel.org>,
"Gustavo A. R. Silva" <gustavoars@kernel.org>,
linux-amlogic@lists.infradead.org, dmaengine@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-hardening@vger.kernel.org
Subject: Re: [PATCH v3 1/3] dt-bindings: dma: Add Amlogic A9 SoC DMA
Date: Fri, 27 Feb 2026 15:18:28 +0800 [thread overview]
Message-ID: <de05570b-cf26-46b0-85f6-72deb0c62494@amlogic.com> (raw)
In-Reply-To: <aYZCFiI0PbAhabj8@lizhi-Precision-Tower-5810>
Hi Frank,
Thanks for your review, all will do.
On 2026/2/7 03:33, Frank Li wrote:
> [ EXTERNAL EMAIL ]
>
> On Fri, Feb 06, 2026 at 09:02:32AM +0000, Xianwei Zhao wrote:
>> Add documentation describing the Amlogic A9 SoC DMA.
>>
>> Signed-off-by: Xianwei Zhao <xianwei.zhao@amlogic.com>
>> ---
>> .../devicetree/bindings/dma/amlogic,a9-dma.yaml | 66 ++++++++++++++++++++++
>> 1 file changed, 66 insertions(+)
>>
>> diff --git a/Documentation/devicetree/bindings/dma/amlogic,a9-dma.yaml b/Documentation/devicetree/bindings/dma/amlogic,a9-dma.yaml
>> new file mode 100644
>> index 000000000000..3158d99a3195
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/dma/amlogic,a9-dma.yaml
>> @@ -0,0 +1,66 @@
>> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
>> +%YAML 1.2
>> +---
>> +$id: http://devicetree.org/schemas/dma/amlogic,a9-dma.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: Amlogic general DMA controller
>> +
>> +description:
>> + This is a general-purpose peripheral DMA controller. It currently supports
>> + major peripherals including I2C, I3C, PIO, and CAN-BUS. Transmit and receive
>> + for the same peripheral use two separate channels, controlled by different
>> + register sets. I2C and I3C transfer data in 1-byte units, while PIO and
>> + CAN-BUS transfer data in 4-byte units. From the controller’s perspective,
>> + there is no significant difference.
>> +
>> +maintainers:
>> + - Xianwei Zhao <xianwei.zhao@amlogic.com>
>> +
>> +properties:
>> + compatible:
>> + const: amlogic,a9-dma
>> +
>> + reg:
>> + maxItems: 1
>> +
>> + interrupts:
>> + maxItems: 1
>> +
>> + clocks:
>> + maxItems: 1
>> +
>> + clock-names:
>> + const: sys
>> +
>> + '#dma-cells':
>> + const: 2
>> +
>> + dma-channels:
>> + $ref: /schemas/types.yaml#/definitions/uint32
>
> Needn't it, which is standard proptery.
>
> Frank
>> + maximum: 64
>> +
>> +required:
>> + - compatible
>> + - reg
>> + - interrupts
>> + - clocks
>> + - '#dma-cells'
>> + - dma-channels
>> +
>> +allOf:
>> + - $ref: dma-controller.yaml#
>> +
>> +unevaluatedProperties: false
>> +
>> +examples:
>> + - |
>> + #include <dt-bindings/interrupt-controller/arm-gic.h>
>> + dma-controller@fe400000{
>> + compatible = "amlogic,a9-dma";
>> + reg = <0xfe400000 0x4000>;
>> + interrupts = <GIC_SPI 35 IRQ_TYPE_EDGE_RISING>;
>> + clocks = <&clkc 45>;
>> + #dma-cells = <2>;
>> + dma-channels = <28>;
>> + };
>>
>> --
>> 2.52.0
>>
next prev parent reply other threads:[~2026-02-27 7:18 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-06 9:02 [PATCH v3 0/3] Add Amlogic general DMA Xianwei Zhao via B4 Relay
2026-02-06 9:02 ` [PATCH v3 1/3] dt-bindings: dma: Add Amlogic A9 SoC DMA Xianwei Zhao via B4 Relay
2026-02-06 19:33 ` Frank Li
2026-02-27 7:18 ` Xianwei Zhao [this message]
2026-02-06 9:02 ` [PATCH v3 2/3] dma: amlogic: Add general DMA driver for A9 Xianwei Zhao via B4 Relay
2026-02-06 19:08 ` kernel test robot
2026-02-06 19:48 ` Frank Li
2026-02-06 20:33 ` kernel test robot
2026-02-06 20:54 ` kernel test robot
2026-02-09 21:28 ` Martin Blumenstingl
2026-02-27 7:20 ` Xianwei Zhao
2026-02-27 15:54 ` Frank Li
2026-02-06 9:02 ` [PATCH v3 3/3] MAINTAINERS: Add an entry for Amlogic DMA driver Xianwei Zhao via B4 Relay
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=de05570b-cf26-46b0-85f6-72deb0c62494@amlogic.com \
--to=xianwei.zhao@amlogic.com \
--cc=Frank.li@nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=gustavoars@kernel.org \
--cc=kees@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-amlogic@lists.infradead.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh@kernel.org \
--cc=vkoul@kernel.org \
/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®