Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3443383pxb; Thu, 10 Feb 2022 22:55:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJx+LLDZUlnMEm9T2okJnxDdFD0QzLBuq4BByhpuAL0X9c8pjbM+Rad15SuBpy28OkUlGd2+ X-Received: by 2002:a17:906:608c:: with SMTP id t12mr199257ejj.131.1644562536655; Thu, 10 Feb 2022 22:55:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644562536; cv=none; d=google.com; s=arc-20160816; b=ZSKvxsTYAci0MpO9RkilU1+Fygw5adNNW8i+7PkvWqE2ClRd6+zK3mb/u/QxdqTGm1 SeKXjO/8LEwlxb8Tiv5YBtRfThIY6VgWRPDoeUswQuZKDPZXUs0hLsjX/ondBo+kfrvg fut/niIuPF7s6j4g/gZUE8KXGmsCvggGo+mCuNw/oq8qVEXuq/pt/aF0iL+jKhUViXdd EEqwugD6S7iY6EBRT7NllQyJIvms4/dFxQQaRWmENYXau8mLq2cXRQwZSO24+wzO3ge0 mTTHs4Wnk5E/LvqpUTZueuSkyGH2V2YxYHHvMH+18kw3c8YMN7yLFWyZWwloLZ5D5Vnt pCXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=peIv1RFotlCgbTarhFLi0yleT6U74UOU0UlSRN43yHs=; b=usSBt0HYZ/TlmNCH7VAtLuSKQhCX9cxeHvHseVs8RpNJEGg80BsnpWvIOPb5xSgZoe Z8fzGI1LM1Lzoxw8e0MWrToBRXuTrTf64APkxyWTHrweM2BPHmM0sWM2a/bZGlw3RHsl z4QSc713OIHQO239SOLgiuGgJxgKPXdcrxSRjnQs4tdXsoa10sdYAEcplZi2kFVkSYT3 AhiD4WGclgqW1YBdToUcrAZO0iN4on6mVl0HhZbZzytZh3Qx461uXU1h43JeUJ7qfURm UbH0meWi5PQEVraXzFrmCQebniud88yh4qpM6AEIDi8UM0bGVVFEt7FwS3+p+qxl2+BR ztFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sgQGKQAW; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e21si12642274edc.657.2022.02.10.22.55.11; Thu, 10 Feb 2022 22:55:36 -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=@linaro.org header.s=google header.b=sgQGKQAW; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346494AbiBKAnw (ORCPT + 99 others); Thu, 10 Feb 2022 19:43:52 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:37406 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346489AbiBKAnv (ORCPT ); Thu, 10 Feb 2022 19:43:51 -0500 Received: from mail-oo1-xc2a.google.com (mail-oo1-xc2a.google.com [IPv6:2607:f8b0:4864:20::c2a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B3395F94 for ; Thu, 10 Feb 2022 16:43:51 -0800 (PST) Received: by mail-oo1-xc2a.google.com with SMTP id k13-20020a4a948d000000b003172f2f6bdfso8489170ooi.1 for ; Thu, 10 Feb 2022 16:43:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=peIv1RFotlCgbTarhFLi0yleT6U74UOU0UlSRN43yHs=; b=sgQGKQAWGA48N63ZFsHjuJMQge4WD3VzF3QcEOfMBQlnVQl93uLyEJcqouoqhe0VvZ lwJXuQg9so3eOc0kKP/zoRvBj3tOMygTO/P/HxCsL29Z3aN0QIdyCo9qARxBlpHhbFdt lqbSF/ofPqsTi5hnAiQZCH3SH0cGcX8p36Ca9RBE10MTdECRSHfiwvHGahYTJoQJwnOX r5+qzDgAz0uyODssAnktdXUj8hNBXdVBpdUtLiJDbmG78rYzsl5SFoGz3dRrZQcn2plH S6hpeFPDk/Vi51/d+M7bkbfs9W5UE86rIKkbNzFOVCooOCVcDmj6GWdvujmjm0qLJ6pz fVxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=peIv1RFotlCgbTarhFLi0yleT6U74UOU0UlSRN43yHs=; b=JOzDj9hQPzDAxi0hwHHgVUD3Hn5faBf21nHru6HtAqlBCniZgZgd56BZbHqvw4NmY9 PoLOyvkZMQqEfuMymi4MuVednnQwxdINYj9mID4N74AmdnAWXDQo51rtS2W0h4+el89/ 7oMbkgL9oes6AfbKOFEs2rNyUTV/s2G6bnuFZmEvFJRAEvp6PVj5MXNv4v4Xff4CnOV1 gsghtcfC6Yow2r2r609Ic9+vVv7aGXLyAwLtPh/qgVPqxR17ggzaRJsGu8QB0nOKebiJ VMFmOQQk2GurV+yKyVRoS1BJAvuuG3dl/cS9nS9JjHcZXx+KF6Cvg/B5FfituXnrwHlk 3oLQ== X-Gm-Message-State: AOAM533Ax9UGBZaBbm7Tn76sNLNW4lmV18o36P07VVTfWXp49HFy21eH m0F1AP+r9t2H8oBNeGXexhEVWA== X-Received: by 2002:a4a:8f14:: with SMTP id e20mr3673292ool.0.1644540230638; Thu, 10 Feb 2022 16:43:50 -0800 (PST) Received: from builder.lan ([2600:1700:a0:3dc8:3697:f6ff:fe85:aac9]) by smtp.gmail.com with ESMTPSA id x17sm8572223oop.1.2022.02.10.16.43.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Feb 2022 16:43:50 -0800 (PST) Date: Thu, 10 Feb 2022 18:43:48 -0600 From: Bjorn Andersson To: Satya Priya Cc: Rob Herring , Krzysztof Kozlowski , Lee Jones , Liam Girdwood , Mark Brown , Das Srinagesh , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, swboyd@chromium.org, quic_collinsd@quicinc.com, quic_subbaram@quicinc.com, quic_jprakash@quicinc.com Subject: Re: [PATCH V5 1/6] dt-bindings: regulator: Add pm8008 regulator bindings Message-ID: References: <1644331940-18986-1-git-send-email-quic_c_skakit@quicinc.com> <1644331940-18986-2-git-send-email-quic_c_skakit@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1644331940-18986-2-git-send-email-quic_c_skakit@quicinc.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 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. > + 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? Regards, Bjorn > + > + unevaluatedProperties: false > + > +additionalProperties: false > +... > -- > 2.7.4 >