From: Gwendal Grignou Date: Fri, 29 Apr 2022 22:01:41 +0000 (-0700) Subject: dt-bindings: iio: sx9324: Add input analog gain X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=67ac843324a569810dc6736e26bfdc362cdc8e24;p=linux.git dt-bindings: iio: sx9324: Add input analog gain Allow setting the configure the input analog gain. Signed-off-by: Gwendal Grignou Reviewed-by: Stephen Boyd Reviewed-by: Rob Herring Link: https://lore.kernel.org/r/20220429220144.1476049-8-gwendal@chromium.org Signed-off-by: Jonathan Cameron --- diff --git a/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml index 0be87ac05b97a..d265eb5258c84 100644 --- a/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml +++ b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml @@ -143,6 +143,17 @@ properties: description: Pre-charge input resistance in Ohm. + semtech,input-analog-gain: + $ref: /schemas/types.yaml#/definitions/uint32 + minimum: 0 + maximum: 3 + description: | + Defines the input antenna analog gain + 0: x1.247 + 1: x1 (default) + 2: x0.768 + 3: x0.552 + required: - compatible - reg