Commit f412fe11 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Lee Jones
Browse files

mfd: dt-bindings: google,cros-ec: Reference Samsung SPI bindings



The ChromeOS Embedded Controller appears on boards with Samsung Exynos
SoC, where Exynos SPI bindings expect controller-data node.  Reference
SPI peripheral bindings which include now Samsung SPI peripheral parts.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Reviewed-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20220124082347.32747-3-krzysztof.kozlowski@canonical.com
parent 0ff4827e
Loading
Loading
Loading
Loading
+16 −13
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ properties:

  controller-data:
    description:
      SPI controller data, see bindings/spi/spi-samsung.txt
      SPI controller data, see bindings/spi/samsung,spi-peripheral-props.yaml
    type: object

  google,cros-ec-spi-pre-delay:
@@ -148,7 +148,8 @@ patternProperties:
required:
  - compatible

if:
allOf:
  - if:
      properties:
        compatible:
          contains:
@@ -160,6 +161,8 @@ then:
        google,cros-ec-spi-pre-delay: false
        google,cros-ec-spi-msg-delay: false
        spi-max-frequency: false
    else:
      $ref: /schemas/spi/spi-peripheral-props.yaml

additionalProperties: false