Hi Martin,
On Sat, Jan 21, 2023 at 2:45 AM Martin Botka <martin.botka@xxxxxxxxxxxxxx> wrote:The AXP313a is your typical I2C controlled PMIC, although in a lighter fashion compared to the other X-Powers PMICs: it has only three DCDC rails, three LDOs, and no battery charging support. The AXP313a datasheet does not describe a register to change the DCDC switching frequency, and talks of it being fixed at 3 MHz. The BSP driver hints at a register being able to change that, but we haven't verified that, so leave that one out. It can be added later, if needed and/or required.The datasheet released by MangoPi says this isn't configurable. The thing that is configurable is spread-spectrum operation, and mode switching between fixed PWM and hybrid PFM/PWM. So just drop the DCDC frequency stuff and use the default code path.
You could get full datasheet of AXP313A here: https://github.com/YuzukiHD/YuzukiChameleon/blob/master/Datasheet/AXP313A_Datasheet_V1.0_cn.pdf Btw I'm working on AXP15060 support mostly based on your series. Best regards, Shengyu
Attachment:
OpenPGP_0xE3520CC91929C8E7.asc
Description: OpenPGP public key
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature