Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp9257656rwp; Thu, 20 Jul 2023 01:57:56 -0700 (PDT) X-Google-Smtp-Source: APBJJlHsNDgs6l9vQajP/MtuEdi9Vm6kBh+gwP5Xck4gHfTyAE3LIenVQ/0zRwKh63z1T4Okld2g X-Received: by 2002:a50:fc13:0:b0:51d:914a:9f3d with SMTP id i19-20020a50fc13000000b0051d914a9f3dmr4854124edr.10.1689843476187; Thu, 20 Jul 2023 01:57:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689843476; cv=none; d=google.com; s=arc-20160816; b=fx5XGywL43AlNQmw44fmlpWhNHu9XJXcri1GStilWMngyfcEsY7uqoQvP/Ka+Z1WQe F6+D5wMZ9Hjz8xvM88wXMjODUAfTggc7Y9vWwyxFXrnB8a5uqBrEv7xXELHOUM3jliCU obAS8GYPVHXHlGk6PiG2rKFJYrWcGbOjSzUJy0nlMcxtteVRYArfXPEMkaOc2hS3ui3c 18Dzfgs4qXz62+/Sn524w6ypFFb2BBYHUmM13vP5P7a/0JZl53IGLH4CrDYlNexl8/f9 Ipdv6JNXIN30TcEDUpAsFSdk1hF5QKuy/TuU4XGbvbpugK9jsKwq6NB3N3JvStOAQIyd +npQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Om0waQ9y+0eKeMULxZ6k39EjYBHuiSesPd0BTGlXqi8=; fh=cNSj6W2ocGc2w7D12MZoEDxdhKx9h3VZI6G8uaq6p+A=; b=eMleVcLDtSCCzdBaKO9fpa+LhECAC6oaTq3VBd0Z+3hV2rRWitdqPla9ThoR8GVHOM uvV+iBeGhXZmOfrNi76gGifxRrTHH18MOh8CPspAbrbuR14Z5Kpr609oc5b39g4vlF3y AbKOONf+4h8UPklFw6wpg8oPVyIAUy4Lfh8owcQpzuCQyjFCang/v/eySJKK5ujOsz0o mQtiMmGGHDXdJIUVs73xYgvu7EJbW+QnAieRbKXThj6PCkhGHkqrlRUTNOefQmTzaUOP OEnPxEe4oj1UuTHwDdOMBS36MT7LcBGKVlqhTEr37gTXMKxU/VNQZeFuOiplyCfbwP27 pzhw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e21-20020a056402089500b0051e0d7f1e3esi514461edy.419.2023.07.20.01.57.32; Thu, 20 Jul 2023 01:57:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230224AbjGTIHp (ORCPT + 99 others); Thu, 20 Jul 2023 04:07:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49344 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229610AbjGTIHo (ORCPT ); Thu, 20 Jul 2023 04:07:44 -0400 Received: from mg.richtek.com (mg.richtek.com [220.130.44.152]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1A5C6213C; Thu, 20 Jul 2023 01:07:39 -0700 (PDT) X-MailGates: (SIP:2,PASS,NONE)(compute_score:DELIVER,40,3) Received: from 192.168.10.46 by mg.richtek.com with MailGates ESMTPS Server V6.0(2903814:0:AUTH_RELAY) (envelope-from ) (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256/256); Thu, 20 Jul 2023 16:07:29 +0800 (CST) Received: from ex3.rt.l (192.168.10.46) 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.1118.25; Thu, 20 Jul 2023 16:07:28 +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.1118.25 via Frontend Transport; Thu, 20 Jul 2023 16:07:28 +0800 Date: Thu, 20 Jul 2023 16:07:28 +0800 From: Alina Yu To: Krzysztof Kozlowski CC: , , , , , , , Subject: Re: [PATCH v4 1/2] regulator: dt-bindings: rtq2208: Add Richtek RTQ2208 SubPMIC Message-ID: <20230720080728.GA10433@linuxcarl2.richtek.com> References: <1689758686-14409-1-git-send-email-alina_yu@richtek.com> <1689758686-14409-2-git-send-email-alina_yu@richtek.com> <44b50616-a6ee-76e4-21b8-3e39b1a2ccd1@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <44b50616-a6ee-76e4-21b8-3e39b1a2ccd1@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Krzysztof: On Wed, Jul 19, 2023 at 11:44:45AM +0200, Krzysztof Kozlowski wrote: > On 19/07/2023 11:24, alina_yu@richtek.com wrote: > > From: alinayu > > > > Add bindings for Richtek RTQ2208 IC controlled SubPMIC > > > > Signed-off-by: Alina Yu > > --- > > v4 > > - Modify filename to "richtek,rtq2208" > > - Add more desciptions for "regulator-allowed-modes" ... > > + > > + regulator-mode: > > + enum: [0, 1] > > + description: > > + describe buck initial operating mode in suspend state. > > There is no such property on this level. Aren't you mixing initial one? It's the initial mode in suspend-mem state, should I modify that like this ? patternProperties: "^regulator-state-(standby|mem|disk)$": type: object $ref: regulator.yaml# properties: regulator-mode: enum: [0, 1] description: describe byck initial operating mode in suspend state. ... > > > + enum: [ 900000, 1200000, 1800000, 3300000 ] > > + description: > > + the fixed voltage in micro volt which is decided at the factory. > > I don't understand this property. Why this is different from min/max Because ldo has fixed voltage, so I thinks I could use a property to represent the fixed voltage directly. Do you suggest me modifying that like this: regulator-min-microvolt = <900000>; regulator-max-microvolt = <900000>; Using min voltage equals to max voltage to represent fixed voltage, instead of self-defined property ? > microvolt? Plus, you use incorrect unit suffix. if I change "richtek,fixed-uV" to "richtek, fixed-microvolt", will it be a correct unit suffix ? Best regards, Alina