Received: by 2002:ab2:788f:0:b0:1ee:8f2e:70ae with SMTP id b15csp581036lqi; Thu, 7 Mar 2024 06:09:35 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU8ZBaGRN6S44NWoon+t3/9RulzTFAp2Vg7x+eDos/Ektcuw8Sk2EN3oXlOOdvWNBupUYQwLQJPEc1Qo+8LRSTlha80xWUdtCNQf52mKA== X-Google-Smtp-Source: AGHT+IF3qTLD3mo0rDxx2uQKNlJEm0TrEV6OzFkh+EdzCe+edp3SDiOhKj6WERrlEATmZzOmQtxi X-Received: by 2002:a05:622a:446:b0:42e:a918:1f9d with SMTP id o6-20020a05622a044600b0042ea9181f9dmr8048258qtx.25.1709820575354; Thu, 07 Mar 2024 06:09:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709820575; cv=pass; d=google.com; s=arc-20160816; b=D1/K4F58NnxWvM7tj9we+/DPNahON+Byvwmj9JSYXKySQfXFnPyZZavv8Vuj2W6bzs GYGvhmFDi5Xq2CZwOd63LVxqxO3iEfXLdXZOloFeB6qxX8wxG11+gxuJg8QimZtrGjq5 KpyCymwv+uaJT42660QeqG1k3ojM71H9Na1DnlGhQcp5yAQsB23mbY9dyKQTHXtC7mpl MAJwI2JcbzezP5/kp9UlB80l94XWALPkiErLxRicHw+S8tLbWnPGLJlYZMv4a/4cJpZQ w1imUfdcj9vBSkilQGkHqH2Hh3PPFwlqa2rfnHlHK8w2w/L+Syi9ylgwqiYBQK1QAOWL eX/A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=SBHulM5tgA9Yu4QDRPLiTWrU5crZRQDlADBuEJV4VhY=; fh=LWhiiCZzIWFW50oZfWIW2l7Lsnay15H6fpvHLiZx8Ls=; b=DtZXDhg6TsnhSJuX/Idr5NTVaIIMBAjYd+AmozL5YBHM4ZMDzw5QN8ongBU7gPChQv ZKwh61BXtkvEuTuBn/b6y06AP8e9BTKcTbhOfDzzThOmHAcjIabG9Cbg/scPC3F9Tp3p k/h0CdM7gZdyv3IzfsDDnwxswo6WFbuCMCCL6/qXYJKrLjuNqDQLzoGkAJzckGrKjskJ ZY/Nc5SnY/PYmXX1sLfxqpMTPCG+PZxmnTBjEHdoy6wovm1b2TN39X/anp5MUk580HLn iHOL8WW0w2WN9zrXR+XPAHy3VU1cV3QE8K5VGBof/gzhupRfPCAhUPhyZ7PMWSmLypDC YU1Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=LoQ5FucE; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-95699-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95699-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id w4-20020a05622a190400b0042f2101405csi507711qtc.519.2024.03.07.06.09.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 06:09:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-95699-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=LoQ5FucE; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-95699-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-95699-linux.lists.archive=gmail.com@vger.kernel.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 1A28A1C243F8 for ; Thu, 7 Mar 2024 14:09:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B9ADB12DDB9; Thu, 7 Mar 2024 14:07:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="LoQ5FucE" Received: from mail-ej1-f51.google.com (mail-ej1-f51.google.com [209.85.218.51]) (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 B5B9F12F58D for ; Thu, 7 Mar 2024 14:07:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709820476; cv=none; b=FNcBLNURXk8JI/UKQOPCWYBWxdLegV9uD/NAZM0T5PbsBylFohgNU2d0Ip+zrFV8AzNtVKAo46jMHOJtkN8PHVncq+7s/smxU+QuWzB9ar7pisR/mvhlynyJ5oWuquQCQMhiMoLfD8uWRbWm2DjsB+OX2dl/AaYR4VZMm95agQw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709820476; c=relaxed/simple; bh=nuP8iR6n4tjbNw9I4rOh+AhUGQC1ujLuyQM3qb1k9pA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Of7aoDG26jw8lJ20oGD1y8YVOuIQVTbzE3NL4KDgY9Co6Q3ehhOCXDs35Ny/iT3sRcu1ItoaE8vyUVgl8xyRMXgNGxvQ8fxrWALh7CNMIUPneyOIb7C3Kvz4dSq9KR0d1feKRnc6/bP+VfuEMCq8jzSNW1xdHtKexI0yzHjcZr8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev; spf=pass smtp.mailfrom=tuxon.dev; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b=LoQ5FucE; arc=none smtp.client-ip=209.85.218.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxon.dev Received: by mail-ej1-f51.google.com with SMTP id a640c23a62f3a-a3ddc13bbb3so373531966b.0 for ; Thu, 07 Mar 2024 06:07:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1709820473; x=1710425273; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=SBHulM5tgA9Yu4QDRPLiTWrU5crZRQDlADBuEJV4VhY=; b=LoQ5FucEPH7FNhZqIn8gees2QK5x6Iq7ap41Z5jt6qEEumczVDO98pAhZwb+7cI46P tPyZxGatbuIwUf9qCLAEhvMvVVwmOyh5ib6bZon36xO68iFIXAqgmmW0v0oXwnMet7nM de1/Rn3O1G1v76UDg0t8d4JYavBww1M6d/NuQk3U9T+ehnaq0Q4yLsZJTheLFD/HeSWP 3YB7a7N1xNlGCFHXGfrbhPSpew+bbJNgGU+NP6EZzID8X7JBuQJwth1btQpjWAHVDWN5 pMiVVJ+6/3iWfp54QZK0OGk04b3NVmVq5JzwVzO0xXLPulyFadmSmX4DUFKEQqc+hnnh jkRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709820473; x=1710425273; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SBHulM5tgA9Yu4QDRPLiTWrU5crZRQDlADBuEJV4VhY=; b=pKRTR8xwHaywL1PHtWLmZgEf97AZzKg6XAMEHQVgv+OtKHjoJV4qjMZuBAzOSIyPKs DihtwEW89+x6UB3Cw7PDvL8b8XuIu/y4hS18Jlp5257tdvkqOGbT14BFfx6NY4t5Yesb hT3otQov+phZTdOOca6SeYv3oXBNDF8mNyfBHt3utmFlzori0ZJmjxL0BpcotCJFs6ad +eGiYkZi6+ab+iKVrmxk0cD7028gGWKDwpz+rfJgJMKhylyZWVa+Trt/o3u5ZC1fEd9y W8D3tGYV+Krh2qkMIZ0ubiXHpY+pE71B9XanSvqBkVUU0I6zPJyKPrRo+qTfpKuZ0StA cwZw== X-Forwarded-Encrypted: i=1; AJvYcCXRlfeGqy2F+Qp+zMsobB+U4O2K/yHD7L9FwA4p+RQcgvYGoxwfMYmTrd4ImDZlP4AZC7iAVgI0TkKoUkvHsEcaJgVxgmjFfR4xE7HD X-Gm-Message-State: AOJu0YyqOQlbhaNzDSRjs7LY1izKwR4ScN9mbbu5LYt7Bmmtiqv9Sph0 p4xiQJaWoxiS9kgpyvAjvLtK6lslGJhIIgB1rjd/x76CGk3A0LDFTU9VGFndDgU= X-Received: by 2002:a17:906:589:b0:a45:163a:c08e with SMTP id 9-20020a170906058900b00a45163ac08emr322255ejn.0.1709820472972; Thu, 07 Mar 2024 06:07:52 -0800 (PST) Received: from claudiu-X670E-Pro-RS.. ([82.78.167.38]) by smtp.gmail.com with ESMTPSA id v23-20020a1709067d9700b00a42ee62b634sm8200648ejo.106.2024.03.07.06.07.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 06:07:52 -0800 (PST) From: Claudiu X-Google-Original-From: Claudiu To: geert+renesas@glider.be, mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, magnus.damm@gmail.com Cc: linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, claudiu.beznea@tuxon.dev, Claudiu Beznea Subject: [PATCH v2 05/10] dt-bindings: clock: renesas,rzg2l-cpg: Update #power-domain-cells = <1> for RZ/G3S Date: Thu, 7 Mar 2024 16:07:23 +0200 Message-Id: <20240307140728.190184-6-claudiu.beznea.uj@bp.renesas.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240307140728.190184-1-claudiu.beznea.uj@bp.renesas.com> References: <20240307140728.190184-1-claudiu.beznea.uj@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Claudiu Beznea The driver will be modified (in the next commits) to be able to specify individual power domain ID for each IP. The driver will still support #power-domain-cells = <0>, thus, previous users are not affected. The #power-domain-cells = <1> has been instantiated only for RZ/G3S at the moment as individual platform clock drivers need to be adapted for this to be supported on the rest of the SoCs. Also, the description for #power-domain-cells was updated with the links to per-SoC power domain IDs. Signed-off-by: Claudiu Beznea --- Changes in v2: - updated patch title and description - kept both 0 and 1 for #power-domain-cells as not all the drivers, device trees are adpated with this series - added a reference to dt-bindings/clock/r9a0*-cpg.h for power domain specifiers - dropped the changes from examples section .../bindings/clock/renesas,rzg2l-cpg.yaml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/clock/renesas,rzg2l-cpg.yaml b/Documentation/devicetree/bindings/clock/renesas,rzg2l-cpg.yaml index 80a8c7114c31..4e3b0c45124a 100644 --- a/Documentation/devicetree/bindings/clock/renesas,rzg2l-cpg.yaml +++ b/Documentation/devicetree/bindings/clock/renesas,rzg2l-cpg.yaml @@ -57,7 +57,8 @@ properties: can be power-managed through Module Standby should refer to the CPG device node in their "power-domains" property, as documented by the generic PM Domain bindings in Documentation/devicetree/bindings/power/power-domain.yaml. - const: 0 + The power domain specifiers defined in could + be used to reference individual CPG power domains. '#reset-cells': description: @@ -76,6 +77,21 @@ required: additionalProperties: false +allOf: + - if: + properties: + compatible: + contains: + const: renesas,r9a08g045-cpg + then: + properties: + '#power-domain-cells': + const: 1 + else: + properties: + '#power-domain-cells': + const: 0 + examples: - | cpg: clock-controller@11010000 { -- 2.39.2