Re: [PATCH v2 1/2] dt-bindings: iio: frequency: add admfm2000

From: kernel test robot
Date: Tue Nov 21 2023 - 17:52:27 EST


Hi Kim,

kernel test robot noticed the following build warnings:

[auto build test WARNING on 98b1cc82c4affc16f5598d4fa14b1858671b2263]

url: https://github.com/intel-lab-lkp/linux/commits/Kim-Seer-Paller/iio-frequency-admfm2000-New-driver/20231121-180427
base: 98b1cc82c4affc16f5598d4fa14b1858671b2263
patch link: https://lore.kernel.org/r/20231121100012.112861-1-kimseer.paller%40analog.com
patch subject: [PATCH v2 1/2] dt-bindings: iio: frequency: add admfm2000
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce: (https://download.01.org/0day-ci/archive/20231122/202311220624.J7Nqg5h1-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/202311220624.J7Nqg5h1-lkp@xxxxxxxxx/

dtcheck warnings: (new ones prefixed by >>)
>> Documentation/devicetree/bindings/iio/frequency/adi,admfm2000.yaml:14:5: [warning] wrong indentation: expected 2 but found 4 (indentation)

vim +14 Documentation/devicetree/bindings/iio/frequency/adi,admfm2000.yaml

9
10 maintainers:
11 - Kim Seer Paller <kimseer.paller@xxxxxxxxxx>
12
13 description:
> 14 Dual microwave down converter module with input RF and LO frequency ranges
15 from 0.5 to 32 GHz and an output IF frequency range from 0.1 to 8 GHz.
16 It consists of a LNA, mixer, IF filter, DSA, and IF amplifier for each down
17 conversion path.
18
19 properties:
20 compatible:
21 enum:
22 - adi,admfm2000
23
24 switch1-gpios:
25 description:
26 Must contain an array of 2 GPIO specifiers, referring to the GPIO pins
27 connected to the B15 and B16.
28 minItems: 2
29 maxItems: 2
30
31 switch2-gpios:
32 description:
33 Must contain an array of 2 GPIO specifiers, referring to the GPIO pins
34 connected to the L14 and K14.
35 minItems: 2
36 maxItems: 2
37
38 attenuation1-gpios:
39 description:
40 Must contain an array of 5 GPIO specifiers, referring to the GPIO pins
41 connected to the C14, C15, C16, D14, and D15.
42 minItems: 5
43 maxItems: 5
44
45 attenuation2-gpios:
46 description:
47 Must contain an array of 5 GPIO specifiers, referring to the GPIO pins
48 connected to the L15, L16, M14, M15, and M16.
49 minItems: 5
50 maxItems: 5
51
52 '#address-cells':
53 const: 1
54
55 '#size-cells':
56 const: 0
57
58 patternProperties:
59 "^channel@[0-1]$":
60 type: object
61 description: Represents a channel of the device.
62
63 additionalProperties: false
64
65 properties:
66 reg:
67 description:
68 The channel number.
69 minimum: 0
70 maximum: 1
71
72 adi,mode:
73 description:
74 RF path selected for the channel.
75 0 - Direct IF mode
76 1 - Mixer mode
77 $ref: /schemas/types.yaml#/definitions/uint32
78 enum: [0, 1]
79
80 required:
81 - reg
82 - adi,mode
83
84 required:
85 - compatible
86 - switch1-gpios
87 - switch2-gpios
88 - attenuation1-gpios
89 - attenuation2-gpios
90

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