Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e31cae10 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

ARM: dts: msm: change hard reset behavior for PMI8994 and PMK8001 PON



As per hardware documentation, PON devices of both PMI8994 and
PMK8001 should be configured to shutdown when the system goes
for a hard reset. Change it.

CRs-Fixed: 953825
Change-Id: I151524b13a17f88c7a925ced57f9ca81b200c25c
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent f75a9fac
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -10,6 +10,8 @@
 * GNU General Public License for more details.
 */

#include <dt-bindings/msm/power-on.h>

&spmi_bus {
	#address-cells = <1>;
	#size-cells = <0>;
@@ -31,6 +33,8 @@
			compatible = "qcom,qpnp-power-on";
			reg = <0x800 0x100>;
			qcom,secondary-pon-reset;
			qcom,hard-reset-poweroff-type =
				<PON_POWER_OFF_SHUTDOWN>;
			pon_perph_reg: qcom,pon_perph_reg {
				regulator-name = "pon_spare_reg";
				qcom,pon-spare-reg-addr = <0x8c>;
+4 −0
Original line number Diff line number Diff line
@@ -10,6 +10,8 @@
 * GNU General Public License for more details.
 */

#include <dt-bindings/msm/power-on.h>

&spmi_bus {
	qcom,pmk8001@6 {
		spmi-slave-container;
@@ -26,6 +28,8 @@
			compatible = "qcom,qpnp-power-on";
			reg = <0x800 0x100>;
			qcom,secondary-pon-reset;
			qcom,hard-reset-poweroff-type =
				<PON_POWER_OFF_SHUTDOWN>;
		};

		pmk8001_gpios: gpios {