Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp1460713lqh; Mon, 6 May 2024 08:20:06 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW7l2XOpHmQNh+iFpqd3XWhk1EbbUN3kvTpVScVVcoXd5mW4swMKt6MhwaEdk57bB7IW/xvvQiRYxUryimN4wkM86JwQcnmsVu1At/WbQ== X-Google-Smtp-Source: AGHT+IHJnF1WSwb8vCIdLoUl1nlVb4HGole2LZJ/1BPeuDY3qSiYjRViWNnjRRUZ4OpMHkqBcxpo X-Received: by 2002:a05:6a21:3513:b0:1aa:965d:1332 with SMTP id zc19-20020a056a21351300b001aa965d1332mr16500239pzb.26.1715008806352; Mon, 06 May 2024 08:20:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715008806; cv=pass; d=google.com; s=arc-20160816; b=fBtd/GA1fqq5zDV581KBkm6jr3Hj2VGOw+Qttv0HlEul0tlVZ5IfLjYWAmQP/c4Sr4 TNn7XF9LKSBEpOxE/2x4tz5WlJ5GhACQ9o7TqBxMqP/4RrXNA4lX2+qHEtMKG4ojUdr5 ILmaZUdPwDdVKwc87JBJtMQtnSVb/ZrbQ7nIdhRf6AhP4KMmKlKUGBons4sKDtWxBFCX LP7Z98UTyyKOQu2NpEQwpeLzjHD+1ykxiJaIMJDVUkZGleCrjh+a/PRfu2TbECwLU7lr VdPwK9e40wt45IN6cWfB3edLfKwySNODJpU9iX5dmXHCwyzTY1Hia6BXNM6IYSl7Ykm7 iVqw== 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=mrbcCFis4XlBBjVq6n/66twUbNtAKOAsRsiqPDjUdQE=; fh=QGJXzpbnQoRTf+//Ljm+sVRZbG1G7pRrM5SsEzhz0+s=; b=VVRjOY7nj5vPhWkLj+1yuiwkJbTTkFeyS0TPQ1+KGiQQvUhBZ/XfRa8cpWSe7iApZe g6+hlAYOm/PYHNma47f3mZw6Wo7eqr3bfqg2BrYMRoEU44sPPZhU22EKtrDPBouIQC/+ Hb4MiMyV6lmQAerlInSi2gIMpe7/S3OV/WwDTNAFxsmkT+Rz8x7VpaIuujGQ0KEbkj6I vNNlvVI1RgP1gfroa/ieL3ffiLMi7Tf16lAlkGFZ3LnJX4Z4jldTR/A6p08aKsz6ks1B fQOR3Fww9DsUb2IjVhHswQ5k8OKAtl7/Sask8xlpbIXoKveDAIJqKeuBVKOiffhYskUc UD8Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fE3G7fAP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-170031-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170031-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id t15-20020a63b24f000000b0061cea38f675si4402324pgo.6.2024.05.06.08.20.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 08:20:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170031-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fE3G7fAP; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-170031-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170031-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id B0643B22E78 for ; Mon, 6 May 2024 14:58:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CAA1C153BDE; Mon, 6 May 2024 14:58:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fE3G7fAP" 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 F3F1E381AA for ; Mon, 6 May 2024 14:58:31 +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=1715007512; cv=none; b=iTBmsOBNWP0jN9Jz20s0/tepBNUNf1/u5Eof9Ws69ZM+Ha2k+D3olUKY1Uvi/W3mdLH8DJXkM1IIIg4yRkpUiO6776j/Z086AJ9ou0/3vMu5WzWk5ilyc3avyqHo3q1MawQA6L3qGwl6pHjwH5f0U3JsP4XKxxN7iCv9M6uqvuo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715007512; c=relaxed/simple; bh=ge+5UyqIPPPc8xOgZDQDDjgrmpqqaD74dvE2knrvQCc=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=e2yANnQ4/LgZuPMBCQ2dZTKNz0UmYYUzsK11s4QpFZrIaJdvce2dibsF6TdeFs79xrais5SRsFLjHocCgMSFC1kViMCih04GvYVv6EJrSW9gUB4nrB8P4NP0n+ZuFXFkyKj7VclS7J1pJINqU0sWSYXotTjLIn2loFd328iXxDw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fE3G7fAP; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F6CBC4AF63; Mon, 6 May 2024 14:58:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715007511; bh=ge+5UyqIPPPc8xOgZDQDDjgrmpqqaD74dvE2knrvQCc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fE3G7fAPpUQxLbiRQLTx/79GDCNnCk5wNq0uJ3kZR9YZi1lkvfu7pcVi+dgXBIR+P njbiLrJju2LThF44JoBYIiRj+x/liV59lnUySVocRZuRCjtGgQd4NDGKwM1VtRboDq B9ZmccaJDqJj+80qLC0QaLjeyuJRFft1864umoRi8IcnGTVIT5q9xMhaxvcnWJhPh2 tHDQYdCYpxslnRPxYDfLWPJPsFjWv1sRi19YOGiZS4P1M/lgEXGHDLPFjoOan1j3Xp 2LUWejgoZLat0Yg20uRpmKoZt2+9nMKg/vi5BahmBzTJEphOe1lqsAxSC5yR4dEekL M9zqZfSF7Gvcw== Date: Mon, 6 May 2024 23:58:29 +0900 From: Mark Brown To: Alina Yu Cc: lgirdwood@gmail.com, linux-kernel@vger.kernel.org, johnny_lai@richtek.com, cy_huang@richtek.com Subject: Re: [PATCH v2 2/4] regulator: rtq2208: Fix LDO to be compatible with both fixed and adjustable vout Message-ID: References: <20240502073029.GA4055@linuxcarl2.richtek.com> <20240502092614.GA31518@linuxcarl2.richtek.com> <20240503073536.GA12846@linuxcarl2.richtek.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="NWYZTbv7SVE/Vla5" Content-Disposition: inline In-Reply-To: <20240503073536.GA12846@linuxcarl2.richtek.com> X-Cookie: lisp, v.: --NWYZTbv7SVE/Vla5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, May 03, 2024 at 03:35:36PM +0800, Alina Yu wrote: > On Fri, May 03, 2024 at 10:41:04AM +0900, Mark Brown wrote: > > That's a substantail reconfiguration of the regulator, it would be > > better to have an explicit property for these non-standard fixed > > voltages rather than trying to do this using constraints, or at the very > > least have validation that the values being set are supported by the > > hardware. The code should also be very clear about what is going on. > May I add the 'richtek,use-fix-dvs' property back ? It sounds like it might be better to add a property specifying the specific fixed voltage rather than overloading the constraints for this purpose. --NWYZTbv7SVE/Vla5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmY48BQACgkQJNaLcl1U h9D0DAf/RuCsPm8RlbY4B3VwnIhIqwY5eVOgY/7xtH1X5VaqtD4f/b+Eho2MduNW 4rlRWmLei3uDTCweT84Eby8IM6Sc6R1iubkuoHWx1PCEI6b6g+t5OItYU6FIQ172 lMP7MkYrXCOlijpc1CkkRwerQt8++nI133+bBO700hS9ZBOzCf9/4homcJ4akgXu JS3MAWA6R4Tl5JArwHroznZYvFuy4gZv0YkTOzojQGNWsCNbdERIpI2VbqCiT2WZ flqkFLav/N36bXpSkoR5T2FCa5E7yWrOJzjKA5V09thwOWWAAEHkl3n1cfNmROMI ZvYxIeEPx7V9SxA6c4ZzR1BLzJq/Ug== =8mGb -----END PGP SIGNATURE----- --NWYZTbv7SVE/Vla5--