Re: [PATCH v5 1/2] dt-bindings: iio: adc: adding support for PAC193X

From: Jonathan Cameron
Date: Sat Feb 24 2024 - 14:15:05 EST


On Sat, 24 Feb 2024 15:34:51 +0800
kernel test robot <lkp@xxxxxxxxx> wrote:

> Hi,
>
> kernel test robot noticed the following build warnings:
>
> [auto build test WARNING on b1a1eaf6183697b77f7243780a25f35c7c0c8bdf]
>
> url: https://github.com/intel-lab-lkp/linux/commits/marius-cristea-microchip-com/dt-bindings-iio-adc-adding-support-for-PAC193X/20240223-004332
> base: b1a1eaf6183697b77f7243780a25f35c7c0c8bdf
> patch link: https://lore.kernel.org/r/20240222164206.65700-2-marius.cristea%40microchip.com
> patch subject: [PATCH v5 1/2] dt-bindings: iio: adc: adding support for PAC193X
> compiler: loongarch64-linux-gcc (GCC) 13.2.0
> reproduce: (https://download.01.org/0day-ci/archive/20240224/202402241545.xf7CnlPz-lkp@xxxxxxxxx/reproduce)
>
> If you fix the issue in a separate patch/commit (i.e. not just a new version of
> the same patch/commit), kindly add following tags
> | Reported-by: kernel test robot <lkp@xxxxxxxxx>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202402241545.xf7CnlPz-lkp@xxxxxxxxx/
>
> dtcheck warnings: (new ones prefixed by >>)
> >> Documentation/devicetree/bindings/iio/adc/microchip,pac1934.yaml:51:9: [warning] wrong indentation: expected 6 but found 8 (indentation)


> 45
> 46 patternProperties:
> 47 "^channel@[1-4]+$":
> 48 type: object
> 49 $ref: adc.yaml
> 50 description:
> > 51 Represents the external channels which are connected to the ADC.
I've fixed this up whilst applying.

> 52
> 53 properties:
> 54 reg:
> 55 items:
> 56 minimum: 1
> 57 maximum: 4
> 58
> 59 shunt-resistor-micro-ohms:
> 60 description:
> 61 Value in micro Ohms of the shunt resistor connected between
> 62 the SENSE+ and SENSE- inputs, across which the current is measured.
> 63 Value is needed to compute the scaling of the measured current.
> 64
> 65 required:
> 66 - reg
> 67 - shunt-resistor-micro-ohms
> 68
> 69 unevaluatedProperties: false
> 70
> 71 required:
> 72 - compatible
> 73 - reg
> 74 - "#address-cells"
> 75 - "#size-cells"
> 76
>