Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1259047lqa; Mon, 29 Apr 2024 03:17:41 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW/zhpp2lCy/gTCZ/juRZwsmWPxE6mZ89UxnMW64XoykZXZ1vqINflgd8Ne0Q58g/DYO16TVr75me2cW7sWoujFO0t5tDHqbceKsahZLQ== X-Google-Smtp-Source: AGHT+IEv9dAPAm6cv13lipxTqrcB0rHeICeSOxQcANWOg2bLrar0ELbEW5YwTIC0yW50w5EglZqy X-Received: by 2002:a05:6871:9415:b0:239:52f9:7f15 with SMTP id bg21-20020a056871941500b0023952f97f15mr9597562oac.26.1714385861485; Mon, 29 Apr 2024 03:17:41 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714385861; cv=pass; d=google.com; s=arc-20160816; b=xePkq9M44x7s+AQFy8FdoV6hWYk0jAZygIrMyK30YDWObAXVOvIpmv3bOn2rG5DS+O ZOHKrinBnIkN19eNzCgMVe4nZhW3gF056tgIyRe0Ogs8pj2a0OjDHE39FYpCaaGnYfxf YgDDaM2IfvQuTi4Yfmk/IQylQUpPxRI88A1eAfrJTTQ+QfaeI1SB9PR6LTJxAMIDCSRU 9yyQ6zpZgcO935xOA28SrKlmfaEUXuOziNMejKaIEmohdObWUqL6WwYYbmTIJNIEdTrY Zu1EvobesGTl+aJoORIYyqaEtI0dnM+xyyouWg9Hh32oibG7tEvbOtLpy6qmN+Un+Wd1 8bHw== 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; bh=Z7tSz92MpEaIzkNYYZdfXGLcGbWD6pjDpOuerI9phak=; fh=qPRq5XK4fWV0/iYtozG4A3WG6T1iyjVlgVQyi05onrM=; b=O2+g8zMerygQydoTXpUzk9MPpG6KuHCcffeUweCgbexs8U3ioOlWDo3PbgxYPHemw0 VEetPNK/XXfq8TPE8kGBFYbyqp8Enx0VSHkWxWN/WA3BNGBENIc8UjmUJhEmIkwB5xSZ 4o9yIDlI4IeHLHfxTicPFQSagWKmG3VNjNBXf25e3I7fLcGjOZsP7Ydr2cg+725t4QyG jSTrnKDLwS3Hs+kmOwV33i4aG1bPha4XYoIuu+/Kin5KysA/6XAYQLKCYvMA0wY/QFxP jLjQOp+IQ6srVHNgwnPAfeOf3A7bshI7Oy6aiuL2wEAG9DdBDRBBRyqsRKAfyEX0dKuE xrPA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=richtek.com); spf=pass (google.com: domain of linux-kernel+bounces-162032-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162032-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id m19-20020a638c13000000b005feabd8ca71si13911348pgd.554.2024.04.29.03.17.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 03:17:41 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162032-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; arc=pass (i=1 spf=pass spfdomain=richtek.com); spf=pass (google.com: domain of linux-kernel+bounces-162032-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162032-linux.lists.archive=gmail.com@vger.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 12D6F282CDA for ; Mon, 29 Apr 2024 10:17:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 174983A29B; Mon, 29 Apr 2024 10:17:12 +0000 (UTC) Received: from mg.richtek.com (mg.richtek.com [220.130.44.152]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F35A428398; Mon, 29 Apr 2024 10:17:06 +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=1714385831; cv=none; b=JwOUbVJMOKRgsM7vBEdraXueIoHYUJB9lJzptTkZiW7P/wTfCzQthfDbUXlmrg82sR9WZMhoeZc8lViKSjZ+eealytEO33lcS5i2wk/yebG+DBIG0qOSQgsQlMSLmmKSQ6lMv7Ceor/78iDeR1+nfTJCtlgtHhx5ib4xdlH7RPk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714385831; c=relaxed/simple; bh=/b2S7quzfSSk3+q+FH7ikzOPKBAguy1mqKvir6ggqwo=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=VHjQr+SgYdDmivom8WdyQdzUwpvFugXdIAf7ukZGhJxNlVdYBLjAdmBOWLufPcBk9eRZm3T8naXkRcb0RzCeDmpwDx5HvcrrYWYQDjTCKRrSkdG/N8GNJDhhU5767CThuwhyJHJuk+LwcDTTAbhhKnVZrtUO23fgKQkn4Pki80Q= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=richtek.com; spf=pass smtp.mailfrom=richtek.com; arc=none smtp.client-ip=220.130.44.152 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none 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) Received: from 192.168.10.47 by mg.richtek.com with MailGates ESMTPS Server V6.0(3367353:0:AUTH_RELAY) (envelope-from ) (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256/256); Mon, 29 Apr 2024 18:16:55 +0800 (CST) Received: from ex3.rt.l (192.168.10.46) by ex4.rt.l (192.168.10.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.4; Mon, 29 Apr 2024 18:16:54 +0800 Received: from linuxcarl2.richtek.com (192.168.10.154) by ex3.rt.l (192.168.10.45) with Microsoft SMTP Server id 15.2.1544.4 via Frontend Transport; Mon, 29 Apr 2024 18:16:54 +0800 From: Alina Yu To: , , , , CC: , , , , Subject: [PATCH 1/2] regulator: dt-bindings: rtq2208: Add property to get ldo of RTQ2208 is adjustable or not Date: Mon, 29 Apr 2024 18:16:46 +0800 Message-ID: <1714385807-22393-2-git-send-email-alina_yu@richtek.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1714385807-22393-1-git-send-email-alina_yu@richtek.com> References: <1714385807-22393-1-git-send-email-alina_yu@richtek.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Since there is no way to check is ldo is adjustable or not. 'richtek,use-fix-dvs' is added for that. user is supposed to know whether vout of ldo is adjustable. Signed-off-by: Alina Yu --- .../devicetree/bindings/regulator/richtek,rtq2208.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml b/Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml index 609c066..3951679 100644 --- a/Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml +++ b/Documentation/devicetree/bindings/regulator/richtek,rtq2208.yaml @@ -75,6 +75,14 @@ properties: description: regulator description for ldo[1-2]. + properties: + richtek,use-fix-dvs: + type: boolean + description: | + ldo vout ability is determined by this setting. If it's set, 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. + required: - compatible - reg @@ -180,6 +188,7 @@ examples: regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; regulator-always-on; + richtek,use-fix-dvs; regulator-state-mem { regulator-on-in-suspend; }; @@ -188,6 +197,7 @@ examples: regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-on; + richtek,use-fix-dvs; regulator-state-mem { regulator-on-in-suspend; }; -- 2.7.4