Received: by 2002:a05:7412:a9a3:b0:f9:93eb:408e with SMTP id o35csp63513rdh; Wed, 20 Dec 2023 23:10:55 -0800 (PST) X-Google-Smtp-Source: AGHT+IEKgmAKGMZr1gzUOzLU85xym9ZPxAElq/HQKLrq49oIJe4SB/i4zpGLOoDNW1rBVDUPTReO X-Received: by 2002:a17:902:7242:b0:1d0:c7e0:c826 with SMTP id c2-20020a170902724200b001d0c7e0c826mr11367986pll.17.1703142655493; Wed, 20 Dec 2023 23:10:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703142655; cv=none; d=google.com; s=arc-20160816; b=N3v3jokJea23/VF69uJuG0UDbe0UMMvnBobq5ZP79cdrBZWlYh7o8hyvTb5yoJQcL0 NiudfZLO3ZZ7kgXi7R0RZvTb0EYMF3aWtvh7fCLN8lmxe1eX/uKRiyJ9pus5VCuODAHo x59Q4Ablnr/vVXQTrlsOj/8sgViXXn5tcK8aHVQXVUXMh92QB+YKNyHAp6lUqYHB8Iav g9xWHvR1qyT+oOk+O88rUTiWpu8m31yyQ4GC9DLg0kuwoTuygSEVhGlQcbc2N8q/nrRV z2MAfWA0qMZPAw6siguKw4Gayp70o5Tm4xMH0t8PtT+OEz9ND8oZEPHfHjUUmj3+tYnP km5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=WHrUuj/exnxtqW6ATNiyZLpsPQWVa7uaSIxTrPoZquM=; fh=L3AM7+I5pCBod0S4MR2oiq9JGSLDML4h1Ls6b2vxIm8=; b=OoBgsm9OkMU//pujJP0VfQj6EJr2Ju2zfjOmhPT6trZv9K3IK+w1vhE9Kz2Q56VXwz Y6BxchIQkretfH74vM1JpToju5Idck763eb9YiVg2nxsFkUm4yB0fd5OVstKd5G11nc+ yB0dCVLO9o3L8Z3uReAxCaoerMhFKflBjqSgFwFFBgPJfhGeauHlsBVvnNd1IFgEInF9 OXy38Xx40FYlH/FPYwWvVzixl2+aoUpWI2fa5pYfC38qFNtZBSfxJsjRvEYk1TILll/J SkuGDvpRuGOzxYzc2DdyRNczgJ2OLacI0ALrcA5znJT17Fs1/a1h+VknMfA80ozC9TJg 6urQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tO0NeL63; spf=pass (google.com: domain of linux-kernel+bounces-7919-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7919-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id n7-20020a170902e54700b001d36a6c7de2si1025199plf.351.2023.12.20.23.10.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 23:10:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7919-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tO0NeL63; spf=pass (google.com: domain of linux-kernel+bounces-7919-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7919-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 061ABB21A23 for ; Thu, 21 Dec 2023 07:10:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C533B13AD4; Thu, 21 Dec 2023 07:10:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="tO0NeL63" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-yw1-f169.google.com (mail-yw1-f169.google.com [209.85.128.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C4469D510 for ; Thu, 21 Dec 2023 07:10:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-yw1-f169.google.com with SMTP id 00721157ae682-5e86fc3f1e2so5076177b3.0 for ; Wed, 20 Dec 2023 23:10:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703142640; x=1703747440; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=WHrUuj/exnxtqW6ATNiyZLpsPQWVa7uaSIxTrPoZquM=; b=tO0NeL63IdYPXPxX0pV68W+rwjfNWyVIWgBqth4Y9W2+KjFZIVmO0PyEkQKiI8rDrM UsXRnTwZ0HvtPz5RhE8hgIGZ3REE8YKZnU1UXJF3+oZhkHr0P/hBZMXsH3Wa2mRnlURO 0EmKLXiccwiS+XC8Ji8smAgL0k+fK6pSGbski5OyAqf/on4jyGdGStXE2p1v7i8wSMYU +w/e6PVV6yevFjJbbyu8fwbmnvGaoKttDTXF1Q+ye5KYGEN8RfeaQNLGYgsa4258Ip6T 9Od9bmV/gPKJRQm9tW+PGfdaZccg5RHeiYh1cmDgmVnuLz7HbvU8uKOmSLWCOeR21wSw HO6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703142640; x=1703747440; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WHrUuj/exnxtqW6ATNiyZLpsPQWVa7uaSIxTrPoZquM=; b=UpZ/iyg3Gs/AOZI4ZGnG+HxMsI+dVsAIV523MU6RMCTwUU16oK33czdK5IUBWZRlfy 1K2AF0BqZ23VdDuH/2oyZ1OomxLazXiRV6g1yc2w+K96eQ72bdFk3ad30jgNXa1oYmaD WNLKFr9gwBOlJAzHKmPzqjrQu1XJyoZY5VPHzn28iNCpL2ErjP9b2bfy0qiduDaRAk1K ABhxyDWlraOqkYXFwWWgPbp9zds5NONU01aT46rdngOi14dNoJOTn4beomtKqq62Ywkg YSUjv8rhQPpgnW8LgKXAEFDbHG5VrE9GwueJJ/yIhF0iP2kGhHCLNEfmbTNLzaFrdBUA b4fQ== X-Gm-Message-State: AOJu0YyoijYsN+NP4bfS+YvEHIJWHPjk5NMN4HyzAac8rxF4247Y8NBG NXrX3mOonvQEBIz+JEJDXonO9WdO/u12rJEPhsftJw== X-Received: by 2002:a81:bb46:0:b0:5e7:83a7:4e4 with SMTP id a6-20020a81bb46000000b005e783a704e4mr848083ywl.74.1703142639759; Wed, 20 Dec 2023 23:10:39 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231220-sa8295p-gpu-v1-0-d8cdf2257f97@quicinc.com> <20231220-sa8295p-gpu-v1-1-d8cdf2257f97@quicinc.com> In-Reply-To: From: Dmitry Baryshkov Date: Thu, 21 Dec 2023 09:10:28 +0200 Message-ID: Subject: Re: [PATCH 1/8] dt-bindings: clock: qcom: Allow VDD_GFX supply to GX To: Bjorn Andersson Cc: Bjorn Andersson , Konrad Dybcio , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Ulf Hansson , Johan Hovold , Catalin Marinas , Will Deacon , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="UTF-8" On Thu, 21 Dec 2023 at 09:03, Dmitry Baryshkov wrote: > > On Thu, 21 Dec 2023 at 05:51, Bjorn Andersson wrote: > > > > In some designs the SoC's VDD_GFX pads are supplied by an external > > regulator, rather than a power-domain. Allow this to be described in the > > GPU clock controller binding. > > > > Signed-off-by: Bjorn Andersson > > --- > > Documentation/devicetree/bindings/clock/qcom,gpucc.yaml | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/clock/qcom,gpucc.yaml b/Documentation/devicetree/bindings/clock/qcom,gpucc.yaml > > index f369fa34e00c..013ef78d2b31 100644 > > --- a/Documentation/devicetree/bindings/clock/qcom,gpucc.yaml > > +++ b/Documentation/devicetree/bindings/clock/qcom,gpucc.yaml > > @@ -53,6 +53,9 @@ properties: > > power-domains: > > maxItems: 1 > > > > + vdd-gfx-supply: > > + description: Regulator supply for the VDD_GFX pads > > + > > '#clock-cells': > > const: 1 > > I think it might be good to restrict this property to a particular > platform (via if:not:properties:compatible:contains > then:properties:vdd-gfx-supply:false). After reading the last patches in the series, there is another suggestion. Maybe we should explicitly say that there should be either power-domains or vdd-gfx-supply, but not both. -- With best wishes Dmitry