]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - include/linux/mfd/max8998.h
Merge tag 'v2.6.37' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[mv-sheeva.git] / include / linux / mfd / max8998.h
index 1d3601a2d853fec819373ea822139106790b5eb6..f8c9f884aff2b0f246a1e258a4cb6e940021a875 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * max8698.h - Voltage regulator driver for the Maxim 8998
+ * max8998.h - Voltage regulator driver for the Maxim 8998
  *
  *  Copyright (C) 2009-2010 Samsung Electrnoics
  *  Kyungmin Park <kyungmin.park@samsung.com>
@@ -66,13 +66,28 @@ struct max8998_regulator_data {
 
 /**
  * struct max8998_board - packages regulator init data
- * @num_regulators: number of regultors used
  * @regulators: array of defined regulators
+ * @num_regulators: number of regultors used
+ * @irq_base: base IRQ number for max8998, required for IRQs
+ * @ono: power onoff IRQ number for max8998
+ * @buck1_max_voltage1: BUCK1 maximum alowed voltage register 1
+ * @buck1_max_voltage2: BUCK1 maximum alowed voltage register 2
+ * @buck2_max_voltage: BUCK2 maximum alowed voltage
+ * @buck1_set1: BUCK1 gpio pin 1 to set output voltage
+ * @buck1_set2: BUCK1 gpio pin 2 to set output voltage
+ * @buck2_set3: BUCK2 gpio pin to set output voltage
  */
-
 struct max8998_platform_data {
-       int                             num_regulators;
        struct max8998_regulator_data   *regulators;
+       int                             num_regulators;
+       int                             irq_base;
+       int                             ono;
+       int                             buck1_max_voltage1;
+       int                             buck1_max_voltage2;
+       int                             buck2_max_voltage;
+       int                             buck1_set1;
+       int                             buck1_set2;
+       int                             buck2_set3;
 };
 
 #endif /*  __LINUX_MFD_MAX8998_H */