From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f178.google.com (mail-pl1-f178.google.com [209.85.214.178]) (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 10F361E1DE5 for ; Fri, 4 Apr 2025 18:55:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743792923; cv=none; b=LQEKQ2/qC3gjFtpu0psDmQL8EXEy1AXB2uisqhTT7jLfnBZCL9Ib0M8unVFsZ0Npn8TGZ0UXJu2J4IJ5znb2NfLTj9R+NEkPn7CyZtP2qRrF9L3Gi9jScDkiF+yQ7Lwa6zUokbLeUf0/1XATEODT0gNgIZvFYgyIg9A/MujpGNo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743792923; c=relaxed/simple; bh=VfeedzAG7UGtPpSXuBMYVnF8aSHrgVbQjdxnN8frKgc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=iRBF/hadlmed3aMsxu21m06NLA7hmmudwbLX2f/cALeHLCG38/hsf4IcYf+btW/Iy9IFcY4KYyJ0AGDk9wKrXlTITq7Ty73vVioanPW6p8FFXo1XkTYzIpRYYFhEKuIvbXTXXwIdSYTv9sZ3jiqTUQDq4ROSlIxBS6Gyg9fLiMM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pdp7.com; spf=none smtp.mailfrom=pdp7.com; dkim=pass (2048-bit key) header.d=pdp7-com.20230601.gappssmtp.com header.i=@pdp7-com.20230601.gappssmtp.com header.b=DOLIei0e; arc=none smtp.client-ip=209.85.214.178 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pdp7.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=pdp7.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=pdp7-com.20230601.gappssmtp.com header.i=@pdp7-com.20230601.gappssmtp.com header.b="DOLIei0e" Received: by mail-pl1-f178.google.com with SMTP id d9443c01a7336-227b650504fso23565115ad.0 for ; Fri, 04 Apr 2025 11:55:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pdp7-com.20230601.gappssmtp.com; s=20230601; t=1743792921; x=1744397721; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=32troSjWvB/PDlVrpO70BnGFukXnYd/0VAcsVL2VxIE=; b=DOLIei0ecBYGFmicWeKfI87N/P67NqV9YEsJR1Nc7HvTZqxxIhVEpIo1lsB0YKg5qa L/BxUwXOuJvF0/LV5vxUjG30mMi5XHqiGguC8u3bg0d+HOF6ADEbYnPaOqf/HRrnLxCj hy/9t4Of0LEas01mlWuodDDJnqlZIIO2/y56CPaiob5Fh8d4n/GbIAYC/p1WMfKuvsZy wqk4VaAbqlD0luES9CaXDhDNG/56ytgbPBUENTxl/585/D7g1OfoHu52dH9YCSBCwSy4 2Zcm/8hWDjlUMpQ8ms/Zl3BtPFrgChehC7iirN3Ej0iZ8EqQS4QPpPOE7aoNHvNrIys/ IM8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743792921; x=1744397721; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=32troSjWvB/PDlVrpO70BnGFukXnYd/0VAcsVL2VxIE=; b=n2y3G0Jb+lQ7vQv1FaHLNUXw3EG1rUu8pwoE52OScS9bWF1YMwsIfbGF7Lch5V0Ejy u2tfuT6wkuwp3X8MrjBkzchqgKKfmKjkujj7VIz1yTyRsOnKfCcAqKk1RB/hJXzrMaZP 6+ccFRkgX1SYWYoQdlBD+UpRLHqsZjDQmY3jIrT9klbkRFqNzi9njtIcuZQbwGhG2i+e o4tuOQGR+c/I21egG93IrahD++F49AH3djSsYyaZBhhyEpzNzCgZB1mlgW/ZbNCbPXeX H77B7PutE7XeHnuaoZE/VosvLjjiYtnRAwRCclX+hqq71v4Tj1gxXF5RaatHG/jizXVO 9HvA== X-Forwarded-Encrypted: i=1; AJvYcCVA/dI4/nGcVzwosh7uWgkG/JpGW6Nav9pvL2AadHVR19hqHU4RDI1Fmv/ZbkF5rOGaJM7Jj5Lilj4m@vger.kernel.org X-Gm-Message-State: AOJu0YxOvOIEYMeSomKNx9V8u7R/GzPQwn+PX16v99+/fBo3VCXYB3fZ eE2ohOaivgM6xi/bh7OycIHvN3oYDHYErYytqGJixkr5w59r57cxveCMpQgdviA= X-Gm-Gg: ASbGncu9yXyNDXk22E0p96SxfLR/FX3Pn1021v9ySyVpOpzbX0i+ZuCrExmSMdBDp8z lgkBtrtktyYSqmbgJp9YSAL4++Bf2//aIkuUbtdJcVCawQJfuXx/oU6N5CQmzMYJv4gLb7APZWv 2+PdKstXBU/ccEDkayPTDrilVSQbD5bq3VQ4PifWUyu0SrDgTJ+5r0fXPHvKTQ/nS9g88DKlESd QcxPcRLY6r1vUw5xURsSBrfLFmCglSaRC9W1fnuN7+2laYrjtwUWwCsPc4a9RIHWkKfUC0GQWO9 0QD0LCNCVYUJFss7PBvKBntzvF/7fJuJk7s= X-Google-Smtp-Source: AGHT+IECmYP3SjonjrfaeQPGWit3y+M9U7cHmSeJkMMAtjCbnPOJUL/PaAkD08+LqlcqZzBhgLpMMw== X-Received: by 2002:a17:902:ef10:b0:216:53fa:634f with SMTP id d9443c01a7336-22a8a1d4617mr66236245ad.48.1743792921190; Fri, 04 Apr 2025 11:55:21 -0700 (PDT) Received: from x1 ([97.115.235.21]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2297866e4c2sm35763515ad.199.2025.04.04.11.55.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 04 Apr 2025 11:55:20 -0700 (PDT) Date: Fri, 4 Apr 2025 11:55:17 -0700 From: Drew Fustini To: Michal Wilczynski , Conor Dooley Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, guoren@kernel.org, wefu@redhat.com, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, alex@ghiti.fr, jszhang@kernel.org, ulf.hansson@linaro.org, m.szyprowski@samsung.com, linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v8 5/5] riscv: Enable PM_GENERIC_DOMAINS for T-Head SoCs Message-ID: References: <20250311171900.1549916-1-m.wilczynski@samsung.com> <20250311171900.1549916-6-m.wilczynski@samsung.com> Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250311171900.1549916-6-m.wilczynski@samsung.com> On Tue, Mar 11, 2025 at 06:19:00PM +0100, Michal Wilczynski wrote: > T-Head SoCs feature separate power domains (power islands) for major > components like the GPU, Audio, and NPU. To manage the power states of > these components effectively, the kernel requires generic power domain > support. > > This commit enables `CONFIG_PM_GENERIC_DOMAINS` for T-Head SoCs, > allowing the power domain driver for these components to be compiled and > integrated. This ensures proper power management and energy efficiency > on T-Head platforms. > > By selecting `PM_GENERIC_DOMAINS`, we provide the necessary framework > for the power domain drivers to function correctly on RISC-V > architecture with T-Head SoCs. > > Signed-off-by: Michal Wilczynski > --- > arch/riscv/Kconfig.socs | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs > index 1916cf7ba450..83833ded8908 100644 > --- a/arch/riscv/Kconfig.socs > +++ b/arch/riscv/Kconfig.socs > @@ -53,6 +53,7 @@ config ARCH_THEAD > bool "T-HEAD RISC-V SoCs" > depends on MMU && !XIP_KERNEL > select ERRATA_THEAD > + select PM_GENERIC_DOMAINS if PM > help > This enables support for the RISC-V based T-HEAD SoCs. > > -- > 2.34.1 > Reviewed-by: Drew Fustini Conor - would you be able to take this Kconfig.socs patch? Thanks, Drew