mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
fbd37d8d28
This PMIC can be found on H616 boards and it's very similar to AXP805 and AXP806. Signed-off-by: Jernej Skrabec <jernej.skrabec@siol.net> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
17 lines
366 B
C
17 lines
366 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* (C) Copyright 2020 Jernej Skrabec <jernej.skrabec@siol.net>
|
|
*/
|
|
|
|
enum axp305_reg {
|
|
AXP305_CHIP_VERSION = 0x3,
|
|
AXP305_OUTPUT_CTRL1 = 0x10,
|
|
AXP305_DCDCD_VOLTAGE = 0x15,
|
|
AXP305_SHUTDOWN = 0x32,
|
|
};
|
|
|
|
#define AXP305_CHIP_VERSION_MASK 0xcf
|
|
|
|
#define AXP305_OUTPUT_CTRL1_DCDCD_EN (1 << 3)
|
|
|
|
#define AXP305_POWEROFF (1 << 7)
|