From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 20A6C36D4F5; Thu, 20 Nov 2025 17:36:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763660171; cv=none; b=CvsXzJaJwl2q0eEASaDW4PRmY0KSh+gwlLtuCuLWirqRxE6hThAHiCjKxrpe/Bls4BRnukb+4lcbKXtdCPsMmHrAkMwqKlg2PP4xIJjCeCxM1VRSv1IYaum3SQoZ3pQsy2cDipIZJiaE982UQHQEXGIVEd43fj8QskIb4/pkZ9I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763660171; c=relaxed/simple; bh=IrQAo8kxBFEzbPGINwZtmpudrkpNPX48K+pwx2p+eCY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=IU3QlfZ7tec8AwgPZooBW1wK97uHC2tDVfk6B67Di1f6vTuvZHgXpJZlAjEIs+I8gHDZGc7+KTjCe4nwWCXJiHmhfIy1OBG/XNDlXcwED4k+BgomLT7wF0NVR6c4DWGIhIxn22514QCHjlyb0P0f4aAjQOJS+0sWD3JbKt+pbKs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=D3BbXSQw; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="D3BbXSQw" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 63CBCC4CEF1; Thu, 20 Nov 2025 17:36:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1763660170; bh=IrQAo8kxBFEzbPGINwZtmpudrkpNPX48K+pwx2p+eCY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=D3BbXSQwnSmzTnta2rvo+HsOWUGNdZzTsQEFmCTVjcdrCRoREo2/i4h5nB5X0RDq2 vQr4MH3OM8iVnWS9wmCZGpv24dTmGdzYFgU1mccdGO3ZkA2JTD9InimGuvfa0ac767 mLZ3n6OikGo+kQkBntqFbgrP8N3hVCr31xs7vGYTfP+Jl4UuyIgNLC4MipbgAniH1s 5hRPfxCv2v4r+OUiYSWUwY09yHTKf/SdcGvRkod/upSFPZEQTUlfPW+G321I7E5E90 pjR5Ax8hytT9E+2DsdrOr3Wq0UomcjAjQnV2unb2k3CM9bQsqvM8o847mUGxf9ksHT n/OBNuExOdtOQ== Date: Thu, 20 Nov 2025 11:36:08 -0600 From: Rob Herring To: Khairul Anuar Romli Cc: Dinh Nguyen , Vinod Koul , Krzysztof Kozlowski , Conor Dooley , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] dt-bindings: dma: snps,dw-axi-dmac: Add compatible string for Agilex5 Message-ID: <20251120173608.GA1582568-robh@kernel.org> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Nov 20, 2025 at 07:31:10PM +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. That's likely a bus limitation, not an IP limitation. So that should be handled with dma-ranges. However, adding a specific compatible is perfectly fine. > > 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. > > Signed-off-by: Khairul Anuar Romli > --- > .../devicetree/bindings/dma/snps,dw-axi-dmac.yaml | 14 +++++++++----- > 1 file changed, 9 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..db89ebf2b006 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 > -- > 2.43.7 >