Commit c8b336bb authored by Evan Green's avatar Evan Green Committed by Greg Kroah-Hartman

dt-bindings: nvmem: Add soc qfprom compatible strings

Add SoC-specific compatible strings so that data can be attached
to it in the driver.
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarEvan Green <evgreen@chromium.org>
Signed-off-by: default avatarSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20201127102837.19366-4-srinivas.kandagatla@linaro.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fd3bb8f5
...@@ -14,7 +14,18 @@ allOf: ...@@ -14,7 +14,18 @@ allOf:
properties: properties:
compatible: compatible:
const: qcom,qfprom items:
- enum:
- qcom,apq8064-qfprom
- qcom,apq8084-qfprom
- qcom,msm8974-qfprom
- qcom,msm8916-qfprom
- qcom,msm8996-qfprom
- qcom,msm8998-qfprom
- qcom,qcs404-qfprom
- qcom,sc7180-qfprom
- qcom,sdm845-qfprom
- const: qcom,qfprom
reg: reg:
# If the QFPROM is read-only OS image then only the corrected region # If the QFPROM is read-only OS image then only the corrected region
...@@ -60,7 +71,7 @@ examples: ...@@ -60,7 +71,7 @@ examples:
#size-cells = <2>; #size-cells = <2>;
efuse@784000 { efuse@784000 {
compatible = "qcom,qfprom"; compatible = "qcom,sc7180-qfprom", "qcom,qfprom";
reg = <0 0x00784000 0 0x8ff>, reg = <0 0x00784000 0 0x8ff>,
<0 0x00780000 0 0x7a0>, <0 0x00780000 0 0x7a0>,
<0 0x00782000 0 0x100>, <0 0x00782000 0 0x100>,
...@@ -85,7 +96,7 @@ examples: ...@@ -85,7 +96,7 @@ examples:
#size-cells = <2>; #size-cells = <2>;
efuse@784000 { efuse@784000 {
compatible = "qcom,qfprom"; compatible = "qcom,sdm845-qfprom", "qcom,qfprom";
reg = <0 0x00784000 0 0x8ff>; reg = <0 0x00784000 0 0x8ff>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment