Re: [PATCH v7 2/5] dt-bindings: iio: mcp9600: Add microchip,mcp9601 and add constraints

From: Krzysztof Kozlowski
Date: Wed Aug 20 2025 - 03:29:29 EST


On Tue, Aug 19, 2025 at 07:44:43PM -0400, Ben Collins wrote:
> + - |
> + #include <dt-bindings/iio/temperature/thermocouple.h>
> + #include <dt-bindings/interrupt-controller/irq.h>
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + temperature-sensor@62 {
> + compatible = "microchip,mcp9601",
> + "microchip,mcp9600";

One line.

> + microchip,vsense;
> + reg = <0x62>;

reg is always the second property. microchip,vsense goes to the end as
vendor property, see DTS coding style.

> + interrupt-parent = <&gpio>;
> + interrupts = <22 IRQ_TYPE_EDGE_RISING
> + 23 IRQ_TYPE_EDGE_RISING>;

Two tuples <>, not one. It also looks like it fits in 80-char limit/

With above changes:

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Best regards,
Krzysztof