Page MenuHomeFreeBSD

Add RockChip rk809/rk817 pmic support to existing RockChip pmic drivers
ClosedPublic

Authored by ganbold on Aug 12 2022, 2:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 18 2024, 1:41 PM
Unknown Object (File)
Feb 11 2024, 1:28 PM
Unknown Object (File)
Feb 11 2024, 8:14 AM
Unknown Object (File)
Feb 11 2024, 8:14 AM
Unknown Object (File)
Jan 13 2024, 11:17 AM
Unknown Object (File)
Jan 12 2024, 3:06 AM
Unknown Object (File)
Jan 6 2024, 5:01 PM
Unknown Object (File)
Dec 23 2023, 2:34 AM
Subscribers

Details

Summary

This patch adds RockChip rk809/rk817 pmic support to existing RockChip pmic drivers.
It was submitted by sos@.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

ganbold added a subscriber: andrew.
sys/dev/iicbus/pmic/rockchip/rk8xx.c
123

This part will probably not work on other PMIC as they can't powercycle.

Hopefully fixed accordingly.

Hopefully fixed accordingly.

Before we use to always power off the PMIC , maybe we should still do the same.

In D36149#821860, @manu wrote:

Hopefully fixed accordingly.

Before we use to always power off the PMIC , maybe we should still do the same.

Sorry, what do you mean here? Add similar check for POWEROFF?

In D36149#821860, @manu wrote:

Hopefully fixed accordingly.

Before we use to always power off the PMIC , maybe we should still do the same.

Sorry, what do you mean here? Add similar check for POWEROFF?

Yes, right now if howto == RB_POWERCYCLE we won't do a think for RK3328 or RK3399, we should power off for every PMIC that can't powercycle.

Updated the patch. I hope I understood the comment, correct me if I'm wrong here.

Updated the patch. I hope I understood the comment, correct me if I'm wrong here.

Yup this is what I meant :)

This revision is now accepted and ready to land.Aug 16 2022, 7:46 AM
This revision was automatically updated to reflect the committed changes.