Received: by 2002:ab2:1347:0:b0:1f4:ac9d:b246 with SMTP id g7csp318400lqg; Thu, 11 Apr 2024 04:10:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXv8mnAi7FeyQC2sxUkhkNHFzJA/GDz6SJIgFIyDDgpMPOgMOkXV6uNiKrUEy/KB1A6R45LhhE8bKk8XvEkq+P/Nr7lEccq4Cmle2YniA== X-Google-Smtp-Source: AGHT+IHepD84HdIe46UWxDgh42VqE10xZ4B1II2erRDzVO55yoJPf2mW2mX0GaBRHMbjKrZRLj+X X-Received: by 2002:a05:6a21:2785:b0:1a7:760f:feec with SMTP id rn5-20020a056a21278500b001a7760ffeecmr4402105pzb.20.1712833828776; Thu, 11 Apr 2024 04:10:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712833828; cv=pass; d=google.com; s=arc-20160816; b=zrNLayQCDIi5JkMwuWm9LSz2WjOtHWh8nRaJqDvb9gZhG/E9hO/iaULBIkRm/1p/Ku Jq8qfCnGr2FtVJei/5faFn9gofEem7cSnzFujyppj+7TzNz5HK4TDogKK8HcH1kYGBKP YuUsD5i57kx5xHGBIczRPulWW0DNYJJPPHz3isA9UxzW9S+DET8eFf/aKM9kg59bNMkS AM0O7xWegm7W70c63XQKeNax6MPh0DzjDwEFFWlwbyHd4HkLritr6+uc0qirmOAyaG6a /Gdy23RQ3P0ydxPgiGkz2th4tM81t22qq44HPGZTW+mD59E6pUmrae/oxyyHA3j8lmYZ QVOg== 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=m3u5zjVGbS3GaFiOQIAkLCz3dMJ6JpJB8ancu8bBNik=; fh=iq/tPjlsQx4fi/CgB1CdMr+Ie2Cxr3vSC/uDNnUyPM0=; b=A3yRXwFAIeGjnPjToe+he8IDEqUdZ0Kj/74o6ZFt3D23Fs4aLBnydUHZZznbiFaSIf bgUP2WyzjAqyPX9TgXUnquy7V4uF6bSHJndVZYL3KdfvWnESU5vWE0F5t7s2HQ/ARikA RRG1ktwVZdWdtc2QCLUw/KrjApc8GV+TViTV4c3oLD39h/+IY5TiSKGkxZyCnhxNqwfL JhdwnUGs2zChlxXnzOJYWlvPpMVMECp/PnKI2jQC9SlBtUIh7+Q22sNzZB5tySIzIXc7 ZOsRr6yX4+ieXCc5zh3AxEfVKwpJLNl/WAdbV0jLicexzcCeAd9njLjR0qx0W1FDEQEh QaPA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=Og8ORC8D; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-138495-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138495-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id u187-20020a6379c4000000b005dc89957de5si1106030pgc.497.2024.04.11.04.10.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Apr 2024 04:10:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138495-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=Og8ORC8D; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-138495-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138495-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 5D2BEB2420D for ; Wed, 10 Apr 2024 12:29:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0F2B015B55C; Wed, 10 Apr 2024 12:27:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="Og8ORC8D" Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) (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 CB2FB15F3F7 for ; Wed, 10 Apr 2024 12:27:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712752050; cv=none; b=qM36l9N8liYqOmKlJFYoWw7jbyswNYT0qwMdDBzBkDkmVLRT9De/uiexb+w86Nqu2kd5e7Ue7sxseCGEX/FIShczn1gx8AzE1A3z0nkjp0gcbNjiu+hCOmKLztJSYbY+Ev6MAkbFC7zXyYWnsUOu2lQlb+0y91WlY9LP1oDgGec= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712752050; c=relaxed/simple; bh=86Zihs4RD1hn6SrBjcfMhYZUXFU5WO3C6czkJe0WKBI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=BAPWZ3w9m5Yk0PGKjPBHxU3+rXmvfLi1NA1Hkb0ijkxVDYsHtVgWmrYZWrv71jYHU3aX5hoW58YSk4hWeHUTxgSq518CWvLii2/BiQQnVdDLNCguJzi7WarKyae+ViKcxxG6UMz2wEBVYlk8TqUq3MKRg/yTo+Q7vUeI4sIqqNM= 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=Og8ORC8D; arc=none smtp.client-ip=209.85.128.53 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-f53.google.com with SMTP id 5b1f17b1804b1-416b5f6813cso15155115e9.0 for ; Wed, 10 Apr 2024 05:27:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1712752045; x=1713356845; 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=m3u5zjVGbS3GaFiOQIAkLCz3dMJ6JpJB8ancu8bBNik=; b=Og8ORC8D138kesg0fVepRqkgRqRlWqkGijZKAa0SIfY90DejVv+e/aPXi6G78Sk7qZ yobZJkU5Bt3lJ1Xwbzp56H3UqNGt22wDQiIFjfMmGj4Yys29CiFaP64+ou9P1Js7sv+T PwujRf4HLaV54ro8F6KR5ex1kr9l/3o8Qmp9XrsROlklSsxxqp+mXooVS6CBaJ59SEDs pAIpyGjjyWmge6d6cRUYxdFAz4hL6olNzJ5k/JUQHLtuk2WFxTH/qNrMTfPQeIWqYlME rUUjfHHtWYilfbsLvPWuziY0aWKdw0idXuaFn02TDFr1zBkStojs7sTAughWUfvoG0IM jrOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712752045; x=1713356845; 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=m3u5zjVGbS3GaFiOQIAkLCz3dMJ6JpJB8ancu8bBNik=; b=UiSp8DlwGFKebytrTjYkUuvlU8ZORurQB0//znY1uU/lFdQk7fOzJCWiXoGo8jIy43 igJ/GADUNGeje0FJGHiO7Itw22tqR9ixedUlxq5jv8ZRK8pbgYxHexSt2Q1FduZ6lHJd PpP0tz5Vv1TCLNWCdOPWjrr7RTgh7L+Bol8iLebCbwnxcX/0ARb788RpgzJmZEiuDdPi hRLcLf0/768Y0v6ZeKJJadajQGQ9sAQtACfSVJHkKyJeoc6xXMP5b0KZsf+dZFNpI9aM k6yfpPcAU6y6is2JABW+KIhLAIoQ+lXUyvOcZm6cgVgsj61cegaS+xCAJMi2MVArzs5W laew== X-Forwarded-Encrypted: i=1; AJvYcCUloHfNutfPTPm6pAIT56GdD5xNrUg+/ngQBVo2cThCRmHOggVI9/uC3dhgbLmbrj5x8Z6bJK/zaulYM5glvkjoXPZQklfm1VuhcDzR X-Gm-Message-State: AOJu0YzhzkM8m3ZAJ8lJadzGA+RMdiBcd7s3r52jVQrb8b0x+4SlPr0F 6/8l0l4us+cNtLJJ7BTfM4BXFq5PeI9QUltiQxdI+DDtZijYsUiTWCaKhjY/QqY= X-Received: by 2002:a05:600c:198c:b0:416:6b95:c631 with SMTP id t12-20020a05600c198c00b004166b95c631mr2389838wmq.6.1712752045344; Wed, 10 Apr 2024 05:27:25 -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.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 05:27:24 -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 9/9] arm64: dts: renesas: r9a08g045: Update #power-domain-cells = <1> Date: Wed, 10 Apr 2024 15:26:57 +0300 Message-Id: <20240410122657.2051132-10-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 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. Reviewed-by: Geert Uytterhoeven Signed-off-by: Claudiu Beznea --- Changes in v3: - collected tags Changes in v2: - used proper domain ID for IA55 interrupt controller 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 f5f3f4f4c8d6..bdd4f9376fc0 100644 --- a/arch/arm64/boot/dts/renesas/r9a08g045.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a08g045.dtsi @@ -67,7 +67,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"; }; @@ -79,7 +79,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 { @@ -104,7 +104,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>; @@ -177,7 +177,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_IA55>; resets = <&cpg R9A08G045_IA55_RESETN>; }; @@ -192,7 +192,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"; }; @@ -207,7 +207,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"; }; @@ -222,7 +222,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"; }; @@ -239,7 +239,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"; @@ -258,7 +258,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"; @@ -284,7 +284,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