From cfde88c84d163a636383b2c7d580036e330cebef Mon Sep 17 00:00:00 2001 From: Shyam Kumar Thella Date: Mon, 6 Apr 2020 09:19:35 +0530 Subject: [PATCH 1/2] dt-bindings: qpnp-amoled: Update voltage ranges for PM8150A/PM8350B Modify the voltage ranges for PM8150A AMOLED regulator bindings based on hardware documentation. Also add voltage ranges for PM8350B. Change-Id: Ia3caa678706ba36df3499bfc96b65cd6d3c75a36 --- bindings/regulator/qpnp-amoled-regulator.txt | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/bindings/regulator/qpnp-amoled-regulator.txt b/bindings/regulator/qpnp-amoled-regulator.txt index 39c78a38..a9540fc4 100644 --- a/bindings/regulator/qpnp-amoled-regulator.txt +++ b/bindings/regulator/qpnp-amoled-regulator.txt @@ -4,10 +4,14 @@ QPNP OLEDB module provides AVDD voltage rail output for bias and QPNP AB/IBB module provides ELVDD/ELVSS voltage rail output to power up AMOLED panels. For PM8150A, allowed voltage levels are as below: -AVDD - Programmable output from 4.925 V to 8.1 V. -ELVDD - Programmable output from 4.6 V to 6.1 V. +AVDD - Programmable output from 5 V to 8 V. +ELVDD - Programmable output from 4.6 V to 5.2 V. ELVSS - Programmable output from -0.8 V to -5.4 V. +For PM8350B, allowed voltage levels are as below: +AVDD - Programmable output from 5 V to 8 V. +ELVDD - Programmable output from 4.6 V to 5.2 V. +ELVSS - Programmable output from -1.4 V to -6.6 V. This document describes the bindings for AMOLED regulator devices. @@ -76,8 +80,8 @@ pm8150a_amoled: oledb@e000 { reg = <0xe000>; reg-names = "oledb_base"; regulator-name = "oledb_vreg"; - regulator-min-microvolt = <4925000>; - regulator-max-microvolt = <8100000>; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <8000000>; qcom,swire-control; }; @@ -86,7 +90,7 @@ pm8150a_amoled: oledb@e000 { reg-names = "ab_base"; regulator-name = "ab_vreg"; regulator-min-microvolt = <4600000>; - regulator-max-microvolt = <6100000>; + regulator-max-microvolt = <5200000>; qcom,swire-control; qcom,aod-pd-control; }; From 3e1047ff5b44298654ae8b6befe800c20f1742d7 Mon Sep 17 00:00:00 2001 From: Shyam Kumar Thella Date: Thu, 2 Apr 2020 21:42:25 +0530 Subject: [PATCH 2/2] ARM: dts: msm: Modify voltage ranges for PM8350B AMOLED regulator Modify the lower and upper voltage limits of OLEDB, IBB & AB devices in PM8350B AMOLED regulator based on hardware documentation. Change-Id: Idd2b8d4524acb64c60d7d7780685571dd61853a8 --- qcom/pm8350b.dtsi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/qcom/pm8350b.dtsi b/qcom/pm8350b.dtsi index 930c94dc..72db125a 100644 --- a/qcom/pm8350b.dtsi +++ b/qcom/pm8350b.dtsi @@ -177,8 +177,8 @@ reg = <0xfa00>; reg-names = "oledb_base"; regulator-name = "oledb"; - regulator-min-microvolt = <4925000>; - regulator-max-microvolt = <8100000>; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <8000000>; qcom,swire-control; }; @@ -187,7 +187,7 @@ reg-names = "ab_base"; regulator-name = "ab"; regulator-min-microvolt = <4600000>; - regulator-max-microvolt = <6100000>; + regulator-max-microvolt = <5200000>; qcom,swire-control; }; @@ -195,8 +195,8 @@ reg = <0xf800>; reg-names = "ibb_base"; regulator-name = "ibb"; - regulator-min-microvolt = <800000>; - regulator-max-microvolt = <5400000>; + regulator-min-microvolt = <1400000>; + regulator-max-microvolt = <6600000>; qcom,swire-control; }; };