From 8550bf505e7b1f5effb2c00d21a87616bde33410 Mon Sep 17 00:00:00 2001 From: Guru Das Srinagesh Date: Wed, 18 Dec 2019 11:02:27 -0800 Subject: [PATCH] dt-bindings: pwm-qti-lpg: Update reg definition Commit f6ea1a1997a92b ("ARM: dts: msm: add PMIC devices for Lahaina") specifies the #address-cells and #size-cells of peripheral devices under PMIC device nodes on the SPMI bus as 1 and 0 respectively. This requires that the reg property specification of all child nodes of the PMIC devices be updated. Update pwm-qti-lpg bindings accordingly. Also add missing required property to example. Change-Id: I0b0fc8fdaa58f03904cb82237d7ed56e37512aa1 --- bindings/pwm/pwm-qti-lpg.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bindings/pwm/pwm-qti-lpg.txt b/bindings/pwm/pwm-qti-lpg.txt index d92ab5399970..a4a65294e5b3 100644 --- a/bindings/pwm/pwm-qti-lpg.txt +++ b/bindings/pwm/pwm-qti-lpg.txt @@ -10,7 +10,7 @@ device module in Qualcomm Technologies, Inc. PMIC chips. - reg: Usage: required - Value type: + Value type: Definition: Register base for LPG and LUT modules. - reg-names: @@ -175,7 +175,7 @@ Example when LUT pattern is stored in a LUT module: pm8150l_lpg: lpg@b100 { compatible = "qcom,pwm-lpg"; - reg = <0xb100 0x600>, <0xb000 0x100>; + reg = <0xb100>, <0xb000>; reg-names = "lpg-base", "lut-base"; qcom,num-lpg-channels = <6>; #pwm-cells = <2>; @@ -217,8 +217,9 @@ Example when LUT pattern is stored in a SDAM module: pmi632_lpg: lpg@b100 { compatible = "qcom,pwm-lpg"; - reg = <0xb100 0x600>; + reg = <0xb100>; reg-names = "lpg-base"; + qcom,num-lpg-channels = <3>; #pwm-cells = <2>; nvmem-names = "ppg_sdam"; nvmem = <&sdam7>;