1. 18 3月, 2014 1 次提交
  2. 21 1月, 2014 2 次提交
    • M
      mfd: Add LP3943 MFD driver · 470eca47
      Milo Kim 提交于
      LP3943 has 16 output pins which can be used as GPIO expander and PWM generator.
      
      * Regmap I2C interface for R/W LP3943 registers
      
      * Atomic operations for output pin assignment
        The driver should check whether requested pin is available or not.
        If the pin is already used, pin request returns as a failure.
        A driver data, 'pin_used' is checked when gpio_request() and
        pwm_request() are called. If the pin is available, then pin_used is set.
        And it is cleared when gpio_free() and pwm_free().
      
      * Device tree support
        Compatible strings for GPIO and PWM driver.
        LP3943 platform data is PWM related, so parsing the device tree is
        implemented in the PWM driver.
      Signed-off-by: NMilo Kim <milo.kim@ti.com>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      470eca47
    • C
      mfd: max14577: Add max14577 MFD driver core · 3008ddbe
      Chanwoo Choi 提交于
      This patch adds max14577 core/irq driver to support MUIC(Micro USB IC)
      device and charger device and support irq domain method to control
      internal interrupt of max14577 device. Also, this patch supports DT
      binding with max14577_i2c_parse_dt().
      
      The MAXIM 14577 chip contains Micro-USB Interface Circuit and Li+ Battery
      Charger. It contains accessory and USB charger detection logic. It supports
      USB 2.0 Hi-Speed, UART and stereo audio signals over Micro-USB connector.
      
      The battery charger is compliant with the USB Battery Charging Specification
      Revision 1.1. It has also SFOUT LDO output for powering USB devices.
      Reviewed-by: NMark Brown <broonie@linaro.org>
      Signed-off-by: NChanwoo Choi <cw00.choi@samsung.com>
      Signed-off-by: NKrzysztof Kozlowski <k.kozlowski@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      3008ddbe
  3. 23 10月, 2013 2 次提交
  4. 20 8月, 2013 2 次提交
  5. 24 6月, 2013 1 次提交
  6. 18 6月, 2013 1 次提交
  7. 12 6月, 2013 1 次提交
  8. 20 4月, 2013 2 次提交
  9. 17 4月, 2013 1 次提交
  10. 05 4月, 2013 3 次提交
  11. 29 3月, 2013 1 次提交
  12. 14 2月, 2013 1 次提交
  13. 23 11月, 2012 1 次提交
  14. 21 11月, 2012 2 次提交
  15. 20 11月, 2012 3 次提交
  16. 16 11月, 2012 1 次提交
  17. 14 11月, 2012 2 次提交
  18. 08 11月, 2012 1 次提交
  19. 06 11月, 2012 3 次提交
    • P
      mfd: ti_tscadc: Add support for TI's TSC/ADC MFDevice · 01636eb9
      Patil, Rachna 提交于
      Add the mfd core driver which supports touchscreen
      and ADC.
      With this patch we are only adding infrastructure to
      support the MFD clients.
      Signed-off-by: NPatil, Rachna <rachna@ti.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      01636eb9
    • P
      mfd: Versatile Express system registers driver · 88e0abcd
      Pawel Moll 提交于
      This is a platform driver for Versatile Express' "system
      register" block. It's a random collection of registers providing
      the following functionality:
      
      - low level platform functions like board ID access; in order to
        use those, the driver must be initialized early, either statically
        or based on the DT
      
      - config bus bridge via "system control" interface; as the response
        from the controller does not generate interrupt (yet), the status
        register is periodically polled using a timer
      
      - pseudo GPIO lines providing MMC card status and Flash WP#
        signal control
      
      - LED interface for a set of 8 LEDs on the motherboard, with
        "heartbeat", "mmc0" and "cpu0" to "cpu5" as default triggers
      Signed-off-by: NPawel Moll <pawel.moll@arm.com>
      88e0abcd
    • P
      mfd: Versatile Express config infrastructure · 3ecbf05b
      Pawel Moll 提交于
      Versatile Express platform has an elaborated configuration system,
      consisting of microcontrollers residing on the mother- and
      daughterboards known as Motherboard/Daughterboard Configuration
      Controller (MCC and DCC). The controllers are responsible for
      the platform initialization (reset generation, flash programming,
      FPGA bitfiles loading etc.) but also control clock generators,
      voltage regulators, gather environmental data like temperature,
      power consumption etc. Even the video output switch (FPGA) is
      controlled that way.
      
      Those devices are _not_ visible in the main address space and
      the usual communication channel uses some kind of a bridge in
      the peripheral block sending commands (requests) to the
      controllers and receiving responses. It can take up to
      500 microseconds for a transaction to be completed, therefore
      it is important to provide a non-blocking interface to it.
      
      This patch adds an abstraction of this infrastructure. Bridge
      drivers can register themselves with the framework. Then,
      a driver of a device can request an abstract "function" - the
      request will be redirected to a bridge referred by thedd
      "arm,vexpress,config-bridge" property of the device tree node.
      Signed-off-by: NPawel Moll <pawel.moll@arm.com>
      3ecbf05b
  20. 01 10月, 2012 1 次提交
  21. 29 9月, 2012 1 次提交
  22. 24 9月, 2012 1 次提交
    • M
      mfd: Add lp8788 mfd driver · eea6b7cc
      Milo Kim 提交于
      TI LP8788 PMU provides regulators, battery charger, ADC,
      RTC, backlight driver and current sinks.
      
      This MFD patch supports the I2C communication using the regmap,
      the interrupt handling using the linear IRQ domain and
      configurable platform data structures for each driver module.
      
       (Driver Architecture)
      
                                               < mfd devices >
        LP8788 HW  ..........  mfd  .......... regulator drivers
                      I2C                      power supply driver
                      IRQs                     iio adc driver
                                               rtc driver
                                               backlight driver
                                               current sink drivers
      
        o regulators    : LDOs and BUCKs
        o power supply  : Battery charger
        o iio adc       : Battery voltage/temperature
        o rtc           : RTC and alarm
        o backlight
        o current sink  : LED and vibrator
      
      All MFD device modules are registered by LP8788 MFD core driver.
      For sharing information such like the virtual IRQ number,
      MFD core driver uses the resource structure.
      Then each module can retrieve the specific IRQ number and detect it
      in the IRQ thread.
      
      Configurable platform data is handled in each driver module.
      Signed-off-by: NMilo(Woogyom) Kim <milo.kim@ti.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      eea6b7cc
  23. 22 9月, 2012 1 次提交
  24. 19 9月, 2012 1 次提交
  25. 17 9月, 2012 3 次提交
  26. 16 7月, 2012 1 次提交