Skip to content

Commit 83281b7

Browse files
Ravi Kumar Bokkagregkh
authored andcommitted
dt-bindings: nvmem: qfprom: Convert to yaml
This switches the bindings over from txt to yaml. Signed-off-by: Ravi Kumar Bokka <[email protected]> Signed-off-by: Douglas Anderson <[email protected]> Reviewed-by: Rob Herring <[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 3f07c65 commit 83281b7

File tree

2 files changed

+50
-35
lines changed

2 files changed

+50
-35
lines changed
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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,qfprom.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Qualcomm Technologies Inc, QFPROM Efuse bindings
8+
9+
maintainers:
10+
- Srinivas Kandagatla <[email protected]>
11+
12+
allOf:
13+
- $ref: "nvmem.yaml#"
14+
15+
properties:
16+
compatible:
17+
const: qcom,qfprom
18+
19+
reg:
20+
items:
21+
- description: The corrected region.
22+
23+
# Needed if any child nodes are present.
24+
"#address-cells":
25+
const: 1
26+
"#size-cells":
27+
const: 1
28+
29+
required:
30+
- compatible
31+
- reg
32+
33+
examples:
34+
- |
35+
soc {
36+
#address-cells = <2>;
37+
#size-cells = <2>;
38+
39+
efuse@784000 {
40+
compatible = "qcom,qfprom";
41+
reg = <0 0x00784000 0 0x8ff>;
42+
#address-cells = <1>;
43+
#size-cells = <1>;
44+
45+
hstx-trim-primary@1eb {
46+
reg = <0x1eb 0x1>;
47+
bits = <1 4>;
48+
};
49+
};
50+
};

Documentation/devicetree/bindings/nvmem/qfprom.txt

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)