dt-bindings: net: micrel,ks8851: allow SPI device properties
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 19 Jun 2023 17:01:34 +0000 (19:01 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 21 Jun 2023 23:55:44 +0000 (16:55 -0700)
commit1ca09f5746edd5e483d144118497f622af9dbe60
tree703202d4bc10e2f579dbffc7617591ddc5401b80
parent6a0a6dd8df9b6e9c0ed8d99bbfb4e5e2f8c9834f
dt-bindings: net: micrel,ks8851: allow SPI device properties

The Micrel KS8851 can be attached to SPI or parallel bus and the
difference is expressed in compatibles.  Allow common SPI properties
when this is a SPI variant and narrow the parallel memory bus properties
to the second case.

This fixes dtbs_check warning:

  qcom-msm8960-cdp.dtb: ethernet@0: Unevaluated properties are not allowed ('spi-max-frequency' was unexpected)

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230619170134.65395-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/micrel,ks8851.yaml