All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Lukasz Majewski" <lukma@nabladev.com>
Cc: devicetree@vger.kernel.org, imx@lists.linux.dev,
	linux-hwmon@vger.kernel.org, robh@kernel.org,
	conor+dt@kernel.org, Frank.Li@kernel.org
Subject: Re: [PATCH v5 2/3] dt-bindings: hwmon: Add National/TI LM77 temperature sensor
Date: Thu, 26 Nov 2026 12:48:43 +0000	[thread overview]
Message-ID: <sashiko-outbox-235526@kernel.org> (raw)
In-Reply-To: <20261126124402.3015577-2-lukma@nabladev.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] dt-bindings: hwmon: national,lm77: use items list for interrupts
  property
--

commit 1e0de9410961323eaf2b74ef56e166bc063143d4
Author: Lukasz Majewski <lukma@nabladev.com>

dt-bindings: hwmon: Add National/TI LM77 temperature sensor

This commit adds a Device Tree binding schema for the National
Semiconductor / TI LM77 temperature sensor.

> diff --git a/Documentation/devicetree/bindings/hwmon/national,lm77.yaml b/Documentation/devicetree/bindings/hwmon/national,lm77.yaml
> new file mode 100644
> index 0000000000000..fbb6e711342ce
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/national,lm77.yaml
> @@ -0,0 +1,66 @@

[ ... ]

> +  interrupts:
> +    minItems: 1
> +    maxItems: 2
> +    description: |
> +      The LM77 has two open-drain interrupt outputs.
> +      - The first interrupt should be the INT pin (window comparator).
> +      - The second (optional) interrupt is the T_CRIT_A pin (critical
> +        over-temp limit).

[Severity: Low]
Should interrupts use an items list with per-entry descriptions instead of
enumerating the INT and T_CRIT_A outputs in a free-form description?

In DT schemas, properties with fixed positional entries normally describe
each entry under items (along with minItems: 1) rather than listing the
entries and their optionality in prose with maxItems.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261126124402.3015577-1-lukma@nabladev.com?part=2

  reply	other threads:[~2026-11-26 12:48 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 12:44 [PATCH v5 1/3] dt-bindings: arm: fsl: Add an entry for Cloos CBASE board Lukasz Majewski
2026-11-26 12:44 ` [PATCH v5 2/3] dt-bindings: hwmon: Add National/TI LM77 temperature sensor Lukasz Majewski
2026-11-26 12:48   ` sashiko-bot [this message]
2026-11-27 15:38   ` Guenter Roeck
2026-11-30 20:13     ` Frank Li
2026-11-30 21:34       ` Guenter Roeck
2026-11-26 12:44 ` [PATCH v5 3/3] arm64: dts: imx8mm: Add Cloos CBASE support Lukasz Majewski
2026-11-26 12:53 ` [PATCH v5 1/3] dt-bindings: arm: fsl: Add an entry for Cloos CBASE board sashiko-bot
2026-11-26 16:13 ` Frank.Li

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=sashiko-outbox-235526@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=Frank.Li@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=imx@lists.linux.dev \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=lukma@nabladev.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.