Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp865924rwr; Wed, 3 May 2023 07:13:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6xMUMZ3kJJ7S1etUNJWadMSR7IjVTlEjTlWpGV5D5XgTmwavLjf22R/kU3k+NJiS/4RI23 X-Received: by 2002:a17:902:dac5:b0:1a6:93cc:924b with SMTP id q5-20020a170902dac500b001a693cc924bmr7845887plx.3.1683123237133; Wed, 03 May 2023 07:13:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683123237; cv=none; d=google.com; s=arc-20160816; b=GMbN/9RSvOBiHE5ypcGQIdB4kKw2k9SfHICy5xFgAWBZB7qQHjogtPOnjZHW2gvtvb CbY2mnyyvFgt3pEZ4lT1/JWnEZZXMcg0s1olmkGMx/KQVX2cBI4lyEf7ZZsQNyOfKLJ3 hNdYOP3P5T+MwWzRgOfmwGCUysKli1Gle0uHg8+kqXWYs9lDY1sApCd/BHGqtuJzIf0Q rjMr7akeK+FXpp4Px3j6cJw4X25ZIwC2pP6jTpxBP37DTBNwvhvEV9Iqkhy3kOB0oUuB oH+pkNyLEuBUXIzIzjNRkouDH4QwgAYHdBkLXsIxv6BDxrjM+XMNGGtNQxi+nLHpc+VJ K6cQ== 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=mK68NYi4Md501UpiqLonzXIdRt1tnNyCrIythi7sS+M=; b=YkkLUbSCNIzkNNin/zO3fCOe4hnQx5fFTVlOdnInYdvnzMmpBRwyFbcwk0OVKH3RDb s9KCO+tnVaZEVTO/MU8Y2hy2VgKBfv3uGspkfF9p8OAxHrP/yTHzlF+Crl5HFCi8ZP43 F4OvpzmP1Ujy7m4ykt8/oz1DgDEMqAI+jFmoIMg65BC21liqlQPmxLQHEhhBwrB//wI8 ZTi1+hEUc9lky7JYc/URSF2Y3YUO4Tjt+UFi0XrF+n3purp2XK5qJgHdxS/bXglzz6qy 8yge403Y2iLWs+v7CIlLmRQIsEI5Ox/iFf6/cJbgmppOCgHa/T/OnlyVbyiE965zb13x k88w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=noHAyyyW; 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 p8-20020a170902bd0800b001aae8267840si8748488pls.48.2023.05.03.07.13.41; Wed, 03 May 2023 07:13:57 -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=noHAyyyW; 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 S229784AbjECOJk (ORCPT + 99 others); Wed, 3 May 2023 10:09:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229741AbjECOJj (ORCPT ); Wed, 3 May 2023 10:09:39 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BF7244BE for ; Wed, 3 May 2023 07:09:37 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-50bc3088b7aso7848606a12.3 for ; Wed, 03 May 2023 07:09:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1683122976; x=1685714976; 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=mK68NYi4Md501UpiqLonzXIdRt1tnNyCrIythi7sS+M=; b=noHAyyyWDYLPP6JO/zozkSkR2vkzidbvTevSRwNzUbJtQSxqGAz6P6BoNIlrpA2tgX 0Ax7FwFNNxXaxvq4AjYH3l57NVqojg41eZVsE2h5SSsCehHN+iCbJvkvSGd5t6soY04T oMX9YalyuVn63F8wnmCgYqHfrYekJjagE9II6StQoP6XZQHZbEY+/hyuCD/VkdXgCBJJ ejNtLOpI5Cjr2+mHCvoXIgJou5lWthj2vGJ0qlsnLJtAX4PQdKnckJvCw95W4LD5WWot GA/UjQy6yVG2Rz1QebCVbZENPCi1x8UzZEZ9T2O3ZzsITG5rCjBsrDWkKyHVVosoSrIt RDZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683122976; x=1685714976; 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=mK68NYi4Md501UpiqLonzXIdRt1tnNyCrIythi7sS+M=; b=RrWoycjzDPQucSqfsomtRmOr6NiruX+/1xDOpkWFpXTiqBLyeFW87PaM0C8ATcfemM pHpD+NcrCbG2iDOwZfR4JEzIVdF3Tmd+nK7OGy7hWgGZ80Q+XrQDX7Sf3ysdRyUcYwsb gmIF7aZnefJkdkwzA4dRNj3R5uQ7mWvIX61oL8BxcGVEsm4BF6dzXql1jFiFbEnJc2UZ Q0MKlfDnIc8hUrf9Nb3v2p8D8zJtu16GaJ4QuzyU/DCfV4Oy1U9KzSls10+GUFEBEXSJ X67vtiGcABcNDeTny+L/an9iz59KJjr4vkk9nJXZVSVbczqnoz1pSnXLQq7htOVNjcvO lHCA== X-Gm-Message-State: AC+VfDydcg1pe+WXQcRtUKg1qBimMI7uTh2mzD6T569RQG6pHwo5BZT9 gCo9DKNaENjwMKs9WtKCK/SpKQ== X-Received: by 2002:a17:906:58cf:b0:94f:2852:1d2b with SMTP id e15-20020a17090658cf00b0094f28521d2bmr3247307ejs.72.1683122976003; Wed, 03 May 2023 07:09:36 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:db42:e3d0:c55a:8cf1? ([2a02:810d:15c0:828:db42:e3d0:c55a:8cf1]) by smtp.gmail.com with ESMTPSA id h20-20020a1709070b1400b009658f5a90d2sm127868ejl.189.2023.05.03.07.09.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 03 May 2023 07:09:35 -0700 (PDT) Message-ID: <0537e5be-87c3-c551-ac12-d2cdf5b18b07@linaro.org> Date: Wed, 3 May 2023 16:09:34 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH v2] dt-bindings: dma: xilinx: Add power-domains to xlnx,zynqmp-dpdma Content-Language: en-US To: Michal Simek , Laurent Pinchart Cc: linux-kernel@vger.kernel.org, monstr@monstr.eu, michal.simek@xilinx.com, git@xilinx.com, Hyun Kwon , Krzysztof Kozlowski , Rob Herring , Vinod Koul , devicetree@vger.kernel.org, dmaengine@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <30424f5886ef42419f65c2d5131ad30881c727a4.1683100816.git.michal.simek@amd.com> <20230503125125.GE32586@pendragon.ideasonboard.com> From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.4 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,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 03/05/2023 15:27, Michal Simek wrote: > Hi, > > On 5/3/23 14:51, Laurent Pinchart wrote: >> Hi Michal, >> >> Thank you for the patch. >> >> On Wed, May 03, 2023 at 10:00:20AM +0200, Michal Simek wrote: >>> DP DMA has own power domain that's why describe optional power-domain >>> property. >> >> As far as I understand, the property should always be specified, the >> only reason why it's not mandatory is backward-compatibility (I would >> make it mandatory, as I think proper validation of new DT is more >> important than avoiding breaking validation - but not operation! - of >> old DT, but that's a separate story). If my understanding is correct, >> could you please update the example in the bindings to add the >> power-domains property ? > > backward compatible - of course > always specified - if pd driver is enabled it must be there. If not it doesn't > do anything - just describes it. > > I am not in a position to decide this. But if dt folks agree with your ask I am > happy to make it mandatory and extend example. By making it mandatory in the bindings only, not in the driver, no real ABI gets broken. Linux won't stop booting if property is missing. Therefore if device is always part of power domain and it is actually required, then sure - making it required is useful. Best regards, Krzysztof