Merge branch 'master' of git://git.denx.de/u-boot-socfpga
[oweals/u-boot.git] / include / power / tps65217.h
index cb07ea5ce622204988bcde2f89e091d1fdbc7b5d..669a94a6c8747b04001ad27acf8a5a86dce309f4 100644 (file)
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * (C) Copyright 2011-2013
  * Texas Instruments, <www.ti.com>
  *
- * SPDX-License-Identifier:    GPL-2.0+
- *
  * For more details, please see the TRM at http://www.ti.com/product/tps65217a
  */
 
@@ -81,6 +80,8 @@ enum {
 #define TPS65217_PWR_SRC_USB_BITMASK           0x4
 #define TPS65217_PWR_SRC_AC_BITMASK            0x8
 
+int power_tps65217_init(unsigned char bus);
+
 int tps65217_reg_read(uchar src_reg, uchar *src_val);
 int tps65217_reg_write(uchar prot_level, uchar dest_reg, uchar dest_val,
                       uchar mask);