Add more bit definitions to cahrger ctl register map

This commit is contained in:
Ondrej Jirman 2022-07-27 22:23:33 +02:00
parent 91163251e6
commit ec8e248883

View File

@ -381,7 +381,11 @@ struct reginfo regs[256] = {
REG_END REG_END
REG_SIMPLE(READ0) REG_SIMPLE(READ0)
REG_SIMPLE(READ1) REG_START(READ1, "READ1")
REG_BITS(WLED_PRESENT, 7, 1)
REG_BITS(LIGHT_LOAD, 6, 1)
REG_BITS(VIN_OVERVOLT, 5, 1)
REG_END
REG_SIMPLE(READ2) REG_SIMPLE(READ2)
}; };