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

Commit 49dc21c9 authored by Peng Wang's avatar Peng Wang Committed by Gerrit - the friendly Code Review server
Browse files

dt-bindings: msm: Add document for fan driver on RB5

Add property 'qcom,pwr-enable-gpio' to control fan on QRB5165
with pm8150l gpio 10.

Change-Id: I2c169ac0ba80f67b80367596ae6f0cab9ad9b111
parent d3b547e5
Loading
Loading
Loading
Loading
+24 −0
Original line number Diff line number Diff line
Qualcomm Technologies, Inc. QRB5165 Fan Controller Driver

This binding describes the QRB5165 Fan Controller Driver, it controls
fan with pm8150l gpio 10.

- compatible:
	Usage: required
	Value type: <stringlist>
	Definition: must be "qcom,rb5_fan_controller"

- qcom,pwr-enable-gpio:
	Usage: required
	Value type: <prop-encoded-array>
	Definition: the gpio to enable fan pwr

Example:

	rb5_fan_controller {
		compatible = "qcom,rb5_fan_controller";
		qcom,pwr-enable-gpio = <&pm8150l_gpios 10 0x0>;
		pinctrl-name = "default";
		pinctrl-0 = <&rb5_fan_controller_pin_init>;
		status = "ok";
	};