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

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
...@@ -31,7 +31,7 @@ properties: ...@@ -31,7 +31,7 @@ properties:
controller-data: controller-data:
description: description:
SPI controller data, see bindings/spi/spi-samsung.txt SPI controller data, see bindings/spi/samsung,spi-peripheral-props.yaml
type: object type: object
google,cros-ec-spi-pre-delay: google,cros-ec-spi-pre-delay:
...@@ -148,18 +148,21 @@ patternProperties: ...@@ -148,18 +148,21 @@ patternProperties:
required: required:
- compatible - compatible
if: allOf:
- if:
properties: properties:
compatible: compatible:
contains: contains:
enum: enum:
- google,cros-ec-i2c - google,cros-ec-i2c
- google,cros-ec-rpmsg - google,cros-ec-rpmsg
then: then:
properties: properties:
google,cros-ec-spi-pre-delay: false google,cros-ec-spi-pre-delay: false
google,cros-ec-spi-msg-delay: false google,cros-ec-spi-msg-delay: false
spi-max-frequency: false spi-max-frequency: false
else:
$ref: /schemas/spi/spi-peripheral-props.yaml
additionalProperties: false additionalProperties: false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment