1. 01 3月, 2013 1 次提交
  2. 04 1月, 2013 1 次提交
    • G
      Drivers: regulator: remove __dev* attributes. · 3d68dfe3
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      __devinitconst, and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Liam Girdwood <lrg@ti.com>
      Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      3d68dfe3
  3. 20 11月, 2012 3 次提交
  4. 09 9月, 2012 1 次提交
  5. 29 8月, 2012 5 次提交
  6. 16 8月, 2012 1 次提交
    • A
      regulator: twl-regulator: fix up VINTANA1/VINTANA2 · 908d6d52
      Aaro Koskinen 提交于
      It seems commit 2098e95c (regulator: twl:
      adapt twl-regulator driver to dt) accidentally deleted VINTANA1. Also
      the same commit defines VINTANA2 twice with TWL4030_ADJUSTABLE_LDO and
      TWL4030_FIXED_LDO. This patch changes the fixed one to be VINTANA1.
      
      I noticed this when auditing my N900 boot logs. I could not notice any
      change in device behaviour, though, except that the boot logs are now
      like before:
      
      	...
      	[    0.282928] VDAC: 1800 mV normal standby
      	[    0.284027] VCSI: 1800 mV normal standby
      	[    0.285400] VINTANA1: 1500 mV normal standby
      	[    0.286865] VINTANA2: 2750 mV normal standby
      	[    0.288208] VINTDIG: 1500 mV normal standby
      	[    0.289978] VSDI_CSI: 1800 mV normal standby
      	...
      Signed-off-by: NAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Cc: stable@vger.kernel.org
      908d6d52
  7. 09 8月, 2012 1 次提交
  8. 17 7月, 2012 1 次提交
    • A
      regulator: twl: Fix list_voltate for twl6030ldo_ops · c6a717c9
      Axel Lin 提交于
      According to the datasheet, the voltage for twl6030ldo_ops is not linear for
      all cases. Linear mapping is only for the selection code from
      00000001 to 00011000.
      
      Table 9. LDO Output Voltage Selection Code
      CODE     VOUT(V)    COD      VOUT(V)    CODE     VOUT(V)    CODE     VOUT(V)
      00000000 0          00001000 1.7        00010000 2.5        00011000 3.3
      00000001 1.0        00001001 1.8        00010001 2.6        00011001 Reserved
      00000010 1.1        00001010 1.9        00010010 2.7        00011010 Reserved
      00000011 1.2        00001011 2.0        00010011 2.8        00011011 Reserved
      00000100 1.3        00001100 2.1        00010100 2.9        00011100 Reserved
      00000101 1.4        00001101 2.2        00010101 3.0        00011101 Reserved
      00000110 1.5        00001110 2.3        00010110 3.1        00011110 Reserved
      00000111 1.6        00001111 2.4        00010111 3.2        00011111 2.75
      
      This patch implements the list_voltage callback based on above table.
      Signed-off-by: NAxel Lin <axel.lin@gmail.com>
      Tested-by: NRajendra Nayak <rnayak@ti.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      c6a717c9
  9. 16 7月, 2012 2 次提交
  10. 04 7月, 2012 1 次提交
  11. 18 6月, 2012 1 次提交
  12. 11 6月, 2012 1 次提交
  13. 09 5月, 2012 1 次提交
    • N
      regulator: twl-regulator: make TWL4030_ALLOW_UNSUPPORTED more configurable. · 411a2df5
      NeilBrown 提交于
      The regulators in the twl4030 can provide some voltage settings
      that are not offically supported.
      These settings are disabled by default, but can be enabled with
        CONFIG_TWL4030_ALLOW_UNSUPPORTED=y
      However
       - that config variable is not mentioned in any Kconfig so cannot
         be used, and
       - a global setting is clumsy - a per regulator setting would be
         better.
      
      So define a new 'feature' flag that a board file can set to enable
      these unsupported volatages for boards which need them.
      
      This flag cannot (yet) be set using device-tree.
      Signed-off-by: NNeilBrown <neilb@suse.de>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      411a2df5
  14. 23 4月, 2012 1 次提交
  15. 13 4月, 2012 2 次提交
  16. 11 4月, 2012 1 次提交
  17. 10 4月, 2012 2 次提交
  18. 09 4月, 2012 1 次提交
    • M
      regulator: core: Use a struct to pass in regulator runtime configuration · c172708d
      Mark Brown 提交于
      Rather than adding new arguments to regulator_register() every time we
      want to add a new bit of dynamic information at runtime change the function
      to take these via a struct. By doing this we avoid needing to do further
      changes like the recent addition of device tree support which required each
      regulator driver to be updated to take an additional parameter.
      
      The regulator_desc which should (mostly) be static data is still passed
      separately as most drivers are able to configure this statically at build
      time.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      c172708d
  19. 06 4月, 2012 1 次提交
  20. 12 3月, 2012 5 次提交
  21. 29 11月, 2011 1 次提交
  22. 24 11月, 2011 1 次提交
  23. 22 7月, 2011 1 次提交
  24. 30 5月, 2011 1 次提交
  25. 27 5月, 2011 3 次提交