Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1501231rdb; Sat, 10 Feb 2024 05:01:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IE5bLA61lfZQb6cUShjJER/2PfYxhOjGVjZU+h2yzJaJPgWx1oGUSXfY8+rPoEgixD9hzNb X-Received: by 2002:a17:906:bc47:b0:a3c:2bfd:1495 with SMTP id s7-20020a170906bc4700b00a3c2bfd1495mr1068031ejv.59.1707570091355; Sat, 10 Feb 2024 05:01:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707570091; cv=pass; d=google.com; s=arc-20160816; b=Tef9c7AmIC852OtUE6kqLyG9etLBL+/vkkk2whq305f5Duq/xTCX5c421eHfo3Dw+P vHcK65oZ2dRNah760bd+IKh5N3c+fjJpk4f/dawJCPM9wkjJxuU5YdiqQqUKYw4xomL9 AcxXBvvFAQai5zbFThHtbb6EC7Qx5t2GHHHY40Yr5FH6F575hYpKCvMiM5jw/NEQf2LF hVnOwsH0q2A+PguUYy1WqrhdT8bSV2mHRvwB2LaDzdCc/xYC8Uoz7D65BiIERj6u+lz5 0gxZEq8GBty4oiLE6B9zMKeN4n4L68xpqghZONhigAvaYp5OeCbnGI+ZAPujjzoclz2r 7unA== 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=BpJ+A6WuI8qVYR+ufe285R9BOl0SnuSgZcst9eKsxpE=; fh=hIZ/fxwOUVAGWnjLT37IElFsUU4AZE4Lc/Wk1UFDdIM=; b=tDuQ1fgyRTNPwUfKSF7RgIg45dY0KOSh7BbjIj8kkEbXt6qFsDmFzMq7dJBwccKsA9 0HnvspwwuRlVysqz8tSU87+kN63R+jWw62FAzKzwtvXgg8EXxdWB6TehNL9NeZgp3ASk acHbxa8ttqWTPBvPFL+RwlDcZf7ciCtG1BOiCDTqJ4EPZdzl1xsQwQdCvRBwrifyT1DY N7MtgVYprGsDTZTEE7uFNG1ni3p8PFsc0MVvVzXg+gFf+/iABqAKZ8adEtm1dUWpkAZe ILyt/mhy16h/RKm2N5Vm7k6BERQiNxYr75SAVFZcR5vK5i8/iKMd3j/v+YTSh+wQrsMO v0QA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=fiknCi9A; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-58088-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58088-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCUJSYeawebSgcwdKgFAnNj0vCsjEhbXt/NsKP1oOAKpsC9NKLC0WSOLGdcznEALVpeeQRlFkxUgbSmBEtbWSYyvWYy7GUKiHl9O4DWGoQ== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id v11-20020a170906564b00b00a378d971639si1795283ejr.541.2024.02.10.05.01.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 05:01:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58088-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=fiknCi9A; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-58088-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58088-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 464571F2AAA3 for ; Thu, 8 Feb 2024 12:48:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C3D702EB1A; Thu, 8 Feb 2024 12:44:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="fiknCi9A" 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 4B6247EEE8 for ; Thu, 8 Feb 2024 12:44:21 +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=1707396263; cv=none; b=L5JuOqdM20UZIhbDsuDB7qqddU5zU6mfEUbWzIG81ljENsn6IYXdNaNyIRo+iO0HpeGcC4ZHzS6cOwNQzbMYHbAwOXLsWy8a/z4KWBC5KbnpA4kz3l6YBopDtS83XmSOb9Kfm4wNuU79W7a2skyo1QFPtd3kQf6QpDAoEPQK7qc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707396263; c=relaxed/simple; bh=bh8OxNLltqAtice2XaSPcJsXgH8FBZnkqH4Nk5wq9do=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=XUNtjEsWZaT8wp7URden3nisQIMdld+lEEKdPY2ic+f8BRDU6Fj0UWaIuJjrSvuuNf4GGE8QCo6/WGV+8B8o4NoTmprgTSiDRTa3vurBNK7hNae9svxDAOysrHHWN+KPVTwNLEuqB84jq50WvkAXr49rdDdcDFisAiA7WRxTkYI= 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=fiknCi9A; 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-40f033c2e30so15266365e9.0 for ; Thu, 08 Feb 2024 04:44:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1707396259; x=1708001059; 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=BpJ+A6WuI8qVYR+ufe285R9BOl0SnuSgZcst9eKsxpE=; b=fiknCi9AQzEmA2+ACbwGfwZTziUWgfZU6ZNn5upFfSZZO9TqiDV+v1nzVkpQEDgFaC 69BNvIyAwdhe1Gssbda34bsM3XWawwuLLZAsd64CsE+khXR2zgBxelQlwZArzurX1qfx aBZGlVBnTRxp76iR6dUrRXbj8/W6x1y/58VIWFzLFqRC1wKDVoQhTBmRvQLuMhZByCjI e96qGhXq2HEeELoLebvJu44sTmxaTh5o3kuA5rn9QP+uAjswA5Cc2qGAoxBeK41ML3R8 AOJi4TX+HF05aUEjMDQVRglKt8a2gV75xH6BaRRlMVz76F8pKM9hf8Psg1YVCJuOb8pX IpeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707396259; x=1708001059; 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=BpJ+A6WuI8qVYR+ufe285R9BOl0SnuSgZcst9eKsxpE=; b=pun21ZUYnYlutPKhCk7HwFtwlSVptCpVHtyU4iQn3ID8O6nwiQAFrmoMAEG3xj6laN LVz55NjRu82iLaqOUfqTuBJKmt8aqEbHvLPfErGXUvhTc4W8bsDmRAaffkIAOYhL6jWT KbHDUESPEbzWu4yaWE0MXCwhTYmNmuH2g4SaQwBtthlVoEPk2BRTQxCqO3ghHeipNflz 54FB8h+g1ji2dn+714ACArYUMVG/27cXRunKSiwSpHwXFGp7et/r+dChDYV3Te6qj0+1 eTd61B/qRQknidTAiSU9E70TSIq00yoXGJzgR55uiwavPrepB8OfUsLcHtmeVAnR8E/s IR0A== X-Gm-Message-State: AOJu0YxuyK9bZxGSW8nlbIlrnEaoNUUisoUloYd4tgAoEX0+MMmjsFMU /aUenuc4oRR7LkRCIgRP9jZfyImWDn9OOPdJ1H8FbZbxlAsMuAB8gyYZbbzh1P8= X-Received: by 2002:a05:600c:1e1a:b0:40f:f069:8d13 with SMTP id ay26-20020a05600c1e1a00b0040ff0698d13mr5499134wmb.9.1707396259681; Thu, 08 Feb 2024 04:44:19 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCU9bngb2X5GISbv/yy4j9mBBKnrhZrZe/gI/sdxeOnyMsmZ2gSqgLXZyHsX3ZlpZxGigWkWe6GSwDnD4tO+f8wqHead8T2e8iNOMHdV5b639DFoeDoZZIg+IAVvhvJdbPXv0SzGz5XkIKQg9XFqSfWCT0HgB6EbbrIx5T3QEwDngGV/hg2FqFGLMO4PL2rZZDJSYNdNfDUX6Ml6dMEBeMaV+gpd2wJCcnD/3xEH7W/6HsOkMUH/34CX68J7zMfusaioZyzGycnwzfXdjc90Sz2Uwv2cJvWbbIE3Id3ziAgggEXuhKA63/s5c4rg1ZU4U1gp3TRCObPRvyYJzSuyl/v9isF3DDEqWjmMVFLesJ9Moj4cxOZ8Uk5rQV12scBuS7gdF4VOFcaKS1QuErd7owZXZnKwF+36SAam3c22tRApNCKCJuAkY2Ruxuw2tWt1OV4yQ9Ts86qdbfv5VfzLq70hrZcxDuZkV2/LyzMDo9xuGSHC0yS2h0CJCPcZaNcqq+lRqLnfTgXAmCgYFhdiQt2ZNZFqPALsdIXX1AVQsVjLiF2SHSP4cE06KE6TRh3FvwY= Received: from claudiu-X670E-Pro-RS.. ([82.78.167.45]) by smtp.gmail.com with ESMTPSA id o13-20020a05600c4fcd00b0041047382b76sm790244wmq.37.2024.02.08.04.44.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 04:44:19 -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, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu Cc: linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, claudiu.beznea@tuxon.dev, Claudiu Beznea Subject: [PATCH 16/17] arm64: dts: renesas: r9a08g045: Update #power-domain-cells = <1> Date: Thu, 8 Feb 2024 14:42:59 +0200 Message-Id: <20240208124300.2740313-17-claudiu.beznea.uj@bp.renesas.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240208124300.2740313-1-claudiu.beznea.uj@bp.renesas.com> References: <20240208124300.2740313-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 Update CPG #power-domain-cells = <1> and move all the IPs to be part of the IP specific power domain as the driver has been modified to support multiple power domains. Signed-off-by: Claudiu Beznea --- arch/arm64/boot/dts/renesas/r9a08g045.dtsi | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/arm64/boot/dts/renesas/r9a08g045.dtsi b/arch/arm64/boot/dts/renesas/r9a08g045.dtsi index dfee878c0f49..11be621aaa82 100644 --- a/arch/arm64/boot/dts/renesas/r9a08g045.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a08g045.dtsi @@ -62,7 +62,7 @@ scif0: serial@1004b800 { "bri", "dri", "tei"; clocks = <&cpg CPG_MOD R9A08G045_SCIF0_CLK_PCK>; clock-names = "fck"; - power-domains = <&cpg>; + power-domains = <&cpg R9A08G045_PD_SCIF0>; resets = <&cpg R9A08G045_SCIF0_RST_SYSTEM_N>; status = "disabled"; }; @@ -74,7 +74,7 @@ cpg: clock-controller@11010000 { clock-names = "extal"; #clock-cells = <2>; #reset-cells = <1>; - #power-domain-cells = <0>; + #power-domain-cells = <1>; }; sysc: system-controller@11020000 { @@ -99,7 +99,7 @@ pinctrl: pinctrl@11030000 { interrupt-parent = <&irqc>; gpio-ranges = <&pinctrl 0 0 152>; clocks = <&cpg CPG_MOD R9A08G045_GPIO_HCLK>; - power-domains = <&cpg>; + power-domains = <&cpg R9A08G045_PD_ALWAYS_ON>; resets = <&cpg R9A08G045_GPIO_RSTN>, <&cpg R9A08G045_GPIO_PORT_RESETN>, <&cpg R9A08G045_GPIO_SPARE_RESETN>; @@ -168,7 +168,7 @@ irqc: interrupt-controller@11050000 { clocks = <&cpg CPG_MOD R9A08G045_IA55_CLK>, <&cpg CPG_MOD R9A08G045_IA55_PCLK>; clock-names = "clk", "pclk"; - power-domains = <&cpg>; + power-domains = <&cpg R9A08G045_PD_ALWAYS_ON>; resets = <&cpg R9A08G045_IA55_RESETN>; }; @@ -183,7 +183,7 @@ sdhi0: mmc@11c00000 { <&cpg CPG_MOD R9A08G045_SDHI0_ACLK>; clock-names = "core", "clkh", "cd", "aclk"; resets = <&cpg R9A08G045_SDHI0_IXRST>; - power-domains = <&cpg>; + power-domains = <&cpg R9A08G045_PD_SDHI0>; status = "disabled"; }; @@ -198,7 +198,7 @@ sdhi1: mmc@11c10000 { <&cpg CPG_MOD R9A08G045_SDHI1_ACLK>; clock-names = "core", "clkh", "cd", "aclk"; resets = <&cpg R9A08G045_SDHI1_IXRST>; - power-domains = <&cpg>; + power-domains = <&cpg R9A08G045_PD_SDHI1>; status = "disabled"; }; @@ -213,7 +213,7 @@ sdhi2: mmc@11c20000 { <&cpg CPG_MOD R9A08G045_SDHI2_ACLK>; clock-names = "core", "clkh", "cd", "aclk"; resets = <&cpg R9A08G045_SDHI2_IXRST>; - power-domains = <&cpg>; + power-domains = <&cpg R9A08G045_PD_SDHI2>; status = "disabled"; }; @@ -230,7 +230,7 @@ eth0: ethernet@11c30000 { <&cpg CPG_MOD R9A08G045_ETH0_REFCLK>; clock-names = "axi", "chi", "refclk"; resets = <&cpg R9A08G045_ETH0_RST_HW_N>; - power-domains = <&cpg>; + power-domains = <&cpg R9A08G045_PD_ETHER0>; #address-cells = <1>; #size-cells = <0>; status = "disabled"; @@ -249,7 +249,7 @@ eth1: ethernet@11c40000 { <&cpg CPG_MOD R9A08G045_ETH1_REFCLK>; clock-names = "axi", "chi", "refclk"; resets = <&cpg R9A08G045_ETH1_RST_HW_N>; - power-domains = <&cpg>; + power-domains = <&cpg R9A08G045_PD_ETHER1>; #address-cells = <1>; #size-cells = <0>; status = "disabled"; @@ -275,7 +275,7 @@ wdt0: watchdog@12800800 { ; interrupt-names = "wdt", "perrout"; resets = <&cpg R9A08G045_WDT0_PRESETN>; - power-domains = <&cpg>; + power-domains = <&cpg R9A08G045_PD_WDT0>; status = "disabled"; }; }; -- 2.39.2