summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/spi/samsung,spi-peripheral-props.yaml
blob: f0db3fb3d68804f80e850137446af20ba036d919 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/spi/samsung,spi-peripheral-props.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Peripheral-specific properties for Samsung S3C/S5P/Exynos SoC SPI controller

maintainers:
  - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>

description:
  See spi-peripheral-props.yaml for more info.

properties:
  controller-data:
    type: object
    additionalProperties: false

    properties:
      samsung,spi-feedback-delay:
        description: |
          The sampling phase shift to be applied on the miso line (to account
          for any lag in the miso line). Valid values:
           - 0: No phase shift.
           - 1: 90 degree phase shift sampling.
           - 2: 180 degree phase shift sampling.
           - 3: 270 degree phase shift sampling.
        $ref: /schemas/types.yaml#/definitions/uint32
        enum: [0, 1, 2, 3]
        default: 0

additionalProperties: true