Merge branch 'ib-mfd-iio-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/lee...
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 25 Nov 2014 01:18:58 +0000 (02:18 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 25 Nov 2014 01:18:58 +0000 (02:18 +0100)
Pull MFD changes that the ACPI PMIC changes depend on from Lee Jones.

1  2 
drivers/iio/adc/Kconfig
drivers/iio/adc/Makefile
drivers/mfd/Kconfig
drivers/mfd/axp20x.c

index 88bdc8f612e2ccf299550fa8367fb2ad251b29b1,db2681b4f24b337e54c63d3627d8057795ea31cf..bc4e787096e84c41ec04d3343a0a087f5620935f
@@@ -127,9 -127,17 +127,17 @@@ config AT91_AD
        help
          Say yes here to build support for Atmel AT91 ADC.
  
+ config AXP288_ADC
+       tristate "X-Powers AXP288 ADC driver"
+       depends on MFD_AXP20X
+       help
+         Say yes here to have support for X-Powers power management IC (PMIC) ADC
+         device. Depending on platform configuration, this general purpose ADC can
+         be used for sampling sensors such as thermal resistors.
  config EXYNOS_ADC
        tristate "Exynos ADC driver support"
 -      depends on ARCH_EXYNOS || (OF && COMPILE_TEST)
 +      depends on ARCH_EXYNOS || ARCH_S3C24XX || ARCH_S3C64XX || (OF && COMPILE_TEST)
        help
          Core support for the ADC block found in the Samsung EXYNOS series
          of SoCs for drivers such as the touchscreen and hwmon to use to share
Simple merge
Simple merge
index 6231adbb295d6afd876de989db2a97f314a96cb8,9c4714e13c3c463dc43fd437e0f26ae6cf58232c..971b0eb8d82103f37729b379a170f93553affde4
@@@ -133,13 -250,36 +250,27 @@@ static const struct regmap_irq_chip axp
        .status_base            = AXP20X_IRQ1_STATE,
        .ack_base               = AXP20X_IRQ1_STATE,
        .mask_base              = AXP20X_IRQ1_EN,
-       .num_regs               = 5,
+       .mask_invert            = true,
+       .init_ack_masked        = true,
        .irqs                   = axp20x_regmap_irqs,
        .num_irqs               = ARRAY_SIZE(axp20x_regmap_irqs),
+       .num_regs               = 5,
+ };
+ static const struct regmap_irq_chip axp288_regmap_irq_chip = {
+       .name                   = "axp288_irq_chip",
+       .status_base            = AXP20X_IRQ1_STATE,
+       .ack_base               = AXP20X_IRQ1_STATE,
+       .mask_base              = AXP20X_IRQ1_EN,
        .mask_invert            = true,
        .init_ack_masked        = true,
+       .irqs                   = axp288_regmap_irqs,
+       .num_irqs               = ARRAY_SIZE(axp288_regmap_irqs),
+       .num_regs               = 6,
  };
  
 -static const char * const axp20x_supplies[] = {
 -      "acin",
 -      "vin2",
 -      "vin3",
 -      "ldo24in",
 -      "ldo3in",
 -      "ldo5in",
 -};
 -
  static struct mfd_cell axp20x_cells[] = {
        {
                .name                   = "axp20x-pek",