summaryrefslogtreecommitdiff
path: root/include/axp_pmic.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-10-25 12:09:57 -0400
committerTom Rini <trini@konsulko.com>2021-10-25 12:09:57 -0400
commit397b35f09794e40d62d5e4f53992e2a711dc8be1 (patch)
tree0696b5205c1151a600643238cb9da1f93dd15806 /include/axp_pmic.h
parent35a7677e382172e5024b38ff997944ca83909384 (diff)
parentc846fe43f0561311eb7261b34023a04646cdbd0d (diff)
Merge branch 'master' of https://source.denx.de/u-boot/custodians/u-boot-sunxi
- Add and enable watchdog driver - Prepare for SYSRESET driven AXP poweroff - Prepare for SoCs without MMC2 - Some fixes for extending SPL (SPL-DM for RISC-V) - Some preparations for proper VBUS management - Fix secure monitor move
Diffstat (limited to 'include/axp_pmic.h')
-rw-r--r--include/axp_pmic.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/include/axp_pmic.h b/include/axp_pmic.h
index 46a017d2efa..01ebba63479 100644
--- a/include/axp_pmic.h
+++ b/include/axp_pmic.h
@@ -5,27 +5,16 @@
* X-Powers AX Power Management IC support header
*/
#ifndef _AXP_PMIC_H_
+#define _AXP_PMIC_H_
#include <stdbool.h>
-#ifdef CONFIG_AXP152_POWER
#include <axp152.h>
-#endif
-#ifdef CONFIG_AXP209_POWER
#include <axp209.h>
-#endif
-#ifdef CONFIG_AXP221_POWER
#include <axp221.h>
-#endif
-#ifdef CONFIG_AXP305_POWER
#include <axp305.h>
-#endif
-#ifdef CONFIG_AXP809_POWER
#include <axp809.h>
-#endif
-#ifdef CONFIG_AXP818_POWER
#include <axp818.h>
-#endif
#define AXP_PMIC_MODE_REG 0x3e
#define AXP_PMIC_MODE_I2C 0x00