Linux Hardware Monitor development
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: John Erasmus Mari Geronimo <johnerasmusmari.geronimo@analog.com>,
	devicetree@vger.kernel.org, linux-hwmon@vger.kernel.org,
	linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org
Cc: Jean Delvare <jdelvare@suse.com>,
	Guenter Roeck <linux@roeck-us.net>, Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Jonathan Corbet <corbet@lwn.net>
Subject: Re: [PATCH 2/3] dt-bindings: hwmon: adi,max31827: add MAX31875
Date: Wed, 8 Jan 2025 10:42:51 +0100	[thread overview]
Message-ID: <4a4f9773-186c-475c-bfac-72e696233501@kernel.org> (raw)
In-Reply-To: <20250108082531.15467-3-johnerasmusmari.geronimo@analog.com>

On 08/01/2025 09:25, John Erasmus Mari Geronimo wrote:
> Add max31875 to dt-bindings of max31827
> MAX31875 is low-power I2C temperature sensor similar to MAX31827
> 
> Signed-off-by: John Erasmus Mari Geronimo <johnerasmusmari.geronimo@analog.com>
> ---
>  .../bindings/hwmon/adi,max31827.yaml           | 18 ++++++++++++++++--
>  1 file changed, 16 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml b/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml
> index f60e06ab7..9363fa371 100644
> --- a/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml
> +++ b/Documentation/devicetree/bindings/hwmon/adi,max31827.yaml
> @@ -4,16 +4,19 @@
>  $id: http://devicetree.org/schemas/hwmon/adi,max31827.yaml#
>  $schema: http://devicetree.org/meta-schemas/core.yaml#
>  
> -title: Analog Devices MAX31827, MAX31828, MAX31829 Low-Power Temperature Switch
> +title: Analog Devices MAX31827, MAX31828, MAX31829, MAX31875 Low-Power Temperature Switch
>  
>  maintainers:
> -  - Daniel Matyas <daniel.matyas@analog.com>
> +  - John Erasmus Mari Geronimo <johnerasmusmari.geronimo@analog.com>


This needs to be explained in commit msg.

>  
> +  - if:
> +      properties:
> +        compatible:
> +          contains:
> +            const: adi,max31875
> +
> +    then:
> +      properties:
> +        adi,fault-q:
> +          enum: [1, 2, 4, 6]

You need to update top-level property to allow 6. Then narrow the
choices for rest of the variants.

>  
>  required:
>    - compatible


Best regards,
Krzysztof

  reply	other threads:[~2025-01-08  9:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-08  8:25 [PATCH 0/3] Add max31875 support John Erasmus Mari Geronimo
2025-01-08  8:25 ` [PATCH 1/3] hwmon: (max31827) refactor enum chips to chip info John Erasmus Mari Geronimo
2025-01-08 14:22   ` Guenter Roeck
2025-01-09  5:05   ` kernel test robot
2025-01-08  8:25 ` [PATCH 2/3] dt-bindings: hwmon: adi,max31827: add MAX31875 John Erasmus Mari Geronimo
2025-01-08  9:42   ` Krzysztof Kozlowski [this message]
2025-01-08  8:25 ` [PATCH 3/3] hwmon: (max31827) add max31875 support John Erasmus Mari Geronimo
2025-03-02 18:41   ` Guenter Roeck

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=4a4f9773-186c-475c-bfac-72e696233501@kernel.org \
    --to=krzk@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=corbet@lwn.net \
    --cc=devicetree@vger.kernel.org \
    --cc=jdelvare@suse.com \
    --cc=johnerasmusmari.geronimo@analog.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=robh@kernel.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