1. 29 10月, 2010 2 次提交
  2. 12 8月, 2010 1 次提交
  3. 26 5月, 2010 1 次提交
  4. 07 3月, 2010 2 次提交
  5. 03 3月, 2010 1 次提交
    • A
      regulator: mc13783: consider Power Gates as digital regulators. · f4b97b36
      Alberto Panizzo 提交于
      GPO regulators are digital outputs that can be enabled or disabled by a
      dedicated bit in mc13783 POWERMISC register.
      In this family can be count in also Power Gates (PWGT1 and 2): enabled by
      a dedicated pin a Power Gate is an hardware driven supply where the output
      (PWGTnDRV) follow this law:
      
       Bit PWGTxSPIEN | Pin PWGTxEN | PWGTxDRV |  Read Back
         0 = default  |             |          | PWGTxSPIEN
       ---------------+-------------+----------+------------
             1        |      x      |   Low    |     0
             0        |      0      |   High   |     1
             0        |      1      |   Low    |     0
      
      As read back value of control bit reflects the PWGTxDRV state (not the
      control value previously written) and mc13783 POWERMISC register contain
      only regulator related bits, a dedicated function to manage these bits is
      created here with the aim of tracing the real value of PWGTxSPIEN bits
      and reproduce it on next writes.
      
      All POWERMISC users _must_ use the new function to not accidentally
      disable Power Gates supplies.
      
      v2 changes:
      -Better utilization of abstraction layers.
      -Voltage query support. GPO's and PWGTxDRV are fixed voltage regulator
       with voltage value of 3.1V and 5.5V respectively.
      Signed-off-by: NAlberto Panizzo <maramaopercheseimorto@gmail.com>
      Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NLiam Girdwood <lrg@slimlogic.co.uk>
      f4b97b36
  6. 14 12月, 2009 1 次提交
    • U
      mfd: Near complete mc13783 rewrite · 9e272677
      Uwe Kleine-König 提交于
      This fixes several things while still providing the old API:
      
       - simplify and fix locking
       - better error handling
       - don't ack all irqs making it impossible to detect a reset of the
         rtc
       - use a timeout variant to wait for completion of ADC conversion
       - provide platform-data to regulator subdevice (This allows making
         struct mc13783 opaque for other drivers after the regulator driver is
         updated to use its platform_data.)
       - expose all interrupts
       - use threaded irq
      
      After all users in mainline are converted to the new API, some things
      (e.g. mc13783-private.h) can go away.
      Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
      Cc: Sascha Hauer <s.hauer@pengutronix.de>
      Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      9e272677
  7. 17 9月, 2009 1 次提交