Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp476223lqb; Wed, 29 May 2024 00:59:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWc8J/5suFgVLBfYxVmGWMvVzMGSjrx5zcNjP1B1QqzEG67wi+bGyztBnXXPvize47iwYyzEvi2KZVG4YrH5hJwzjr1MZBlaXPfc8cRJA== X-Google-Smtp-Source: AGHT+IFq76yrhpMYMuODsctAb81fYklGE0DhTSyyz6K9174hH5cN3zVP2j/efznFL1ZxGn4th3CC X-Received: by 2002:a50:9555:0:b0:570:5e7f:62cb with SMTP id 4fb4d7f45d1cf-578519a29fdmr9934976a12.29.1716969574180; Wed, 29 May 2024 00:59:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716969574; cv=pass; d=google.com; s=arc-20160816; b=aPax4iWJ+AO9TRRQNokdVcdWC1rE/7O371SleheVam0jvkU78cgGeZnV6MknvQz7Dm X2Ve0WQ4ty0GnpgETTXIKRWsBZ9tLkY/fXdig0laxtOdmzX8DnLyhUCYyQ2RYzNVZBI8 C2SJhdQOjBRU/KZcmdrqVyGURwi+ZHgOH6mSsd0HY5+SP1x6O/PXslkLJ6P+CJ4tmGY2 czQdZM6Td3/SF2ucflkBTDX0qaGPypCfGahfBgg1e85NDToQy6G5YrECHVmMtoyKYQov 66TU2XoFoZXLMajMtYzjvkksxPBoDHBMqKzaIkHPnd/B0+IgWlDCL7UO3+wGbCWf2bkg +lAA== ARC-Message-Signature: i=2; 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=GT8+P4efjvmYbXaUJmIzbqIMG2b455xekjxbQfC1iiU=; fh=AnfnzwGAfa4Ec9Ak60DkEvpKs2WbNSG+IaBfDJoxE3I=; b=fPLHZCtFTtmeWD9fYjiWwstfwMVYva9/bXS+nCLA5a6ARjTXMoubI3AFGT1zgosk5Y WbJ+z/vjkm6kXDlLArrkfrVejT0U63XznWhipGoavQ8x2EwnBduBJ7UeDqIb/Cau4CbJ RaHzhSs4ioXhrdnOtcqW8LQsVVavYK7+Wn7nn7Wtoxor5NGoicxHKy2a/ikHOyJYdYhp TjEuCoSh6ZqMJ9dqD/SZ/kKLyP7qCANd+OIuD3AeFWMwbAuVd1Iy+6PvWrmuw8Qfe2Ty yDtOO7KmnABLRAZ8j+YkIoJ57WScBpoV7LOj4Y7l+7PTmcirKUcghP0G8pX7Q3EhYc/2 upOw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CSapUuEn; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-193640-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193640-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-579f08b1652si1883537a12.87.2024.05.29.00.59.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 00:59:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193640-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CSapUuEn; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-193640-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193640-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 106E71F26571 for ; Wed, 29 May 2024 07:59:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5EA87168C02; Wed, 29 May 2024 07:58:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="CSapUuEn" Received: from mail-yb1-f182.google.com (mail-yb1-f182.google.com [209.85.219.182]) (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 99AF11C286 for ; Wed, 29 May 2024 07:58:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716969537; cv=none; b=WNFZNrlK5RwP1+lxSq1iIbf3dXBlgyy+s4MtZZhqGOY0VktTGpfkNcJlOWekmGn6iApu99wHr+7hdZkSaOQe8p7hzbSATDuc+tihvtECrNH1NqRrghwDkfzgblhqP61NAdIkugsIlnnzh3yLGx2dJ5xKO87soil1kEaZH71af8I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716969537; c=relaxed/simple; bh=eV+TNUFOPSfrYTI5o/AT0Xf0B/1eVTyXgi/p7HYzCZ4=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=qVftvm5mMfu3ajlz24aCEScAo+Tu3A+J54g8H8WietFRWL4ktCHhs3JTWmyh6+eQHrfdxDPbimr70E7xserzWSCyVnUI8BpV0Y5ps7EtElJicrqGZlsTGe669L7WA0aG0cYG97CEN55A00OB/KbGgeFeGn8ICJLkTd3e6PoCRtY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=CSapUuEn; arc=none smtp.client-ip=209.85.219.182 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-yb1-f182.google.com with SMTP id 3f1490d57ef6-df78acd5bb6so1870396276.3 for ; Wed, 29 May 2024 00:58:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716969534; x=1717574334; 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=GT8+P4efjvmYbXaUJmIzbqIMG2b455xekjxbQfC1iiU=; b=CSapUuEnkLxIDRYPzlmgDUYCQXwHj2EoNWRp1wPZAbEy0F5LkQI8tdc/SR7QYki8lU ObCs8C/QzR2abZNeSKwTI6+NO2SdG737RlGFE2QeHvsbIV41NG4q1zfk3xMRNqHQdHf6 mh8+nRNe7vuA8Ii9gO61N57Tpkj9uxyKanNdu3TEITaIJJ6AE1Wt41uIG9Osn6relYT/ E5dkzFT6mBZK83bO0Hp5ugYyghBcY7XJgZQ/DEc9KWNbSvxbmNrhZwrFZ8xK7tqnQ4pw MdcZuefHH0YBgMFYnlNwRwoC2G04SNhf8yvjjFnvco5lPEojQt6Wfio2EPllMOljeGxz NrCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716969534; x=1717574334; 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=GT8+P4efjvmYbXaUJmIzbqIMG2b455xekjxbQfC1iiU=; b=efrflDDIT1h7jZMe2b2mgWuMVLO7OV6R0Oaui6hNjRqXysOE+6tV/rKk9aOPjYV719 nVkaqVr7c2QhfBUquhQF/10V+IbWlvjcQnmgC7PxmzwLeYEPC1zdgLQ13Mm0hfSVdz74 moW4W65Y0tCHb1naFPnUQa9Bvkq4018myPp+4ZaNOuR0u/jYY7PbhMEw/a0hYRs412d1 vuQteYRlgDQTV+3L1frsrb6TdJKnoWUMReMxHaiiw+zPXbkq2L847T5CdQR5bA8+JQ54 v4h47ZcZF0uXOyRLOd+lNvwKfEnHCBLJFulJtGSkWLeAYmG1sik4Q66TxhrswjFOXrHs QKBQ== X-Forwarded-Encrypted: i=1; AJvYcCXB8P/W2KNx1m4xOSCySWrC1TvWA3/msAw/xKeKdR5vUCM1UP+rsLFaSgmfU6nzoYEX/db4p+XHhKX7G0PG/KFLLAdqr4M7JbUiCRoJ X-Gm-Message-State: AOJu0YywgXl7eZLmo+mcPClCK2JOHduZFukR+0XdCykJgzCM86jLxiLj 5vek0MAzTHljn7ZzNKcOA6SyX/f+NIQ/njSwA5mN/On8dDtvNwBqJVK42GIIr5nSM5ka41lf4zZ KQ6xBMnTLyNzLGBU2FZZBw0vI1VjVOyOXh/KfKg== X-Received: by 2002:a25:ab26:0:b0:ddd:7456:d203 with SMTP id 3f1490d57ef6-df7722176bcmr13800190276.41.1716969534655; Wed, 29 May 2024 00:58:54 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240528-qcom-gdscs-v1-0-03cf1b102a4f@linaro.org> <20240528-qcom-gdscs-v1-1-03cf1b102a4f@linaro.org> <9a1bbcbd-7f46-4266-8f08-5650a42234d4@kernel.org> In-Reply-To: <9a1bbcbd-7f46-4266-8f08-5650a42234d4@kernel.org> From: Dmitry Baryshkov Date: Wed, 29 May 2024 10:58:43 +0300 Message-ID: Subject: Re: [PATCH 01/10] dt-bindings: clock: qcom: split the non-PD schema for GCC To: Krzysztof Kozlowski Cc: Bjorn Andersson , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Taniya Das , Robert Marko , Konrad Dybcio , linux-arm-msm@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Wed, 29 May 2024 at 10:34, Krzysztof Kozlowski wrote: > > On 28/05/2024 22:43, Dmitry Baryshkov wrote: > > On some of Qualcomm platforms the Global Clock Controller (GCC) doesn't > > provide power domains. Split no-PD version from the common qcom,gcc schema. > > > > Signed-off-by: Dmitry Baryshkov > > --- > > > > diff --git a/Documentation/devicetree/bindings/clock/qcom,gcc.yaml b/Documentation/devicetree/bindings/clock/qcom,gcc.yaml > > index 788825105f24..e7ec15b1780d 100644 > > --- a/Documentation/devicetree/bindings/clock/qcom,gcc.yaml > > +++ b/Documentation/devicetree/bindings/clock/qcom,gcc.yaml > > @@ -14,27 +14,14 @@ description: | > > Common bindings for Qualcomm global clock control module providing the > > clocks, resets and power domains. > > > > -properties: > > - '#clock-cells': > > - const: 1 > > - > > - '#reset-cells': > > - const: 1 > > +allOf: > > + - $ref: qcom,gcc-nopd.yaml > > > > +properties: > > '#power-domain-cells': > > const: 1 > > So what's left here? One property? Not much benefit. Triple-schema > (include something to include something) does not make it readable. Just > do not require power-domain-cells in qcom,gcc.yaml. And add it to the required list on all relevant platforms? Ack, sounds fine to me. -- With best wishes Dmitry