mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-10-24 14:01:56 +02:00
This patch is to implement pmic_mode_init function, and add prototype
in header file.
This function is to set switching mode for pmic buck regulators to
improve system efficiency.
Mode:
OFF: The regulator is switched off and the output voltage is discharged.
PFM: In this mode, the regulator is always in PFM mode, which
is useful at light loads for optimized efficiency.
PWM: In this mode, the regulator is always in PWM mode operation
regardless of load conditions.
APS: In this mode, the regulator moves automatically between
pulse skipping mode and PWM mode depending on load conditions.
Signed-off-by: Peng Fan <Peng.Fan@freescale.com>
Acked-by: Przemyslaw Marczak <p.marczak@samsung.com>
14 lines
268 B
C
14 lines
268 B
C
/*
|
|
* Copyright 2014 Freescale Semiconductor, Inc.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __PFUZE_BOARD_HELPER__
|
|
#define __PFUZE_BOARD_HELPER__
|
|
|
|
struct pmic *pfuze_common_init(unsigned char i2cbus);
|
|
int pfuze_mode_init(struct pmic *p, u32 mode);
|
|
|
|
#endif
|