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:
properties: - if:
compatible: properties:
contains: compatible:
enum: contains:
- google,cros-ec-i2c enum:
- google,cros-ec-rpmsg - google,cros-ec-i2c
then: - google,cros-ec-rpmsg
properties: then:
google,cros-ec-spi-pre-delay: false properties:
google,cros-ec-spi-msg-delay: false google,cros-ec-spi-pre-delay: false
spi-max-frequency: false google,cros-ec-spi-msg-delay: 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