Skip to content

Commit fcdc6d7

Browse files
Komal-Bajajgregkh
authored andcommitted
dt-bindings: nvmem: sec-qfprom: Add bindings for secure qfprom
This patch adds bindings for secure qfprom found in QCOM SOCs. Secure QFPROM driver is based on simple nvmem framework. Signed-off-by: Komal Bajaj <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 9579064 commit fcdc6d7

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/nvmem/qcom,sec-qfprom.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm Technologies Inc, Secure QFPROM Efuse
8+
9+
maintainers:
10+
- Komal Bajaj <[email protected]>
11+
12+
description:
13+
For some of the Qualcomm SoC's, it is possible that the qfprom region is
14+
protected from non-secure access. In such situations, the OS have to use
15+
secure calls to read the region.
16+
17+
allOf:
18+
- $ref: nvmem.yaml#
19+
20+
properties:
21+
compatible:
22+
items:
23+
- enum:
24+
- qcom,qdu1000-sec-qfprom
25+
- const: qcom,sec-qfprom
26+
27+
reg:
28+
items:
29+
- description: The secure qfprom corrected region.
30+
31+
required:
32+
- compatible
33+
- reg
34+
35+
unevaluatedProperties: false
36+
37+
examples:
38+
- |
39+
soc {
40+
#address-cells = <2>;
41+
#size-cells = <2>;
42+
43+
efuse@221c8000 {
44+
compatible = "qcom,qdu1000-sec-qfprom", "qcom,sec-qfprom";
45+
reg = <0 0x221c8000 0 0x1000>;
46+
#address-cells = <1>;
47+
#size-cells = <1>;
48+
49+
multi_chan_ddr: multi-chan-ddr@12b {
50+
reg = <0x12b 0x1>;
51+
bits = <0 2>;
52+
};
53+
};
54+
};
55+

0 commit comments

Comments
 (0)