d8db9e1eb0
Zephyr deprecates passing the chip-select delay as the variadic delay argument to SPI_DT_SPEC_INST_GET. Remove that deprecated macro argument from the raw LLCC68 device initializer. Add spi-cs-setup-delay-ns and spi-cs-hold-delay-ns defaults to the custom LLCC68 devicetree binding. Both defaults are 100000 ns, preserving the previous 100 us delay behavior while using the current Zephyr SPI devicetree properties. Verified with cmake -S . -B build and cmake --build build from the parent application.
56 lines
1.4 KiB
YAML
56 lines
1.4 KiB
YAML
# Copyright (c) 2019 Manivannan Sadhasivam
|
|
# Copyright (c) 2020 Andreas Sandberg
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
description: |
|
|
Semtech LLCC68 radio transceiver used with the Weihua application driver.
|
|
|
|
This compatible intentionally differs from Zephyr's upstream
|
|
semtech,llcc68 binding so the application-owned driver can coexist
|
|
with Zephyr releases that ship a native LLCC68 binding and driver.
|
|
|
|
compatible: "semtech,llcc68-weihua"
|
|
|
|
include: spi-device.yaml
|
|
|
|
properties:
|
|
reset-gpios:
|
|
type: phandle-array
|
|
required: true
|
|
description: |
|
|
GPIO connected to the modem's NRESET signal.
|
|
|
|
This signal is open-drain, active-low as interpreted by the
|
|
modem.
|
|
|
|
busy-gpios:
|
|
type: phandle-array
|
|
required: true
|
|
description: |
|
|
GPIO connected to the modem's BUSY signal.
|
|
|
|
dio1-gpios:
|
|
type: phandle-array
|
|
required: true
|
|
description: |
|
|
GPIO connected to DIO1. This GPIO will be used as a generic
|
|
IRQ line from the chip.
|
|
|
|
tx-enable-gpios:
|
|
type: phandle-array
|
|
description: |
|
|
Antenna switch TX enable GPIO. If set, the driver tracks the
|
|
state of the radio and controls the RF switch.
|
|
|
|
rx-enable-gpios:
|
|
type: phandle-array
|
|
description: |
|
|
Antenna switch RX enable GPIO. If set, the driver tracks the
|
|
state of the radio and controls the RF switch.
|
|
|
|
spi-cs-setup-delay-ns:
|
|
default: 100000
|
|
|
|
spi-cs-hold-delay-ns:
|
|
default: 100000
|