Received: by 2002:ab2:5182:0:b0:1f4:61d5:3ad4 with SMTP id x2csp63621lqi; Fri, 5 Apr 2024 09:48:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVqh2S2VPdvVdVb0FcPhNXC2FUQE63Yoh512MjcX360pnffLhJo7KfJwBsr91JdK4bn9pk4HyZppYVUOKqrKwpBhzA0kenJ5yFqDpvT9A== X-Google-Smtp-Source: AGHT+IEMi2qfC0YeYv3fMTB9wnfoTyb4t3GxFmz3NKPl5LaP5V3F9a4qJqJA4EIBLVYo48gUOFAs X-Received: by 2002:a17:906:f107:b0:a4e:6b81:49db with SMTP id gv7-20020a170906f10700b00a4e6b8149dbmr1185468ejb.8.1712335697442; Fri, 05 Apr 2024 09:48:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712335697; cv=pass; d=google.com; s=arc-20160816; b=RRODSrR8ibSz+4EtrGTzWxV+8Z3yKYFKqMpnHGSkX6mlqIkiNHDzyGc4vh42rO8+wf nVNJ064Zw2Ju5iYfilqtVIGuKtuRVk/wWYRN4bQQETqiAvQG3VgVNbLtQ/w5iR6rsFtF dtzR8gIxB20jIYVxqT7+XRSOWsZNJkvsST9PJBYoW0+gD4Vt0RO96oMh27ZWFOKUYwyQ NUDERZqNH9I2cP5f/8szBfIDozvpjZVvsclYqERZJ0SzxfSPzfgSb/+jyDPiUiiklV8R OxrOeYaJGqzT5/yifrbgX4hidolc3ER/mYtQmmuVW8MgG8KTYb+VUAjxx/gclegEfbog Mgvw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=foR7bmaRUcq8x5BtLYzCdRDc3wu+vH8F2zTuBsXYaNc=; fh=BBfCm3LWLoh/93yyP9HRBtglBmMZEBah6cfM0O9JBq8=; b=tLTnGvUkS9JvZeH2VvTugs+zzD6luf/1TcjdX11wPczi4RcFhPzkZfl4/cGM84+sLf 3qoWYNeoBhFmdgYc6I4Zg2k8fM7rOHwyyrSLOFHLyEoBoCh+BOEuvpXZvr1u77vTppdE 5Tkd9c+Mc+rhLfw9QvqcZIZxiybXlKVso+V+DeARNcTSLpJ4w+h6Bw1W1SP8Z91RY3jY 3GyxLwMSggMWLkS4YDY2ydwvHxZYIhhR3HpMtoVu11rGHibTp/TDcqzJ7Lv9+8yDPK8s ufAR3cZie/nVaM1ZFAKZjip1UHcefMDdnjSoz+gqxrFj/YR0Ua7mkZWzmLqq2QjCD6ol k1UA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@dolcini.it header.s=default header.b=t33EO4xO; arc=pass (i=1 spf=pass spfdomain=dolcini.it dkim=pass dkdomain=dolcini.it dmarc=pass fromdomain=dolcini.it); spf=pass (google.com: domain of linux-kernel+bounces-133362-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133362-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dolcini.it Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id oz15-20020a1709077d8f00b00a475301bb92si892880ejc.920.2024.04.05.09.48.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 09:48:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133362-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@dolcini.it header.s=default header.b=t33EO4xO; arc=pass (i=1 spf=pass spfdomain=dolcini.it dkim=pass dkdomain=dolcini.it dmarc=pass fromdomain=dolcini.it); spf=pass (google.com: domain of linux-kernel+bounces-133362-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133362-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dolcini.it 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 am.mirrors.kernel.org (Postfix) with ESMTPS id DDD131F21D13 for ; Fri, 5 Apr 2024 16:48:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A569D171652; Fri, 5 Apr 2024 16:48:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="t33EO4xO" Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (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 2F029163A97; Fri, 5 Apr 2024 16:48:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712335690; cv=none; b=a/+9i3g7LrMlcS7AKcFSMNGDR0yE70VUcDsVhmvV7l2h2CqQ2Vfu4hdd64IH7EE3o2dG49oVM4+OteQbz8tT9C+uOfuunnkE5+yZljl5TPQGGU1s4R1OnY/cnRafGFYPYLkMW6Rs9D/7ovT+GYb69iY2qX8mJl1H4llKCRBAXQQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712335690; c=relaxed/simple; bh=Rca1o2FBhj6lgrKzncw2lDGKtrVSO+XtFw9fsH7yT8U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lCnTyj3IpTPpSWfOFz7tPACZ+8zE5UP4PAHcoDSndy3VWmpgE/hqBD/UwoRf9nun1MkrfxLNKND5SSmZlEY3bfk6RE4AX3KQ5QjGLrAJSypsNU8zATl3/RKDShIYoPUfLZ33PQ9o4wfUzPneD/QKfZERh9MkLvPs/FEyNPlJXik= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=t33EO4xO; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Received: from francesco-nb (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 822EA1F8F7; Fri, 5 Apr 2024 18:48:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1712335684; bh=foR7bmaRUcq8x5BtLYzCdRDc3wu+vH8F2zTuBsXYaNc=; h=From:To:Subject; b=t33EO4xO6wGe8mGOF++zT32IG9JaZc9pURFgkQmHbtI5p+AIE4VSEK76Hl3DuXXEP RK8ipqm4UWZRHEahyGwrUoABCK+hRDPkV3o7HB2xc9e2uf7oNLIE+sDiD3rIpcY5Go L3DRcwm/E/WkS+wOWrE/L0tCd1/BLsp2Kz+I80SbJrSVVPbWHysX1xgPMopINFmWqo B1olPRSGsUQOfBtDH46HZf5bb7kHvbEMVS2L2EvU3Z+OUk8fPQu2pprxJnXHqyZVIT Yx+PLRHeE4Ey0P/2Wziw7mXHHyGcTqiz4nCWHv5g25A0TvRnBdiMO9+329TWhB/Bw2 J6hwWy18bIyPg== Date: Fri, 5 Apr 2024 18:48:00 +0200 From: Francesco Dolcini To: Stefan Eichenberger Cc: robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, francesco.dolcini@toradex.com, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Stefan Eichenberger Subject: Re: [PATCH v1 1/4] arm64: dts: freescale: imx8mp-verdin: replace sleep-moci hog with regulator Message-ID: <20240405164800.GA5994@francesco-nb> References: <20240405160720.5977-1-eichest@gmail.com> <20240405160720.5977-2-eichest@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@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: <20240405160720.5977-2-eichest@gmail.com> On Fri, Apr 05, 2024 at 06:07:17PM +0200, Stefan Eichenberger wrote: > From: Stefan Eichenberger > > The Verdin family has a signal called sleep-moci which can be used to > turn off peripherals on the carrier board when the SoM goes into > suspend. So far we have hogged this signal, which means the peripherals > are always on and it is not possible to add peripherals that depend on > the sleep-moci to be on. With this change, we replace the hog with a > regulator so that peripherals can add their own regulators that use the > same gpio. Carrier boards that allow peripherals to be powered off in > suspend can disable this regulator and implement their own regulator to > control the sleep-moci. > > Signed-off-by: Stefan Eichenberger Reviewed-by: Francesco Dolcini