Re: [PATCH v2 1/2] dt-bindings: iio: add: document the MAX34417 Four-Channel High Dynamic Range Power Accumulator
From: Krzysztof Kozlowski
Date: Tue Sep 29 2026 - 03:43:06 EST
On Thu, Sep 24, 2026 at 03:14:15PM +0200, Neil Armstrong wrote:
> +examples:
> + - |
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + sensor@10 {
> + compatible = "maxim,max34417";
> + reg = <0x10>;
> +
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + channel@0 {
> + reg = <0>;
> + label = "ch0";
> + shunt-resistor-micro-ohms = <5000>;
> + };
> +
> + channel@1 {
> + reg = <1>;
> + label = "ch1";
> + };
Run 'scripts/dtc/dt-check-style --mode strict' on the code
> +
> + channel@2 {
> + reg = <2>;
> + };
> + };
> + };
>
> --
> 2.34.1
>