Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp448430lqp; Mon, 10 Jun 2024 08:49:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWZgpIvG0M+Yi1gy4s2v/RRnqM2P0AdR5n2XZOQLMGe2hc7OTm0G1Skg/v0OwUJoylFBhp7amzPs3ggY7L3DLWTpo6/IKVF8B2tZL7McQ== X-Google-Smtp-Source: AGHT+IEXnm0erja9Zj03tbma+FNTwFsf857h5C1TALpGZsmq8SOL6rFPPL+pB23EkfhqXBG6q+Ax X-Received: by 2002:a17:902:e802:b0:1f2:fbda:8671 with SMTP id d9443c01a7336-1f6d02d6275mr104496665ad.6.1718034588031; Mon, 10 Jun 2024 08:49:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718034588; cv=pass; d=google.com; s=arc-20160816; b=frDSZK2YLauGbqKZZaJrqi6MVIhsG9w6YGYZ8MlvgiIldwkA+P+z9+UIGfyTmgoe5P uvAzFYxKnAHZXuddH2VMsky+22hXvdHXEeNye3E8o9H12PA64emhI8n/oe3Sx+IUMyFc z8ulmWPtd9lN3hz/o8In7M2u9vHFYPLKfBZjQheh7arWFsGIgWY3oCdTO/6GwMiULWw9 5ABeq4ddIGDFwrvP8prhEzEjM4sR1Iy/74ujDb8xplhjOuBs2+R8gDQCsB3PxcE30rSs wO/CtmJGWDSbhweC8x/SbQctkkFvsQLyn+PoW9LiQ5XsRsZiWdCLz7izdAS7C/yIRiQ0 P2wA== 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=38t/JExcQpwmA9V33/BHVXcGuwHyn8JHlJSnIUEBdLE=; fh=qqt4WrDMdgr14dZtzvzZvCBIGcEoRSobE0Fz58jcJmo=; b=Y8l5JdtlvpyMorLe+w3OnFC9K/w8WBwnkfJ26Rv8QWL1mjih/gcEZmwNUBq5Z+IyrG p3BPNwfSmwTMRhtEl6xkOMHi+Id1vus5JFQ6vnFkusF17oC98PaV7ZQHp60Y1Xv2jy0t /JhUtN2pRr91S6gaoc35GRz5iloLGv7zKkfFircwFteo1ptgMRDALT37mgD+Jvf/sJ6M 7y+VRPRFtOTCxQCnsnyOwo0gjZkjkoATPqjBKVeO/A6yaelmRs9pUX3vW/7RnoR3gv/Z MobsIXSvhzTMzoQoI8xv693Ogou8qS/AkRYFDxVUxqVoo+p4U3WVNqQTAcrs622ocxMb UZuw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RPXxitam; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-208506-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208506-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f727e86c8bsi1250755ad.443.2024.06.10.08.49.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jun 2024 08:49:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-208506-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=RPXxitam; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-208506-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-208506-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 E7ACC2862A5 for ; Mon, 10 Jun 2024 15:47:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 358A113E8AE; Mon, 10 Jun 2024 15:47:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="RPXxitam" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 62CF912F5B3 for ; Mon, 10 Jun 2024 15:47:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718034446; cv=none; b=D24BdDzfz000R9+OEdfNfWPJP6kKIeFDmLysn3TUhDYAsuS+oGTYAxlvzkgC9To7S824+b/ZDHfGRTXYyKII8c02o6bsdiTVnK+erZop+Z0rrtBI7izq4AgpE+AjJXgOdYqXM0peBj9SeOGLi/iyLfnZl+EvlTvYNJFA44edEqM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718034446; c=relaxed/simple; bh=38t/JExcQpwmA9V33/BHVXcGuwHyn8JHlJSnIUEBdLE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=XrxILJp3oLQoS4tihp1gleCHoJ6+g6EN2INju3yMLKSDjwlclz0H9aL6rDDKVhvN+YLQcfrQyLE4Axd/x7Ot3upQwqVIueNWCqyg98tPH8770fqSrvihRLVso8BrEFC/14xq6C3m4z6thumRxCgYSNTfeN55/77EO9NuxZprPhc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=RPXxitam; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 694B3C2BBFC; Mon, 10 Jun 2024 15:47:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718034446; bh=38t/JExcQpwmA9V33/BHVXcGuwHyn8JHlJSnIUEBdLE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=RPXxitam7LTKlI1ll/Q9BA9FjLPW0XLN9HIsnJ9yF6BOxmLMWgGp9e3C2QwBaQmEF NKLcO1C+/A1U8zP1P32m3ENNpB6dXWBUloo0THF525QA+F8zDIm3NtT0hVtGLTQvYE 7m/8uXRLqnpZ/deX1CLRjGsyh44S/VopN2Upff7xenLiqXoFWgUQX97IXmwdNA+0YT YlEswTMihS3/eIbbkum7MKBA9Ot7DnvBExmA6JE1coCogt/X91YylOUzgTL7F9nNnk JQFZt99WL+G25fQE0qp82giA5jB7yvOHeK2iDBd+/yu5n6277cqnFXqX1AhOjSrny4 Cj6ooLJZ5w7TQ== Date: Mon, 10 Jun 2024 16:47:22 +0100 From: Mark Brown To: George Stark Cc: lgirdwood@gmail.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@salutedevices.com Subject: Re: [PATCH 1/1] regulator: core: add warning for not-recoverable state Message-ID: References: <20240610120025.405062-1-gnstark@salutedevices.com> <20240610120025.405062-2-gnstark@salutedevices.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iidhu6ORF0fIzF/J" Content-Disposition: inline In-Reply-To: <20240610120025.405062-2-gnstark@salutedevices.com> X-Cookie: Your love life will be... interesting. --iidhu6ORF0fIzF/J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jun 10, 2024 at 03:00:25PM +0300, George Stark wrote: > If regulator is always-on or boot-on then it's expected to be on while > being probed so add warning if such a regulator is in not-recoverable > state during initialization. I don't see that these regulators are especially magical, and IIRC we have several cases where we simply lack the ability to read back the configuration at any time so expect to write out what we need during normal operation. --iidhu6ORF0fIzF/J Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmZnIAkACgkQJNaLcl1U h9AIDQf7BA+yQBOoO5J91E4VKrU3HYSmE3MJrth7vuSVUXHjbG2HLRNt0aTzvjUV dBAMAabfB3DG6ELBbduuA5hmfrOHCdI1/bbao7pAxXn1SxKVmGr+FVsUKrx0ZSAX CwNwyJiqUuV9kMb0JYgmyh8q9okQBH06BQZwqNc6/FGmLyhqoEz9cU0s4qeMGXrC J3IFHucGOPYWVw3aez5Lai1ZlogJp8aHW7p5DnQloEYyoUQ/2mxNxn54tna3fGqK rG10J+gD8LxEWF0fb/NehMCLSQzz3nMS3tIFbt+2oGJZ7BLDqByjBlXxaT6u0Ptm DWVxDI+ATGfoOOekkBSYniiQEI8Bjg== =PCcP -----END PGP SIGNATURE----- --iidhu6ORF0fIzF/J--