Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp302366rdb; Thu, 8 Feb 2024 06:31:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUNeJwNtIRv0L1L1LgUhGHH0wTUeLIxkx1QDt04ZsXFAsB+lL5MNRViRmIuyE/wZxlap9BnY2LhUnd0cHk1sBXRZTr6CVGgrNlF2OS4bw== X-Google-Smtp-Source: AGHT+IFQMaZ1JZrlWHpaTiXyl5dLxbUwpnFM/L+ebdMS+oxiRpxHQyBVzzJR2cIpnwkWzA0QIZT4 X-Received: by 2002:a62:c144:0:b0:6e0:4d28:b3a with SMTP id i65-20020a62c144000000b006e04d280b3amr5780333pfg.21.1707402662515; Thu, 08 Feb 2024 06:31:02 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVwwrK4fCHnMpn4ORN41pQLv9thibtS7L8yd3DK1ADCTKvzYzHHl1nQX7RtVRiMjiJzmoKfN1WPy4+lZL4drnFb7iS9iy8RD+IdD6SK6w== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id bx30-20020a056a02051e00b005d6d6f8cbddsi4582848pgb.360.2024.02.08.06.31.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 06:31:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58230-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=@bp.renesas.com header.s=selector1 header.b=sLXoQWrI; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-58230-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58230-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=renesas.com 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 25AA12924BF for ; Thu, 8 Feb 2024 14:31:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E904579940; Thu, 8 Feb 2024 14:30:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=bp.renesas.com header.i=@bp.renesas.com header.b="sLXoQWrI" Received: from JPN01-TYC-obe.outbound.protection.outlook.com (mail-tycjpn01on2060.outbound.protection.outlook.com [40.107.114.60]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F2205200D2; Thu, 8 Feb 2024 14:30:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.114.60 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707402651; cv=fail; b=B5NRXP8vl97Wngt8kYiWmKl702tFBRdYjHnnoIlsCgV/6Xx/aNgsBZW3drXYFT8B3vRxmJdPIDzgZgcqb6SJlE3ykYP1DvI2Dejim0VTVensK/bchyVCaQdpeRPsygypLdf+0cu2u9dmwBETLtKxW8jv/1phhVbEl/UrTmu6tBg= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707402651; c=relaxed/simple; bh=FO5QzftycPUTlAVb4VOUfPGLfoggq+pFWUY0VLtnJqw=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=KhZU7j7OXXRxQQVqhGKYsenjO3H++JdvDLDX3/qODn33EBE850mDARc0t2XHx8gLz/l3pBNNSQwBbekCpmuxGivdhGm6POWBIPxpX6bXSeLUTu8IzWjYp3r7TM4rpE60eX7QW+l+bybPzADGTHeUyJbLXPPAVTWAnVOKIH1Kc3g= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com; spf=pass smtp.mailfrom=bp.renesas.com; dkim=pass (1024-bit key) header.d=bp.renesas.com header.i=@bp.renesas.com header.b=sLXoQWrI; arc=fail smtp.client-ip=40.107.114.60 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bp.renesas.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CuDl0jfnBqdUtuAlpgR1VWeJR0UqYfxYNckySAlgUuGVgNg/f+5DRq7lQWQoB7ctolvZlYdrac2dV3oDfAqxKGYYLgq+Eaf/xnA5LbqEC+tGNWLm7X8fZDAYnslX5CwegzLKpQVG3edTo1duHhwlRryldysA/Hy8y7Pfc0sRo8JAEpcc6P+D+6xUvxf8i8o2g9k3emz+vdRnkCD2QHq+nLnDNqvxhsz+MORGSIP70ViqdPnqSJR8pxEG0XOFlie/XIKi9tyfBicWN/rbcIQBBL0otrt45++Kk0we3vnU4KASQgzAkiXytpfq+tGdC6o20ZHwvLJnFuEbtln9pMTc3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=B1k7cI4SMRfWAYuQl1mbzhIBgxyZ0jBdiZvPDsREblM=; b=CoRFlh2pdQWH/c0O/MaPx5PbhVy8AqAwpPGcQvMxJ+t3vHzD3MyVyIHH7+3Lc6z1HojzRXXUpo+P2bTfyi6TuonC9WcJeXa/ckc8JUw5dUft4LLM0Jzo6n2ua9aeLHgbsGy5tn9sMGEGGg7E0obxAgsWHSsK4zlsLmI6kvribL5rWV51FcTsWBWYDm0tJBMBEhbGREgYnQduFuppWtu4dhu3GfHUL/U/9nChFBNjfnkMEN1nJ1J0RG3zEHexCI5nlYZ/QEJr0XtTGiiKqHnImaYgkDtadVelGvPNs3MqABLuhPe+1344PonpUhsgrQ5JqR9pRcpl9jgJbVSncbidlg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=bp.renesas.com; dmarc=pass action=none header.from=bp.renesas.com; dkim=pass header.d=bp.renesas.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bp.renesas.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=B1k7cI4SMRfWAYuQl1mbzhIBgxyZ0jBdiZvPDsREblM=; b=sLXoQWrI6ZWbq0jzGGksf6ApmE970+0nG0Zy+dEkokd03l32Bjl20Ze8yowbRw1bWSp/WKL0QoYa4KGzBQBWhAgU8Nw1/ff+MPaVzwN88QF3ko3IcYKjXDBGodIBp30UGpm/A23aC3aono3sN46M4rP/V2UybeHt2VMBDeq40WE= Received: from TYCPR01MB11269.jpnprd01.prod.outlook.com (2603:1096:400:3c0::10) by TYWPR01MB10836.jpnprd01.prod.outlook.com (2603:1096:400:2a8::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.31; Thu, 8 Feb 2024 14:30:42 +0000 Received: from TYCPR01MB11269.jpnprd01.prod.outlook.com ([fe80::6719:535a:7217:9f0]) by TYCPR01MB11269.jpnprd01.prod.outlook.com ([fe80::6719:535a:7217:9f0%3]) with mapi id 15.20.7249.039; Thu, 8 Feb 2024 14:30:42 +0000 From: Biju Das To: Claudiu.Beznea , "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 , Claudiu Beznea Subject: RE: [PATCH 01/17] dt-bindings: clock: r9a07g043-cpg: Add power domain IDs Thread-Topic: [PATCH 01/17] dt-bindings: clock: r9a07g043-cpg: Add power domain IDs Thread-Index: AQHaWox93XkHXchpTkaSnTQ6Ok/3vrEAgGfQ Date: Thu, 8 Feb 2024 14:30:42 +0000 Message-ID: References: <20240208124300.2740313-1-claudiu.beznea.uj@bp.renesas.com> <20240208124300.2740313-2-claudiu.beznea.uj@bp.renesas.com> In-Reply-To: <20240208124300.2740313-2-claudiu.beznea.uj@bp.renesas.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=bp.renesas.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TYCPR01MB11269:EE_|TYWPR01MB10836:EE_ x-ms-office365-filtering-correlation-id: 8d5ad3db-2cde-4947-bbf0-08dc28b287db x-ld-processed: 53d82571-da19-47e4-9cb4-625a166a4a2a,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: Clx1e2WfOY9yL4bsQLohBl/+ixhcGTrdZwxioq2ExrmSrRp12USZwce3vpLzEVfQSJMgMUPJuEx1xlye73IAow9PmoJoWlT7Lv7LSewqySejuZwhvE986XJa+97Ynph4oDpTElKfDRuMdo8/RQr4lrRpDzMGs72YlaID5Vfd10J+QuqYHZQQtfDe6MzC7OXFszooCO4ogab5XZ6T46YL+MHWzeibPH7Shnzq6hK6Ty/wmhFcT+iFNgGlgB6XT5RWp6iv095KfH9E3N7OgWSqulDJ2D3ZdnHi1eFQVUI7NnZttLzfcBYaZSc8sQHt5eafVk4FBqZOo4nUMPlYqpMn1M1MUUAUQ+swx07bz7NsJSTaymCfLAKEvYorV0JM3quRoFQ41vSYliJqxDGc/BafzwOErddMiLd3xAB4A+1nIlI5qAs1+wRHShmmPID1w35fBZFirNOKIbIWevv1W9LsGzGMj8MR6hc/i0XsDFkN9T3x1wMRg0vfsmazFvluW2qwTK1rOn2QN5HVua4Ar3D8HXnCgx5wkX8yI3kiueN54Ca8zbyb8Fn10y3JdapnOOREI47pz/Dnd8VtbtfCk048q+SkOZfQkquY7KDtwX5/Y9SjMLZfYDXKzyWXobyAU7p38JZxJzg2X3mCbKQgG3nt+Q== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYCPR01MB11269.jpnprd01.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(376002)(366004)(346002)(136003)(396003)(230922051799003)(1800799012)(64100799003)(186009)(451199024)(55016003)(9686003)(55236004)(83380400001)(38070700009)(33656002)(86362001)(38100700002)(54906003)(921011)(6506007)(122000001)(8936002)(53546011)(478600001)(26005)(107886003)(52536014)(5660300002)(66556008)(66446008)(4326008)(7416002)(66946007)(64756008)(76116006)(316002)(8676002)(71200400001)(66476007)(7696005)(110136005)(2906002)(41300700001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?l3WysoI/ZxlIEtXFlk2Lu/bSYow0uhFGKm8uyJSVZ/kkOZRAJigU9kvpjclf?= =?us-ascii?Q?nGRwE2buHtFaiqAk9pEdAjv/E7ZIeGUmASv0rk7WlbHVSIjjOO4t8gYy3zwR?= =?us-ascii?Q?FVrdA3B+eRwH4WDWxzVDH6Ok1UpledJ6nUgy1CFWXM/GhL+Q033Ufizni2Au?= =?us-ascii?Q?TuVW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G?= =?us-ascii?Q?ALghf+wKCBFZvKoWxgzQMPSy/FrCOMuv6POuhxUkpeEydw/5qwqh0R9Xtj2w?= =?us-ascii?Q?5ev8nIEyUd3vD+HUa+8pe508WfhC2kI2g2kFKRRi4z0STl1CWQicaygaDIlu?= =?us-ascii?Q?uMa8shVX644N3W6BE7/rvW6bykneAIsb/AP4CzNjEF1JMQsnoiStCHqJl7Xn?= =?us-ascii?Q?uczhVfE25nOBDbuXjG/qTsxvoqpM/CoGgRPHhop095kUI7s5cp4QCZuHfnR5?= =?us-ascii?Q?Q2Uj3Fjk8wfzOJzhhA65j7ke1C4ImyelEpR76lNXbo/k47TzUYDGk5FVoO2o?= =?us-ascii?Q?IydCfj658ABrkD6JcWyQOKidZp3u0tdpJGVA8/5zfEWIssIPA4IHwPIKAHrr?= =?us-ascii?Q?TogLvC20+FsQuZMhOt1bbvNvPSQ8H8FZMAZ5FmQDjztM/iDHCTeMHq2io+PL?= =?us-ascii?Q?9TKB4mUxFHMmO1swQNH+f8o4XURJSG00LauwplvsFpMapiTsLsn+oXt0XSXK?= =?us-ascii?Q?KYZ4QJqGcVlQWGJnZckkjJpjTFfaAAdCK8Yii8HnIxZePhxkXgmvd3nJ/HwF?= =?us-ascii?Q?wg=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: bp.renesas.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TYCPR01MB11269.jpnprd01.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8d5ad3db-2cde-4947-bbf0-08dc28b287db X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Feb 2024 14:30:42.7994 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 53d82571-da19-47e4-9cb4-625a166a4a2a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 4JkkLfg/jqiYJASkWu84y8LgW8u3wmpwCjaMuWV5vVTveLYaK9nJ+pIqP3Th4e8Q162mJteT1vOLMFy32P8h3kqqpVTaDGSNeHdN1nNl4/w= X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYWPR01MB10836 Hi Claudiu, Thanks for the patch. > -----Original Message----- > From: Claudiu > Sent: Thursday, February 8, 2024 12:43 PM > Subject: [PATCH 01/17] dt-bindings: clock: r9a07g043-cpg: Add power domai= n > IDs >=20 > From: Claudiu Beznea >=20 > Add power domain IDs for RZ/G2UL (R9A07G043) SoC. >=20 > Signed-off-by: Claudiu Beznea > --- > include/dt-bindings/clock/r9a07g043-cpg.h | 48 +++++++++++++++++++++++ > 1 file changed, 48 insertions(+) >=20 > diff --git a/include/dt-bindings/clock/r9a07g043-cpg.h b/include/dt- > bindings/clock/r9a07g043-cpg.h > index 77cde8effdc7..eabfeec7ac37 100644 > --- a/include/dt-bindings/clock/r9a07g043-cpg.h > +++ b/include/dt-bindings/clock/r9a07g043-cpg.h > @@ -200,5 +200,53 @@ > #define R9A07G043_AX45MP_CORE0_RESETN 78 /* RZ/Five Only */ > #define R9A07G043_IAX45_RESETN 79 /* RZ/Five Only */ >=20 > +/* Power domain IDs. */ > +#define R9A07G043_PD_ALWAYS_ON 0 > +#define R9A07G043_PD_GIC 1 > +#define R9A07G043_PD_IA55 2 > +#define R9A07G043_PD_MHU 3 > +#define R9A07G043_PD_CORESIGHT 4 > +#define R9A07G043_PD_SYC 5 > +#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 > +#define R9A07G043_PD_CRU 17 > +#define R9A07G043_PD_LCDC 18 > +#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 Not sure from "Table 42.3 Registers for Module Standby Mode" Power domain ID has to be based on CPG_BUS_***_MSTOP or CPG_CLKON_*** As former reduces number of IDs?? Cheers, Biju =20