xref: /freebsd/sys/contrib/device-tree/Bindings/spi/samsung,spi-peripheral-props.yaml (revision c9ccf3a32da427475985b85d7df023ccfb138c27)
1*c9ccf3a3SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2*c9ccf3a3SEmmanuel Vadot%YAML 1.2
3*c9ccf3a3SEmmanuel Vadot---
4*c9ccf3a3SEmmanuel Vadot$id: http://devicetree.org/schemas/spi/samsung,spi-peripheral-props.yaml#
5*c9ccf3a3SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*c9ccf3a3SEmmanuel Vadot
7*c9ccf3a3SEmmanuel Vadottitle: Peripheral-specific properties for Samsung S3C/S5P/Exynos SoC SPI controller
8*c9ccf3a3SEmmanuel Vadot
9*c9ccf3a3SEmmanuel Vadotmaintainers:
10*c9ccf3a3SEmmanuel Vadot  - Krzysztof Kozlowski <krzk@kernel.org>
11*c9ccf3a3SEmmanuel Vadot
12*c9ccf3a3SEmmanuel Vadotdescription:
13*c9ccf3a3SEmmanuel Vadot  See spi-peripheral-props.yaml for more info.
14*c9ccf3a3SEmmanuel Vadot
15*c9ccf3a3SEmmanuel Vadotproperties:
16*c9ccf3a3SEmmanuel Vadot  controller-data:
17*c9ccf3a3SEmmanuel Vadot    type: object
18*c9ccf3a3SEmmanuel Vadot    additionalProperties: false
19*c9ccf3a3SEmmanuel Vadot
20*c9ccf3a3SEmmanuel Vadot    properties:
21*c9ccf3a3SEmmanuel Vadot      samsung,spi-feedback-delay:
22*c9ccf3a3SEmmanuel Vadot        description: |
23*c9ccf3a3SEmmanuel Vadot          The sampling phase shift to be applied on the miso line (to account
24*c9ccf3a3SEmmanuel Vadot          for any lag in the miso line). Valid values:
25*c9ccf3a3SEmmanuel Vadot           - 0: No phase shift.
26*c9ccf3a3SEmmanuel Vadot           - 1: 90 degree phase shift sampling.
27*c9ccf3a3SEmmanuel Vadot           - 2: 180 degree phase shift sampling.
28*c9ccf3a3SEmmanuel Vadot           - 3: 270 degree phase shift sampling.
29*c9ccf3a3SEmmanuel Vadot        $ref: /schemas/types.yaml#/definitions/uint32
30*c9ccf3a3SEmmanuel Vadot        enum: [0, 1, 2, 3]
31*c9ccf3a3SEmmanuel Vadot        default: 0
32*c9ccf3a3SEmmanuel Vadot
33*c9ccf3a3SEmmanuel VadotadditionalProperties: true
34