Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2175127lqt; Mon, 22 Apr 2024 03:54:37 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVeDk5iWTFsY6yffL9EPnHuD5Ca3EsDSVSrXzF4OWl/O7Jsbj0eTxrMu4Kt97F6UdkWU8NIM6toWLEdR7gcmRxxwoLXQyWx0EToekAiig== X-Google-Smtp-Source: AGHT+IHLDY7p6ZKlycvFGzmKr9/EaiFwFsDpFxclJ4w4o3xYzJbqNaIuio65NjnyZYNKzGRk0iEE X-Received: by 2002:a17:903:228e:b0:1e3:ca5a:2d9a with SMTP id b14-20020a170903228e00b001e3ca5a2d9amr12911984plh.53.1713783277401; Mon, 22 Apr 2024 03:54:37 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713783277; cv=pass; d=google.com; s=arc-20160816; b=LC3Tv6qK5CP+Zw9cLE/rjPGEjG179ifoWZDzjlrCwAu71FkX3u2lEBsxcOa9qxF/Tu TzKBUwvxDLZQn47Oprr2P4yXZ2aqd30GMSuaX/B+0+fCgV8i9KUpG9Jh5I+j+cx0yVBo sHaoasCx4LgtdgjjC+a3WwxAvjxJ+n/H/7OpsAJFTcBkXyaDxDXB/a/FJu5HAjE6dEuJ OCM1iL/m6t6QSjUWHmqMmIVSf8WQ0MjRDx7cHK2lq9PoAC3Bv6m34PUFrxEFEBZ3aWBm uVvk83Je4pWFSz28A6nupGI2X3acl/c0oQ+KyuCYk9j687dDTK1Zb0qGwbhWUQX6vjKe 3X8w== 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=542/ywAaHZGwPc69BIK8qmVTXHU1k2NH/XrpCYbWuDs=; fh=j4/Cqp/KhSCY00YXewq/e9LJEMnyVPi1wdD+FbIU414=; b=aZFVDGW57ZG5kFMsgX4NM78vJdbloNMYA8UvstmhFYyiJIwCGODD3sV8K1MyHgLMU5 u07zNxqeVsBLxtUNNXWA0Y7wacmo3ynYoGkCwm97mW5QmZhYRr7Kk6jCCjWDC5L/7TwR PYB5wkr1syj61b9U1RK/iSRcNv83E78Wp0rea6UIS9P/2OjDE8u5XAzHDpIDsA+Bn8Ku P1d/3XE1qOKt/RYP8xiED7CJ7flUpTO1qcZIAT71sA8Lqf1oQTUr98f6DdHiHgjDYwoD AncKbIRcjZLk0Emu9NAK1iHUebbvlqUSte4he7Hqqe+jNzaAeeuzbi/T+wnZhCHiXrrv 4yPg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=qOYB3O6D; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-153242-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153242-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q8-20020a170902eb8800b001e5a3b2a419si7849127plg.33.2024.04.22.03.54.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 03:54:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153242-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=qOYB3O6D; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-153242-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153242-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 0A21A28248A for ; Mon, 22 Apr 2024 10:54:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 27F4414601A; Mon, 22 Apr 2024 10:54:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="qOYB3O6D" Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 02CE214658A for ; Mon, 22 Apr 2024 10:54:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713783245; cv=none; b=q5OqHu0Srmd3AMKSklW35mDJOhLRz4wCpRqvh0dPG1BLvHwrXUQj/bkZfSFQwt2Nc+ctmyJnmXwQ4BAmFTftVKxV6DYw+GWZMWhnnUzHkfg7TFI+OljixwlpXjXieizmScwBP6VVGaj+lNwQu69ZFtlUXNWEU3EXoTny2MJZPIA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713783245; c=relaxed/simple; bh=nasE2d/SaWmaI1mXEgsloYfjMTW1nFFlm9lGYxvJ7Jw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=N3hvDhcT+Fhb7q0mo080Adv7GWy9pVJLf7MKETkXB6WCh+pHtdVeDytdRVr0iVClhZ8Huc5a0u6m4a5B7B7AcDWAZAhKOaoxanFXirbZ+8dS19nEwzMLJAFWX45tBycN/fZzrj4i+QA0/v7Xz3HN81fGdbMI4jO/eC4CzUtZj7w= 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=qOYB3O6D; arc=none smtp.client-ip=209.85.128.44 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-f44.google.com with SMTP id 5b1f17b1804b1-416a8ec0239so23344255e9.0 for ; Mon, 22 Apr 2024 03:54:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1713783241; x=1714388041; 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=542/ywAaHZGwPc69BIK8qmVTXHU1k2NH/XrpCYbWuDs=; b=qOYB3O6DYWjf7HhQQMCiR5UKeAk2VxsobubHQsbdYv5U/sYH5BsrlGe0IEo4uI+Rfb B51ihq9Ep0Cv34Mh+LWdk/9zErYsRUI3Cu6LpkMjaKlHyvt9A7VTMemjvRDHD9UNmBBl ul3hQU8IkZQOoP8kwe6gKlGJWl7FkaMRPsOHvyU9IlVsVlylkGE5ppaLNUFhrheUUxuc 00Ar7lCO8YWeTSIxuq5IXwcrW94nxQ3Hecy4jahQVDAcjo6jarNn8ihK8ZN9gTGQ0Zle uhU9uRZMFIn6VT0MV59Mwz3/B1z2CBxASFqqJaZbnlmPnLwPAu3byxuA1PQRdC0Bnu4p aotA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713783241; x=1714388041; 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=542/ywAaHZGwPc69BIK8qmVTXHU1k2NH/XrpCYbWuDs=; b=sxJuwLtNB++DJMHqyhP/2YLqZ5wl/wHdADjDUh3CONYHW7SmUmANUv5tvGFkSRAI3j f8mZE5YV7/XSrHxMTRw4mJstsUoeoWHZiz/EtwSuLsrLV9cQ8FAyilx/T1GsjZGvYiQu tlz/l38qj5L6SpgaKWWiw2uR5/YqvWi3kD0q1bAY+n08ghwxUbkLZUXgGXp+q4MM5eE5 CKpJIJ0XoCBtTm3TEa1QJwogXgo7AuIXGmihBaC5K+9eD/km4y5EJN6NazJfjE5GCh+s Folt9gtRalado6TyJ8S/H3TgjvkhRNIVedg14Pt1UL3394nH64zoJMJefY9aLROBSweK ny1Q== X-Forwarded-Encrypted: i=1; AJvYcCURUrHwhWGVjdqo3qb/Y7t1A54KxIZuri1etXYNIXS2vIMUZYapFh1/BS9V5DRe174+odtFN/nWTiFWJqFrc0cbcqtJPUs7CjfcplR5 X-Gm-Message-State: AOJu0YxLLjraPzLTPlXw/tEUXtfyhypYUdlzycfmKJy66IwtnSNHgrZI cj3vQFn3IJNcSQei+LGVQF91d0RgEDAX4Bpnzak4yCLDPnp1ymivzroJrdamlLA= X-Received: by 2002:a05:600c:3513:b0:418:91ae:befc with SMTP id h19-20020a05600c351300b0041891aebefcmr9060599wmq.0.1713783241285; Mon, 22 Apr 2024 03:54:01 -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.53.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 03:54:00 -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 1/8] dt-bindings: clock: r9a07g043-cpg: Add power domain IDs Date: Mon, 22 Apr 2024 13:53:48 +0300 Message-Id: <20240422105355.1622177-2-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 Add power domain IDs for RZ/G2UL (R9A07G043) SoC. Acked-by: Rob Herring Reviewed-by: Geert Uytterhoeven Signed-off-by: Claudiu Beznea --- Changes in v4: - none Changes in v3: - collected tags Changes in v2: - added "RZ/G2UL Only" comments to some defines - added RZ/Five specific defines include/dt-bindings/clock/r9a07g043-cpg.h | 52 +++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/include/dt-bindings/clock/r9a07g043-cpg.h b/include/dt-bindings/clock/r9a07g043-cpg.h index a64139fec815..131993343777 100644 --- a/include/dt-bindings/clock/r9a07g043-cpg.h +++ b/include/dt-bindings/clock/r9a07g043-cpg.h @@ -200,5 +200,57 @@ #define R9A07G043_AX45MP_CORE0_RESETN 78 /* RZ/Five Only */ #define R9A07G043_IAX45_RESETN 79 /* RZ/Five Only */ +/* Power domain IDs. */ +#define R9A07G043_PD_ALWAYS_ON 0 +#define R9A07G043_PD_GIC 1 /* RZ/G2UL Only */ +#define R9A07G043_PD_IA55 2 /* RZ/G2UL Only */ +#define R9A07G043_PD_MHU 3 /* RZ/G2UL Only */ +#define R9A07G043_PD_CORESIGHT 4 /* RZ/G2UL Only */ +#define R9A07G043_PD_SYC 5 /* RZ/G2UL Only */ +#define R9A07G043_PD_DMAC 6 +#define R9A07G043_PD_GTM0 7 +#define R9A07G043_PD_GTM1 8 +#define R9A07G043_PD_GTM2 9 +#define R9A07G043_PD_MTU 10 +#define R9A07G043_PD_POE3 11 +#define R9A07G043_PD_WDT0 12 +#define R9A07G043_PD_SPI 13 +#define R9A07G043_PD_SDHI0 14 +#define R9A07G043_PD_SDHI1 15 +#define R9A07G043_PD_ISU 16 /* RZ/G2UL Only */ +#define R9A07G043_PD_CRU 17 /* RZ/G2UL Only */ +#define R9A07G043_PD_LCDC 18 /* RZ/G2UL Only */ +#define R9A07G043_PD_SSI0 19 +#define R9A07G043_PD_SSI1 20 +#define R9A07G043_PD_SSI2 21 +#define R9A07G043_PD_SSI3 22 +#define R9A07G043_PD_SRC 23 +#define R9A07G043_PD_USB0 24 +#define R9A07G043_PD_USB1 25 +#define R9A07G043_PD_USB_PHY 26 +#define R9A07G043_PD_ETHER0 27 +#define R9A07G043_PD_ETHER1 28 +#define R9A07G043_PD_I2C0 29 +#define R9A07G043_PD_I2C1 30 +#define R9A07G043_PD_I2C2 31 +#define R9A07G043_PD_I2C3 32 +#define R9A07G043_PD_SCIF0 33 +#define R9A07G043_PD_SCIF1 34 +#define R9A07G043_PD_SCIF2 35 +#define R9A07G043_PD_SCIF3 36 +#define R9A07G043_PD_SCIF4 37 +#define R9A07G043_PD_SCI0 38 +#define R9A07G043_PD_SCI1 39 +#define R9A07G043_PD_IRDA 40 +#define R9A07G043_PD_RSPI0 41 +#define R9A07G043_PD_RSPI1 42 +#define R9A07G043_PD_RSPI2 43 +#define R9A07G043_PD_CANFD 44 +#define R9A07G043_PD_ADC 45 +#define R9A07G043_PD_TSU 46 +#define R9A07G043_PD_PLIC 47 /* RZ/Five Only */ +#define R9A07G043_PD_IAX45 48 /* RZ/Five Only */ +#define R9A07G043_PD_NCEPLDM 49 /* RZ/Five Only */ +#define R9A07G043_PD_NCEPLMT 50 /* RZ/Five Only */ #endif /* __DT_BINDINGS_CLOCK_R9A07G043_CPG_H__ */ -- 2.39.2