Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3891362pxb; Fri, 11 Feb 2022 10:00:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJxCGwPSi1bYFesx0eXfIpehzzHGKzFxYV4jjXSSZwXqp+UYtNGtQCQc8kI4ZOdjvcEOFyWy X-Received: by 2002:a17:902:d4ca:: with SMTP id o10mr2588062plg.116.1644602422346; Fri, 11 Feb 2022 10:00:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644602422; cv=none; d=google.com; s=arc-20160816; b=Mnb236Grs/nl8AEfSgZeBAP+vp1+XzrVDARlWq+gi8GlI7wCEB4rUaimiV0VJ+hSbI /PysLUD2QY8bi4Pf6V8wrqeoYmOaPHK0qpMHbXpJbkHAs9SRrdmQBqhekLaGIM+qMzv/ zlTp1Wm1Gs8YngxkTc3rq5eozwkJi/wlMFQpb/BqMecGgPBvJRtu2aT/QdmgT0rU7z3c iBZnEl+z0p8g79JqOxpJSHMscst0i0RQfkMznoHA8rF5wBzjMu4/uLTwZc7qQSwA/iHn 0CkAW54DIev57p0uqRrLdaC/e+tIJR8m4cue6cBR/1oJHYIUwSKO2XltxzgGtDQifc/N /GiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=UkTuOxm219Uf9vWVBlVQGbmmZ+csO/awHC70HwYJGsA=; b=YR8Yr6h1DsRGxxsSFS3lB+iOEMFs0PEN3ojPJTLtx2c+EkuhX1BqZcal/5kypzxCmt 6bsJbQWobYNEAnb+k4AQHMdHGVjMrsJUQkuP1uBD8oZRJTJXdcNal6W4xIbVqPaMik/V sDICnkUilheRcC8M+qDf4nNeDJ5vrUKM+kLu7kS+iyU+67irTP51uqtxa//JLEgXgYWJ WJlNvvgmCd7EWK5XMaqAgX5UYfjbdQNatEkPN6jVoEW6ZUVqWevUmX1FgDvZeUe5lGRx XF5kTo++fGGLCJAHGNWU0PtNiIoskT+8SbrC6F2QA5KynqZRSA7q+CSpjU/hh2bz3/1r blZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=msNiC289; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b5si23859487pfv.373.2022.02.11.10.00.08; Fri, 11 Feb 2022 10:00:22 -0800 (PST) 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; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=msNiC289; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348859AbiBKKYB (ORCPT + 99 others); Fri, 11 Feb 2022 05:24:01 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:51192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242036AbiBKKYA (ORCPT ); Fri, 11 Feb 2022 05:24:00 -0500 Received: from alexa-out.qualcomm.com (alexa-out.qualcomm.com [129.46.98.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70C41220; Fri, 11 Feb 2022 02:23:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1644575039; x=1676111039; h=subject:to:cc:references:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=UkTuOxm219Uf9vWVBlVQGbmmZ+csO/awHC70HwYJGsA=; b=msNiC289Tb1TnnMiLChcYNYDV7a4ueneFyRZu5+erH1MdHQ4+3Huj8jf aJvTYXWpPA2yt1OB6Wa3hwycROQ6NUglVTUktBgosnROhbD9E5uSyezrz gJH5dpbOp70rHEDwd/uKc3agv5y6cGHOINBhmLWFpkNBdFFdwZk/Dq5ah A=; Received: from ironmsg09-lv.qualcomm.com ([10.47.202.153]) by alexa-out.qualcomm.com with ESMTP; 11 Feb 2022 02:23:59 -0800 X-QCInternal: smtphost Received: from nalasex01a.na.qualcomm.com ([10.47.209.196]) by ironmsg09-lv.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Feb 2022 02:23:57 -0800 Received: from [10.216.7.73] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.922.19; Fri, 11 Feb 2022 02:23:52 -0800 Subject: Re: [PATCH V5 1/6] dt-bindings: regulator: Add pm8008 regulator bindings To: Bjorn Andersson CC: Rob Herring , Krzysztof Kozlowski , Lee Jones , "Liam Girdwood" , Mark Brown , "Das Srinagesh" , , , , , , , References: <1644331940-18986-1-git-send-email-quic_c_skakit@quicinc.com> <1644331940-18986-2-git-send-email-quic_c_skakit@quicinc.com> From: "Satya Priya Kakitapalli (Temp)" Message-ID: Date: Fri, 11 Feb 2022 15:53:49 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, 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 On 2/11/2022 6:13 AM, Bjorn Andersson wrote: > On Tue 08 Feb 08:52 CST 2022, Satya Priya wrote: > >> Add bindings for pm8008 pmic regulators. >> >> Signed-off-by: Satya Priya >> --- >> Changes in V2: >> - Moved this patch before "mfd: pm8008: Add pm8008 regulator node" to >> resolve dtschema errors. Removed regulator-min-microvolt and >> regulator-max-microvolt properties. >> >> Changes in V3: >> - As per Rob's comments added standard unit suffix for mindropout property, >> added blank lines where required and added description for reg property. >> >> Changes in V4: >> - Changed compatible string to "com,pm8008-regulators" >> - Moved "regulator-min-dropout-voltage-microvolt" to regulator.yaml as >> separate patch. >> >> Changes in V5: >> - Removed the separate compatible for pm8008 regulator driver. >> - Moved the supply nodes to chip level. >> - Removed min-dropout property. >> >> .../bindings/regulator/qcom,pm8008-regulator.yaml | 31 ++++++++++++++++++++++ >> 1 file changed, 31 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/regulator/qcom,pm8008-regulator.yaml >> >> diff --git a/Documentation/devicetree/bindings/regulator/qcom,pm8008-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,pm8008-regulator.yaml >> new file mode 100644 >> index 0000000..0098845 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/regulator/qcom,pm8008-regulator.yaml >> @@ -0,0 +1,31 @@ >> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/regulator/qcom,pm8008-regulator.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Qualcomm Technologies, Inc. PM8008 Regulator bindings >> + >> +maintainers: >> + - Satya Priya >> + >> +description: >> + Qualcomm Technologies, Inc. PM8008 is an I2C controlled PMIC >> + containing 7 LDO regulators. >> + >> +patternProperties: >> + "^LDO[1-7]$": > Please make this lower case, to match all other regulator bindings. Okay. >> + type: object >> + $ref: "regulator.yaml#" >> + description: PM8008 regulator peripherals of PM8008 regulator device >> + >> + properties: >> + regulator-name: true >> + >> + required: >> + - regulator-name > Why is regulator-name a (and the only) required property? It is not a required property, I'll correct this. > Regards, > Bjorn > >> + >> + unevaluatedProperties: false >> + >> +additionalProperties: false >> +... >> -- >> 2.7.4 >>