From: Rob Herring <robh@kernel.org>
To: Khairul Anuar Romli <khairul.anuar.romli@altera.com>
Cc: Dinh Nguyen <dinguyen@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>,
Vinod Koul <vkoul@kernel.org>,
dmaengine@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 1/3] dt-bindings: dma: snps,dw-axi-dmac: Add compatible string for Agilex5
Date: Thu, 11 Dec 2025 09:46:04 -0600 [thread overview]
Message-ID: <20251211154604.GB1464056-robh@kernel.org> (raw)
In-Reply-To: <21ceb1207564d9962c90d8235282f1e462df6875.1765425415.git.khairul.anuar.romli@altera.com>
On Thu, Dec 11, 2025 at 12:40:36PM +0800, Khairul Anuar Romli wrote:
> The address bus on Agilex5 is limited to 40 bits. When SMMU is enable this
> will cause address truncation and translation faults. Hence introducing
> "altr,agilex5-axi-dma" to enable platform specific configuration to
> configure the dma addressable bit mask.
>
> Add a fallback capability for the compatible property to allow driver to
> probe and initialize with a newly added compatible string without requiring
> additional entry in the driver.
>
> Add dma-ranges to the binding schema to allow specifying DMA address
> mapping between the controller and its parent bus.
>
> Signed-off-by: Khairul Anuar Romli <khairul.anuar.romli@altera.com>
> ---
> Changes in v3:
> - Simple dma-ranges property with true and without description
> Changes in v2:
> - Add dma-ranges
> ---
> .../bindings/dma/snps,dw-axi-dmac.yaml | 16 +++++++++++-----
> 1 file changed, 11 insertions(+), 5 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml b/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml
> index a393a33c8908..1f4dcf3092c3 100644
> --- a/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml
> +++ b/Documentation/devicetree/bindings/dma/snps,dw-axi-dmac.yaml
> @@ -17,11 +17,15 @@ allOf:
>
> properties:
> compatible:
> - enum:
> - - snps,axi-dma-1.01a
> - - intel,kmb-axi-dma
> - - starfive,jh7110-axi-dma
> - - starfive,jh8100-axi-dma
> + oneOf:
> + - enum:
> + - snps,axi-dma-1.01a
> + - intel,kmb-axi-dma
> + - starfive,jh7110-axi-dma
> + - starfive,jh8100-axi-dma
> + - items:
> + - const: altr,agilex5-axi-dma
> + - const: snps,axi-dma-1.01a
>
> reg:
> minItems: 1
> @@ -104,6 +108,8 @@ properties:
> minimum: 1
> maximum: 256
>
> + dma-ranges: true
> +
You no longer need this because it is in the bus node.
Rob
next prev parent reply other threads:[~2025-12-11 15:46 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-11 4:40 [PATCH v3 0/3] Add Agilex5 AXI DMA support Khairul Anuar Romli
2025-12-11 4:40 ` [PATCH v3 1/3] dt-bindings: dma: snps,dw-axi-dmac: Add compatible string for Agilex5 Khairul Anuar Romli
2025-12-11 15:46 ` Rob Herring [this message]
2025-12-12 0:43 ` Romli, Khairul Anuar
2025-12-11 4:40 ` [PATCH v3 2/3] arm64: dts: intel: agilex5: Add simple-bus node on top of dma controller node Khairul Anuar Romli
2025-12-11 4:40 ` [PATCH v3 3/3] dma: dw-axi-dmac: Add support for Agilex5 and dynamic bus width Khairul Anuar Romli
2025-12-11 15:45 ` Rob Herring
2025-12-11 15:52 ` Rob Herring
2025-12-12 0:46 ` Romli, Khairul Anuar
2025-12-12 13:19 ` Rob Herring
2025-12-15 23:53 ` Romli, Khairul Anuar
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=20251211154604.GB1464056-robh@kernel.org \
--to=robh@kernel.org \
--cc=Eugeniy.Paltsev@synopsys.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dinguyen@kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=khairul.anuar.romli@altera.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.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;
as well as URLs for NNTP newsgroup(s).