Received: by 2002:ab2:5182:0:b0:1f4:61d5:3ad4 with SMTP id x2csp63867lqi; Fri, 5 Apr 2024 09:48:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVn5weOkBui4f64tULc/o650yvINMnBD6rKF6NoVrk7G8YvziB4rMx7QtxO2F6qGIEUoCqKhoOm6P0coHtsVhMqNeeEHuXwToqhxHPL6A== X-Google-Smtp-Source: AGHT+IFN1M9XjbpAmJgjPa+8HRcJeHkSJNBXHmXLvV9ldHh3GIRO/aidiplQguE9V5FbcYS1fBhK X-Received: by 2002:a05:6102:5120:b0:479:dd65:b86b with SMTP id bm32-20020a056102512000b00479dd65b86bmr2250122vsb.31.1712335720702; Fri, 05 Apr 2024 09:48:40 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712335720; cv=pass; d=google.com; s=arc-20160816; b=Ct6mCIuQdE3EGCE8kUIdLNVv6hyekvh9ZrfZCLPyG02Usj7P9ejXKP6gK+5b40B08Z peM6yvMFBS98OTlSOJOTzNE8nPhiYO+dvRDNG8ptBREHamxFH5P2YboyIRp8JuTLEwaB 4zrhESn02hLGXPoI9cfboRKKafAtsoS9oKyjyxqvccLr3R5fZlbBST2xzHZOoTXPQbp+ qX1hrLCq1oounPZrSAaRP+DYNnVn+WMnHH+EoyqOCz0q27STS+F6GJ1HOG8OrlYdkG7l MmDKqmLUtpOJD/ZOU8JmAcUkhc6OnDpWkr7yCu6TU8ZzANGxux9U71rcHV9RFBO6sERG YE6Q== 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=hlfps7bjzQHeLJP55InKnvxxZsK4HvjU/VrN10ewGE4=; fh=BBfCm3LWLoh/93yyP9HRBtglBmMZEBah6cfM0O9JBq8=; b=gUda4KujDqisDhbdvoGGUZonOnL2rvLSArfJLD1FU9RO5EYZa0HXM1kNGVOICcWVoq 6aZHGHDei1LRIxzjB6rgjMJu7z7Cp4Y2/qKbBY5OhbV1q7Z8FD5ol3IWljyJ5uLpa/K5 lDuhMnb3H2KXlSedcQNQcqJW/s24gPRXWVbaOMDdwTgeODYv2CkhmFilxxCEI5RToGsH o0eKlz3hR8oFnfkW5RHz4TEAwWRUYVPHTFPo3VH5G4wj3VinkHuhACJFdqeE4KKVCLIf +6a0myzhomFX/rBJ6TX+WgEntOfYrqjZeffwMLJHbPhh46btYsriAvZHpE3X8TQaLjG3 4fZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@dolcini.it header.s=default header.b=TDe+wZiT; 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-133364-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133364-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dolcini.it Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f28-20020ad4559c000000b006993bf4b013si2163122qvx.73.2024.04.05.09.48.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 09:48:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-133364-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@dolcini.it header.s=default header.b=TDe+wZiT; 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-133364-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-133364-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 258E81C20DC1 for ; Fri, 5 Apr 2024 16:48:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0E93F171668; Fri, 5 Apr 2024 16:48:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="TDe+wZiT" 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 36201171657; Fri, 5 Apr 2024 16:48:19 +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=1712335702; cv=none; b=IVTKzP0sOzFnjRDEsDP+gcSMwcJIJLAdfQU7R49jzNVLpVPR9czZrGU2Cgy9nZoQJoAlRq2WpoWkihBrdbIGgHc4fuT4f+ASIkliR9/2OvYBpE/X+dSVxJvMHfl+SmL7RZNz2npdw3eNRNLtCb4qwZduS0bFy5fXZvjqUYhYpcU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712335702; c=relaxed/simple; bh=KDqdUluM40o2fzI058Ag48OzZtWO4/ZJ8Ed3fjztaxQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QKOvDGlkT4CuSt+ZmsZUrYjHebDQw8y6fkv5LJwDYtvaGsJ+wfhrOZiIscs9Vn7jG95p27I+fsf+55x8GwydT4AWp384YtTRF3sqRIo81RwmDwRLpyHXVuNqn/W4nXtVopEMI9HFmg4TFl7tkc6NyRIPBjnV1afGQ9410aIe/Bg= 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=TDe+wZiT; 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 DA4EE1F8F8; Fri, 5 Apr 2024 18:48:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1712335698; bh=hlfps7bjzQHeLJP55InKnvxxZsK4HvjU/VrN10ewGE4=; h=From:To:Subject; b=TDe+wZiT6n6AjYZKFG7qJ5YzhTzB3I4YwhAkmkBkgNwrza5LG3G9QZGwlbMo81cuq QFr0cE+Rgf5Gwsc+3Bd5jji74GDzFB7pAUuaunxfWlP2B0JXZg5FL2xl7MN3Sqsxa7 E66O+YfHSgIl/ss8fT8A/6V47YWfwmtSGP0W7n++qL/lX5XrOb/WNYaqoNAgliaqus NSuuPtp/cZLvDanYPyRBtbLYHlwdaXtIuRG725S0mrbW/hTEgGkQkFDSYkIe7JP5SW q2d/J5T66CLOA470uph6G/wa/FtXgtLZa+iWYQH9PWrKc/6CDcn1NCwkkbx7DCY124 se6VYbEscPc9Q== Date: Fri, 5 Apr 2024 18:48:16 +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 3/4] arm64: dts: freescale: imx8mm-verdin: replace sleep-moci hog with regulator Message-ID: <20240405164816.GC5994@francesco-nb> References: <20240405160720.5977-1-eichest@gmail.com> <20240405160720.5977-4-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-4-eichest@gmail.com> On Fri, Apr 05, 2024 at 06:07:19PM +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