From 5958abfd7282bcd1a7132dfd6747c7b6517dc327 Mon Sep 17 00:00:00 2001 From: Guru Das Srinagesh Date: Wed, 22 Jan 2020 17:32:07 -0800 Subject: [PATCH] ARM: dts: msm: Add nvmem devices on PMK8350 to support PPG PWMs on PM8350C require the nvmem devices SDAM21 and SDAM22 to store pattern data as well as per-channel data. Add the required devices to PMK8350 so that they may be referenced and used by the PWM node. Change-Id: I762ff0c81ed7855d52231be81b8e08abfef5e708 --- qcom/pmk8350.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/qcom/pmk8350.dtsi b/qcom/pmk8350.dtsi index 185d62edbef2..b8ce79089d11 100644 --- a/qcom/pmk8350.dtsi +++ b/qcom/pmk8350.dtsi @@ -199,6 +199,16 @@ }; }; + pmk8350_sdam_21: sdam@8400 { + compatible = "qcom,spmi-sdam"; + reg = <0x8400>; + }; + + pmk8350_sdam_22: sdam@8500 { + compatible = "qcom,spmi-sdam"; + reg = <0x8500>; + }; + pmk8350_gpios: pinctrl@b000 { compatible = "qcom,pmk8350-gpio"; reg = <0xb000>;