Implement libswitch::power module #2
Labels
component: libtegra
Issues and Pull Requests pertaining to libtegra
enhancement
New feature or request
help wanted
Extra attention is needed
This is the tracking issue for the
libswitch::power
module containing drivers for the Switch's TI BQ24193, the Maxim 17050, and the Maxim 77620.Required to complete #1.
Implementation
Max77620 driver has the highest priority. The others are nice to have, however low priority at the moment.
BQ24193
This is used for battery charging and should provide at least a function to retrieve the value (
i16
) of one of the following device properties, represented in an enum:These are to be retrieved over I2C. See the Technical Reference for details.
Max17050
Used for fuel gauging. Similar to the BQ24193, this has a similar system of retrieving values for certain device properties. The enum would however contain different members (notably a whole bunch more) with different values. See Technical Reference for details.
Max77620
Used for PMIC stuff. Hence, the driver should contain an abstraction of the device that holds its ID and the corresponding methods for configuring and managing the regulators which is done via I2C.
Resources
TI BQ24193 Datasheet
Max17050 Datasheet
Linux kernel
hekate project
The text was updated successfully, but these errors were encountered: