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