summaryrefslogtreecommitdiffstats
path: root/qemu/roms/u-boot/include/tps6586x.h
diff options
context:
space:
mode:
authorRajithaY <rajithax.yerrumsetty@intel.com>2017-04-25 03:31:15 -0700
committerRajitha Yerrumchetty <rajithax.yerrumsetty@intel.com>2017-05-22 06:48:08 +0000
commitbb756eebdac6fd24e8919e2c43f7d2c8c4091f59 (patch)
treeca11e03542edf2d8f631efeca5e1626d211107e3 /qemu/roms/u-boot/include/tps6586x.h
parenta14b48d18a9ed03ec191cf16b162206998a895ce (diff)
Adding qemu as a submodule of KVMFORNFV
This Patch includes the changes to add qemu as a submodule to kvmfornfv repo and make use of the updated latest qemu for the execution of all testcase Change-Id: I1280af507a857675c7f81d30c95255635667bdd7 Signed-off-by:RajithaY<rajithax.yerrumsetty@intel.com>
Diffstat (limited to 'qemu/roms/u-boot/include/tps6586x.h')
-rw-r--r--qemu/roms/u-boot/include/tps6586x.h52
1 files changed, 0 insertions, 52 deletions
diff --git a/qemu/roms/u-boot/include/tps6586x.h b/qemu/roms/u-boot/include/tps6586x.h
deleted file mode 100644
index 10ca10389..000000000
--- a/qemu/roms/u-boot/include/tps6586x.h
+++ /dev/null
@@ -1,52 +0,0 @@
-/*
- * (C) Copyright 2010,2011
- * NVIDIA Corporation <www.nvidia.com>
- *
- * SPDX-License-Identifier: GPL-2.0+
- */
-
-#ifndef __H_
-#define _TPS6586X_H_
-
-enum {
- /* SM0-2 PWM/PFM Mode Selection */
- TPS6586X_PWM_SM0 = 1 << 0,
- TPS6586X_PWM_SM1 = 1 << 1,
- TPS6586X_PWM_SM2 = 1 << 2,
-};
-
-/**
- * Enable PWM mode for selected SM0-2
- *
- * @param mask Mask of synchronous converter to enable (TPS6586X_PWM_...)
- * @return 0 if ok, -1 on error
- */
-int tps6586x_set_pwm_mode(int mask);
-
-/**
- * Adjust SM0 and SM1 voltages to the given targets in incremental steps.
- *
- * @param sm0_target Target voltage for SM0 in 25mW units, 0=725mV, 31=1.5V
- * @param sm1_target Target voltage for SM1 in 25mW units, 0=725mV, 31=1.5V
- * @param step Amount to change voltage in each step, in 25mW units
- * @param rate Slew ratein mV/us: 0=instantly, 1=0.11, 2=0.22,
- * 3=0.44, 4=0.88, 5=1.76, 6=3.52, 7=7.04
- * @param min_sm0_over_sm1 Minimum amount by which sm0 must exceed sm1.
- * If this condition is not met, no adjustment will be
- * done and an error will be reported. Use -1 to skip
- * this check.
- * @return 0 if ok, -1 on error
- */
-int tps6586x_adjust_sm0_sm1(int sm0_target, int sm1_target, int step, int rate,
- int min_sm0_over_sm1);
-
-/**
- * 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
- * @return 0 (always succeeds)
- */
-int tps6586x_init(int bus);
-
-#endif /* _TPS6586X_H_ */