Skip to content

drivers: charger: bq2562x: Added some extended functionality. #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: dev/ti/bq2562x
Choose a base branch
from

Conversation

jean-yuan
Copy link

  1. Added partial operation functionality for register addresses 0x14, 0x15, 0x16, 0x17, 0x19, 0x1D, and 0x36.
  2. Added extended external interfaces in the bq2562x.h file.
  3. Optimized the initialization configuration functionality.

jean-yuan added 3 commits June 9, 2025 16:32
Enable more customized configurations for bq2562x by configuring
additional registers at initialization and providing extension APIs.

Signed-off-by: Jean Yuan <[email protected]>
Optimized code and remove unnecessary variable.

Signed-off-by: Jean Yuan <[email protected]>
…ctionality.

1.Remove the charge enable functionality from the interfaces
  that set the charge current and precharge current.

2.Remove the initialization of charge current, termination voltage,
  and termination temperature settings, allowing users to configure
  them through APIs.

Signed-off-by: Jean Yuan <[email protected]>
Add copyright in bq2562x.h

Signed-off-by: Jean Yuan <[email protected]>
A write to any I2C register transitions the charger from default mode to host mode,
and initiates the watchdog timer.Therefore, before writing to the registers each time,
the watchdog should be disabled first.

Signed-off-by: Jean Yuan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant