From: Krzysztof Kozlowski <krzk@kernel.org>
To: Igor Reznichenko <igor@reznichenko.net>,
linux@roeck-us.net, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, corbet@lwn.net, skhan@linuxfoundation.org,
david.hunter.linux@gmail.com
Cc: linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org
Subject: Re: [PATCH 5/5] Documentation/devicetree/bindings/hwmon: Add TSC1641 binding
Date: Wed, 22 Oct 2025 08:48:43 +0200 [thread overview]
Message-ID: <e396d81b-0f61-4a05-873e-354339b5e50e@kernel.org> (raw)
In-Reply-To: <20251022044708.314287-6-igor@reznichenko.net>
On 22/10/2025 06:47, Igor Reznichenko wrote:
> Add a devicetree binding for the TSC1641 I2C power monitor.
Please use subject prefixes matching the subsystem. You can get them for
example with `git log --oneline -- DIRECTORY_OR_FILE` on the directory
your patch is touching. For bindings, the preferred subjects are
explained here:
https://www.kernel.org/doc/html/latest/devicetree/bindings/submitting-patches.html#i-for-patch-submitters
A nit, subject: drop second/last, redundant "binding". The "dt-bindings"
prefix is already stating that these are bindings.
See also:
https://elixir.bootlin.com/linux/v6.17-rc3/source/Documentation/devicetree/bindings/submitting-patches.rst#L18
Please organize the patch documenting compatible (DT bindings) before
their user.
See also:
https://elixir.bootlin.com/linux/v6.14-rc6/source/Documentation/devicetree/bindings/submitting-patches.rst#L46
>
> Signed-off-by: Igor Reznichenko <igor@reznichenko.net>
> ---
> .../devicetree/bindings/hwmon/st,tsc1641.yaml | 54 +++++++++++++++++++
> 1 file changed, 54 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/hwmon/st,tsc1641.yaml
>
> diff --git a/Documentation/devicetree/bindings/hwmon/st,tsc1641.yaml b/Documentation/devicetree/bindings/hwmon/st,tsc1641.yaml
> new file mode 100644
> index 000000000000..e79f6dab4a87
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/hwmon/st,tsc1641.yaml
> @@ -0,0 +1,54 @@
> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/hwmon/st,tsc1641.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: ST Microelectronics TSC1641 I2C power monitor
> +
> +maintainers:
> + - Igor Reznichenko <igor@reznichenko.net>
> +
> +description: |
> + TSC1641 is a 60 V, 16-bit high-precision power monitor with I2C and MIPI I3C interface
Please wrap code according to the preferred limit expressed in Kernel
coding style, so at 80.
> +
> + Datasheets:
> + https://www.st.com/resource/en/datasheet/tsc1641.pdf
> +
> +properties:
> + compatible:
> + const: st,tsc1641
> +
> + reg:
> + maxItems: 1
> +
> + shunt-resistor:
Use existing property, git grep shunt.
And then test it...
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-10-22 6:48 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-22 4:47 [PATCH 0/5] hwmon: Add TSC1641 I2C power monitor driver Igor Reznichenko
2025-10-22 4:47 ` [PATCH 1/5] drivers/hwmon: " Igor Reznichenko
2025-10-22 14:51 ` Guenter Roeck
2025-10-23 7:50 ` Igor Reznichenko
2025-10-23 12:55 ` Guenter Roeck
2025-10-22 4:47 ` [PATCH 2/5] drivers/hwmon: Add Kconfig entry for TSC1641 Igor Reznichenko
2025-10-22 6:49 ` Krzysztof Kozlowski
2025-10-22 4:47 ` [PATCH 3/5] drivers/hwmon: Add TSC1641 module to Makefile Igor Reznichenko
2025-10-22 6:49 ` Krzysztof Kozlowski
2025-10-22 4:47 ` [PATCH 4/5] Documentation/hwmon: Add TSC1641 driver documentation Igor Reznichenko
2025-10-22 4:47 ` [PATCH 5/5] Documentation/devicetree/bindings/hwmon: Add TSC1641 binding Igor Reznichenko
2025-10-22 6:29 ` Rob Herring (Arm)
2025-10-22 6:48 ` Krzysztof Kozlowski [this message]
2025-10-22 14:07 ` [PATCH 0/5] hwmon: Add TSC1641 I2C power monitor driver Guenter Roeck
2025-10-26 6:50 ` [PATCH v2 0/2] " Igor Reznichenko
2025-10-26 6:50 ` [PATCH v2 1/2] dt-bindings: hwmon: Add support for ST TSC1641 power monitor Igor Reznichenko
2025-10-26 16:32 ` Krzysztof Kozlowski
2025-10-26 17:22 ` Guenter Roeck
2025-10-26 19:15 ` Krzysztof Kozlowski
2025-10-26 18:46 ` Igor Reznichenko
2025-10-26 19:41 ` Krzysztof Kozlowski
2025-10-26 19:58 ` Guenter Roeck
2025-10-27 8:40 ` Krzysztof Kozlowski
2025-10-27 16:53 ` Guenter Roeck
2025-10-27 18:01 ` Krzysztof Kozlowski
2025-10-27 19:14 ` Rob Herring
2025-10-28 15:17 ` Igor Reznichenko
2025-10-28 15:33 ` Guenter Roeck
2025-10-31 4:40 ` Igor Reznichenko
2025-10-31 7:57 ` Krzysztof Kozlowski
2025-10-31 17:30 ` Igor Reznichenko
2025-10-31 18:37 ` Guenter Roeck
2025-10-26 6:50 ` [PATCH v2 2/2] hwmon: Add TSC1641 I2C power monitor driver Igor Reznichenko
2025-10-26 17:08 ` Guenter Roeck
2025-10-27 6:41 ` Igor Reznichenko
2025-10-27 16:52 ` Guenter Roeck
2025-10-26 16:28 ` [PATCH v2 0/2] " Krzysztof Kozlowski
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=e396d81b-0f61-4a05-873e-354339b5e50e@kernel.org \
--to=krzk@kernel.org \
--cc=conor+dt@kernel.org \
--cc=corbet@lwn.net \
--cc=david.hunter.linux@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=igor@reznichenko.net \
--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 \
--cc=skhan@linuxfoundation.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).