zephyr/dts/bindings/spi/nxp,imx-lpspi.yaml

46 lines
1.1 KiB
YAML

# Copyright (c) 2018,2023 NXP
# SPDX-License-Identifier: Apache-2.0
description: NXP i.MX LPSPI controller
compatible: "nxp,imx-lpspi"
include: ["spi-controller.yaml", "pinctrl-device.yaml"]
properties:
reg:
required: true
clocks:
required: true
pcs-sck-delay:
type: int
description: |
Delay in nanoseconds from the chip select assert to the first clock
edge. If not set, the minimum supported delay is used.
sck-pcs-delay:
type: int
description: |
Delay in nanoseconds from the last clock edge to the chip select
deassert. If not set, the minimum supported delay is used.
transfer-delay:
type: int
description: |
Delay in nanoseconds from the chip select deassert to the next chip
select assert. If not set, the minimum supported delay is used.
data-pin-config:
type: string
enum:
- "sdi-in,sdo-out"
- "sdi-in,sdi-out"
- "sdo-in,sdo-out"
- "sdo-in,sdi-out"
default: "sdi-in,sdo-out"
description: |
Configures which pins (SDO and SDI) are used for input and output data
during single bit transfers.