Tab5 ST7121 variant + fixes (#605)

Added the newest variant to the tab5, St7121.
Fixed variant detection reliability
Fixed tab5 camera WHO_AM_I failing sometimes
Fixed tab5 keyboard live rotation on boot and after stopping/starting lvgl
This commit is contained in:
Shadowtrance
2026-08-02 04:50:55 +10:00
committed by GitHub
parent d72d5a0ef2
commit 85fe1a319a
31 changed files with 1531 additions and 222 deletions
@@ -5,6 +5,7 @@
#include <stdbool.h>
#include <stddef.h>
#include <tactility/drivers/camera.h>
#include <tactility/drivers/gpio.h>
#include <tactility/error.h>
struct Device;
@@ -16,6 +17,11 @@ extern "C" {
struct Sc2356Config {
/** SCCB I2C address (0x36) */
uint8_t address;
// Reset pin. GPIO_PIN_SPEC_NONE if the sensor's reset is tied high on the board (or otherwise
// not under our control), in which case start_device skips the reset pulse entirely and goes
// straight to probing.
struct GpioPinSpec pin_reset;
};
/**