Received: from mail-lj1-f178.google.com (mail-lj1-f178.google.com [209.85.208.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9975C3D385 for ; Tue, 13 Jun 2023 21:43:36 +0000 (UTC) Received: by mail-lj1-f178.google.com with SMTP id 38308e7fff4ca-2b1b30445cfso76729271fa.1 for ; Tue, 13 Jun 2023 14:43:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686692614; x=1689284614; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=YVBzURvgjDfJ2gYyhvgrYexXopFXZIPug6bdq/81hWE=; b=Xdi0/6K1NxhnAg5y9c0bvzbLp8+1t0LKXLb0wMbY3ijxhV4moAndWkqNAqB+eIax4D L12h0PpSJqkrsNof/Nm7YmYyxeoL8cbNLTLAmHfmNIyGClijwwgWWYSVPfZRUHLb/Hko 4O6KvrYad5pmWfYkF1hGLeFFCi7Af83/IWLzaf3DGi0AokQflEZ7G7IlSK91Lu8h0INV MqCFNc6E540p26lhiOkl1zTzQQqYf6QVog8T+TDZloTW6nqcn6rCvhv+yYrt37773/WQ kbM8bf5AKqaO/g8VNoTvK0QLwgJvmYWb4uNoK6smTM1nYB23shr3YKisE7RcvevzrTpF JWCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686692614; x=1689284614; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=YVBzURvgjDfJ2gYyhvgrYexXopFXZIPug6bdq/81hWE=; b=JUvz87TK26S+q6Stv/Vs5bkqZuB0tWweq5mwrmkTkwMXWASWLts9hADhWfXMvC9uoD KBCKEnu19jXcEYkXx3iP6Vz3ShD8EOv1BZviguMNL6x2Rrcn8xLub+yQOJHH8T5ZP1s6 1FrIOBLl3dUUy4Oa8yxJEYRwg+pgrtxKnRxBOgBVUi/H9w2i6ehcqXjky/EoZA/AVmE/ HaEDXmnxFAeLIF2FsTZGNfc9Vdap2ZroexQV4wJ8P0jN+5VaORjuaGoebFjBJa58ExzY DbHT/IBO4GuHRBSW8SZ77jwimUlUVLwh8QdM/ySqGRQF3GUxyVu6xaWL0uqAmY/3SdfK LHJA== X-Gm-Message-State: AC+VfDzeZFk2WkI5Pr9ZGTFesrvYAragbSeurYQm1X6f8yXLa7XMtPm7 Ff7/yhq/3GgmO+7is07ncdiQRw== X-Google-Smtp-Source: ACHHUZ7cENNYNtJ0+hM2eHjXCY90dPlU+xSJdz4xMbZeUL9j63eH3FC8d97cdb202+tzq5L/NR8ZAA== X-Received: by 2002:a2e:a0ce:0:b0:2ab:19a0:667b with SMTP id f14-20020a2ea0ce000000b002ab19a0667bmr5053077ljm.0.1686692614315; Tue, 13 Jun 2023 14:43:34 -0700 (PDT) Received: from [192.168.1.20] ([178.197.219.26]) by smtp.gmail.com with ESMTPSA id n16-20020aa7c450000000b005187a749db8sm920472edr.21.2023.06.13.14.43.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 13 Jun 2023 14:43:33 -0700 (PDT) Message-ID: Date: Tue, 13 Jun 2023 23:43:31 +0200 Precedence: bulk X-Mailing-List: imx@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v5 12/12] dt-bindings: fsl-dma: fsl-edma: add edma3 compatible string Content-Language: en-US To: Frank Li , vkoul@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, peng.fan@nxp.com, joy.zou@nxp.com, shenwei.wang@nxp.com, imx@lists.linux.dev References: <20230613213149.2076358-1-Frank.Li@nxp.com> <20230613213149.2076358-13-Frank.Li@nxp.com> From: Krzysztof Kozlowski In-Reply-To: <20230613213149.2076358-13-Frank.Li@nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 13/06/2023 23:31, Frank Li wrote: > Extend Freescale eDMA driver bindings to support eDMA3 IP blocks in > i.MX8QM and i.MX8QXP SoCs. In i.MX93, both eDMA3 and eDMA4 are now. > > Signed-off-by: Frank Li > --- > .../devicetree/bindings/dma/fsl,edma.yaml | 118 +++++++++++++++--- > 1 file changed, 100 insertions(+), 18 deletions(-) > > diff --git a/Documentation/devicetree/bindings/dma/fsl,edma.yaml b/Documentation/devicetree/bindings/dma/fsl,edma.yaml > index 5fd8fc604261..2f79492fb332 100644 > --- a/Documentation/devicetree/bindings/dma/fsl,edma.yaml > +++ b/Documentation/devicetree/bindings/dma/fsl,edma.yaml > @@ -21,32 +21,20 @@ properties: > - enum: > - fsl,vf610-edma > - fsl,imx7ulp-edma > + - fsl,imx8qm-adma > + - fsl,imx8qm-edma > + - fsl,imx93-edma3 > + - fsl,imx93-edma4 > - items: > - const: fsl,ls1028a-edma > - const: fsl,vf610-edma > > - reg: > - minItems: 2 > - maxItems: 3 > - > - interrupts: > - minItems: 2 > - maxItems: 17 What is happening here? > - > - interrupt-names: > - minItems: 2 > - maxItems: 17 > - > - "#dma-cells": > - const: 2 > - > - dma-channels: > - const: 32 No, why all these are being removed? > - > clocks: > + minItems: 1 > maxItems: 2 > > clock-names: > + minItems: 1 > maxItems: 2 > > big-endian: > @@ -55,6 +43,43 @@ properties: > eDMA are implemented in big endian mode, otherwise in little mode. > type: boolean > > +if: This should not be outside of your allOf. This patch looks entirely different than your v4 and I don't really understand why. > + properties: > + compatible: > + contains: > + enum: > + - fsl,imx8qm-adma > + - fsl,imx8qm-edma > + - fsl,imx93-edma3 > + - fsl,imx93-edma4 > +then: > + properties: > + reg: > + maxItems: 1 > + interrupts: > + minItems: 1 > + maxItems: 64 What's more, you don't have these properties defined in top-level. Sorry, they should not be moved. I did not ask for this. Best regards, Krzysztof