Message ID | 20240208124300.2740313-6-claudiu.beznea.uj@bp.renesas.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel+bounces-58077-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:50ea:b0:106:860b:bbdd with SMTP id r10csp1441740dyd; Sat, 10 Feb 2024 04:35:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IEOMUe2kxsXC/FG28T5b9EpbmkVUrK+zmrPafAuvftdlAnDmAv0SkOIJmGQnHO1gD9uzvu1 X-Received: by 2002:a05:6a20:e30b:b0:19e:a7c2:eee0 with SMTP id nb11-20020a056a20e30b00b0019ea7c2eee0mr2255128pzb.8.1707568511888; Sat, 10 Feb 2024 04:35:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707568511; cv=pass; d=google.com; s=arc-20160816; b=awtgpXq7yOddOTBx6nIA0ujd3mOLpHYiMzG/8LplyDwz+MM8GcGP8+aWY2K3uKkWZT qHF0uLmS6BxMOAqOds383n7swrbTt4lBZIOnIKx9ewiBLdd+b7Gv8LWhNZjOV5j9RhAb LmyzYkBsHvATUN5ONwFhw0AFvJ5morqC0Dff2YD+O+bTzRxAe0dv7exSse1wPK09agW+ wJ3Dy1mOi2SadaVi3RSDjNEXN7x/jst0xrsXgLoU+NiJVx6wryb+rZbSgpSEQ0cR9mi2 mH+MTNoIQ055UwKAw43wx0zecQZTYdl/fH1i6mv9kjLsfZE1DEoDKlHEueZ+kuQTEzMG 6z9w== 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=YVbMwB0TiglM9Jy2bve9nHK/i2B3Um4Ecj9XE9vae54=; fh=FGOYqS/wBgADOLLqsqsnP+nWcwCSE2FbrYoiZc+nlR8=; b=Wdw5x/OVWbim9MmxlQ/mPKo1CTvaMdJJi7DOHIw7+znaMcexLv3RSpF0XEst6CLl9p /1mRNZkMC/xWkSbmB3U3S8V79HknFH7zE4LD26Jrgh0fBzyq87nleudkUYNGxh0Lxv7K DSlUowvWAghB0vpI1+lOo+Q3B5LWVltjTW0kMMur2TeU9wPBD37iT4CyTNqTd70u+DdQ 675t2fPby2Z2aH53mkVf8QcBouVn//VkxYNt3kgtmVxiu3ZdPBI3bW7ZuJv4IWeixqHC +1ihZPkGXF7CAKl22caMUKTgZITBjNyGvbI86HropQgtf9MQ0sGi+4sQdbGFNIbQWk6J zo+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@tuxon.dev header.s=google header.b=Umz37Cnx; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-58077-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58077-ouuuleilei=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCUh8MbDCbYNK+dxKNeSFki0rLWsc2m2XgCf5H+Y72kYwaNV0fn/xT3OKXW2hqYP+tM4BT7NGgpnu+r4BjDyGiVNafhXvQ== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id l13-20020a65680d000000b005dc5070656csi3457310pgt.785.2024.02.10.04.35.11 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 04:35:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58077-ouuuleilei=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=Umz37Cnx; arc=pass (i=1 spf=pass spfdomain=tuxon.dev dkim=pass dkdomain=tuxon.dev); spf=pass (google.com: domain of linux-kernel+bounces-58077-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58077-ouuuleilei=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 02B68288F63 for <ouuuleilei@gmail.com>; Thu, 8 Feb 2024 12:45:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6B6F679945; Thu, 8 Feb 2024 12:44:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="Umz37Cnx" Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) (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 C19D676C74 for <linux-kernel@vger.kernel.org>; Thu, 8 Feb 2024 12:43:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707396237; cv=none; b=rA0pMlFIxu0sJ+e+8wETh5nw9qGEEUw39mjzYA3yf9kvs70ZxGIGI/SXm1OkAK/D+ABrKyTwQIYUcSQBZIVOa4798UgRFk/U7tW83N+PeeODDk8xTerON++ZzGBMN4hf6ZOs+ObxEt5UDHpEG8aHYfBfgyRF8Adihm+ULmlwUg4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707396237; c=relaxed/simple; bh=EF1WGTgc7B/wPwokfhje4eT/Mebr8tr92pDDPkfm3H4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=tqYYzxKvzEBAhGVC6e1Bj+M/Jvt09hJw7ztOYNbKKE2QASa0IgLH+1Q0b/5ggRaquRcTkBzI7no+x2DzvLm+qIac48UvO5h0Yg+eS2KxbW86lFtSt6CK5OFiMiFckw2JrtysKSAww/0+vAQ1WhQHLy/jMxyIZ3HiD/oM2m3l8tA= 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=Umz37Cnx; arc=none smtp.client-ip=209.85.128.45 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-f45.google.com with SMTP id 5b1f17b1804b1-40fc6343bd2so15372945e9.1 for <linux-kernel@vger.kernel.org>; Thu, 08 Feb 2024 04:43:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1707396234; x=1708001034; 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=YVbMwB0TiglM9Jy2bve9nHK/i2B3Um4Ecj9XE9vae54=; b=Umz37CnxP9SO9Kcfxob2hndUOWMrpMtJi2LquUe+j3yv/jiGt1VnClGx3DEBQRt04G ih2wSFvQ7+0NjqVrjGvcELLFLRvafrm7m+JVBL5WDNTiNpjamxAwBu7vh1Jhfo6P3CFx RB6QaBl0yAXLGlE5Tz6oUKkQocjn1BEFlUxMu2KpsWhyLEPhAB3eMZWiKfeoCg1O5BsB neqDyfn/4GKjq1xKa8eMX992pt548jTzIAyJpXRL5aHwOl+Wnxy0fUZhMbpySCGZL0WC qTAEy4xDiBl0cnW4DA7sscgZ6FYu7V5sPtvc6vToOxD1OxinUoSOx/MAgj+wVvldMB5A W8MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707396234; x=1708001034; 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=YVbMwB0TiglM9Jy2bve9nHK/i2B3Um4Ecj9XE9vae54=; b=hOZr+AFTdYowGxahAArrwmIqbWsdnExytwU4ukCJFVZai0TExaqbNMS/cjHcHo3ISr yORJHUtUcUGBkHndPxmnR/nyrPLPHSTAXWaB1Nv6DutY7b9PUt9ZKpAeIKCb2t9t9xk9 zsarG8dmDkIGAHM5Mp4S22X/tHyqdmQCHNsLOGUEnuFtdE+hhGL518AtkPpdEj7Xnhmi q1x6rMJDK4sEaWzO8eHPAPGlMFJ6CKcv13Om0/Zslz4mluXbeIDVelCSo9ZNVVvFSWyU ushLpSEPbHPYCz4obxKCF9CWsPohaf0sJduh71w8GSwiIIVCv4eGK14qX0T6EdheCJG+ 5jKA== X-Gm-Message-State: AOJu0Ywz4bsZ9xMIPx3r1jlYnHWkFI91X3O4YkrISlcgQr+K5gGw6zyq YyuDPfejxKrhUCSbalLtcohA1POSnid06c1M1idZXqaKhdDnjObgKeaSYWfjEHo= X-Received: by 2002:a05:600c:1e1d:b0:40f:f4b2:b26 with SMTP id ay29-20020a05600c1e1d00b0040ff4b20b26mr5738131wmb.25.1707396233978; Thu, 08 Feb 2024 04:43:53 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCW+k3ak3Q1EAZ44zAFQPvAThcwM466bhXPNIxXdC0k+54Ou7Zc12txWb58P6bsgdd6OT/w183dgapwgULEVG/ja7p/6VXKOKpT+MtV6ONpsgZU22nzt5NFnpcivsGxTLBsffy2XBOkR6aygjtY2sYYajYX570vNa6itMviKmUW3M5dIhgxqAheRT4dzyGXIksavPo2IdYe+20QSO946qX3hna55YZvGE5mRX2dO+yzE+EEcZBUJPUY25g6hTXPYi9ZwW+nqXLtFXFhjczn0qcibAomrERJzAJ9Bd2PYioQ7Rjs8wywIlbk4UxTI2V0l40yeWyyKcrZwtn2yN1u8icvnREZZEt+tIcHVRX+DMADriAAGj8+htO/QbKMRtYapriyn2R9RfS25WNfbCk6024l4bftl0+DZ+rTGhZ8w7kuA64+GGvLU18c2NV2HIOeYW+Ki68P7icEAi5t2b1tk7nMqJKKohxeJOvpJWEbDkt+aXWJNYXAHajWum7ELpdGlfL76g0x6l1a8oUVR+d7xN13hVXNOI8m6pEBxETYCVGNGYRJ3oBo/WrzYMdk9niAjtvc= Received: from claudiu-X670E-Pro-RS.. ([82.78.167.45]) by smtp.gmail.com with ESMTPSA id o13-20020a05600c4fcd00b0041047382b76sm790244wmq.37.2024.02.08.04.43.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 04:43:53 -0800 (PST) From: Claudiu <claudiu.beznea@tuxon.dev> X-Google-Original-From: Claudiu <claudiu.beznea.uj@bp.renesas.com> 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 <claudiu.beznea.uj@bp.renesas.com> Subject: [PATCH 05/17] dt-bindings: clock: r9a09g011-cpg: Add always-on power domain IDs Date: Thu, 8 Feb 2024 14:42:48 +0200 Message-Id: <20240208124300.2740313-6-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: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790515359876073735 X-GMAIL-MSGID: 1790515359876073735 |
Series |
clk: renesas: rzg2l: Add support for power domains
|
|
Commit Message
claudiu beznea
Feb. 8, 2024, 12:42 p.m. UTC
From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Add always-on power domain ID for RZ/V2M (R9A09G011) SoC. Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> --- include/dt-bindings/clock/r9a09g011-cpg.h | 3 +++ 1 file changed, 3 insertions(+)
Comments
Hi Claudiu, On Thu, Feb 8, 2024 at 1:43 PM Claudiu <claudiu.beznea@tuxon.dev> wrote: > From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> > > Add always-on power domain ID for RZ/V2M (R9A09G011) SoC. > > Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> Thanks for your patch! > --- a/include/dt-bindings/clock/r9a09g011-cpg.h > +++ b/include/dt-bindings/clock/r9a09g011-cpg.h > @@ -349,4 +349,7 @@ > #define R9A09G011_DDI_RESET 93 > #define R9A09G011_DDI_RESETN_APB 94 > > +/* Power domain IDs. */ > +#define R9A09G011_PD_ALWAYS_ON 0 RZ/V2M has many more power domains, but they are not controlled through CPG_BUS_*_MSTOP registers, but by the Internal Power Domain Controller (PMC). > + > #endif /* __DT_BINDINGS_CLOCK_R9A09G011_CPG_H__ */ Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68korg In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
On 16.02.2024 16:03, Geert Uytterhoeven wrote: > Hi Claudiu, > > On Thu, Feb 8, 2024 at 1:43 PM Claudiu <claudiu.beznea@tuxon.dev> wrote: >> From: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> >> >> Add always-on power domain ID for RZ/V2M (R9A09G011) SoC. >> >> Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> > > Thanks for your patch! > >> --- a/include/dt-bindings/clock/r9a09g011-cpg.h >> +++ b/include/dt-bindings/clock/r9a09g011-cpg.h >> @@ -349,4 +349,7 @@ >> #define R9A09G011_DDI_RESET 93 >> #define R9A09G011_DDI_RESETN_APB 94 >> >> +/* Power domain IDs. */ >> +#define R9A09G011_PD_ALWAYS_ON 0 > > RZ/V2M has many more power domains, but they are not controlled through > CPG_BUS_*_MSTOP registers, but by the Internal Power Domain Controller > (PMC). I wasn't aware of that. I'll be checking it. > >> + >> #endif /* __DT_BINDINGS_CLOCK_R9A09G011_CPG_H__ */ > > Gr{oetje,eeting}s, > > Geert > > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds
diff --git a/include/dt-bindings/clock/r9a09g011-cpg.h b/include/dt-bindings/clock/r9a09g011-cpg.h index 41dd585d7115..250499faf049 100644 --- a/include/dt-bindings/clock/r9a09g011-cpg.h +++ b/include/dt-bindings/clock/r9a09g011-cpg.h @@ -349,4 +349,7 @@ #define R9A09G011_DDI_RESET 93 #define R9A09G011_DDI_RESETN_APB 94 +/* Power domain IDs. */ +#define R9A09G011_PD_ALWAYS_ON 0 + #endif /* __DT_BINDINGS_CLOCK_R9A09G011_CPG_H__ */