Re: [PATCH 1/2] dt-bindings: hwmon: Add DT schema for TI INA4230
From: Krzysztof Kozlowski
Date: Fri Feb 27 2026 - 04:53:39 EST
On Wed, Feb 25, 2026 at 01:29:11PM +0400, Alexey Charkov wrote:
> Add DT binding for TI INA4230, which is a 48V 4-channel 16-bit I2C-based
> current/voltage/power/energy monitor with alert function.
>
A nit, subject: drop second/last, redundant "DT schema". The
"dt-bindings" prefix is already stating that this DT and this cannot be
non-schema.
See also:
https://elixir.bootlin.com/linux/v6.17-rc3/source/Documentation/devicetree/bindings/submitting-patches.rst#L18
> +patternProperties:
> + "^input@[0-3]$":
> + description: The node contains optional child nodes for four channels.
> + Each child node describes the information of input source. Input channels
> + default to enabled in the chip. Unless channels are explicitly disabled
> + in device-tree, input channels will be enabled.
> + type: object
> + additionalProperties: false
> + properties:
> + reg:
> + description: Must be 0, 1, 2 or 3, corresponding to the IN1, IN2, IN3
> + or IN4 ports of the INA4230, respectively.
> + enum: [ 0, 1, 2, 3 ]
> +
> + label:
> + description: name of the input source
> +
> + shunt-resistor-micro-ohms:
> + description: shunt resistor value in micro-Ohm
> +
> + ti,maximum-expected-current-microamp:
Please add it also to the example at least to one node.
With these two fixes:
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
<form letter>
This is an automated instruction, just in case, because many review
tags are being ignored. If you know the process, just skip it entirely
(please do not feel offended by me posting it here - no bad intentions
intended, no patronizing, I just want to avoid wasted efforts). If you
do not know the process, here is a short explanation:
Please add Acked-by/Reviewed-by/Tested-by tags when posting new
versions of patchset, under or above your Signed-off-by tag, unless
patch changed significantly (e.g. new properties added to the DT
bindings). Tag is "received", when provided in a message replied to you
on the mailing list. Tools like b4 can help here ('b4 trailers -u ...').
However, there's no need to repost patches *only* to add the tags. The
upstream maintainer will do that for tags received on the version they
apply.
https://elixir.bootlin.com/linux/v6.15/source/Documentation/process/submitting-patches.rst#L591
</form letter>
Best regards,
Krzysztof