Re: [PATCH 5/7] dt-bindings: iio: Add binding documentation for AD7091R-8

From: kernel test robot
Date: Wed Nov 22 2023 - 07:42:56 EST


Hi,

kernel test robot noticed the following build warnings:

[auto build test WARNING on jic23-iio/togreg]
[also build test WARNING on linus/master v6.7-rc2 next-20231122]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]

url: https://github.com/intel-lab-lkp/linux/commits/marcelo-schmitt-analog-com/MAINTAINERS-Add-MAINTAINERS-entry-for-AD7091R/20231122-093706
base: https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git togreg
patch link: https://lore.kernel.org/r/566503a54feba35178c778a7929bced66ebd8870.1700595310.git.marcelo.schmitt1%40gmail.com
patch subject: [PATCH 5/7] dt-bindings: iio: Add binding documentation for AD7091R-8
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231122/202311221707.P5KpelyW-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/202311221707.P5KpelyW-lkp@xxxxxxxxx/

dtcheck warnings: (new ones prefixed by >>)
>> Documentation/devicetree/bindings/iio/adc/adi,ad7091r8.yaml:50:11: [error] string value is redundantly quoted with any quotes (quoted-strings)

vim +50 Documentation/devicetree/bindings/iio/adc/adi,ad7091r8.yaml

8
9 maintainers:
10 - Marcelo Schmitt <marcelo.schmitt@xxxxxxxxxx>
11
12 description: |
13 Analog Devices AD7091R-8 8-Channel 12-Bit ADC
14 https://www.analog.com/media/en/technical-documentation/data-sheets/AD7091R-2_7091R-4_7091R-8.pdf
15
16 properties:
17 compatible:
18 enum:
19 - adi,ad7091r2
20 - adi,ad7091r4
21 - adi,ad7091r8
22
23 reg:
24 maxItems: 1
25
26 vref-supply: true
27
28 spi-max-frequency: true
29
30 adi,conversion-start-gpios:
31 description:
32 Device tree identifier of the CONVST pin.
33 This logic input is used to initiate conversions on the analog
34 input channels.
35 maxItems: 1
36
37 reset-gpios:
38 maxItems: 1
39
40 interrupts:
41 maxItems: 1
42
43 required:
44 - compatible
45 - reg
46 - adi,conversion-start-gpios
47
48 patternProperties:
49 "^channel@[0-7]$":
> 50 $ref: "adc.yaml"
51 type: object
52 description: Represents the external channels which are connected to the ADC.
53
54 properties:
55 reg:
56 minimum: 0
57 maximum: 7
58
59 required:
60 - reg
61
62 allOf:
63 - $ref: /schemas/spi/spi-peripheral-props.yaml#
64
65 # AD7091R-2 does not have ALERT/BUSY/GPO pin
66 - if:
67 properties:
68 compatible:
69 contains:
70 enum:
71 - adi,ad7091r4
72 - adi,ad7091r8
73 then:
74 properties:
75 interrupts: true
76 else:
77 properties:
78 interrupts: false
79

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki