From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AB467C38145 for ; Wed, 7 Sep 2022 11:13:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To: Subject:MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qAlWylrlStAEFYQDl/jjxQTQLJYRPKkNKabrRyUtDeo=; b=K4BVRvH4VWXw3E rSrWP5nHn4NdvJwjjMsNWrw/xj4QHGKqjlWqZasylw4vbDGhYEVraUp6+p+CodZjiVEQCcp9emsGM yEnVi1TxoqbYKJZe8aCDGimGRUDVG8sr2oRIxCfMmFBw7gUZOFWdwLL6BaYYtuHHVsvT4h8dG0Si/ XO1HIv038dlVBFFv+MFIhJNeNG9kG/ZOpf3fdMzMFMJyDerOsyas9sB7pzZ1SoMqq6eOl9mqsLnPM tWIY42H5/XmYmkspoB+LQeLRyAF9Gg+lPQUmdHakEZXDHJNthFdS2S5pkoFMy4Q3B9fHQayG7qahk sP3gth2+shSw7ywEKezw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVsya-005ZG1-Fi; Wed, 07 Sep 2022 11:12:12 +0000 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oVsyT-005ZCe-75 for linux-arm-kernel@lists.infradead.org; Wed, 07 Sep 2022 11:12:07 +0000 Received: by mail-lf1-x12d.google.com with SMTP id bq23so21879801lfb.7 for ; Wed, 07 Sep 2022 04:12:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date; bh=iNtTUzrINFwbBnczQ174C3FOkzJAMusR7Z8JNRLKG5w=; b=Y3bBGyrZSPbapcNXgU7fcTKdOluEiEpZL1JmiSo9MyZa+G7UaLb030rImpHPAfiGj/ zekNi9EFUdPw7sRiybRKv/jC7WfackMTWjGiskG8HO2/HwNszum8Fh5a1+RomPsjHv3V Ooe6X1p8GY9HpkvEGg64KJhOlPioLgz10dBX5lIHnk9S9MxJxtbb+cGzjbCId12Szczt WVKeYFiOrkNQ5nvSRAjxoJ5G09BxX1fXf0HnUnyosLgDCx+wVzB1rCNtBux6E1IqO1cF A0XYU3+S7SL7DBNe72+Ik99VScAoD9o/S88y/lkiH0+5paQPWRc/cQQ/vs1op/rHuhG9 M6bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date; bh=iNtTUzrINFwbBnczQ174C3FOkzJAMusR7Z8JNRLKG5w=; b=DG7Z4l/8LYrpQ8dStMlyEodyocKT9Ie2zdJUMJMIOG46eICl/CRvuQqdGu9a6Butz8 kYuOyQXL1MEiwKb3k3GokxEIP7JuQ+Ioprh2Jdt6K5vd/MgcCM9fqNmjidEWfSFl/2KS LuxcMb180/ueRFcqyo/aIa7qwx0Vt9EjiDoL1m0407dUDJuoWFdWfK2AMUXX0zysiuax wRAATEEGAkFFiqwNKhtH956FYPCSRzmFERGclZfctqgTLXbagYNo+E7JnTHEJdpquTTC 94JjUFa1xoM8ZQEK33sRkHGA5ffPesQ9EyGnPhZrBheoJPYQER3OjIM+8gF94qXxFZ+m 5zNQ== X-Gm-Message-State: ACgBeo2SxKZqj7EeVIGNoQ2fDJpuHU4htakFdV5sBm4zRql3qj3J4F0w R8UTvnW9r8Td/l6u5bmCx5Q5bQ== X-Google-Smtp-Source: AA6agR5MbQCiwj9hCVB+jNJ5dBWEB4I/qGqoo+1hBwisRmmXG6PN3TniGyeM6KdC/9Fzv3UWU1508A== X-Received: by 2002:ac2:4f03:0:b0:495:ec98:bcac with SMTP id k3-20020ac24f03000000b00495ec98bcacmr919269lfr.339.1662549122828; Wed, 07 Sep 2022 04:12:02 -0700 (PDT) Received: from [192.168.0.21] (78-11-189-27.static.ip.netia.com.pl. [78.11.189.27]) by smtp.gmail.com with ESMTPSA id s11-20020a056512202b00b0048ae518364dsm1410665lfs.148.2022.09.07.04.12.01 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 07 Sep 2022 04:12:02 -0700 (PDT) Message-ID: Date: Wed, 7 Sep 2022 13:12:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.13.0 Subject: Re: [PATCH v6 1/4] dt-bindings: fsl-imx-sdma: Convert imx sdma to DT schema Content-Language: en-US To: Alexander Stein , Joy Zou Cc: vkoul@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, shengjiu.wang@nxp.com, martink@posteo.de, dev@lynxeye.de, peng.fan@nxp.com, david@ixit.cz, aford173@gmail.com, hongxing.zhu@nxp.com, linux-imx@nxp.com, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: <20220906094256.3787384-1-joy.zou@nxp.com> <20220906094256.3787384-2-joy.zou@nxp.com> <4743969.GXAFRqVoOG@steina-w> From: Krzysztof Kozlowski In-Reply-To: <4743969.GXAFRqVoOG@steina-w> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220907_041205_305678_D2397625 X-CRM114-Status: GOOD ( 21.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 06/09/2022 12:55, Alexander Stein wrote: > Hi, > > thanks for the YAML conversion patch. > > Am Dienstag, 6. September 2022, 11:42:53 CEST schrieb Joy Zou: >> Convert the i.MX SDMA binding to DT schema format using json-schema. >> >> The compatibles fsl,imx31-to1-sdma, fsl,imx31-to2-sdma, fsl,imx35-to1-sdma >> and fsl,imx35-to2-sdma are not used. So need to delete it. The compatibles >> fsl,imx50-sdma, fsl,imx6sll-sdma and fsl,imx6sl-sdma are added. The >> original binding don't list all compatible used. >> >> In addition, add new peripheral types HDMI Audio. >> >> Signed-off-by: Joy Zou >> --- >> Changes in v6: >> delete tag Acked-by from commit message. >> >> Changes in v5: >> modify the commit message fromat. >> add additionalProperties, because delete the quotes in patch v4. >> delete unevaluatedProperties due to similar to additionalProperties. >> modification fsl,sdma-event-remap items and description. >> >> Changes in v4: >> modify the commit message. >> delete the quotes in patch. >> modify the compatible in patch. >> delete maxitems and add items for clock-names property. >> add iram property. >> >> Changes in v3: >> modify the commit message. >> modify the filename. >> modify the maintainer. >> delete the unnecessary comment. >> modify the compatible and run dt_binding_check and dtbs_check. >> add clocks and clock-names property. >> delete the reg description and add maxItems. >> delete the interrupts description and add maxItems. >> add ref for gpr property. >> modify the fsl,sdma-event-remap ref type and add items. >> delete consumer example. >> >> Changes in v2: >> convert imx sdma bindings to DT schema. >> --- >> .../devicetree/bindings/dma/fsl,imx-sdma.yaml | 147 ++++++++++++++++++ >> .../devicetree/bindings/dma/fsl-imx-sdma.txt | 118 -------------- >> 2 files changed, 147 insertions(+), 118 deletions(-) >> create mode 100644 Documentation/devicetree/bindings/dma/fsl,imx-sdma.yaml >> delete mode 100644 Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt >> >> diff --git a/Documentation/devicetree/bindings/dma/fsl,imx-sdma.yaml >> b/Documentation/devicetree/bindings/dma/fsl,imx-sdma.yaml new file mode >> 100644 >> index 000000000000..3da65d3ea4af >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/dma/fsl,imx-sdma.yaml >> @@ -0,0 +1,147 @@ >> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/dma/fsl,imx-sdma.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Freescale Smart Direct Memory Access (SDMA) Controller for i.MX >> + >> +maintainers: >> + - Joy Zou >> + >> +properties: > > Is it sensible to add something like this? > > $nodename: > pattern: "^dma-controller(@.*)?$" > > You are changing the node names in patch 3 anyway. > No, the device schemas do not need to enforce the name. The dma-controller schema enforces it, so what is missing here is to reference it. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel