Received: by 2002:a05:6358:bb9e:b0:b9:5105:a5b4 with SMTP id df30csp5563934rwb; Wed, 7 Sep 2022 04:59:21 -0700 (PDT) X-Google-Smtp-Source: AA6agR5l92A9b5j/Kz2/ZMFXzPqf86OwUNzSifyitRFygP5yW6rhv3FMmmsKS5UJZsq+UNK8WEc/ X-Received: by 2002:a17:90a:9295:b0:202:582b:1765 with SMTP id n21-20020a17090a929500b00202582b1765mr313072pjo.99.1662551961159; Wed, 07 Sep 2022 04:59:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662551961; cv=none; d=google.com; s=arc-20160816; b=cFyVI1/gRaCuAMtW1tWGEYdFcf/eSZXzRia/RZKMUxOCYVhDCzLx4x9AmGRqogb/w7 VDc9MvGU11CgwwrofFDBeRRx9HwERR+A96y0t9GA/cYBjcTC3l8yVu2LapnD1AVnRaDM ruKFGqCQFL/kYnUTlriGIvin/XhgaQOINuUFbU5KMJvb0njn7tyHgvQ4DSaUD+JMO6Xj ByBONgus1GovUkejBMk9KuPs01cDB3xuhVzlh8smiqaDuGGLV7IlCkvkGcf4eGZCa1TK 57wEJJD5xjxNcGyLbQ1AGYE4tHW9+rJGn+d2rBN2BFYn8qIfjTSeTsdpArgnigfdkq6G sqJg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=iNtTUzrINFwbBnczQ174C3FOkzJAMusR7Z8JNRLKG5w=; b=ZQ0ZX+B1PySDp2hMhL9kAMXJuVvyGPxqIGFdvimhud9ZLuu2t7FBZt66yEFGj1T5nO CmCB2jr2BgoCBZGEEde5gJrJtdY96isU5R4igudT7u0OoXzqtlfL9WQZMtGHGJ9uVocG Kd4r9LU1aMGxqP/fVRDCfiIZ25NJVCRARmzt9E0KMmPlQ9fbeQI0Qqp2ctKbh5ODw0dx smtreHs92LTFR7mMPL+J8sC3MhB/Cv0WgxzQ6lbhteVGIa7kjasObZgPHglgnU79BsxD Ywl890B0lXT9a43U2H/9ta0o/wF5xUy36qzxVCR1++kAtUSN7WvptyKA/RYYCaYp245y Y9cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y3bBGyrZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id jd4-20020a170903260400b001768f32f952si12042698plb.538.2022.09.07.04.59.08; Wed, 07 Sep 2022 04:59:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y3bBGyrZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230087AbiIGLMM (ORCPT + 99 others); Wed, 7 Sep 2022 07:12:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229909AbiIGLMJ (ORCPT ); Wed, 7 Sep 2022 07:12:09 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7C08333A2C for ; Wed, 7 Sep 2022 04:12:04 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id m15so2206142lfl.9 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=RjrUjK4xu2UPow4bV2cc2IT5iJqQYfUVb/Ava9u6t+UyWMUQA3ua2SFqXfs5v9Km73 IWa97kNS6k3BOCy4kMeqsKQjixrhYe1/QNHmpuky5Kw56ecY29VuhjIE0HXKVe+KNgOq xtCYwL7ZWVM0eX+MTxLSiNthAsf5q26d1YRCDoK/fyfGy1tDKG+AfSBEb8buIsDWYEyQ UHQPadVi8ofcx3D/Fk9viOrgg3wvbPSvP6kG+m0+rxoGKURssqb3vq2D+y1sZvUFfm3K NY67wDTSpu1sW8JHr9pUBSntg/kIR/fr62FUbbL1bs3A7ZNjFUiJjA4tCliHlVTtIMLB eDGQ== X-Gm-Message-State: ACgBeo18SpuEdBIym7wSoaPvQF6DTMxPr6lylbn2EkuOyOuomTyhJPaS oF/yxeo/Lvo7nTm5tGdnheJFxQ== 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> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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