Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp313475lqg; Thu, 11 Apr 2024 04:01:36 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUm4Cat+I6aMOLVrVWI6yabHr5p853YJYxn0TBQAo+WoiaK6TWul6F92YY5uiDKkA2266xuPtx5xP5ostGMxyzOhD9d9A+VpWQwsXqJaQ== X-Google-Smtp-Source: AGHT+IHh9AGny/Hfn1vrRIAMIn9OLP2yqpiyRMfoxQC8OkMRphK0WHPjP3M67IYJm/wYxffayQb8 X-Received: by 2002:a05:6a20:3252:b0:1a3:bd8a:141f with SMTP id hm18-20020a056a20325200b001a3bd8a141fmr4959024pzc.54.1712833296398; Thu, 11 Apr 2024 04:01:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712833296; cv=pass; d=google.com; s=arc-20160816; b=xEvEBzjPNLMduL5HSGOzUj5thM1uqjiWk5VWpqiBt97Oe+9r1/Qf60xvmBNZaROeot pca0IF0O/tZ6vhxuvxmlrhfftDZ9E4q3Mtq8WFe1VSUgn6pJUi/c1dRKWxPSsXQwwWmA HZcEAf1jwPCNZ8iNWObviEFdjRyDZAIpkirSwsWoIDu4MJ6XWRnP3I7yYjq/xBlvqQfJ wpIryCuyUDDg/0zh3OeEFDu/K9LO7Kr5x/Hx84+4/Cg1jZElnxHth45HhM9qIc1GfhJh ZFn9RFOFPeECipguHVI2SfoUzyGXb0UUKNa6MDKrbILvxBvox3px68zJjc2uIcdV1Jkl eZdA== 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=lzM8sQ3uQ3tHjk4LJ4TPWYY/Gu5/y3nmRsoLKfwtupQ=; fh=lIB0zilp6cdsluduSQQL/xpax1xuy4aw4MfOe16z2jU=; b=P4yHOZlauyYWCJtriWYTJdvrIwCyUXE4jwzY7eqVvkGIB5tZnkGk5phr5HXIcwJytM 6oA8bruatS198Nnh03527LCbUz6ZB67gQWGPxA3Gwlj9o0iSOVBZxMi8E/75TNYUcNrp LGs5vCCUKJIGQqsVk16m2Z8K5wEdhMOi7zct7i+uRHbB7S/0DPPx78Ikr7DGrMovueUt A/XOK7WDCe8eD5H2X6LsmRBFiwCpFI2sahZdqy7aqBX704bLUKMX6vh8BPqJI0HxIMHg cCdh06MbmlVkLsqVnGw2TbkrcTTXTch9BkN1S+rYSEDatKMXD81xFAS/V74juDyNu/Ox Jyvg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=hjI6RZ4V; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-138491-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138491-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id x28-20020a056a00189c00b006eb1283c0c2si1105610pfh.395.2024.04.11.04.01.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 04:01:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138491-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=hjI6RZ4V; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-138491-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138491-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 43FACB23FCC for ; Wed, 10 Apr 2024 12:28:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1BDD615EFBC; Wed, 10 Apr 2024 12:27:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="hjI6RZ4V" Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.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 4849915ECD9 for ; Wed, 10 Apr 2024 12:27:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712752041; cv=none; b=vD2rwVsjtoBhGGNrqeQRXeZrS5psKSDVV1+CWiXIVzQX0Rc3oqekv1oMTItv+UHZIvXEHJaBt4a6Xzj1BTVdXyjKFNXZu2RAczOYdUjcPdQ75QorpRnG/1WqgWUjefgssE5Q+4bJiXjau4eW/n6O4g1H7WivJ9L84Vc3vEAhbJc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712752041; c=relaxed/simple; bh=2Dn9zwoluUm9lOlv4owEz3lfChsm2AnVOIaAhDO5O5A=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=cj0WMo62yPO8riiWkRI7XI+EYvKDY+7QwpP3qDcuoAkKPlnYt7tRB7Vl43fnYQg5RCP8WK90zuTRHTfYWX4E8LPkOsS/sV3NvDyWI3Uq+0FraE13iKQ6Fi5cW+R1yK2ycEjmKo/AJMlbi8DWOkLpuYLvUgNJv/scb1jRFmv7m/s= 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=hjI6RZ4V; arc=none smtp.client-ip=209.85.128.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-wm1-f51.google.com with SMTP id 5b1f17b1804b1-417c5aa35f6so604095e9.3 for ; Wed, 10 Apr 2024 05:27:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1712752038; x=1713356838; 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=lzM8sQ3uQ3tHjk4LJ4TPWYY/Gu5/y3nmRsoLKfwtupQ=; b=hjI6RZ4VwVtAd3D7YuqJ9oBycxE88ajzGlNkXpwdJ68FnWuQAOYXrwfPpfVxHZnjNE lXeFVR+TdjOFF03j+9ov47z3rzg2Kz1A/RUYcc7F7buBfPf5QAF8zxjMUhck09uDWcGl 2SSFOkh/ad7LOHcPbpq1TgGWyr6HApGYKcm3gTd9oUIqSzFfend5F3zrstkWlzxMC+UL f4rHzw5ugyydnERUYeto2/85dHts2U8DWMlbhT9c434Pfw+q+L8vpDqD/0TefH8IDv9q efxDxFuA786ySICbjPtkjlIxqA0BEqiJA4XsSyFI+VXQhYGExI8pk5HLy7Y97kesQNRB zmfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712752038; x=1713356838; 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=lzM8sQ3uQ3tHjk4LJ4TPWYY/Gu5/y3nmRsoLKfwtupQ=; b=BH/bBho2HXXXLm+SGJqQJ7D3paHc1WQv+VS7zzzDa2W9z85khBJoG8dIggQ2szK0jp V+BmmKy6VCIjW545aWeYX0q5JRrm1hyUDRvNtHRIT9y32meoaGSd/0F98Aoy8g07WKLF JNyPSX5vmm9VVizlHt588wD3ToKg9uJKdmA66PRfRRJlXvUYNmkRZV93XYLQ+AgMDAUb 9HYHzMvvyoZ/07oAh3/XHSTtOyFzAAvWXdyAm0LaI5xHm9jtxxGs3X/BE88Kh+je7354 U3iiIVXJY86PGVXrohyNu8ojoFKhQQrIvR0FWGYkWILkPmtCzFTJBtpxBc4vOGYvtKA8 YFfw== X-Forwarded-Encrypted: i=1; AJvYcCVx3YHKxXkuIBIx+FaeG+BgOD/ZQgN9g8ikOXuAKlAt3UXN9eu44tbN85OYtghzI/cpjcXTA8ew2bKvbaze0c8/+nxYZwnZiKcwfpzv X-Gm-Message-State: AOJu0YwdAf7gvnHZurQ6FYUJN5bqZk+iyQAA7AUzOQRIcdASEHbxTR1V ljP9cJRuZRlK/9FImqsqG7VMvMthcVzglbtMzlIoh89SdX3bqq31fc4rP3VmP4U= X-Received: by 2002:a05:600c:1c8d:b0:414:8e7:cd60 with SMTP id k13-20020a05600c1c8d00b0041408e7cd60mr1592969wms.8.1712752037726; Wed, 10 Apr 2024 05:27:17 -0700 (PDT) Received: from claudiu-X670E-Pro-RS.. ([82.78.167.8]) by smtp.gmail.com with ESMTPSA id m2-20020a05600c3b0200b004171f151a5csm1679446wms.16.2024.04.10.05.27.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 05:27:17 -0700 (PDT) From: Claudiu X-Google-Original-From: Claudiu To: geert+renesas@glider.be, mturquette@baylibre.com, sboyd@kernel.org, robh@kernel.org, krzk+dt@kernel.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 v3 5/9] dt-bindings: clock: renesas,rzg2l-cpg: Update #power-domain-cells = <1> for RZ/G3S Date: Wed, 10 Apr 2024 15:26:53 +0300 Message-Id: <20240410122657.2051132-6-claudiu.beznea.uj@bp.renesas.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240410122657.2051132-1-claudiu.beznea.uj@bp.renesas.com> References: <20240410122657.2051132-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 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