New kernel drivers and device migrations (#563)
This commit is contained in:
committed by
GitHub
parent
955416dac8
commit
8af6204ba1
@@ -14,6 +14,10 @@ struct Xpt2046Config {
|
||||
bool swap_xy;
|
||||
bool mirror_x;
|
||||
bool mirror_y;
|
||||
/** Expose a power-supply child device that reads battery voltage/capacity off the chip's v-bat input */
|
||||
bool power_supply;
|
||||
/** Battery voltage (mV) considered 100% capacity, used to derive POWER_SUPPLY_PROP_CAPACITY */
|
||||
uint32_t power_supply_reference_voltage_mv;
|
||||
};
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
Reference in New Issue
Block a user