From mboxrd@z Thu Jan 1 00:00:00 1970 From: Srinivas Kandagatla Subject: [PATCH v2 6/7] eeprom: qfprom: Add bindings for qfprom Date: Fri, 13 Mar 2015 09:50:56 +0000 Message-ID: <1426240256-2705-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1426240157-2383-1-git-send-email-srinivas.kandagatla@linaro.org> Return-path: In-Reply-To: <1426240157-2383-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org To: linux-arm-kernel@lists.infradead.org Cc: Maxime Ripard , Rob Herring , Pawel Moll , Kumar Gala , linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Stephen Boyd , Arnd Bergmann , broonie@kernel.org, Greg Kroah-Hartman , linux-arm-msm@vger.kernel.org, Srinivas Kandagatla List-Id: linux-arm-msm@vger.kernel.org This patch adds bindings for qfprom found in QCOM SOCs. QFPROM driver is based on simple eeprom framework. Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/eeprom/qfprom.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/eeprom/qfprom.txt diff --git a/Documentation/devicetree/bindings/eeprom/qfprom.txt b/Documentation/devicetree/bindings/eeprom/qfprom.txt new file mode 100644 index 0000000..d5baed6 --- /dev/null +++ b/Documentation/devicetree/bindings/eeprom/qfprom.txt @@ -0,0 +1,23 @@ += 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/eeprom/eeprom.txt + +Example: + + qfprom: qfprom@00700000 { + compatible = "qcom,qfprom"; + reg = <0x00700000 0x1000>; + ... + /* Data cells */ + tsens_calibration: calib@404 { + reg = <0x404 0x10>; + }; + }; -- 1.9.1