1. 13 12月, 2013 1 次提交
  2. 13 11月, 2013 1 次提交
  3. 11 11月, 2013 1 次提交
    • G
      mfd: Stop setting refcounting pointers in original mfd_cell arrays · 03e361b2
      Geert Uytterhoeven 提交于
      Commit 1e29af62 ("mfd: Add refcounting
      support to mfd_cells") had to drop the "const" keyword on the "cell"
      parameter of mfd_add_devices(), as it added the refcounting pointers
      to the objects of the passed mfd_cell array itself.
      
      However, the mfd core code operates on copies of the mfd_cell objects,
      so there's no need to modify the originally passed objects.
      
      Hence, move the setting of the refcounting pointers from mfd_add_devices()
      to mfd_platform_add_cell(), where the copy of the mfd_cell objects is made.
      mfd_clone_cell() can just pass (a copy of) the original usage_count
      pointer.
      
      This allows to make the "cell" parameter of mfd_add_devices() "const"
      again, and avoids future race conditions when registering multiple
      instances of the same device in parallel.
      Signed-off-by: NGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      03e361b2
  4. 23 10月, 2013 13 次提交
  5. 21 10月, 2013 1 次提交
  6. 14 10月, 2013 1 次提交
  7. 28 9月, 2013 1 次提交
  8. 26 9月, 2013 2 次提交
  9. 25 9月, 2013 1 次提交
  10. 22 9月, 2013 1 次提交
  11. 06 9月, 2013 1 次提交
  12. 02 9月, 2013 2 次提交
  13. 30 8月, 2013 2 次提交
    • A
      regulator: tps65217: Convert to use linear ranges · 6290d606
      Axel Lin 提交于
      Below is the equation in original code:
      
      tps65217_uv1_ranges:
              0  ... 24: uV = vsel * 25000 + 900000;
              25 ... 52: uV = (vsel - 24) * 50000 + 1500000;
                            = (vsel - 25) * 50000 + 1550000;
              53 ... 55: uV = (vsel - 52) * 100000 + 2900000;
                            = (vsel - 53) * 100000 + 3000000;
              56 ... 62: uV = 3300000;
      
      tps65217_uv2_ranges:
              0  ...  8: uV = vsel * 50000 + 1500000;
              9  ... 13: uV = (vsel - 8) * 100000 + 1900000;
                            = (vsel - 9) * 100000 + 2000000;
              14 ... 31: uV = (vsel - 13) * 50000 + 2400000;
                            = (vsel - 14) * 50000 + 2450000;
      
      The voltage tables are composed of linear ranges.
      This patch converts this driver to use multiple linear ranges APIs.
      
      In original code, voltage range for DCDC1 is 900000 ~ 1800000 and voltage range
      for DCDC3 is 900000 ~ 1500000.  This patch separates the range 25~52 in
      tps65217_uv1_ranges table to two linear ranges: 25~30 and 31~52.
      This change makes it possible to reuse the same linear_ranges table for DCDCx.
      Signed-off-by: NAxel Lin <axel.lin@ingics.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      6290d606
    • W
      mfd: mmc: rtsx: Change default tx phase · 84d72f9c
      Wei WANG 提交于
      The default phase can meet most cards' requirement, but it is not the
      optimal one. In some extreme situation, the rx phase point produced by
      the following tuning process will drift quite a distance.
      Before tuning UHS card, this patch will set a more proper initial tx
      phase point, which is calculated from statistic data, and can achieve
      a much better tx signal quality.
      Signed-off-by: NWei WANG <wei_wang@realsil.com.cn>
      Acked-by: NLee Jones <lee.jones@linaro.org>
      Acked-by: NChris Ball <cjb@laptop.org>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      84d72f9c
  14. 25 8月, 2013 2 次提交
  15. 20 8月, 2013 9 次提交
  16. 15 8月, 2013 1 次提交
    • L
      pinctrl: palmas: add pincontrol driver · 0a8d3e24
      Laxman Dewangan 提交于
      TI Palmas series Power Management IC have multiple pins which can be
      configured for different functionality. This pins can be configured
      for different function. Also their properties like pull up/down,
      open drain enable/disable are configurable.
      
      Add support for pincontrol driver Palmas series device like TPS65913,
      TPS80036. The driver supports to be register from DT only.
      
      Changes from V1:
      - Add generic property for pins and functions in pinconf-generic.
      - Add APIs to map the DT and subnode.
      - Move common utils APIs to the pinctrl-utils from this file.
      - Update the binding document accordingly.
      Changes from V2:
      - Add ack by Lee.
      - Correct the binding docs.
      Signed-off-by: NLaxman Dewangan <ldewangan@nvidia.com>
      Acked-by: NLee Jones <lee.jones@linaro.org>
      Reviewed-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      0a8d3e24