0
JTX

access AXP803 reg on Pine64 via sysfs

Recommended Posts

Hi everyone,

I'm using Pine64 LTS for a project. According to AXP803 datasheet  Page37 & 38, the charge LED indicator can be set to Mode A or Mode B. Does anyone know how to change this setting via sysfs, or other interface(I2c, Uart) ?


pine@pine64so:/sys/class/power_supply$ ls
axp20x-battery  axp813-ac
pine@pine64so:/sys/class/power_supply$ cd axp813-ac
pine@pine64so:/sys/class/power_supply/axp813-ac$ ls
device  health  input_current_limit  online  power  present  subsystem  type  uevent  voltage_min
pine@pine64so:/sys/class/power_supply/axp813-ac$ cat uevent
POWER_SUPPLY_NAME=axp813-ac
POWER_SUPPLY_HEALTH=Good
POWER_SUPPLY_PRESENT=1
POWER_SUPPLY_ONLINE=1
POWER_SUPPLY_VOLTAGE_MIN=4000000
POWER_SUPPLY_INPUT_CURRENT_LIMIT=1500000


Thanks,
JTX

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
0