Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp863228rwi; Wed, 26 Oct 2022 08:06:24 -0700 (PDT) X-Google-Smtp-Source: AMsMyM57fvUlchVjxE2Ghm0JE3Jt3t9Xr53QnsAopEE9Obt+n2PfnKaOv2nIog4i1Xw6K1fpXF3q X-Received: by 2002:a63:1608:0:b0:45a:355a:9420 with SMTP id w8-20020a631608000000b0045a355a9420mr38015492pgl.354.1666796783987; Wed, 26 Oct 2022 08:06:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666796783; cv=none; d=google.com; s=arc-20160816; b=jhH9QyaIFCjOXs2tlOK9TCvrtThZAxpx8eU9Q/JR08dCCgggNC3Oc8aq0NGR/XgZzH Xq+MVwOBHswOfu3MwmgqcNxFkmIj12QZIuS2RI2b6wmSCes0F+hKZMtjs5443wgpuW0P 1+GLqqvkpaFcavXEcCoUKrZT6I6RNesOqolIQD6KzrJkqYI6gYoF7yQ95wWxpJ5iMziN IPIk58aITRgYHZSBGoImFDA0jeHOoROXE3MiLyRFgdvpMfoJ+f5ObfQo103MZI1JnXtP KltCddhtA8Wu+DeoeKBu2cH6DYHu+uPWhr0/GqTGa1l9Jj1lagOIRhUM4iQJzOS1ftbJ 0i0w== 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=c1i1FqqhTDMT/ViyoRGQtHvVYN5J6E42giRNCRA4lx4=; b=Uqr2sGMWQTYDaPgwjPnc64TAuBsOizeqYGqipEoX5eLo1YEQL8vuhc9G4vjOa4PeIv bg8vvkQT1XBce9W8BvARWHixCQSx6dGx54bhOu7wpyowx3pViDYPi/Wl1uSz/SZddHYo kuQoI8NW3o8zI+Y9yKGhyfSkmBqun4W8FjlLgojkYzPhTi6XgE3NgXoD1n+8AYNY4DkY zfAhY9XCfHz7TXs4xakINHVPDH1J7TbCt+2iU1ir1iRQfyzv+nS+Qrf0t+VP0MfphgYJ HNvmRN7/UukOTCq3TbrgZkC3iqImvVEYi5uG5VWMsK2kPuUTWzrhY8kJMeBr1tNG6P19 M+EA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KUI1hfVo; 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 v6-20020a056a00148600b0056300ad8dd2si7449189pfu.367.2022.10.26.08.06.00; Wed, 26 Oct 2022 08:06:23 -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=KUI1hfVo; 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 S234290AbiJZO7H (ORCPT + 99 others); Wed, 26 Oct 2022 10:59:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234438AbiJZO7F (ORCPT ); Wed, 26 Oct 2022 10:59:05 -0400 Received: from mail-qv1-xf34.google.com (mail-qv1-xf34.google.com [IPv6:2607:f8b0:4864:20::f34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCB7111DAB0 for ; Wed, 26 Oct 2022 07:59:02 -0700 (PDT) Received: by mail-qv1-xf34.google.com with SMTP id j6so7200079qvn.12 for ; Wed, 26 Oct 2022 07:59:02 -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:message-id:reply-to; bh=c1i1FqqhTDMT/ViyoRGQtHvVYN5J6E42giRNCRA4lx4=; b=KUI1hfVo+/GVX7DDCCi+qpqLJPRK1tN4Qc/EZIsWOGStCjDHxiJySclNFggdVo94PE xUwPRlW+hiTsz4VZVi6hTlG04KxKD3No19BLgtwSssZ1d+NDa0K4yjwcTO/PTgCUgZiy Y5fva+fuqn8PZypd0HvfWsyU+xVbPjxXsKzXgA+PR7kSYb2Vb94ZC1COAZ1gsbxdb0LK QDyEE40cg73n3Plwn8jQQ8l4yglT1bm0VG0ipxCSJSDfB7JMP/7hnS13dLWYnIhf/0dU iYb5q/70U3KfZxjpoa+Zx8HyFg8wk5rLL55uffjQKck7ife0Ftn6ew+3AQBxsBWuqDyB mBnQ== 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:message-id:reply-to; bh=c1i1FqqhTDMT/ViyoRGQtHvVYN5J6E42giRNCRA4lx4=; b=W3RUPtkOHzJVdvQgwFuz1Kom1K5W280nhtHCaWcLrU+8Scmsp5B3Vxk8hEU4axv6Np v3LIKszBpxxVKfFem6Nl4hpe/kQV1k4MHteXxBBO3njwUoYF2+mD3y/XNCNYPSwCfktM km+Q+GrALezz4NTDwhLniGZvS6DvDVhv3rVgj2IOdTJp6fpbD1u3S+7zduc1Wm7vI9Y+ /QmcUV0nTJq9Au4ueyutvAilStx+olG5IRQkt4OOvi8e+BYxQDmjAyTsyyj4Kh48CEmf JKyS592qoEXdRvki7QDZh8lqnT94W2F50ZT91WHhKsKPA3/ZYG0XJFhdhzLzaKufdpa0 2ujQ== X-Gm-Message-State: ACrzQf1C6tize64i/itnpEvWYyKp24ofe0mtpF1YlZvlkXWB7Sl4LNxt sW5MOU4VDmjS/9newskjRBb/pg== X-Received: by 2002:ad4:5962:0:b0:4bb:6c2f:cbc2 with SMTP id eq2-20020ad45962000000b004bb6c2fcbc2mr14578666qvb.101.1666796341918; Wed, 26 Oct 2022 07:59:01 -0700 (PDT) Received: from [192.168.1.11] ([64.57.193.93]) by smtp.gmail.com with ESMTPSA id b6-20020ac812c6000000b0039ccbf75f92sm3282983qtj.11.2022.10.26.07.58.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Oct 2022 07:59:01 -0700 (PDT) Message-ID: <133f27f4-d92c-ef8d-4fc9-32387518e4c0@linaro.org> Date: Wed, 26 Oct 2022 10:58:59 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH v8 1/2] dt-bindings: fsl-imx-sdma: Convert imx sdma to DT schema Content-Language: en-US To: Joy Zou , 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 Cc: shengjiu.wang@nxp.com, martink@posteo.de, dev@lynxeye.de, alexander.stein@ew.tq-group.com, 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: <20221025083609.2129260-1-joy.zou@nxp.com> <20221025083609.2129260-2-joy.zou@nxp.com> From: Krzysztof Kozlowski In-Reply-To: <20221025083609.2129260-2-joy.zou@nxp.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 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,URIBL_BLOCKED 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 25/10/2022 04:36, Joy Zou wrote: > 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 v8: > add the dma-controller quotes. Why adding quotes? > delete #dma-cells in required. > > 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 | 149 ++++++++++++++++++ > .../devicetree/bindings/dma/fsl-imx-sdma.txt | 118 -------------- > 2 files changed, 149 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..fe527d32cdb6 > --- /dev/null > +++ b/Documentation/devicetree/bindings/dma/fsl,imx-sdma.yaml > @@ -0,0 +1,149 @@ > +# 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 > + > +allOf: > + - $ref: "dma-controller.yaml#" Drop quotes. > + > +properties: > + compatible: Best regards, Krzysztof