1. 17 9月, 2013 2 次提交
  2. 01 9月, 2013 1 次提交
  3. 30 8月, 2013 7 次提交
  4. 22 8月, 2013 1 次提交
  5. 19 8月, 2013 1 次提交
  6. 15 8月, 2013 1 次提交
  7. 13 8月, 2013 4 次提交
  8. 12 8月, 2013 1 次提交
  9. 09 8月, 2013 1 次提交
  10. 08 8月, 2013 1 次提交
  11. 07 8月, 2013 2 次提交
  12. 03 8月, 2013 1 次提交
  13. 02 8月, 2013 3 次提交
  14. 01 8月, 2013 1 次提交
  15. 31 7月, 2013 1 次提交
    • M
      regulator: core: Provide hints to the core about optional supplies · de1dd9fd
      Mark Brown 提交于
      While the majority of supplies on devices are mandatory and can't be
      physically omitted for electrical reasons some devices do have optional
      supplies and need to know if they are missing, MMC being the most common
      of these.
      
      Currently the core accurately reports all errors when regulators are
      requested since it does not know if the supply is one that must be provided
      even if by a regulator software does not know about or if it is one that
      may genuinely be disconnected. In order to allow this behaviour to be
      changed and stub regulators to be provided in the former case add a new
      regulator request function regulator_get_optional() which provides a hint
      to the core that the regulator may genuinely not be connected.
      
      Currently the implementation is identical to the current behaviour, future
      patches will add support in the core for returning stub regulators in the
      case where normal regulator_get() fails and the board has requested it.
      Signed-off-by: NMark Brown <broonie@linaro.org>
      Acked-by: NChris Ball <cjb@laptop.org>
      de1dd9fd
  16. 30 7月, 2013 2 次提交
  17. 29 7月, 2013 5 次提交
    • A
      regulator: pfuze100: Use regulator_map_voltage_ascend · 2e04cc41
      Axel Lin 提交于
      All table based voltage list have ascendant order.
      Use regulator_map_voltage_ascend for them.
      Signed-off-by: NAxel Lin <axel.lin@ingics.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      2e04cc41
    • A
      regulator: pfuze100: Fix module alias prefix · 40839bff
      Axel Lin 提交于
      i2c drivers use "i2c:" prefix for module alias.
      Signed-off-by: NAxel Lin <axel.lin@ingics.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      40839bff
    • A
      regulator: pfuze100: Use i2c_[set|get]_clientdata · 8c86ab25
      Axel Lin 提交于
      Since this is a i2c driver, use i2c_[set|get]_clientdata instead of
      dev_[set|get]_drvdata.
      Signed-off-by: NAxel Lin <axel.lin@ingics.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      8c86ab25
    • A
      regulator: pfuze100: REGULATOR_PFUZE100 needs to select REGMAP_I2C · 94421b05
      Axel Lin 提交于
      This fixes below build errors:
      
        CC [M]  drivers/regulator/pfuze100-regulator.o
      drivers/regulator/pfuze100-regulator.c:342:21: error: variable 'pfuze_regmap_config' has initializer but incomplete type
      drivers/regulator/pfuze100-regulator.c:343:2: error: unknown field 'reg_bits' specified in initializer
      drivers/regulator/pfuze100-regulator.c:343:2: warning: excess elements in struct initializer [enabled by default]
      drivers/regulator/pfuze100-regulator.c:343:2: warning: (near initialization for 'pfuze_regmap_config') [enabled by default]
      drivers/regulator/pfuze100-regulator.c:344:2: error: unknown field 'val_bits' specified in initializer
      drivers/regulator/pfuze100-regulator.c:344:2: warning: excess elements in struct initializer [enabled by default]
      drivers/regulator/pfuze100-regulator.c:344:2: warning: (near initialization for 'pfuze_regmap_config') [enabled by default]
      drivers/regulator/pfuze100-regulator.c:345:2: error: unknown field 'max_register' specified in initializer
      drivers/regulator/pfuze100-regulator.c:345:2: warning: excess elements in struct initializer [enabled by default]
      drivers/regulator/pfuze100-regulator.c:345:2: warning: (near initialization for 'pfuze_regmap_config') [enabled by default]
      drivers/regulator/pfuze100-regulator.c:346:2: error: unknown field 'cache_type' specified in initializer
      drivers/regulator/pfuze100-regulator.c:346:2: warning: excess elements in struct initializer [enabled by default]
      drivers/regulator/pfuze100-regulator.c:346:2: warning: (near initialization for 'pfuze_regmap_config') [enabled by default]
      drivers/regulator/pfuze100-regulator.c: In function 'pfuze100_regulator_probe':
      drivers/regulator/pfuze100-regulator.c:370:2: error: implicit declaration of function 'devm_regmap_init_i2c' [-Werror=implicit-function-declaration]
      drivers/regulator/pfuze100-regulator.c:370:21: warning: assignment makes pointer from integer without a cast [enabled by default]
      cc1: some warnings being treated as errors
      make[2]: *** [drivers/regulator/pfuze100-regulator.o] Error 1
      make[1]: *** [drivers/regulator] Error 2
      make: *** [drivers] Error 2
      Signed-off-by: NAxel Lin <axel.lin@ingics.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      94421b05
    • R
      regulator: pfuze100: add MODULE_LICENSE() in pfuze100 driver · 12d20fc2
      Robin Gong 提交于
      Fix building error on x86_64 and i386:
      WARNING: modpost: missing MODULE_LICENSE() in
      drivers/regulator/pfuze100-regulator.o
      Signed-off-by: NRobin Gong <b38343@freescale.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      12d20fc2
  18. 28 7月, 2013 1 次提交
    • A
      regulator: da903x: Convert da9034 ldo12 to use linear ranges · 550bf893
      Axel Lin 提交于
      The voltage table of da9034 LDO12 is:
      1700000, 1750000, 1800000, 1850000, 1900000, 1950000, 2000000, 2050000
      2700000, 2750000, 2800000, 2850000, 2900000, 2950000, 3000000, 3050000
      
      The voltage table is composed of two linear ranges:
      for selector 0 ... 7:
              volt = 1700000 + 50000 * selector
      for selector: 8 ... 15:
              volt = 2700000 + 50000 * (selector - 8)
      
      This patch converts da9034 LDO12 to use newly introduced helpers for multiple
      linear ranges.
      Signed-off-by: NAxel Lin <axel.lin@ingics.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      550bf893
  19. 27 7月, 2013 1 次提交
  20. 25 7月, 2013 2 次提交
  21. 24 7月, 2013 1 次提交