Received: by 2002:ab2:7a09:0:b0:1f8:46dc:890e with SMTP id k9csp103642lqo; Wed, 15 May 2024 08:51:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV3lf8+X9RDo/mLoO51l1moW90jKgV3ympXqPXTUdKnXtpsY1uLk6DYS73i1jMJTFYrbITxyZyhoa1vJMoyn/RcyybL7S3j2O1QJETH/w== X-Google-Smtp-Source: AGHT+IHQdKmw9in1mWoxLAW6FLjmK1mIvLgAiplJBGVLHZKyGkyNJaxpab8cW5IZr/tlygpMJ9FR X-Received: by 2002:a17:907:9625:b0:a59:db0f:6bdd with SMTP id a640c23a62f3a-a5a2d5d56b7mr1295145766b.44.1715788304012; Wed, 15 May 2024 08:51:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715788304; cv=pass; d=google.com; s=arc-20160816; b=TFFCxbexxKn1RePjAvkntRSPcm9PXBwfnt+ktzR2YxjtXW7f3yzhjhWXQ7KKY51JGu K65m4X9rtdp6PTg+j3LgFgncohj5LaBy3qgvpE8omHdY+339nVC1VDQLf6XonmDqwNa/ dOUeXI0u4VfwlGf2EmKlmwhuPgbOLAM/Or4IwyWj3V3wkHGxywMmvImvNgZ96KGtQ+Wx qASkT4Ay0TdAmf6aml9ggWATQP0x7SsUJB+GuTh7GaYA8eBfnKIYG9y3845Ch9LLl2lA BDPhHJxRNHkazGZMTXkKjuuewL5k45AFQcks6n0RvlIC8M9+LFwJTNF62OXFSkulEoik KmNA== 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=rwxGiopvg3Xo5kwKVWy/hywYRfQmrgsJ/3Tu74VrcKc=; fh=taI/DOZpM2SjAbCg4+ElZFd+2C+a8CKFUV4cv/uJXrs=; b=pMTxUkAIJ/c7M89S1qcAbKHkNw0XiiD/ob2MW99EQ8hhJfirzAf8i/XuPlTVxQINns F5q4IKVN/Ta1Yl31CmHnBz4Slbc3OqOd3ivq4gMfmKtEshy1uV1b8XYxW8OcTFVOT3CZ sKWSsbeYYZ1r8azeiVhYZ+6sIKpbICTK4eW0zPqYmEt093U89WaqAKw00lZGTh7f0fbC bn3JJFpSioP6h3nQLZvWWYY8ZYZ2mdNoyD/JCuPEp6TN9zvDIXDs+mhSQxQZ4Spv6a0K Cw77u0CR5uFXLq2mQl+c55qOFFeEZZ5s+BKVzny/MMyQ9yDKMKSnsZoKG1giYsf4WKKD /c9w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IYKLC1xx; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-180092-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180092-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 a640c23a62f3a-a5a17bfff4bsi758994566b.876.2024.05.15.08.51.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 08:51:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-180092-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=IYKLC1xx; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-180092-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180092-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 BD2DE1F23567 for ; Wed, 15 May 2024 15:51:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A64AF15623D; Wed, 15 May 2024 15:51:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IYKLC1xx" 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 C567B155723; Wed, 15 May 2024 15:51:34 +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=1715788294; cv=none; b=BEnUu7uW8IhiYTGQnL65HA543zFY9Pfw0vMLW4SWnyLpl0EJyrcvbeLK/BlfpBn6qmvI2EMsqsIZu0z4OSMH7a/ezYy3KNAiXyg5oGd+m1xYzu8XvhCm18Rso/wT2OesKxiCOvQM9evGyTRZoDWGvMG6oKlFthDl1JQgUbJJ+vk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715788294; c=relaxed/simple; bh=XJNOkBFhCsi2Lc3PNBSPax4TnDj2BZ736C8kerbm1RQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=jyY5V5CS2uTz1EvhDmhxqcG3EyqBH7r+A1ylFL9j4dMxTRaXZHbtn+ld+CuPo34+K7pqDAXm1oXKLG5YMISq1KA3o2Jz/Ib92gEvScz6hf7Xjw7FuGVPhV51WGD6tbqJ90pjtRlXLOmOvssXysKkYigeKvP7OtbZA/pRwS9dNpM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IYKLC1xx; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 70F2BC116B1; Wed, 15 May 2024 15:51:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715788294; bh=XJNOkBFhCsi2Lc3PNBSPax4TnDj2BZ736C8kerbm1RQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IYKLC1xxYUpc1G3K8sDvpJSWyvi1Mqs3wtm6+YqQ8Kg6ZwJ1k4Pe4DywDFrAocwJ0 CRGpU4sxzmzqbKlDOdKSZfLyKAIMpB/NEZF/pVH4/sIQedl1F0iICR41+ZAkeFrmfX NUwyQ8Ct0huERlW4UABtnGpJD6T+uTOLpzhlgtltR+vWQVHm/rtYRZ+s96ZLOJZdjJ BdNwhd7NDBUxd40itfhvoVzYepXBQHI1oSpg0du9oQm+/YqHPOKgPCEwJNOk36aJg6 wfRvmFM8QdWpqkI3jY3PH4LMqTepE0M3PnV8IfVaMyll/kCcvvPx2waATIGiSqduHM agmQzbv6xLlnw== Date: Wed, 15 May 2024 16:51:30 +0100 From: Conor Dooley To: Alina Yu Cc: Conor Dooley , Mark Brown , lgirdwood@gmail.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, johnny_lai@richtek.com, cy_huang@richtek.com Subject: Re: [PATCH v3 6/6] regulator: dt-bindings: rtq2208: Add property to get ldo of RTQ2208 is adjustable or not Message-ID: <20240515-gigantic-justifier-1fa140b59de6@spud> References: <6a3a90d9aa2022dfb92e124e417f3e72c2f28b0b.1715340537.git.alina_yu@richtek.com> <20240513-tissue-repave-13d2e3bf88fd@spud> <20240514-plunging-chair-803d9e342e6f@spud> <20240515073830.GA12525@linuxcarl2.richtek.com> <20240515-wrinkle-engross-ab6b089baae3@wendy> <20240515090229.GA15889@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-sha256; protocol="application/pgp-signature"; boundary="QCDsa/Y4oznDo0Yx" Content-Disposition: inline In-Reply-To: <20240515090229.GA15889@linuxcarl2.richtek.com> --QCDsa/Y4oznDo0Yx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, May 15, 2024 at 05:02:29PM +0800, Alina Yu wrote: > properties: > richtek,fixed-microvolt: > description: | > - If it exists, the voltage is unadjustable. > - There is no risk-free method for software to determine whether the ldo vout is fixed or not. > - Therefore, it can only be done in this way. > + > + There are two types of LDO VOUT: fixed voltage mode and adjustable voltage mode. > + For fixed voltage mode, the working voltage is out side the range of the adjustable mode. > + The constraints are unsuitable to describe both modes. > + Therefore, this property is added to specify the fixed LDO VOUT. I think you could do something as simple as: This property can be used to set a fixed operating voltage that lies outside of the range of the regulator's adjustable mode. BTW, you should probably change the example so that the voltage you add there is actually outside of the range, rather than identical to one of the range's constraints :) --QCDsa/Y4oznDo0Yx Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZkTaAgAKCRB4tDGHoIJi 0vNYAQDJvKqdfEIJdg7jJ2twWh9wq7Okv2yyW06rZsjDLfO8nAEAsWEP3oqXZDg+ ffsSjpGPijo2ClizZ+29ShoT94mIGg4= =FXE2 -----END PGP SIGNATURE----- --QCDsa/Y4oznDo0Yx--