test/py: test_ut.py: Ensure we use bytes
[oweals/u-boot.git] / include / axp_pmic.h
index b203cc88ddbc4f4fd4d968925d91349551fc6006..10091d0bb278ce275cbe6b17ab4135f4a452cc19 100644 (file)
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * (C) Copyright 2015 Hans de Goede <hdegoede@redhat.com>
  *
  * X-Powers AX Power Management IC support header
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 #ifndef _AXP_PMIC_H_
 
@@ -16,6 +15,9 @@
 #ifdef CONFIG_AXP221_POWER
 #include <axp221.h>
 #endif
+#ifdef CONFIG_AXP809_POWER
+#include <axp809.h>
+#endif
 #ifdef CONFIG_AXP818_POWER
 #include <axp818.h>
 #endif
@@ -32,6 +34,7 @@ int axp_set_aldo4(unsigned int mvolt);
 int axp_set_dldo(int dldo_num, unsigned int mvolt);
 int axp_set_eldo(int eldo_num, unsigned int mvolt);
 int axp_set_fldo(int fldo_num, unsigned int mvolt);
+int axp_set_sw(bool on);
 int axp_init(void);
 int axp_get_sid(unsigned int *sid);