blob: a34cbde456e4d96ecb09fb92aab0db4bb3b32a23 [file] [log] [blame]
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;
};