Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2175642lqt; Mon, 22 Apr 2024 03:55:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWxrc4QSImAU+KSZzhn3wPHNCmbZW189uE/f7zCFCgLWfybPzAb9J/eRnlGkp3hV5QUXfV9MhdRKQCznXA6agBUynSUzWfpQNdQ+kzQqw== X-Google-Smtp-Source: AGHT+IFg8eWIu5x6zm0E8xLziOdEcWv/ESfieobujxjqDi2zItMinJu7IwFrEaQtR2nW+Jhkv9FG X-Received: by 2002:a05:6808:3ae:b0:3c7:5078:a540 with SMTP id n14-20020a05680803ae00b003c75078a540mr8519963oie.3.1713783349843; Mon, 22 Apr 2024 03:55:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713783349; cv=pass; d=google.com; s=arc-20160816; b=og33RM3PPISuTZrlfSaN1gMrJAiMorJzurc9OCHBHSgxOtuXFiTt0ZfGv5SxGBsF7M R+NlKYJC1g+1gqQbgfd076T6z+IFy+co1M0/ef86KoAFdbRQtyXPqiupQ1vQ0xJ2CuNm IBd4BJNdsw6dV/iXANsvK0bhv4YgOuw97/5eOJ9ZLghtamdq8NLcnXnAfoKuOhSPEGPp HnueelvhH6GG6XKSr0UauRRkF1GYu5GlAAgjkj8zj9DeNZwN4Z0GywHkIPygnRYcFuAk 0+V+UCIzFX9SqxfGDXSrCPz7HWKyNOjlNzHvA6reHFqSiDkF44Um+fevCi3BGoIrAl81 rSHA== 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=bAwRmO5huM+GW70T/FweuVU9CTXqYucZc7ooxGC0kuI=; fh=XdP+dyxv01xfmzYi0cHTo21GjBqqZuBEfPsPLUSgleM=; b=yktV3FqIgLMVFcE+rMvqUXLRt11snjI50DNUWB7hJtOXN9RvTxKN930r+hvSeJvtfb E9MieXoeACtvwP0ZrmuUj9eSsAQUr/AZ6UVUZrEMm9dj//I/ZjpziM9ECDo5RL5hZkgN Mgm8YzH/soK9JZunqpZvUoiMk0cc6Qnh7800qcdyQws/7fO1KVjYU0cFwOJ7D3XlNbjV 4OzZ6oIT5xg5tMPAQvicWW5tl7lVafjzGUKL6ZDEQT9Za8P0HZVhslpBeciwPkLeW7yP nbI/5mELIQZ05NcDjuaMfH2jF6bE+8HCZ6/vPvPQomNPIGGQ7hg10E9VMu20ROetKQrO l8tQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=SQ4hJWQy; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-153246-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153246-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id j24-20020ae9c218000000b007906a37c7a2si3911695qkg.343.2024.04.22.03.55.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 03:55:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153246-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=SQ4hJWQy; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-153246-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153246-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 68E281C215D1 for ; Mon, 22 Apr 2024 10:55:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2706914EC78; Mon, 22 Apr 2024 10:54:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="SQ4hJWQy" Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) (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 67FFE14A093 for ; Mon, 22 Apr 2024 10:54:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713783252; cv=none; b=fgszdN5zvb7TGM0VSN7auu6uhABzrRlaqqBx0OfTlILOMHUV00f+89D8cmc1AxNvmB7/3h82FProSL186J/ta+tAdo/o/mJKC4xJUrB9P1nD8sCJR96lYiq3Ymy4DuTvW37i6AMvmZZstRnmmnboqc9Qdb/rshbi8PGtby+k7/4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713783252; c=relaxed/simple; bh=kzfvIn5qFtOm6vevv9sfzeyre/RzrlRI0FWCZfrI0GU=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Q5+rDh+gAtAZDOqOfdMOal8TWxPY2ntclDwbdhW+UDO5s8ClKeO2ApVMeKMPLqR8h3RopXW70S2K1I0O1DIEvKoFopObapLOsaL/kmb9gybDkg/DOOyJefpSD5Gs+9Rr/wIfpP5jf+0JyC5K4SZY+omrmrIu8xLDIXYNN+f3O6Y= 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=SQ4hJWQy; arc=none smtp.client-ip=209.85.128.52 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-wm1-f52.google.com with SMTP id 5b1f17b1804b1-41a5b68eceeso4902485e9.3 for ; Mon, 22 Apr 2024 03:54:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1713783249; x=1714388049; 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=bAwRmO5huM+GW70T/FweuVU9CTXqYucZc7ooxGC0kuI=; b=SQ4hJWQyAtvmdGSz4SPh+XAXccAatxOvppBULVv4ubGy27283MCeWt9IdbxeoiUbcN yOtrlStrZDMNtn/TUIJ1m7KDpA5O//ZCijp64Wn8t5IhWfxp6RVPbNOzrmkMlt/TvZWR J//2B9E+LehGJFt5oDERe/BxtnOm78LkCdoNWs+PAj7R5d4isr5SSyShfv0EHt4YC7kW SuEZVThW2dwDSclnaLqoNMQesjbCiuMrSOGH6CQsjheITB3pCEMNJqRtaplFHdsjbINt 1Rs6+tgysxGGbmPUMSwK1O98nUtsTl631zuAzgcO2GZ05tR9dfKpqcy+/7a0XLdb4LRI xbvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713783249; x=1714388049; 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=bAwRmO5huM+GW70T/FweuVU9CTXqYucZc7ooxGC0kuI=; b=q4Oi5oNFoy+004NNUNPAYEdinbXwwqxKQ8Q5puK6V4RXu7znIuKZTQdRLIWrWZP5+K /29UemFKPFhzlXlo3G+2TuMuWTvnWPRcHbSIBWErYglRILDk0El5WwvI+Yn/wrvfdbA/ MstLhbY6dziDsAXcv3uj78jD44nHT/9tASwyJsSciUbsxag7aJ9qJUSMzqFtyA8gTHjo bjMMzQW/B4vJ8XR3Up0LzzWj6dZs7V6jmSSpKoa0p6YI0z8CjhuilD4oianaqC8e42+J 17I29UHt89M02EaZMMUI8ILD/drkL1AlbluTtqMNx1lg20uSxGQXr86I15l2Mzw9BmiC GSGQ== X-Forwarded-Encrypted: i=1; AJvYcCVhZzjDzuSUDfbC0WkKPxzFw+AoPWWrBtjWVmpykA7PpK0fHXv/B++/VH69Bnr6R+IftXHE2k3DYnSA9BFEqdYqlq5D96ZJKhsot7mi X-Gm-Message-State: AOJu0YzJcJzvhXlfBptX5cYW5bQXBzvA0NZlkaRkXKDrMEMM3+gXKjv1 smJvKZR4OVIO0od5S3cfcVpmDzT0urzjO+/G9f5UBDLs8oZ1Q0LyTdjPZljz/FyeN2XUi+o206w LdUI= X-Received: by 2002:a05:600c:1c9e:b0:418:a5fc:5a5b with SMTP id k30-20020a05600c1c9e00b00418a5fc5a5bmr6945379wms.36.1713783248921; Mon, 22 Apr 2024 03:54:08 -0700 (PDT) Received: from claudiu-X670E-Pro-RS.. ([82.78.167.53]) by smtp.gmail.com with ESMTPSA id v13-20020a05600c444d00b0041a3f700ccesm4321037wmn.40.2024.04.22.03.54.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 03:54:08 -0700 (PDT) From: Claudiu X-Google-Original-From: Claudiu To: geert+renesas@glider.be, mturquette@baylibre.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, magnus.damm@gmail.com, ulf.hansson@linaro.org Cc: linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, claudiu.beznea@tuxon.dev, Claudiu Beznea Subject: [PATCH v4 5/8] dt-bindings: clock: renesas,rzg2l-cpg: Update #power-domain-cells = <1> for RZ/G3S Date: Mon, 22 Apr 2024 13:53:52 +0300 Message-Id: <20240422105355.1622177-6-claudiu.beznea.uj@bp.renesas.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240422105355.1622177-1-claudiu.beznea.uj@bp.renesas.com> References: <20240422105355.1622177-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. Reviewed-by: Geert Uytterhoeven Reviewed-by: Rob Herring Signed-off-by: Claudiu Beznea --- Changes in v4: - none Changes in v3: - collected tags 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