-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dt-bindings: nvmem: qfprom: Convert to yaml
This switches the bindings over from txt to yaml. Signed-off-by: Ravi Kumar Bokka <rbokka@codeaurora.org> Signed-off-by: Douglas Anderson <dianders@chromium.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20200722100705.7772-10-srinivas.kandagatla@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
- Loading branch information
Ravi Kumar Bokka
authored and
Greg Kroah-Hartman
committed
Jul 29, 2020
1 parent
3f07c65
commit 83281b7
Showing
2 changed files
with
50 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/nvmem/qcom,qfprom.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Qualcomm Technologies Inc, QFPROM Efuse bindings | ||
|
||
maintainers: | ||
- Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | ||
|
||
allOf: | ||
- $ref: "nvmem.yaml#" | ||
|
||
properties: | ||
compatible: | ||
const: qcom,qfprom | ||
|
||
reg: | ||
items: | ||
- description: The corrected region. | ||
|
||
# Needed if any child nodes are present. | ||
"#address-cells": | ||
const: 1 | ||
"#size-cells": | ||
const: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
examples: | ||
- | | ||
soc { | ||
#address-cells = <2>; | ||
#size-cells = <2>; | ||
efuse@784000 { | ||
compatible = "qcom,qfprom"; | ||
reg = <0 0x00784000 0 0x8ff>; | ||
#address-cells = <1>; | ||
#size-cells = <1>; | ||
hstx-trim-primary@1eb { | ||
reg = <0x1eb 0x1>; | ||
bits = <1 4>; | ||
}; | ||
}; | ||
}; |
This file was deleted.
Oops, something went wrong.