1. 06 11月, 2012 1 次提交
    • 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
  2. 30 10月, 2012 1 次提交
  3. 06 10月, 2012 1 次提交
  4. 02 10月, 2012 3 次提交
  5. 01 10月, 2012 1 次提交
  6. 29 9月, 2012 4 次提交
  7. 25 9月, 2012 2 次提交
  8. 24 9月, 2012 6 次提交
  9. 22 9月, 2012 14 次提交
  10. 21 9月, 2012 2 次提交
    • A
      88pm860x_battery and charger: Fix a few post-merge issues · f1ade352
      Anton Vorontsov 提交于
      Sparse complains:
      
        CHECK   drivers/power/88pm860x_battery.c
      drivers/power/88pm860x_battery.c:128:5: warning: symbol 'array_soc' was not declared. Should it be static?
        CHECK   drivers/power/88pm860x_charger.c
      drivers/power/88pm860x_charger.c:640:3: warning: symbol 'pm860x_irq_descs' was not declared. Should it be static?
        CHECK   drivers/mfd/88pm860x-core.c
      drivers/mfd/88pm860x-core.c:803:53: warning: incorrect type in assignment (different base types)
      drivers/mfd/88pm860x-core.c:803:53:    expected struct charger_regulator *charger_regulators
      drivers/mfd/88pm860x-core.c:803:53:    got struct regulator_bulk_data static [toplevel] *
      
      The issues are minor, except for the last one. We seemed to use
      'regulator_bulk_data' struct (just as charger manager documentation
      wrongly tells us), but in real it should have been
      'struct charger_regulator'. The only reason that it worked is
      because both 'supply' and 'regulator_name' struct members are the
      first in these structs. :-)
      Signed-off-by: NAnton Vorontsov <anton.vorontsov@linaro.org>
      f1ade352
    • J
      power_supply: Enable battery-charger for 88pm860x · a830d28b
      Jett.Zhou 提交于
      There are charger and battery measurement feature for 88pm860x PMIC.
      
      For charger, it can support pre-charge with small current when battery is
      nearly exausted and then changed into fast-charge with CC&CV mode.
      
      For battery monitor, it can support battery measurement such as
      vbat,vsys,vchg and ibat etc,it can aslo accumulating the Coulomb value
      charged or discharged from battery based on Conlomb Counter, we use it
      to estimate battery capacity.
      Signed-off-by: NJett.Zhou <jtzhou@marvell.com>
      Signed-off-by: NAnton Vorontsov <anton.vorontsov@linaro.org>
      a830d28b
  11. 19 9月, 2012 5 次提交