Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp158957lqo; Thu, 16 May 2024 02:21:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU9eNzXWwpbMjJN38jem+Qpzd3KMNB/tEkVjj3bakaMFjWeSBAeTTqWwFT7IljV4WWAQ0A6t21oJI94L6MngGlZs2zYD5SKGIa23snNjw== X-Google-Smtp-Source: AGHT+IE3uV7P5Q/l3S7B/peedcicunOgZqKUb91C6ijMtdY1TeuuwJkogKZ3f75xgYiAIKJYhPfi X-Received: by 2002:a05:6a00:1824:b0:6ec:ff1b:aa0b with SMTP id d2e1a72fcca58-6f4e02d3698mr20801679b3a.18.1715851295342; Thu, 16 May 2024 02:21:35 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715851295; cv=pass; d=google.com; s=arc-20160816; b=YcOWN3SuXIRCT/lGYOx08wHung5WX88iVqctYQeh7pDw/i7MulVNsTkMNBJ73pXzaZ 4w2lVwpUOAMj3y/YLnj9OdKl3xR/lPgdlKGR/OkKDlFHVQvS0aNjL9cpxJvpZ0gJoG3g bO/4SDqNa4Zo7uh6IEiPcvNMo5ZPLBXrh7/SRKC8jkmB0XxPh7zMsQlTvHkAsIc0ps+q p8aoGHruq8tg2xcvDuxxTCkucHXMpOxMOxpBbaMptD+XKwtFWBg5y15/la3l3mCGgsw5 cuEHlhSqhgOqoqM80ITXLpV9nyhTAUV9Kd4Xtqtq/vpT61JCSXrNXyhrQWEJJ9fuj9je FV9A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=4FZFc/ldoEBTquoVTySNzI9r+bg5+rvsd53z2bgulQA=; fh=9n/fPvH0iZ+EmZewZ5lyQMhotST4zcgZM21w86EI46k=; b=KkX+OL+AFPwASAuAkEZtEti5WidmuLT1Fj+rfWe8X9UpQdExp6xO0kT6uKxav1mViC JwrtStqoN2XBFB1OYx1dZsEtkJcKVG5uLfAFHUzKKPjV8+JLVMqisp2WBrvKgVTxRrqq B+DCMU6mWuorGZgHQKNAoQa9gnbNdbBVuBHYUV10BUmHHxfCCd0V/ZH6F3/prv7gnFgh 0yBOSsawoULjPONH/LXlVy6zSHWdh7s9LL/0TwF7LAZjkrUyUNz5Q2B1QuxkbOQFlefS LbbEOzCeo8Z7seStDIFCTFfWLeQXGa6tw8jUeZgdF+hV4nJRlXEOYwJyWZKq/xr8O+UX LoHQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@richtek.com header.s=richtek header.b=lpszGh8V; arc=pass (i=1 spf=pass spfdomain=richtek.com dkim=pass dkdomain=richtek.com dmarc=pass fromdomain=richtek.com); spf=pass (google.com: domain of linux-kernel+bounces-180829-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180829-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=richtek.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 41be03b00d2f7-63412c369bdsi14902750a12.744.2024.05.16.02.21.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 May 2024 02:21:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-180829-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@richtek.com header.s=richtek header.b=lpszGh8V; arc=pass (i=1 spf=pass spfdomain=richtek.com dkim=pass dkdomain=richtek.com dmarc=pass fromdomain=richtek.com); spf=pass (google.com: domain of linux-kernel+bounces-180829-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-180829-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=richtek.com 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 09D8E283A94 for ; Thu, 16 May 2024 09:21:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BA616143890; Thu, 16 May 2024 09:21:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=richtek.com header.i=@richtek.com header.b="lpszGh8V" Received: from mg.richtek.com (mg.richtek.com [220.130.44.152]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6A0C8143742; Thu, 16 May 2024 09:21:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=220.130.44.152 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715851265; cv=none; b=ODjY0rCn+UXIjIeQTHW9cG29cVJEJSUSwM3VyQSIKBd51EFcYMmDz3hVA5FEcVVM2yCvCAUgeTLtLOeF4AexxmKrtVtiecdPYP7AwdMO3gSroXvs0STdAmH4WowKzSTU9KpgMlaJgoHqt++PZeZ/HeF04tsSQyO9w6w/vfUyEp8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715851265; c=relaxed/simple; bh=vj5iTVNnr0LltL75dJySY0TkZeBZ96BYbyS8soMrNtU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=XG0PhisnSb8S3wuCkug1XNlynnXUFol8BuGKLZaU/Bhr56g/6g/08yWh8GIZj0amADgKLkOx4mqqFqR0EAp5lELLhqj5R6DBgweecvlmn90opAZhzFRjo7Es55e7OJCHOsoZA7B0aosWUoX3GH/giAxtX/TglT0+A40ZpVzWvRo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=richtek.com; spf=pass smtp.mailfrom=richtek.com; dkim=pass (2048-bit key) header.d=richtek.com header.i=@richtek.com header.b=lpszGh8V; arc=none smtp.client-ip=220.130.44.152 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=richtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=richtek.com X-MailGates: (SIP:2,PASS,NONE)(compute_score:DELIVER,40,3) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=richtek.com; s=richtek; t=1715851255; bh=4FZFc/ldoEBTquoVTySNzI9r+bg5+rvsd53z2bgulQA=; l=1600; h=From:To:Subject:Date:Message-ID:MIME-Version; b=lpszGh8Vr0mMWp+CAg2n8fvks5Xz9Fj4zSvZEJVhoSF90BnqpFPnV5oqJe1993kUF 2t7KD5tLsDKXLx8GF/cec5iVln8IRmsEHiXMwXBQVKlSw3jFpR3cbNh8z8tpZliO6s mA3qb6/vIE5WGc0LFLAoUbzisHaI7KmodKx698qfCHGSHceKMR6EEUv2lLQuTPwCcJ Mjsh/ownrLRZIKdTPCEjOZDifZtbzHb7mxaoEVbR1uMX/4NTI4PLS1ANSNrXz3kZGJ nGiqMQQO9WlTN5FmWK4QCYSqMyv9tOkD7T29yoHhTmpSq4hFNvMVR+1XOD2MEy8f10 jo2ZYdt0t+vTA== Received: from 192.168.10.46 by mg.richtek.com with MailGates ESMTPS Server V6.0(3213195:0:AUTH_RELAY) (envelope-from ) (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256/256); Thu, 16 May 2024 17:20:40 +0800 (CST) Received: from ex4.rt.l (192.168.10.47) by ex3.rt.l (192.168.10.46) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Thu, 16 May 2024 17:20:40 +0800 Received: from linuxcarl2.richtek.com (192.168.10.154) by ex4.rt.l (192.168.10.45) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Thu, 16 May 2024 17:20:40 +0800 From: Alina Yu To: , , , , CC: , , , Subject: [PATCH 2/2] regulator: dt-bindings: rtq2208: Add specified fixed LDO VOUT property Date: Thu, 16 May 2024 17:20:34 +0800 Message-ID: <9c1bbe4b38a4ee5650d888478f1ce2cec2733669.1715846612.git.alina_yu@richtek.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain As the fixed voltage for the LDO is outside the range of the adjustable voltage mode, the constraints for this scenario are not suitable to represent both modes. Therefore, A property is added to specify the fixed LDO VOUT. Examples of fixed LDO VOUT and adjustable LDO VOUT is also added to this version. Signed-off-by: Alina Yu --- .../devicetree/bindings/regulator/richtek,rtq2208.yaml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml b/Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml index 609c066..87accc6 100644 --- a/Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml +++ b/Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml @@ -75,6 +75,12 @@ properties: description: regulator description for ldo[1-2]. + properties: + richtek,fixed-microvolt: + description: | + This property can be used to set a fixed operating voltage that lies outside + the range of the regulator's adjustable mode. + required: - compatible - reg @@ -177,6 +183,8 @@ examples: }; }; ldo1 { + /* Fixed LDO VOUT */ + richtek,fixed-microvolt = <1200000>; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; regulator-always-on; @@ -185,7 +193,8 @@ examples: }; }; ldo2 { - regulator-min-microvolt = <3300000>; + /* Adjustable LDO VOUT */ + regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; regulator-always-on; regulator-state-mem { -- 2.7.4