From 67ac843324a569810dc6736e26bfdc362cdc8e24 Mon Sep 17 00:00:00 2001 From: Gwendal Grignou Date: Fri, 29 Apr 2022 15:01:41 -0700 Subject: [PATCH] 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 --- .../bindings/iio/proximity/semtech,sx9324.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9324.yaml index 0be87ac05b97..d265eb5258c8 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