Re: [PATCH v8 v8 03/11] dt-bindings: iio: adc: hx711: add RATE GPIO property

From: Jonathan Cameron

Date: Tue May 12 2026 - 08:09:01 EST


On Mon, 11 May 2026 23:13:28 +0530
Piyush Patle <piyushpatle228@xxxxxxxxx> wrote:

> Document the optional RATE pin GPIO used to select the HX711 output
> data rate.
>
> Update the example to show the property in use.
>
> Signed-off-by: Piyush Patle <piyushpatle228@xxxxxxxxx>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxx>
> Acked-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
Applied to the testing branch of iio.git

thanks,

Jonathan

> ---
> Documentation/devicetree/bindings/iio/adc/avia-hx711.yaml | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/iio/adc/avia-hx711.yaml b/Documentation/devicetree/bindings/iio/adc/avia-hx711.yaml
> index a8eaa1f18de5..9134bbe41379 100644
> --- a/Documentation/devicetree/bindings/iio/adc/avia-hx711.yaml
> +++ b/Documentation/devicetree/bindings/iio/adc/avia-hx711.yaml
> @@ -37,6 +37,13 @@ properties:
> description:
> Supply voltage for the on-chip regulator (VSUP).
>
> + rate-gpios:
> + description:
> + GPIO connected to the RATE pin. When driven low the output data
> + rate is 10 SPS; when driven high it is 80 SPS. If omitted the
> + RATE pin state is determined by the board wiring.
> + maxItems: 1
> +
> clock-frequency:
> description:
> Controls the SCK bit-bang timing. The value is used to derive the
> @@ -61,6 +68,7 @@ examples:
> compatible = "avia,hx711";
> sck-gpios = <&gpio3 10 GPIO_ACTIVE_HIGH>;
> dout-gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>;
> + rate-gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
> avdd-supply = <&avdd>;
> clock-frequency = <100000>;
> };