Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp119527pxb; Tue, 15 Feb 2022 06:43:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJy8QVuQ3BcLmeKOy3rGfT/Apfwuvbd36zmvR4gr4KT3EDjG6ezMAhv+Yp7M8B0AIxRl/ie9 X-Received: by 2002:a05:6402:909:: with SMTP id g9mr4206248edz.369.1644936237174; Tue, 15 Feb 2022 06:43:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644936237; cv=none; d=google.com; s=arc-20160816; b=fRGwz92rDtRCCsQbs0tDzFgUNI9kLwPhPvwHJLUwADvU24tB8clmv4e0Q621Fpi7cn fz2zwY5qf7/6nyzVvJ3aCeMoHp6+JE/T4cw6Ehrlr+rc1NNnl5GM2UJEYFgG+mqHOab2 6ls1JN3yjSHrUUV/heAVg7UdkTjqdAAmtj/RNqiAhrlL73O7KECcTJ9rTRzAnVTY5HcA i2eaj1+bCKGwlnwCDrhpzY1rQdqUJedOrazxiKkNenmZBA8gBc2i6YkqV5b7/rv3vr7F clW6cvDjPh+udfiM8lWIu/EFLrMI9D+D6vDIWM6ZWQ8Hsq6mwVwLdHDrngXTsMTdxbQF Jf1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=mMSYBKsFrCeLssIDuR+nWYQYyce2npHgB9PBnij0FWc=; b=qBDubyrLHv1zbIf5XABt2xIsGItI9asd41+j7bR5w0b33ss4w2se1pXvNQQH1QTRcs GVygiYRSD4CNcqPsVAtoOX+cl+x7aXzGatBifAgCVt4D6E5yr6M7RXaNxXWRHXEx0Zc4 wX7ZvG3MzWAjhPtxvQ3ZNrECEOXA84mV0xKH4aRvFdIvG8asCHkJQpwZ6KbrbVG34Oy+ R9RlQmGRw3W+LArcrS+knRN+GaRY6CHTPcKofwjkGzmcQHDvtKnHKok/doVQJXuZd5By lMnK1pZLUf3fhyMypf7wSTuCTCqLG6UppU28kwanrMPHxrwHu8AiF5LDCYdLSmq6zxb7 TgDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcdkim header.b=QG5lipD6; 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 f8si21240085ejl.873.2022.02.15.06.43.34; Tue, 15 Feb 2022 06:43:57 -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=QG5lipD6; 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 S235151AbiBOIyd (ORCPT + 99 others); Tue, 15 Feb 2022 03:54:33 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:35546 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235004AbiBOIyb (ORCPT ); Tue, 15 Feb 2022 03:54:31 -0500 Received: from alexa-out-sd-01.qualcomm.com (alexa-out-sd-01.qualcomm.com [199.106.114.38]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 613CE114FD3; Tue, 15 Feb 2022 00:54:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; i=@quicinc.com; q=dns/txt; s=qcdkim; t=1644915261; x=1676451261; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=mMSYBKsFrCeLssIDuR+nWYQYyce2npHgB9PBnij0FWc=; b=QG5lipD6AcJmFLopvwBI4esEkeJCIMQcv6VwlDgfhSPJ89ONzBXuqJ6s aOLD5uAAFX4WJIqSxyg/JasXVz+esOPFjHj+Ai+mVjgnRf7Q7UnGMULDh 7hJzoFKlKzh5ew4CBE+XZt4i4fs9ku6XRRvrqqaEVf/hd4zKW/0zpjFAw Q=; Received: from unknown (HELO ironmsg03-sd.qualcomm.com) ([10.53.140.143]) by alexa-out-sd-01.qualcomm.com with ESMTP; 15 Feb 2022 00:54:20 -0800 X-QCInternal: smtphost Received: from nasanex01c.na.qualcomm.com ([10.47.97.222]) by ironmsg03-sd.qualcomm.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 00:54:20 -0800 Received: from nalasex01a.na.qualcomm.com (10.47.209.196) by nasanex01c.na.qualcomm.com (10.47.97.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.15; Tue, 15 Feb 2022 00:54:19 -0800 Received: from c-skakit-linux.qualcomm.com (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; Tue, 15 Feb 2022 00:54:15 -0800 From: Satya Priya To: Bjorn Andersson , Rob Herring CC: Lee Jones , Liam Girdwood , Mark Brown , Das Srinagesh , , , , , , , , Satya Priya Subject: [PATCH V6 1/6] dt-bindings: regulator: Add pm8008 regulator bindings Date: Tue, 15 Feb 2022 14:23:46 +0530 Message-ID: <1644915231-7308-2-git-send-email-quic_c_skakit@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1644915231-7308-1-git-send-email-quic_c_skakit@quicinc.com> References: <1644915231-7308-1-git-send-email-quic_c_skakit@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) 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,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 Add bindings for pm8008 pmic regulators. Signed-off-by: Satya Priya Reviewed-by: Rob Herring --- 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. Changes in V6: - Changed regulator node names to small letters. - Changed regulator-name property to optional. .../bindings/regulator/qcom,pm8008-regulator.yaml | 28 ++++++++++++++++++++++ 1 file changed, 28 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..4ad3189 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/qcom,pm8008-regulator.yaml @@ -0,0 +1,28 @@ +# 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]$": + type: object + $ref: "regulator.yaml#" + description: PM8008 regulator peripherals of PM8008 regulator device + + properties: + regulator-name: true + + unevaluatedProperties: false + +additionalProperties: false +... -- 2.7.4