From: Rob Herring <robh@kernel.org>
To: Gwendal Grignou <gwendal@chromium.org>
Cc: jic23@kernel.org, swboyd@chromium.org, linux-iio@vger.kernel.org,
devicetree@vger.kernel.org
Subject: Re: [PATCH v4 7/8] dt-bindings: iio: sx9360: Add precharge resistor setting
Date: Wed, 13 Apr 2022 13:38:43 -0500 [thread overview]
Message-ID: <YlcYswjsb6dn1a6M@robh.at.kernel.org> (raw)
In-Reply-To: <20220406165011.10202-8-gwendal@chromium.org>
On Wed, Apr 06, 2022 at 09:50:10AM -0700, Gwendal Grignou wrote:
> Allow configure the resistance used during precharge.
>
> Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
> ---
> Changes since v3:
> - Fix maximum field. Check make dt_binding_check passes.
>
> Changes since v2:
> - Change kOhms into ohms.
>
> Changes since v1:
> - Suffix property with kOhms.
>
> .../bindings/iio/proximity/semtech,sx9360.yaml | 9 +++++++++
> 1 file changed, 9 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/iio/proximity/semtech,sx9360.yaml b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9360.yaml
> index 63e1a1fd00d4c..20c2759ced436 100644
> --- a/Documentation/devicetree/bindings/iio/proximity/semtech,sx9360.yaml
> +++ b/Documentation/devicetree/bindings/iio/proximity/semtech,sx9360.yaml
> @@ -61,6 +61,14 @@ properties:
> UINT_MAX (4294967295) represents infinite. Other values
> represent 1-1/N.
>
> + semtech,input-precharge-resistor-ohms:
> + default: 0
> + description:
> + Pre-charge input resistance in Ohm.
> + Rounded down to a 2000 Ohm multiple.
You can have 'multipleOf: 2000' as a constraint.
> + minimum: 0
> + maximum: 30000
> +
> required:
> - compatible
> - reg
> @@ -85,5 +93,6 @@ examples:
> semtech,resolution = <256>;
> semtech,proxraw-strength = <2>;
> semtech,avg-pos-strength = <64>;
> + semtech,input-precharge-resistor-ohms = <4000>;
> };
> };
> --
> 2.35.1.1094.g7c7d902a7c-goog
>
>
next prev parent reply other threads:[~2022-04-13 18:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-06 16:50 [PATCH v4 0/8] Add settings for precharge and internal resistor Gwendal Grignou
2022-04-06 16:50 ` [PATCH v4 1/8] iio: sx9324: Fix default precharge internal resistance register Gwendal Grignou
2022-04-06 17:14 ` Stephen Boyd
2022-04-10 16:49 ` Jonathan Cameron
2022-04-10 16:55 ` Jonathan Cameron
2022-04-06 16:50 ` [PATCH v4 2/8] iio: sx9324: Fix register field spelling Gwendal Grignou
2022-04-06 16:50 ` [PATCH v4 3/8] dt-bindings: iio: sx9324: Add precharge resistor setting Gwendal Grignou
2022-04-06 16:50 ` [PATCH v4 4/8] iio: sx9324: Add precharge internal resistance setting Gwendal Grignou
2022-04-06 16:50 ` [PATCH v4 5/8] dt-bindings: iio: sx9324: Add internal compensation resistor setting Gwendal Grignou
2022-04-06 16:50 ` [PATCH v4 6/8] iio: sx9324: Add Setting for internal compensation resistor Gwendal Grignou
2022-04-06 17:15 ` Stephen Boyd
2022-04-06 16:50 ` [PATCH v4 7/8] dt-bindings: iio: sx9360: Add precharge resistor setting Gwendal Grignou
2022-04-06 17:15 ` Stephen Boyd
2022-04-13 18:38 ` Rob Herring [this message]
2022-04-06 16:50 ` [PATCH v4 8/8] iio: sx9360: Add pre-charge " Gwendal Grignou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YlcYswjsb6dn1a6M@robh.at.kernel.org \
--to=robh@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=gwendal@chromium.org \
--cc=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=swboyd@chromium.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).