History log of /rk3399_rockchip-uboot/drivers/power/charge_animation.c (Results 1 – 25 of 49)
Revision Date Author Comments
# 1d4a0494 15-Dec-2023 XiaoDong Huang <derrick.huang@rock-chips.com>

power: charge animation: support rockchip_pm_config

Change-Id: I7701a7c515389949a5aad2c1563abd31d6fd140c
Signed-off-by: XiaoDong Huang <derrick.huang@rock-chips.com>


# 529b3b1e 03-Nov-2023 Joseph Chen <chenjh@rock-chips.com>

power: charge animation: Fix compile error

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: If6cdd1d157ce45e81c6e68c137bf567d830b0dee


# 3a77b1c5 14-Feb-2023 Joseph Chen <chenjh@rock-chips.com>

power: charge animation: Add time delay to poll extrem low power

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I67349117f57619548c1f175cf8ef75bcbf7381dd


# 9c7e8d73 11-May-2022 Joseph Chen <chenjh@rock-chips.com>

power: charge animation: Support all pmics suspend/resume

It is required on the board with dual RK806.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I8913c506f6827bc526e4e23edb9e236

power: charge animation: Support all pmics suspend/resume

It is required on the board with dual RK806.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I8913c506f6827bc526e4e23edb9e236358c84148

show more ...


# d07906f0 10-May-2022 Joseph Chen <chenjh@rock-chips.com>

power: charge animation: Support assign regulator mem state

Vdd_logic is default disabled when kernel system suspend
on some platform, and regulator suspend off is configured
by default in DTS. But

power: charge animation: Support assign regulator mem state

Vdd_logic is default disabled when kernel system suspend
on some platform, and regulator suspend off is configured
by default in DTS. But U-Boot can't support that deep system
suspend. So prividing the prop to assign what we really
want regulators to be in U-Boot system suspend.

Example:
regulator-on-in-mem = <&vcc_ddr>, <&vdda0v9_pmu>,
<&vcca1v8_pmu>, <&vcc3v3_pmu>;
regulator-off-in-mem = <&vdd_logic>, <&vdd_gpu>,
<&vcc_ddr>, <&vcc_3v3>, <&vdda_0v9>;

If not finding these prop, fall through to the DTS configure
in every regulator node.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ie40c232317a98e7621ad1704b14718415f73a35a

show more ...


# 9116e2f9 28-Apr-2022 Joseph Chen <chenjh@rock-chips.com>

power: charge_animation: cleanup

This patch doesn't change the implementation logic.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I131ef8790b35590037a3ee822b2a46985d1403c7


# ceb76aad 28-Apr-2022 Joseph Chen <chenjh@rock-chips.com>

power: charge_animation: unifiy the system shutdown

Call fuel/charger again before shutdown, they need update something
after wakeup from a long time system suspend.

Signed-off-by: Joseph Chen <che

power: charge_animation: unifiy the system shutdown

Call fuel/charger again before shutdown, they need update something
after wakeup from a long time system suspend.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I4493c3e7192c8c2fe7a0acdd4139b2638e8c1ce5

show more ...


# d0e4711b 28-Apr-2022 Joseph Chen <chenjh@rock-chips.com>

power: charge_animation: use key_exist() instead of key_read()

We don't want to probe the pwrkey which may enable the
interrupt in its probe.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Chan

power: charge_animation: use key_exist() instead of key_read()

We don't want to probe the pwrkey which may enable the
interrupt in its probe.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I3b6c6ae3c233af65ebc0d88ae20c222edf6cf424

show more ...


# 77bac292 19-Jun-2021 Zorro Liu <lyx@rock-chips.com>

rk_eink: support show poweroff image

Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Change-Id: I138a181901c51a45fe4b5aba1c74e1efa344adc4


# 06b61291 14-Jan-2021 Joseph Chen <chenjh@rock-chips.com>

power: charge animation: add pmic suspend/resume

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ia1b6d232b0a9c0d0ce2e8ee47ae84aaa6d40bfac


# 094465a9 11-Dec-2020 Joseph Chen <chenjh@rock-chips.com>

power: charge animation: disable timer while uninit timer

Otherwise the time is still working in kernel if there is no
one to update it, which always wakeups system suspend.

Signed-off-by: Joseph C

power: charge animation: disable timer while uninit timer

Otherwise the time is still working in kernel if there is no
one to update it, which always wakeups system suspend.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ic2291b26730557c50fb8cbd505d05b40bb582c74

show more ...


# 255e5751 23-Nov-2020 Wenping Zhang <wenping.zhang@rock-chips.com>

power: charge animation: add eink charging display.

Signed-off-by: Wenping Zhang <wenping.zhang@rock-chips.com>
Change-Id: Id9d84a27ae2bbc8746e99ed01a96c53e2335a2b6


# 038c1eca 21-Mar-2020 Shunqing Chen <csq@rock-chips.com>

power: charge animation: energy enough auto exit uboot charge

Change-Id: Ifa94783869c7cb35f819f3700c82bac7d00a7b05
Signed-off-by: Shunqing Chen <csq@rock-chips.com>


# 23858492 21-Mar-2020 Shunqing Chen <csq@rock-chips.com>

power: charge animation: fix the issue that did not auto turn off screen

1.set auto_wakeup_screen_invert to 1 and set auto_off_screen_interval to 0.
2.set auto_screen_off_timeout to 1.
2.press power

power: charge animation: fix the issue that did not auto turn off screen

1.set auto_wakeup_screen_invert to 1 and set auto_off_screen_interval to 0.
2.set auto_screen_off_timeout to 1.
2.press power key to turn on screen.
3.screen will not be turned off at this time.

Change-Id: Ifc92f23a38d8ba0da4f6e37625b4114edb42f6a8
Signed-off-by: Shunqing Chen <csq@rock-chips.com>

show more ...


# 5eac14db 02-Aug-2019 Joseph Chen <chenjh@rock-chips.com>

power: charge animation: call irq suspend/resume before simple wfi

Some interrupt only need active when suspend(e.g. plugout, pwrkey).

Change-Id: Ieebaa5fbf9f69f424eefe5a52c1517be63acf873
Signed-of

power: charge animation: call irq suspend/resume before simple wfi

Some interrupt only need active when suspend(e.g. plugout, pwrkey).

Change-Id: Ieebaa5fbf9f69f424eefe5a52c1517be63acf873
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 4f9cab27 02-Aug-2019 Joseph Chen <chenjh@rock-chips.com>

dm: fuel gauge: rename fuel_gauge_get_soc() to fuel_gauge_update_get_soc()

New name is more accurate about internal implementation..

Change-Id: I16891f5f614fbb17f1e65e04ef4d8a713c8624f3
Signed-off-

dm: fuel gauge: rename fuel_gauge_get_soc() to fuel_gauge_update_get_soc()

New name is more accurate about internal implementation..

Change-Id: I16891f5f614fbb17f1e65e04ef4d8a713c8624f3
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 5fc2a70c 26-Jun-2019 Joseph Chen <chenjh@rock-chips.com>

power: charge animation: allow ctrl+c to exit extrem low charging

Change-Id: I736c2617a4d51085bc91377f1013d7f4b198c9fc
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 4d083e3f 15-May-2019 Joseph Chen <chenjh@rock-chips.com>

power: charge animation: add charger device support

If a fuel gauge device doesn't have both charger and fuel gauge
capabilities, try to find devices group to support that.

Change-Id: I78d929e80e79

power: charge animation: add charger device support

If a fuel gauge device doesn't have both charger and fuel gauge
capabilities, try to find devices group to support that.

Change-Id: I78d929e80e79bea304bb2b29f423c90ca12be16f
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 3415d4eb 17-May-2019 Joseph Chen <chenjh@rock-chips.com>

power: charge animation: select CONFIG_ARM_CPU_SUSPEND

Change-Id: I0c901e17b9da18d87f8dd7da776254a20c47ee11
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 2e68f6b5 05-Mar-2019 Joseph Chen <chenjh@rock-chips.com>

power: charge animation: support long key event without release

Change-Id: I9d7cd439376f2f4ff89ea6bfe3baedbeaa4deeb9
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# ebe3d004 13-Feb-2019 Joseph Chen <chenjh@rock-chips.com>

power: charge animation: clean up code

Change-Id: I0d76d7ad28ef3683bbc78f36d4a0f00d5517e2fa
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 1b3009de 13-Feb-2019 Joseph Chen <chenjh@rock-chips.com>

power: charge animation: add leds support

It supports charging and charging-full leds which
depends on soc value.

Change-Id: I6b37919c5bedf9b81d388853996cf83c6f75a73a
Signed-off-by: Joseph Chen <ch

power: charge animation: add leds support

It supports charging and charging-full leds which
depends on soc value.

Change-Id: I6b37919c5bedf9b81d388853996cf83c6f75a73a
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 8b436ce5 04-Feb-2019 Elaine Zhang <zhangqing@rock-chips.com>

power: charge animation: add rtc alarm check

Under the charging interface,if the rtc alarm is
triggered, boot on the system.

Change-Id: I6a921bd5c6971c45b02b2be84d9d6d79e9b17a36
Signed-off-by: Elai

power: charge animation: add rtc alarm check

Under the charging interface,if the rtc alarm is
triggered, boot on the system.

Change-Id: I6a921bd5c6971c45b02b2be84d9d6d79e9b17a36
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>

show more ...


# 61a7a6d6 11-Dec-2018 Joseph Chen <chenjh@rock-chips.com>

power: charge animation: add battery existence check

Change-Id: I8451d3069c11faa91d6b0087a764685cdf4f1bbf
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 7ae45834 04-Dec-2018 Joseph Chen <chenjh@rock-chips.com>

power: charge animation: print reason of exit charge

This is helpful to know charge state.

Change-Id: I96401b67220a0ebb782c5da1f8001b3bf4682c06
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


12