1. 17 4月, 2012 2 次提交
  2. 22 3月, 2012 1 次提交
  3. 17 3月, 2012 2 次提交
  4. 09 1月, 2012 2 次提交
  5. 08 7月, 2011 1 次提交
  6. 27 3月, 2011 1 次提交
    • M
      mfd: Add MAX8997/8966 IRQ control · 8de6bc7f
      MyungJoo Ham 提交于
      This patch enables IRQ handling for MAX8997/8966 chips.
      
      Please note that Fuel-Gauge-related IRQs are not implemented in this
      initial release. The fuel gauge module in MAX8997 is identical to
      MAX17042, which is already in Linux kernel. In order to use the
      already-existing MAX17042 driver for fuel gauge module in MAX8997, the
      main interrupt handler of MAX8997 should relay related interrupts to
      MAX17042 driver. However, in order to do this, we need to modify
      MAX17042 driver as well because MAX17042 driver does not have any
      interrupt handlers for now. We are not going to implement this in this
      initial release as it is not crucial in basic operations of MAX8997.
      Signed-off-by: NMyungJoo Ham <myungjoo.ham@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      8de6bc7f
  7. 23 3月, 2011 2 次提交
    • M
      regulator: MAX8997/8966 support · bd6ca2cf
      MyungJoo Ham 提交于
      This patch supports PMIC/Regulator part of MAX8997/MAX8966 MFD.
      In this initial release, selecting voltages or current-limit
      and switching on/off the regulators are supported.
      
      Controlling voltages for DVS with GPIOs is not implemented fully
      and requires more considerations: it controls multiple bucks (selection
      of 1, 2, and 5) at the same time with SET1~3 gpios. Thus, when DVS-GPIO
      is activated, we lose the ability to control the voltage of a single
      buck regulator independently; i.e., contolling a buck affects other two
      bucks. Therefore, using the conventional regulator framework directly
      might be problematic. However, in this driver, we try to choose
      a setting without such side effect of affecting other regulators and
      then try to choose a setting with the minimum side effect (the sum of
      voltage changes in other regulators).
      
      On the other hand, controlling all the three bucks simultenously based
      on the voltage set table may help build cpufreq and similar system
      more robust; i.e., all the three voltages are consistent every time
      without glitches during transition.
      Signed-off-by: NMyungJoo Ham <myungjoo.ham@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      bd6ca2cf
    • M
      mfd: MAX8997/8966 support · 527e7e9a
      MyungJoo Ham 提交于
      MAX8997/MAX8966 chip is a multi-function device with I2C bussses. The
      chip includes PMIC, RTC, Fuel Gauge, MUIC, Haptic, Flash control, and
      Battery (charging) control.
      
      This patch is an initial release of a MAX8997/8966 driver that supports
      to enable the chip with its primary I2C bus that connects every device
      mentioned above except for Fuel Gauge, which uses another I2C bus. The
      fuel gauge is not supported by this mfd driver and is supported by a
      seperated driver of MAX17042 Fuel Gauge (yes, the fuel gauge part is
      compatible with MAX17042).
      Signed-off-by: NMyungJoo Ham <myungjoo.ham@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Reviewed-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      527e7e9a