Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp100548lqj; Wed, 10 Apr 2024 05:27:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWXrjtLo7nEzfrqIqOevlvrlgSQGXWUh52a3I5K2Tos0WCGLXdWoHkdedQQkwkn2k0+zbcZHQtpnaAnMNcCsYDq8TZHN3vp9acZVmD1mw== X-Google-Smtp-Source: AGHT+IFXfs/XP1ezk33DcIuW4Exe+RX/i0ae5SbbqhTCV10isB7DxEe7DW4XXiXFtaMLHIpfgRzm X-Received: by 2002:a05:6a21:3a94:b0:1a7:6ca9:2925 with SMTP id zv20-20020a056a213a9400b001a76ca92925mr3149475pzb.59.1712752068078; Wed, 10 Apr 2024 05:27:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712752068; cv=pass; d=google.com; s=arc-20160816; b=S7qCgVyN0ANPxakn0zXc4pYaQ3CtPARm//7HS/M9/ESsChhwLDTQRgE7d1qioXMcRA Dpez/PeKI728wcZ9yJoLDcaqSsCTS+3G+pftyyhGcrh397M93lb92LZc5KsVeYTqYiG+ Jnfnf5zkyDUeY+bCaRdDzGOqIRksWKHr71fQzYkErBlH+StpY4nLL2OuX3hwJk9UJ6xu HYF83OCd0mJxcjtrnjt+YSUT4oxRc+XQtqG2VV7Um3HvnyRKPA/daI3SKw4Klypg27O4 SPeucNCIKWAXWY++zrwb+Q6KhrASTE8YqwVzIfFwFn/ldze5cKHeUWYAT37UmgZ9T3bD WzYA== 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=TIDge7spa3NjlHFsGDVwHhao1cU+1T3vrFbJtXNX3p4=; fh=gGI1JEVxFYIJLb5BiskLwcSJmRo7dheqEZwVcgjQv+w=; b=wJTOnLJEpAOnX9VGM1aqZQejGAJ3NbUUdn9DUPlic+jKW9nqYRtXZpE/zZrIeWe45u DgRBr9cWzBqxp2PHd1NKdL2b6tSe+HgYFaWlhs2ruxdc50/IUSGntTen2wQxoMRE2epW V/HQyNrp0vZqB5NxXzlZNMeT62FLCTYuK8oY5n8gcl/vjV2J2PA3YMcpZnqKSCtQfNQp j7mjMRvQOTbf510KIE6UrD4anEhKJVpT9LEOwRaRN/7YtVlhpDEnYTcdbpJKC5iNZJZQ 2RgD15F34IzuWpUicts/xsHr2hR2F2xvs85MsaWD9+doNXIjOoVubQ6M/NXuFryqKunn /3Vw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b="P0Q3SB/7"; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-138487-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138487-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 a9-20020a17090a8c0900b002a539f46c08si1486065pjo.39.2024.04.10.05.27.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 05:27:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138487-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="P0Q3SB/7"; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-138487-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138487-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 9C69A281C72 for ; Wed, 10 Apr 2024 12:27:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 91C7615B126; Wed, 10 Apr 2024 12:27:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="P0Q3SB/7" Received: from mail-lf1-f43.google.com (mail-lf1-f43.google.com [209.85.167.43]) (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 C69F215B155 for ; Wed, 10 Apr 2024 12:27:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712752034; cv=none; b=muhgGQ9D9XVuTRKbxjHw0reAmwI7WnsRPs2Qg5Er/Rypivz9I04xlPeQM9wBB8ofa5eLSfm64/CUD3lwIFi4+mpazjbdei8boaBWSZdb/j08A6XsWpEnmiaLPXIrr2w2U4Sv8Qm6k1fwwhtLdZzHJmX+YxJgXpYDjnqOuH50He4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712752034; c=relaxed/simple; bh=kt0T6oAjZ1lqWaIaUu8Sr09sefIFHdT0FJpsK8q8nM8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=pvEdxxI8GJtyKjQCO1pS0wv+3V8codd2Of2sP5zv4DpVeJ4QBm4CqfqVfXfRUa1fWSZKa12jD+CMQ3g9pvFi8os9zuAiKWomzyxr+RsdjKSLncwiFSsaeZhCp3fxCPZGzRJEHir7qyYlUeGhpMteTuqoSrpa9TFHY6bjiuacmBQ= 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=P0Q3SB/7; arc=none smtp.client-ip=209.85.167.43 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-lf1-f43.google.com with SMTP id 2adb3069b0e04-516cbf3fe68so8205078e87.0 for ; Wed, 10 Apr 2024 05:27:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1712752031; x=1713356831; 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=TIDge7spa3NjlHFsGDVwHhao1cU+1T3vrFbJtXNX3p4=; b=P0Q3SB/74qhrxcW5rxZ2s59AdCM4X1hKKYU7Ebr2pM7wjPrrUh28mifYW468i7n/R+ DoWF2+x+9D8sAmEix2SMFbAex+kGgcDoTW+W0Kiu+9WjqwYGgZ83fTDnBrHWDKvvTrAE 3mdVA0GOxXrS7BinW4lCR/VAEV7eF1DAPTHnpW8VItdiKVHU70lx1iTyq5JedQDjiBUu Xt7fpmaS8QLI5odFyIy/+qqpo2DqP3Aee4FFPTEh4/niNAjqa7BFHLtwDPXCKDTtRdwJ VUuPebgVK094VSEsHnwCWWXHKDypcv3damhTNl2EkZ29lAMIYVf71pOGVBnpDJFWanfb 7AMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712752031; x=1713356831; 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=TIDge7spa3NjlHFsGDVwHhao1cU+1T3vrFbJtXNX3p4=; b=nt69gznKhKlyB4BI+9Bi+T3cqpxdgDMQ9pN1rxkuoMx7Nm8sa1cSnTOYfcvXcQ8jsq uw+5to0KocUfqjYWgQKkuePHuxWokr3aSO3z3IT69x/gJRIqSAqlDCetE6nVEUIthYWU WpIPfDZB1jfNrtlsEsHruOs0RQqcRHWodX3vlVmsd+l3K76iBeqx/JXeG2MbvH3apaoF bOH9WQkVj6jsYoBN6lhY0HJRL492JTRB1uJSgicYtn+wUp8UtxbxCPJaL8+1HOhn1UBu HpnRZq2VzppSSKjlSnAUDlPCBGZ8pXqaNfLy5kzB+nizVLjvhNR6CvLXnE5g76VVe0nt 41oA== X-Forwarded-Encrypted: i=1; AJvYcCWDBthj7pD5v+k4swdS5n2S0zesc2bVali69ckHi6fd2W/cTEuC64SXjXqTr+yuKkpigLt3c6yCugyUp8BYUr8wx/2JD++c1BjoHT86 X-Gm-Message-State: AOJu0YwS0vOG3SLfOLDmbliNTD1TsqWvvBF5eDYLjTpFCbnqgvi8zaZo iZhkx4jTxAtz9XdZkMt54nYD4g/SeYgDIFLETatqsFf/RZNvHjvU/mIluxC2oec= X-Received: by 2002:a05:6512:3d01:b0:516:d1bd:7743 with SMTP id d1-20020a0565123d0100b00516d1bd7743mr1970235lfv.64.1712752030947; Wed, 10 Apr 2024 05:27:10 -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.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 05:27:10 -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 1/9] dt-bindings: clock: r9a07g043-cpg: Add power domain IDs Date: Wed, 10 Apr 2024 15:26:49 +0300 Message-Id: <20240410122657.2051132-2-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 Add power domain IDs for RZ/G2UL (R9A07G043) SoC. Acked-by: Rob Herring Reviewed-by: Geert Uytterhoeven Signed-off-by: Claudiu Beznea --- 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