From 1a296131e5b7d300d1d78efe45ffd97d35248499 Mon Sep 17 00:00:00 2001 From: Neeraj Upadhyay Date: Wed, 14 Oct 2020 15:58:12 +0530 Subject: [PATCH] ARM: dts: msm: Export qfprom cell to userspace for Shima Add support to export qfprom cell values as sysfs entries to userspace. Change-Id: Iedc3fbdffeb1992323e514628961567479c0ed35 --- qcom/shima.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/qcom/shima.dtsi b/qcom/shima.dtsi index fd0b467f4806..3ef5da0e77b3 100644 --- a/qcom/shima.dtsi +++ b/qcom/shima.dtsi @@ -3451,6 +3451,21 @@ }; }; + qfprom_sys: qfprom@0 { + compatible = "qcom,qfprom-sys"; + + nvmem-cells = <&gpu_speed_bin>, + <&gpu_gaming_bin>, + <&adsp_variant>, + <&feat_conf_m7>, + <&feat_conf_qc_spare_20_lsb>; + nvmem-cell-names = "gpu_speed_bin", + "gpu_gaming_bin", + "adsp_variant", + "feat_conf_m7", + "feat_conf_qc_spare_20_lsb"; + }; + wlan: qcom,cnss-qca6490@b0000000 { compatible = "qcom,cnss-qca6490"; reg = <0xb0000000 0x10000>;