diff --git a/bindings/soc/qcom/qcom,rb5-fan-controller.txt b/bindings/soc/qcom/qcom,rb5-fan-controller.txt new file mode 100644 index 000000000000..388b9570e2ff --- /dev/null +++ b/bindings/soc/qcom/qcom,rb5-fan-controller.txt @@ -0,0 +1,24 @@ +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: + Definition: must be "qcom,rb5_fan_controller" + +- qcom,pwr-enable-gpio: + Usage: required + Value type: + 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"; + };