dt-bindings: net: asix,ax88796c: allow SPI peripheral properties
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Fri, 20 Jan 2023 14:43:29 +0000 (15:43 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 24 Jan 2023 05:26:37 +0000 (21:26 -0800)
The AX88796C device node on SPI bus can use SPI peripheral properties in
certain configurations:

  exynos3250-artik5-eval.dtb: ethernet@0: 'controller-data' does not match any of the regexes: 'pinctrl-[0-9]+'

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230120144329.305655-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/asix,ax88796c.yaml

index 699ebf452479be28d3e88835bb9af7e7259578f5..164d1ff9e83c56197a3df588ae38f96d908b517e 100644 (file)
@@ -19,6 +19,7 @@ description: |
 
 allOf:
   - $ref: ethernet-controller.yaml#
+  - $ref: /schemas/spi/spi-peripheral-props.yaml
 
 properties:
   compatible:
@@ -39,8 +40,8 @@ properties:
       it should be marked GPIO_ACTIVE_LOW.
     maxItems: 1
 
+  controller-data: true
   local-mac-address: true
-
   mac-address: true
 
 required: