projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert CONFIG_SYS_LOAD_ADDR to Kconfig
[platform/kernel/u-boot.git]
/
include
/
tps6586x.h
diff --git
a/include/tps6586x.h
b/include/tps6586x.h
index
78ce428
..
aa4270c
100644
(file)
--- a/
include/tps6586x.h
+++ b/
include/tps6586x.h
@@
-1,13
+1,14
@@
+/* SPDX-License-Identifier: GPL-2.0+ */
/*
* (C) Copyright 2010,2011
* NVIDIA Corporation <www.nvidia.com>
/*
* (C) Copyright 2010,2011
* NVIDIA Corporation <www.nvidia.com>
- *
- * SPDX-License-Identifier: GPL-2.0+
*/
#ifndef _TPS6586X_H_
#define _TPS6586X_H_
*/
#ifndef _TPS6586X_H_
#define _TPS6586X_H_
+struct udevice;
+
enum {
/* SM0-2 PWM/PFM Mode Selection */
TPS6586X_PWM_SM0 = 1 << 0,
enum {
/* SM0-2 PWM/PFM Mode Selection */
TPS6586X_PWM_SM0 = 1 << 0,
@@
-44,9
+45,9
@@
int tps6586x_adjust_sm0_sm1(int sm0_target, int sm1_target, int step, int rate,
* Set up the TPS6586X I2C bus number. This will be used for all operations
* on the device. This function must be called before using other functions.
*
* Set up the TPS6586X I2C bus number. This will be used for all operations
* on the device. This function must be called before using other functions.
*
- * @param bus I2C bus
number
containing the TPS6586X chip
+ * @param bus I2C bus containing the TPS6586X chip
* @return 0 (always succeeds)
*/
* @return 0 (always succeeds)
*/
-int tps6586x_init(
int
bus);
+int tps6586x_init(
struct udevice *
bus);
#endif /* _TPS6586X_H_ */
#endif /* _TPS6586X_H_ */