Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1170289

[PATCH v6 7/9] nvmem: qfprom: Add bindings for qfprom

From Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Newsgroups linux.kernel
Subject [PATCH v6 7/9] nvmem: qfprom: Add bindings for qfprom
Date 2015-06-23 01:20 +0200
Message-ID <pEjaq-1zV-13@gated-at.bofh.it> (permalink)
References <pEj0K-1oI-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This patch adds bindings for qfprom found in QCOM SOCs. QFPROM driver
is based on simple nvmem framework.

Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
---
 Documentation/devicetree/bindings/nvmem/qfprom.txt | 35 ++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/nvmem/qfprom.txt

diff --git a/Documentation/devicetree/bindings/nvmem/qfprom.txt b/Documentation/devicetree/bindings/nvmem/qfprom.txt
new file mode 100644
index 0000000..8a8d55f
--- /dev/null
+++ b/Documentation/devicetree/bindings/nvmem/qfprom.txt
@@ -0,0 +1,35 @@
+= Qualcomm QFPROM device tree bindings =
+
+This binding is intended to represent QFPROM which is found in most QCOM SOCs.
+
+Required properties:
+- compatible: should be "qcom,qfprom"
+- reg: Should contain registers location and length
+
+= Data cells =
+Are child nodes of qfprom, bindings of which as described in
+bindings/nvmem/nvmem.txt
+
+Example:
+
+	qfprom: qfprom@00700000 {
+		compatible 	= "qcom,qfprom";
+		reg		= <0x00700000 0x8000>;
+		...
+		/* Data cells */
+		tsens_calibration: calib@404 {
+			reg = <0x4404 0x10>;
+		};
+	};
+
+
+= Data consumers =
+Are device nodes which consume nvmem data cells.
+
+For example:
+
+	tsens {
+		...
+		nvmem-cell = <&tsens_calibration>;
+		nvmem-cell-names = "calibration";
+	};
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v6 0/9] Add simple NVMEM Framework via regmap. Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-06-23 01:10 +0200
  [PATCH v6 2/9] nvmem: Add a simple NVMEM framework for consumers Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-06-23 01:10 +0200
  [PATCH v6 1/9] nvmem: Add a simple NVMEM framework for nvmem providers Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-06-23 01:10 +0200
    Re: [PATCH v6 1/9] nvmem: Add a simple NVMEM framework for nvmem  providers Joe Perches <joe@perches.com> - 2015-06-23 07:00 +0200
  [PATCH v6 4/9] nvmem: Add bindings for simple nvmem framework Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-06-23 01:10 +0200
  [PATCH v6 8/9] nvmem: sunxi: Move the SID driver to the nvmem framework Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-06-23 01:20 +0200
  [PATCH v6 7/9] nvmem: qfprom: Add bindings for qfprom Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-06-23 01:20 +0200
  [PATCH v6 9/9] nvmem: Add to MAINTAINERS for nvmem framework Srinivas Kandagatla <srinivas.kandagatla@linaro.org> - 2015-06-23 01:20 +0200

csiph-web