Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp10335122rwr; Fri, 12 May 2023 06:59:15 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4nTgkM4pWA3j3B8x7+u2XoXglqKN8PRuWGf+Dj6nfZXI8bjzimi1ys7zW5RQuFvEu5ZR4y X-Received: by 2002:a17:902:ee8a:b0:1ac:6c26:c32f with SMTP id a10-20020a170902ee8a00b001ac6c26c32fmr20528566pld.46.1683899955401; Fri, 12 May 2023 06:59:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683899955; cv=none; d=google.com; s=arc-20160816; b=GTRfqsh4QrJLyHkZQfS9AmHeZQSM3RPWrhOWleiMMMJN11W2ky5nXubT2AtKpRnuA8 9arF/9p2zEFzCFOVhVz/4zBxagVjIhuJkkP0+PYchTPZ6Eer2di4ymD1+IvKzOI/IlKQ 3Yi2USTVGF/OLx3iRd5GMRgInzjX+Ixx4fiaLFh3z2LDnWCDhvsKTXuzp4xitUM7Vxx9 xBp2RLTtmpm1k89l/rfeuwToEdBRPyKGbmr3VZgfNur41sLIUGu+KYsHz8Jw+bkNkQii rCx2aT1//WluTAQ3S709YReHgQQE91nqBtYqqGeXOfyAxZbBmJVb5CIJwGPaR7zHl1Px //lw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+G/a1HhiZ4usCvLYQbk3Bit48enQFeeZ0XgqiiemQWU=; b=qLl4GjVARyz+6AGZFhnjRBDZlNLfDgrbCgnLSwpi5UswFi+YocG5pW9jkL6+LsS+/U tWrBf4ZfJ7GgOJyLLeYgL+1xsZMyhoM4vYRvQ0KcP/PV5bO5uIrbEyXOfChZce3p3ChS wHeUgKtRDpg8a4azEqgxPqhDlRD0nFACwyzXBwtawFX0V2+hmTF/iG9eNoC8H6lNZ84u prQEGmaBhrrSy92Dfw0/WcioyHDyVBnVT1d3ow3TfwrE4cN22Xci0Tfqu3uAQKuIcEl+ yst/yxnyH1WoQ3cJh9PdupDh7yMvVHTQlegPvqOnFkXheL9sv57TkRiZn1HflztLUa+I 28ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=oQ+LL2bC; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t9-20020a170902a5c900b001ac706a7b85si9046103plq.90.2023.05.12.06.59.02; Fri, 12 May 2023 06:59:15 -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 (test mode) header.i=@ideasonboard.com header.s=mail header.b=oQ+LL2bC; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241183AbjELNag (ORCPT + 99 others); Fri, 12 May 2023 09:30:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48738 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240471AbjELNae (ORCPT ); Fri, 12 May 2023 09:30:34 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A05AE2D78; Fri, 12 May 2023 06:30:32 -0700 (PDT) Received: from pendragon.ideasonboard.com (softbank126090219015.bbtec.net [126.90.219.15]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id A897B2D8; Fri, 12 May 2023 15:30:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1683898220; bh=Oe/8CoACA/cIoFFCLXHRn7jsUiNj0D1Hkkbdah2X6ZQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=oQ+LL2bCr0/0aoYp6So+lclr0hzAtCqoDj1z3rygUrVyKenvjUIHDgS9R4saaQDCq WFZufjKdvaPDbFaFJpwpYLIxj/78gqNgptkak7Y/sypdwsJC4FN160SOtH23E4IOJs IH4l+EedpNP1X4RvmdIVFg70Vt9GISGdyEG8r2gs= Date: Fri, 12 May 2023 16:30:25 +0300 From: Laurent Pinchart To: Michal Simek Cc: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Conor Dooley , Hyun Kwon , Krzysztof Kozlowski , Rob Herring , Vinod Koul , devicetree@vger.kernel.org, dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v3] dt-bindings: dma: xilinx: Add power-domains to xlnx,zynqmp-dpdma Message-ID: <20230512133025.GA11112@pendragon.ideasonboard.com> References: <8f5651634df338743f95a7253a741f9ddc92487d.1683891609.git.michal.simek@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <8f5651634df338743f95a7253a741f9ddc92487d.1683891609.git.michal.simek@amd.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham 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 Hi Michal, Thank you for the patch. On Fri, May 12, 2023 at 01:40:33PM +0200, Michal Simek wrote: > DP DMA has own power domain that's why describe required power-domain > property. > > Signed-off-by: Michal Simek Reviewed-by: Laurent Pinchart > --- > > Changes in v3: > - make power-domains as required property > - also update commit message > > Changes in v2: > - rewrite commit message - requested by Krzysztof > > The commit b06112cd5e08 ("arm64: dts: zynqmp: Add power domain for the > DisplayPort DMA controller") added this property already in Linux that's > why the patch is also fixing dts_check warnings. > > In v2 I got ack from Krzysztof but not adding it because of additional > discussion about required property in v3. > https://lore.kernel.org/r/029ba923-d13e-ea7c-018d-95e179dda2e5@linaro.org > > --- > .../devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml b/Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml > index d6cbd95ec26d..2128f4645c98 100644 > --- a/Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml > +++ b/Documentation/devicetree/bindings/dma/xilinx/xlnx,zynqmp-dpdma.yaml > @@ -41,6 +41,9 @@ properties: > clock-names: > const: axi_clk > > + power-domains: > + maxItems: 1 > + > required: > - "#dma-cells" > - compatible > @@ -48,12 +51,14 @@ required: > - interrupts > - clocks > - clock-names > + - power-domains > > additionalProperties: false > > examples: > - | > #include > + #include > > dma: dma-controller@fd4c0000 { > compatible = "xlnx,zynqmp-dpdma"; > @@ -63,6 +68,7 @@ examples: > clocks = <&dpdma_clk>; > clock-names = "axi_clk"; > #dma-cells = <1>; > + power-domains = <&zynqmp_firmware PD_DP>; > }; > > ... -- Regards, Laurent Pinchart