Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp442693lqo; Wed, 8 May 2024 04:53:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW1y0UZ0VoAZpbSkxqOmquIugL+LSqzS4blcN9cB3nOiRNoaLP1CjIOInFjFn5HjHTC3CC5uE7dm03uYSbhMEOv7rlwvKfkSTt3pCfJ0g== X-Google-Smtp-Source: AGHT+IEFtcphDD6b6Y4298A0uxG5bIkHyvRKRYLxF+gMJ9dkBxocx/XGHORtEDfhFlwupyYWdFTF X-Received: by 2002:a17:906:16cc:b0:a59:a356:3f6d with SMTP id a640c23a62f3a-a59fb9d6486mr155087966b.54.1715169231121; Wed, 08 May 2024 04:53:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715169231; cv=pass; d=google.com; s=arc-20160816; b=hKPHWN34uym8A0AFj1nWXxEJlV5gPzTuovDtZ3GlkNG0Igirw/nx+deMiYzCteiXOC p/aMfB6niYSbN8qXmmm+gX6jyAYlX18F5JbHGTTxXJlh7xHV93QnesdW6EWRW/TYKQ07 5g4jTkeYujh6cf6pGKg01fbsu7+yglreequkuCoJt/7y+PNGKRNWKGkjRWFIfjvagBpO tw+PQJu8jugyU3d/jjh7R+rOuqz14SNfntLLlOvw63F7losOuf6QrIMQzv42eASvt992 eQ4JM5SKX3kw1YMJA/1prO8p0TJ254g0cUzKNE0wmzpDlCrv3VxfN9x7QNDZKfpOuuFO vigw== 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=ACyH3QOjpkEEKYAPLtvJz+pZ4/IjTaNeEmjzkx+WSCM=; fh=QGJXzpbnQoRTf+//Ljm+sVRZbG1G7pRrM5SsEzhz0+s=; b=T3cU5FGHRUfMPn8WDtMG/dqUgZWMFJnYTYL2xcBGyPEiDVNVo/Fb5ZGRhG5LzITrkV TJTUgF4zHVrIWH0C0jmNz3xhMUfQC6gvVngBgD926ELgKWfwDJvG58QWqhMs9j0sqGQH w1/aF+EnbNBAmHOoOLwgawG4yL1x67ub2li+AcPpuXYcgKC/9shmB4fyrIEVEFy9RmMN KB6jq0K9vpj7pjOO6WThli2ddpw+pVWYtRlIrCjlsjOrCwnexyupUCweblpZ1ZvJvuWc LtB+hAEQVbAvXJEEFr91B+mHYgmgonFpsH4ajzhgtj4jzn0KPBNH90PCWhtFKD8GBag9 ty3g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G6VCsAAm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-173183-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173183-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id t10-20020a17090616ca00b00a59aa281e75si5077021ejd.772.2024.05.08.04.53.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 04:53:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173183-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=G6VCsAAm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-173183-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173183-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 am.mirrors.kernel.org (Postfix) with ESMTPS id D3A241F22219 for ; Wed, 8 May 2024 11:53:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E636582D98; Wed, 8 May 2024 11:53:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="G6VCsAAm" 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 1B0A9823D1 for ; Wed, 8 May 2024 11:53:36 +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=1715169217; cv=none; b=tKQWg6lWTSub6xmxGEB7QTtljPoiL1ZASiIx+xxK2MDgv0698gtyfK1QDj0An1laIouI6SJFX3hN1hV4o8036Dpum1b6NOIdsRvMnTpnuZM5ru+Q6ib9hcTktXYmLBc4KxA4/Hj1wAuWFTy9IsXZu8VC8+lGoAzbMShpVE+YwVQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715169217; c=relaxed/simple; bh=hYwn+JI3hSrV50VTfmR6XV0Ay3DMP/xwKfK4TzcbBFQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=irnrXfo4soo24TPvIFE/xqtlTcE82Bds/ZwgO6hcrkkHF6I7lzrC+GmyA/E7yPVFNa2eZiKE7b++thQ3r5WucZjGIOe6o3f4n9V7np3Q/Kq4jZ8hc11vs78dKhO9GX+5S4JEvOoU//JMXxkutilTmmHjO6OWI6aklm0csl+iNDk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=G6VCsAAm; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3F62CC3277B; Wed, 8 May 2024 11:53:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715169216; bh=hYwn+JI3hSrV50VTfmR6XV0Ay3DMP/xwKfK4TzcbBFQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=G6VCsAAmBEfWQLdNhiQFeJ6vEKrVRN5tmq+kb5I3MWPg3GFOLaYVWAGEgFkX5Ye64 vOnpV7tyk1mdhwHk3kiH7i5ys+Q9km6CyFSOkhH8lxmFshLQfzCSYzCCNQbnoKBBFw 68RDN0eUWsRIkWoXVb69ukGEG9DdfDX/ukPPawbXnPcKabHgnCc3XT9yeuAKnLWZRk ONIVHK589AIF8B/wFRsX9O/9Ni9OGLLD08b90OZ3uHHQQXPn5O5kVJvxlL008Tv7he CUvTD/OOrQ6zCumarW22kFgvu2M3rzLApki0b2LaR5W7GwALtzW3RErBIEOUO2nL3H GzmJ44I4e3cZQ== Date: Wed, 8 May 2024 20:53:34 +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> <20240508065402.GA7462@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="mtC14iJaOWxhpsjn" Content-Disposition: inline In-Reply-To: <20240508065402.GA7462@linuxcarl2.richtek.com> X-Cookie: Accuracy, n.: --mtC14iJaOWxhpsjn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, May 08, 2024 at 02:54:02PM +0800, Alina Yu wrote: > May I modify the code into this ? > I'll add 'richtek,fixed-microvolt' property in dtsi; remove 'regulator-min-microvolt' and 'regulator-max-microvolt' > to prevent fail caused by constraints->apply_uV. Adding the new property seems fine. You still need to permit the min/max microvolt properties for the case where the regulator is in normal mode and can vary, you could write rules that ensure that the constraints line up in the case where a fixed voltage is specified but I'm not sure it's worth the effort. --mtC14iJaOWxhpsjn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmY7Z7sACgkQJNaLcl1U h9Aquwf9H+G8Hr6XIT+TdTjeWbKbmYnY5RaWfJdxK43T7eNU/oHJdAsLluk2/pVx K/fkI82xYzAFuHBcOolpKy3Vxp7tMt2W3+edHzxSQWr+wWcJLlHWEpSWHrfjxMA/ 1rCfVnpKZPZUJM+3CShDOHwWdwEtGQMEtH/+GTjxl/DJV3UCybGBQq+1O/0QPg0b bXSFJtrpu56D5ePvApQKSBvrE6K9KPw5cgRh8/1SWLOIvQZNOnc5WybUuTRt6Q4O IAJiS86ZvbvHOq4jK0dSYOzmRXjSknDrb2qzaQKCN4k7WJ3bWuwDm5i4MRUgITUI qnqEDr00RhOleKjbf4AD4YG+GO7z2Q== =iHZI -----END PGP SIGNATURE----- --mtC14iJaOWxhpsjn--