From: Rob Herring <robh@kernel.org>
To: Frank Li <Frank.Li@nxp.com>
Cc: vkoul@kernel.org, pankaj.gupta@nxp.com,
20240409185416.2224609-1-Frank.Li@nxp.com, shenwei.wang@nxp.com,
xu.yang_2@nxp.com, shengjiu.wang@nxp.com,
devicetree@vger.kernel.org, krzysztof.kozlowski+dt@linaro.org,
krzk@kernel.org, linux-kernel@vger.kernel.org, peng.fan@nxp.com,
imx@lists.linux.dev, conor+dt@kernel.org,
dmaengine@vger.kernel.org
Subject: Re: [PATCH v5 2/2] dt-bindings: dma: fsl-edma: allow 'power-domains' property
Date: Thu, 18 Apr 2024 08:10:24 -0500 [thread overview]
Message-ID: <171344580514.1090639.5974994638297885495.robh@kernel.org> (raw)
In-Reply-To: <20240417152457.361340-2-Frank.Li@nxp.com>
On Wed, 17 Apr 2024 11:24:57 -0400, Frank Li wrote:
> Allow 'power-domains' property because i.MX8DXL i.MX8QM and i.MX8QXP need
> it. EDMA supports each power-domain for each dma channel. So minItems and
> maxItems align 'dma-channels'.
>
> Change fsl,imx93-edma3 example to fsl,imx8qm-edma to reflect this variants.
>
> Fixed below DTB_CHECK warning:
> dma-controller@599f0000: Unevaluated properties are not allowed ('power-domains' was unexpected)
>
> Signed-off-by: Frank Li <Frank.Li@nxp.com>
> ---
>
> Notes:
> Change from v4 to v5
> - Add description according to rob's suggest.
>
> "The number of power domains matches the number of channels, arranged
> in ascending order according to their associated DMA channels."
>
> Change from v3 to v4
> - Remove 'contains' change should be belong to first patch when rebase.
>
> make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j8 dt_binding_check DT_SCHEMA_FILES=fsl,edma.yaml
> LINT Documentation/devicetree/bindings
> DTEX Documentation/devicetree/bindings/dma/fsl,edma.example.dts
> CHKDT Documentation/devicetree/bindings/processed-schema.json
> SCHEMA Documentation/devicetree/bindings/processed-schema.json
> DTC_CHK Documentation/devicetree/bindings/dma/fsl,edma.example.dtb
>
> After this patch no warning for imx8dxl-evk.dtb.
>
> touch arch/arm64/boot/dts/freescale/imx8dxl.dtsi
> make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- -j8 CHECK_DTBS=y freescale/imx8dxl-evk.dtb
> DTC_CHK arch/arm64/boot/dts/freescale/imx8dxl-evk.dtb
>
> Change from v2 to v3
> - set 'power-domains' false for other compatitble string
> - change imx93 example to 8qm example to affect this change according to
> Krzysztof Kozlowski's suggestion, choose least channel number edma
> instance to reduce code copy. max channel number is 64.
>
> - Rebase to latest dmaengine/next, fixes conflicts.
>
> Change from v1 to v2
> - using maxitem: 64. Each channel have one power domain. Max 64 dmachannel.
> - add power-domains to 'required' when compatible string is fsl,imx8qm-adma
> or fsl,imx8qm-edma
>
> .../devicetree/bindings/dma/fsl,edma.yaml | 80 ++++++++++---------
> 1 file changed, 42 insertions(+), 38 deletions(-)
>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
next prev parent reply other threads:[~2024-04-18 13:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-17 15:24 [PATCH v5 1/2] dt-bindings: dma: fsl-edma: remove 'clocks' from required Frank Li
2024-04-17 15:24 ` [PATCH v5 2/2] dt-bindings: dma: fsl-edma: allow 'power-domains' property Frank Li
2024-04-18 13:10 ` Rob Herring [this message]
2024-04-25 9:17 ` [PATCH v5 1/2] dt-bindings: dma: fsl-edma: remove 'clocks' from required Vinod Koul
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=171344580514.1090639.5974994638297885495.robh@kernel.org \
--to=robh@kernel.org \
--cc=20240409185416.2224609-1-Frank.Li@nxp.com \
--cc=Frank.Li@nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=imx@lists.linux.dev \
--cc=krzk@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pankaj.gupta@nxp.com \
--cc=peng.fan@nxp.com \
--cc=shengjiu.wang@nxp.com \
--cc=shenwei.wang@nxp.com \
--cc=vkoul@kernel.org \
--cc=xu.yang_2@nxp.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 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®