Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp2590811rwo; Sun, 23 Jul 2023 19:52:03 -0700 (PDT) X-Google-Smtp-Source: APBJJlHUxT5HOSiHxTbMsZOxZ6q2SyhaBI4casFook2mFtXLNSCDSsS2DmQw9cxoBcOrRlhij3M1 X-Received: by 2002:a05:6402:3da:b0:51e:3558:5eb6 with SMTP id t26-20020a05640203da00b0051e35585eb6mr7898091edw.3.1690167123341; Sun, 23 Jul 2023 19:52:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690167123; cv=none; d=google.com; s=arc-20160816; b=kxW1Grlqc5SggDoX09jweibzR0p9WJGhDU1JQdPRz9UvgfZtB0zuTKTzrLbnNJhgwP 1Ta4oqqxRBlZeWSSyZkjHr6v3RsKsDzgN2qJDO1KSqwcX9kz0/euzQ31MH9lFtYMzwTd fJTgKhsQ0AVKD6n3jHSKcNYk0CZzOh9D38a4aPqk1ZJTjeLjdXwS+VjTtu3yidT3EsvI yR9Qr7r3EV65KfhjbIlVdJW02TPT9KT+ee/PHG9OoXkOrQjtKHW5I5OxkkWlhYSmwVZI w8yGfzdF6uPGNLDUi3tZDNDTCRuwRmLzPZ61LElLFgKwQhkJ47E6XN5uldEJ7lU8z4By 2mKQ== 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=M+qvu0M9Zq7Hy6HZ1RisxpM695/7VKLAeRVPVrqjanI=; fh=cNSj6W2ocGc2w7D12MZoEDxdhKx9h3VZI6G8uaq6p+A=; b=JsPJKS419fxEnkbG2MU39o4tY6udCSxpCAQBTrizy+sUUTC8stzhRXXANJy4V/LKar O8pESPK5Tw7PnvaRhJ2KZDymv40U37UlEBiqZMc6uI4+u/IvHK7BusdlKAWLN+F8aH5V XFgmZHxuw20TJkBdN9IzMFogmooM/J4POrQ3C9oERvPBC+DNbx7VnlTNuEbyZyL1s1pR U5s/zDi2uSPJNq7ueAZ0Pdd6AvdXkuwid7kyavIENKn7FJyPVK1wwgK34dcQ0bWd279S NZ3foZ0zxL1Jj6zcd52mN3tQKlQWMK2/LjOXOqJHtnuB5ANxz+ufvr7Zs0Cu5cOybo1o wP9Q== 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 y8-20020aa7d508000000b005221f9a302csi2284674edq.678.2023.07.23.19.51.39; Sun, 23 Jul 2023 19:52:03 -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 S230052AbjGXCYR (ORCPT + 99 others); Sun, 23 Jul 2023 22:24:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229843AbjGXCYP (ORCPT ); Sun, 23 Jul 2023 22:24:15 -0400 Received: from mg.richtek.com (mg.richtek.com [220.130.44.152]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7F6F918B; Sun, 23 Jul 2023 19:24:00 -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(1318274:0:AUTH_RELAY) (envelope-from ) (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256/256); Mon, 24 Jul 2023 10:23:42 +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.1118.25; Mon, 24 Jul 2023 10:23:42 +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.1118.25 via Frontend Transport; Mon, 24 Jul 2023 10:23:42 +0800 Date: Mon, 24 Jul 2023 10:23:42 +0800 From: Alina Yu To: Krzysztof Kozlowski CC: , , , , , , , Subject: Re: [PATCH v4 1/2] regulator: dt-bindings: rtq2208: Add Richtek RTQ2208 SubPMIC Message-ID: <20230724022342.GA17679@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> <20230720080728.GA10433@linuxcarl2.richtek.com> <20230721062735.GA9068@linuxcarl2.richtek.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230721062735.GA9068@linuxcarl2.richtek.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,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: > > > ... > > > > > >>> + > > >>> + 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. > > > > Please check how other bindings do it. > > > > If I modify that like this, will it be correct ? > > > ... > regulator-state-mem: > type: object > $ref: regulator.yaml# > properties: > regulator-mode: > description: > describe buck initial operating mode in suspend state. > 0 - Auto mode > 1 - FCCM > Sorry, I think I didn't explain well why to add "regulator-mode". I just want to add description for this property, for people can get its meaning when they see the yaml. If it's optional and it's already a general property in regulator.yaml. May I remove it from my yaml ? Best regards, Alina