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

Commit 06adb525 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ARM: dts: msm: Add PM8008 GPIOs for trinket"

parents 9ab56c7a 6ace8013
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@

#include <dt-bindings/interrupt-controller/irq.h>

qcom,pm8008@8 {
pm8008_8: qcom,pm8008@8 {
	compatible = "qcom,i2c-pmic";
	reg = <0x8>;
	#address-cells = <1>;
@@ -30,9 +30,19 @@ qcom,pm8008@8 {
		compatible = "qcom,qpnp-revid";
		reg = <0x100>;
	};

	pm8008_gpios: pinctrl@c000 {
		compatible = "qcom,spmi-gpio";
		reg = <0xc000 0x200>;
		interrupts = <0x0 0xc0 0 IRQ_TYPE_NONE>,
				<0x0 0xc1 0 IRQ_TYPE_NONE>;
		interrupt-names = "pm8008_gpio1", "pm8008_gpio2";
		gpio-controller;
		#gpio-cells = <2>;
	};
};

qcom,pm8008@9 {
pm8008_9: qcom,pm8008@9 {
	compatible = "qcom,i2c-pmic";
	reg = <0x9>;
	#address-cells = <1>;
+18 −0
Original line number Diff line number Diff line
@@ -2970,6 +2970,18 @@
	};
};

&pm8008_gpios {
	gpio1_active {
		pm8008_gpio1_active: pm8008_gpio1_active {
			pins = "gpio1";
			function = "normal";
			power-source = <1>;
			bias-disable;
			input-enable;
		};
	};
};

&pm8008_chip {
	pinctrl-names = "default";
	pinctrl-0 = <&pm8008_active>;
@@ -2979,6 +2991,12 @@
	vdd_l1_l2-supply = <&S6A>;
};

&pm8008_9 {
	/* GPIO1 pinctrl config */
	pinctrl-names = "default";
	pinctrl-0 = <&pm8008_gpio1_active>;
};

&L1P {
	regulator-min-microvolt = <1200000>;
	regulator-max-microvolt = <1200000>;