dt-bindings: net: asix,ax88796c: allow SPI peripheral properties

Message ID 20230120144329.305655-1-krzysztof.kozlowski@linaro.org
State New
Headers
Series dt-bindings: net: asix,ax88796c: allow SPI peripheral properties |

Commit Message

Krzysztof Kozlowski Jan. 20, 2023, 2:43 p.m. UTC
  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>
---
 Documentation/devicetree/bindings/net/asix,ax88796c.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
  

Comments

Rob Herring Jan. 23, 2023, 10:10 p.m. UTC | #1
On Fri, 20 Jan 2023 15:43:29 +0100, Krzysztof Kozlowski wrote:
> 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>
> ---
>  Documentation/devicetree/bindings/net/asix,ax88796c.yaml | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 

Acked-by: Rob Herring <robh@kernel.org>
  
patchwork-bot+netdevbpf@kernel.org Jan. 24, 2023, 5:30 a.m. UTC | #2
Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@kernel.org>:

On Fri, 20 Jan 2023 15:43:29 +0100 you wrote:
> 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>
> 
> [...]

Here is the summary with links:
  - dt-bindings: net: asix,ax88796c: allow SPI peripheral properties
    https://git.kernel.org/netdev/net-next/c/306f208259ff

You are awesome, thank you!
  

Patch

diff --git a/Documentation/devicetree/bindings/net/asix,ax88796c.yaml b/Documentation/devicetree/bindings/net/asix,ax88796c.yaml
index 699ebf452479..164d1ff9e83c 100644
--- a/Documentation/devicetree/bindings/net/asix,ax88796c.yaml
+++ b/Documentation/devicetree/bindings/net/asix,ax88796c.yaml
@@ -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: