Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp2305771pxb; Fri, 17 Sep 2021 06:59:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy5USeqf/6yBkOro8E7TdBRrelYjPXvQ/QhXg6770fCA+pvacc4wP3nOsYc7NSaZRSy/yhI X-Received: by 2002:a17:906:1615:: with SMTP id m21mr12906960ejd.279.1631887175461; Fri, 17 Sep 2021 06:59:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631887175; cv=none; d=google.com; s=arc-20160816; b=L7KlVjBYVOWTWbhpmD4hM2MPFWoVQ1nBbHrfTaWUP3HLnt+rv/QGVfrNkcIgjKTFO3 pKSSJEY9O9Nil65qRSi4t4Fnceg2IFFxX8O+7q4V469Nd4yW+kaZ8QjIVtT7rXJoltBQ rhb25Kwt7EeJl0n+8SWOjimHhA6EOkDb+GcPg+AadBz8ltUVuxG3o2RwgdS5FNsqn6W7 CThuuZ0y7s3gJ6ylU5K1uGrk1s+CNmAcQeYv1QW6DtVJNGE7g6GzFdbhShOjO10x6eg6 9bDgUuH266WfZNOHTM8lI6vImBv7CXJgMQRF1CoxTn8IhjXQ2sqPVw+NOOVepJgb5qVx 1FHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=D1sCo9Fd+Ms/QkHwSktTEBv/GVoC+oqrm3D8ARb8iqs=; b=zTB9DDim2ep0bIhZAx5Gj1R0QRxmg5i3qLLmY1K4nF3R3f9U1pegpuf0NpXaztr+SI IsJSEL45Z2DEejPeiLYr1+/YD8JN7RPTd7Y46Xrk63ipDEuYrJsDEJDfx4pCY0lteBXW 9JfgvL6FpmtXDvOTH6ViUH5K9Ii7yDF9YsdPZS0DZ1S101bs+q4RPObBbNvsBz8KDdmx i5v+qjMTf7bwCuiiUQ9Zr5ftWWCytMa7EL4xAuC1tnFS2/DAzx1PKaZRvT+bDXrqiRut Mx+DQLe9ieK01nB+ej34ht/Lx7dh4PHPha4Datm0RLqm1mgRtr8JW8cpE5jmaIGJGrwL 8vHQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b17si7088422ejl.601.2021.09.17.06.59.11; Fri, 17 Sep 2021 06:59:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343872AbhIQKrz (ORCPT + 99 others); Fri, 17 Sep 2021 06:47:55 -0400 Received: from alexa-out.qualcomm.com ([129.46.98.28]:44010 "EHLO alexa-out.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241138AbhIQKrr (ORCPT ); Fri, 17 Sep 2021 06:47:47 -0400 Received: from ironmsg07-lv.qualcomm.com ([10.47.202.151]) by alexa-out.qualcomm.com with ESMTP; 17 Sep 2021 03:46:26 -0700 X-QCInternal: smtphost Received: from ironmsg01-blr.qualcomm.com ([10.86.208.130]) by ironmsg07-lv.qualcomm.com with ESMTP/TLS/AES256-SHA; 17 Sep 2021 03:46:24 -0700 X-QCInternal: smtphost Received: from c-skakit-linux.ap.qualcomm.com (HELO c-skakit-linux.qualcomm.com) ([10.242.51.242]) by ironmsg01-blr.qualcomm.com with ESMTP; 17 Sep 2021 16:15:57 +0530 Received: by c-skakit-linux.qualcomm.com (Postfix, from userid 2344709) id 767DA51D5; Fri, 17 Sep 2021 16:15:56 +0530 (IST) From: Satya Priya To: Andy Gross , Bjorn Andersson , Rob Herring Cc: Lee Jones , Liam Girdwood , Mark Brown , mka@chromium.org, swboyd@chromium.org, Das Srinagesh , David Collins , kgunda@codeaurora.org, Subbaraman Narayanamurthy , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Satya Priya Subject: [PATCH 2/4] regulator: dt-bindings: Add pm8008 regulator bindings Date: Fri, 17 Sep 2021 16:15:36 +0530 Message-Id: <1631875538-22473-3-git-send-email-skakit@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1631875538-22473-1-git-send-email-skakit@codeaurora.org> References: <1631875538-22473-1-git-send-email-skakit@codeaurora.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add bindings for pm8008 pmic regulators. Signed-off-by: Satya Priya --- .../bindings/regulator/qcom,pm8008-regulator.yaml | 76 ++++++++++++++++++++++ 1 file changed, 76 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..59518c4 --- /dev/null +++ b/Documentation/devicetree/bindings/regulator/qcom,pm8008-regulator.yaml @@ -0,0 +1,76 @@ +# 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. + +properties: + compatible: + const: qcom,pm8008-regulator + + "#address-cells": + const: 1 + + "#size-cells": + const: 0 + + vdd_l1_l2-supply: + description: Input supply phandle of ldo1 and ldo2 regulators. + + vdd_l3_l4-supply: + description: Input supply phandle of ldo3 and ldo4 regulators. + + vdd_l5-supply: + description: Input supply phandle of ldo5 regulator. + + vdd_l6-supply: + description: Input supply phandle of ldo6 regulator. + + vdd_l7-supply: + description: Input supply phandle of ldo7 regulator. + +patternProperties: + "^regulator@[0-9a-f]+$": + type: object + + $ref: "regulator.yaml#" + + description: PM8008 regulator peripherals of PM8008 regulator device + + properties: + reg: + maxItems: 1 + regulator-name: true + regulator-min-microvolt: true + regulator-max-microvolt: true + qcom,min-dropout-voltage: + $ref: /schemas/types.yaml#/definitions/uint32 + description: + Specifies the minimum voltage in microvolts that the parent + supply regulator must output, above the output of this + regulator. + + required: + - reg + - regulator-name + - regulator-min-microvolt + - regulator-max-microvolt + + additionalProperties: false + +required: + - compatible + - "#address-cells" + - "#size-cells" + +additionalProperties: false +... -- QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation