fix(dts): avoid upstream LLCC68 binding collision
Rename the application-owned LLCC68 devicetree compatible to semtech,llcc68-weihua so Zephyr releases with a native semtech,llcc68 binding can coexist with this custom driver module. Use the registered semtech vendor prefix and a project-specific device suffix; DT_DRV_COMPAT maps to semtech_llcc68_weihua.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#include <errno.h>
|
||||
#include <zephyr/sys/util.h>
|
||||
|
||||
#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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user