diff --git a/drivers/llcc68/llcc68_raw.c b/drivers/llcc68/llcc68_raw.c index 7606d29..7500a44 100644 --- a/drivers/llcc68/llcc68_raw.c +++ b/drivers/llcc68/llcc68_raw.c @@ -3,7 +3,7 @@ #include #include -#define DT_DRV_COMPAT semtech_llcc68 +#define DT_DRV_COMPAT semtech_llcc68_weihua static void dio1_irq_trampoline(const struct device *port, struct gpio_callback *cb, uint32_t pins) { ARG_UNUSED(port); @@ -66,4 +66,3 @@ BUILD_ASSERT(DT_HAS_COMPAT_STATUS_OKAY(DT_DRV_COMPAT), "No status=okay nodes for DT_DRV_COMPAT; check compatible/status"); DT_INST_FOREACH_STATUS_OKAY(LLCC68_DEFINE) - diff --git a/dts/bindings/semtech,llcc68.yaml b/dts/bindings/semtech,llcc68-weihua.yaml similarity index 77% rename from dts/bindings/semtech,llcc68.yaml rename to dts/bindings/semtech,llcc68-weihua.yaml index 5903b67..c307b38 100644 --- a/dts/bindings/semtech,llcc68.yaml +++ b/dts/bindings/semtech,llcc68-weihua.yaml @@ -2,11 +2,14 @@ # Copyright (c) 2020 Andreas Sandberg # SPDX-License-Identifier: Apache-2.0 - description: | - Semtech LLCC68 LoRa transceiver + Semtech LLCC68 radio transceiver used with the Weihua application driver. -compatible: "semtech,llcc68" + 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