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

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

Merge "misc: qpnp: add snapshot of qpnp-misc documentation"

parents 873317b6 10fd7410
Loading
Loading
Loading
Loading
+25 −0
Original line number Diff line number Diff line
QPNP-MISC

QPNP-MISC provides a way to read the PMIC part number and revision.

Required properties:
- compatible : should be "qcom,qpnp-misc"
- reg : offset and length of the PMIC peripheral register map.

Optional properties:
- qcom,pwm-sel:			Select PWM source. Possible values:
				0: LOW
				1: PWM1_in
				2: PWM2_in
				3: PWM1_in & PWM2_in
- qcom,enable-gp-driver:	Enable the GP driver. Should only be specified
				if a non-zero PWM source is specified under
				"qcom,pwm-sel" property.

Example:
	qcom,misc@900 {
		compatible = "qcom,qpnp-misc";
		reg = <0x900 0x100>;
		qcom,pwm-sel = <2>;
		qcom,enable-gp-driver;
	};