Device migrations, driver migrations and more (#575)

This commit is contained in:
Ken Van Hoeylandt
2026-07-20 23:43:17 +02:00
committed by GitHub
parent 2d768ef3a1
commit 2fbc44466a
221 changed files with 8824 additions and 3652 deletions
@@ -0,0 +1,15 @@
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include <tactility/bindings/bindings.h>
#include <drivers/ch422g.h>
#ifdef __cplusplus
extern "C" {
#endif
DEFINE_DEVICETREE(ch422g, struct Ch422gConfig)
#ifdef __cplusplus
}
#endif
@@ -0,0 +1,14 @@
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include <tactility/module.h>
#ifdef __cplusplus
extern "C" {
#endif
extern struct Module ch422g_module;
#ifdef __cplusplus
}
#endif
@@ -0,0 +1,18 @@
// SPDX-License-Identifier: Apache-2.0
#pragma once
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
struct Ch422gConfig {
/** Address of the WR_SET (system config) pseudo-register. RD_IO and WR_IO are separate
* fixed pseudo-addresses (the chip has no address-select pins, so this is always 0x24). */
uint8_t address;
};
#ifdef __cplusplus
}
#endif