[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1589307480-27508-2-git-send-email-rbokka@codeaurora.org>
Date: Tue, 12 May 2020 23:47:58 +0530
From: Ravi Kumar Bokka <rbokka@...eaurora.org>
To: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>,
Rob Herring <robh+dt@...nel.org>
Cc: linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
rnayak@...eaurora.org, saiprakash.ranjan@...eaurora.org,
dhavalp@...eaurora.org, mturney@...eaurora.org,
sparate@...eaurora.org, c_rbokka@...eaurora.org,
mkurumel@...eaurora.org, Ravi Kumar Bokka <rbokka@...eaurora.org>
Subject: [RFC v1 1/3] dt-bindings: nvmem: Add devicetree bindings for qfprom-efuse
This patch adds dt-bindings document for qfprom-efuse controller.
Signed-off-by: Ravi Kumar Bokka <rbokka@...eaurora.org>
---
.../devicetree/bindings/nvmem/qfprom-efuse.yaml | 40 ++++++++++++++++++++++
1 file changed, 40 insertions(+)
create mode 100644 Documentation/devicetree/bindings/nvmem/qfprom-efuse.yaml
diff --git a/Documentation/devicetree/bindings/nvmem/qfprom-efuse.yaml b/Documentation/devicetree/bindings/nvmem/qfprom-efuse.yaml
new file mode 100644
index 0000000..d262c99
--- /dev/null
+++ b/Documentation/devicetree/bindings/nvmem/qfprom-efuse.yaml
@@ -0,0 +1,40 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/nvmem/qfprom-efuse.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Qualcomm Technologies Inc, QFPROM Efuse bindings
+
+maintainers:
+ - Ravi Kumar Bokka <rbokka@...eaurora.org>
+
+allOf:
+ - $ref: "nvmem.yaml#"
+
+properties:
+ compatible:
+ enum:
+ - qcom,sc7180-qfprom-efuse
+
+ reg:
+ maxItems: 3
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - clock-names
+
+examples:
+ - |
+ #include <dt-bindings/clock/qcom,gcc-sc7180.h>
+
+ efuse@...000 {
+ compatible = "qcom,sc7180-qfprom-efuse";
+ reg = <0 0x00780000 0 0x100>,
+ <0 0x00780120 0 0x7a0>,
+ <0 0x00782000 0 0x100>;
+ clocks = <&gcc GCC_SEC_CTRL_CLK_SRC>;
+ clock-names = "secclk";
+ };
--
Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by the Linux Foundation.
Powered by blists - more mailing lists