# 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 <krzk@kernel.org>

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
