forked from mirrors/linux
		
	dt-bindings: net: fsl,qoriq-mc-dpmac: using unevaluatedProperties
Replace additionalProperties with unevaluatedProperties because it have
allOf: $ref: ethernet-controller.yaml#.
Remove all properties, which already defined in ethernet-controller.yaml.
Fixed below CHECK_DTBS warnings:
arch/arm64/boot/dts/freescale/fsl-lx2160a-bluebox3.dtb:
   fsl-mc@80c000000: dpmacs:ethernet@11: 'fixed-link' does not match any of the regexes: 'pinctrl-[0-9]+'
        from schema $id: http://devicetree.org/schemas/misc/fsl,qoriq-mc.yaml#
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20240811184049.3759195-1-Frank.Li@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
			
			
This commit is contained in:
		
							parent
							
								
									baae8b0ba8
								
							
						
					
					
						commit
						be034ee6c3
					
				
					 1 changed files with 1 additions and 9 deletions
				
			
		|  | @ -24,24 +24,16 @@ properties: | ||||||
|     maxItems: 1 |     maxItems: 1 | ||||||
|     description: The DPMAC number |     description: The DPMAC number | ||||||
| 
 | 
 | ||||||
|   phy-handle: true |  | ||||||
| 
 |  | ||||||
|   phy-connection-type: true |  | ||||||
| 
 |  | ||||||
|   phy-mode: true |  | ||||||
| 
 |  | ||||||
|   pcs-handle: |   pcs-handle: | ||||||
|     maxItems: 1 |     maxItems: 1 | ||||||
|     description: |     description: | ||||||
|       A reference to a node representing a PCS PHY device found on |       A reference to a node representing a PCS PHY device found on | ||||||
|       the internal MDIO bus. |       the internal MDIO bus. | ||||||
| 
 | 
 | ||||||
|   managed: true |  | ||||||
| 
 |  | ||||||
| required: | required: | ||||||
|   - reg |   - reg | ||||||
| 
 | 
 | ||||||
| additionalProperties: false | unevaluatedProperties: false | ||||||
| 
 | 
 | ||||||
| examples: | examples: | ||||||
|   - | |   - | | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue
	
	 Frank Li
						Frank Li