Browse Source

Add more bit definitions to cahrger ctl register map

master
Ondrej Jirman 5 months ago
parent
commit
ec8e248883
  1. 6
      i2c-charger-ctl.c

6
i2c-charger-ctl.c

@ -381,7 +381,11 @@ struct reginfo regs[256] = { @@ -381,7 +381,11 @@ struct reginfo regs[256] = {
REG_END
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)
};

Loading…
Cancel
Save