mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 16:54:21 +00:00 
			
		
		
		
	ASoC: dt-bindings: rockchip: i2s-tdm: Fix rockchip,i2s-[rt]x-route
make dt_binding_check:
    Documentation/devicetree/bindings/sound/rockchip,i2s-tdm.yaml: properties:rockchip,i2s-rx-route: {'required': ['maxItems']} is not allowed for {'$ref': '/schemas/types.yaml#/definitions/uint32-array', 'description': 'Defines the mapping of I2S RX sdis to I2S data bus lines. By default, they are mapped one-to-one. rockchip,i2s-rx-route = <3> would mean sdi3 is receiving from data0.', 'maxItems': 4, 'items': [{'enum': [0, 1, 2, 3]}]}
	    hint: "maxItems" is not needed with an "items" list
	    from schema $id: http://devicetree.org/meta-schemas/items.yaml#
    Documentation/devicetree/bindings/sound/rockchip,i2s-tdm.yaml: properties:rockchip,i2s-tx-route: {'required': ['maxItems']} is not allowed for {'$ref': '/schemas/types.yaml#/definitions/uint32-array', 'description': 'Defines the mapping of I2S TX sdos to I2S data bus lines. By default, they are mapped one-to-one. rockchip,i2s-tx-route = <3> would mean sdo3 is sending to data0.', 'maxItems': 4, 'items': [{'enum': [0, 1, 2, 3]}]}
	    hint: "maxItems" is not needed with an "items" list
	    from schema $id: http://devicetree.org/meta-schemas/items.yaml#
Drop the "-" from the enums to fix this.
Fixes: 510f1c133a ("ASoC: dt-bindings: rockchip: add i2s-tdm bindings")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/606809e10db02f92b1e7f90c491cc72dd8e16f79.1634132907.git.geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
			
			
This commit is contained in:
		
							parent
							
								
									495ee4bac7
								
							
						
					
					
						commit
						51a67d6e28
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -112,7 +112,7 @@ properties: | |||
|       rockchip,i2s-rx-route = <3> would mean sdi3 is receiving from data0. | ||||
|     maxItems: 4 | ||||
|     items: | ||||
|       - enum: [0, 1, 2, 3] | ||||
|       enum: [0, 1, 2, 3] | ||||
| 
 | ||||
|   rockchip,i2s-tx-route: | ||||
|     $ref: /schemas/types.yaml#/definitions/uint32-array | ||||
|  | @ -122,7 +122,7 @@ properties: | |||
|       rockchip,i2s-tx-route = <3> would mean sdo3 is sending to data0. | ||||
|     maxItems: 4 | ||||
|     items: | ||||
|       - enum: [0, 1, 2, 3] | ||||
|       enum: [0, 1, 2, 3] | ||||
| 
 | ||||
|   rockchip,io-multiplex: | ||||
|     description: | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Geert Uytterhoeven
						Geert Uytterhoeven