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

Commit 54ba7ec1 authored by Fenglin Wu's avatar Fenglin Wu
Browse files

dt-bindings: adc: spmi-adc5: Add "qcom,scale-fn-type" property

Add "qcom,scale-fn-type" property for VADC channels to add an option
of specifying different scale functions for the same channel.

Change-Id: Ie80105b85ee16fcfc25043729142f60d9f317e13
parent b77421d8
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -136,6 +136,13 @@ Channel node properties:
            If property is not found, a default LUT is used for that channel,
            corresponding to index 0.

- qcom,scale-fn-type:
    Usage: optional
    Value type: <u32>
    Definition: The index of the VADC scale function used to convert raw ADC
	    code to physical scaled units for the channel.
	    See include/dt-bindings/iio/qcom,spmi-vadc.h

Example:

        /* VADC node */