1. 17 4月, 2012 3 次提交
  2. 11 4月, 2012 1 次提交
  3. 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
  4. 04 4月, 2012 1 次提交
  5. 30 3月, 2012 1 次提交
  6. 17 3月, 2012 1 次提交
  7. 13 3月, 2012 1 次提交
  8. 24 2月, 2012 1 次提交
  9. 21 2月, 2012 2 次提交
  10. 20 2月, 2012 1 次提交
  11. 19 2月, 2012 1 次提交
  12. 10 2月, 2012 2 次提交
  13. 02 2月, 2012 1 次提交
  14. 25 1月, 2012 2 次提交
  15. 24 1月, 2012 1 次提交
  16. 23 1月, 2012 2 次提交
  17. 20 1月, 2012 1 次提交
  18. 04 1月, 2012 1 次提交
  19. 02 1月, 2012 1 次提交
  20. 29 12月, 2011 3 次提交
  21. 30 11月, 2011 1 次提交
  22. 28 11月, 2011 1 次提交
  23. 24 11月, 2011 2 次提交
    • R
      regulator: map consumer regulator based on device tree · 69511a45
      Rajendra Nayak 提交于
      Device nodes in DT can associate themselves with one or more
      regulators/supply by providing a list of phandles (to regulator nodes)
      and corresponding supply names.
      
      For Example:
      	devicenode: node@0x0 {
      		...
      		...
      		vmmc-supply = <&regulator1>;
      		vpll-supply = <&regulator2>;
      	};
      
      The driver would then do a regulator_get(dev, "vmmc"); to get
      regulator1 and do a regulator_get(dev, "vpll"); to get
      regulator2.
      
      of_get_regulator() extracts the regulator node for a given
      device, based on the supply name.
      
      Use it to look up the regulator for a given consumer from device tree, during
      a regulator_get(). If not found fallback and lookup through
      the regulator_map_list instead.
      
      Also, since the regulator dt nodes can use the same binding to
      associate with a parent regulator/supply, allow the drivers to
      specify a supply_name, which can then be used to lookup dt
      to find the parent phandle.
      Signed-off-by: NRajendra Nayak <rnayak@ti.com>
      Acked-by: NGrant Likely <grant.likely@secretlab.ca>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      69511a45
    • R
      regulator: pass additional of_node to regulator_register() · 2c043bcb
      Rajendra Nayak 提交于
      With device tree support for regulators, its needed that the
      regulator_dev->dev device has the right of_node attached.
      To be able to do this add an additional parameter to the
      regulator_register() api, wherein the dt-adapted driver can
      then pass this additional info onto the regulator core.
      Signed-off-by: NRajendra Nayak <rnayak@ti.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      2c043bcb
  24. 23 11月, 2011 1 次提交
  25. 01 11月, 2011 1 次提交
  26. 15 10月, 2011 1 次提交
  27. 04 10月, 2011 1 次提交
  28. 14 9月, 2011 1 次提交
    • M
      regulator: Implement deferred disable support · da07ecd9
      Mark Brown 提交于
      It is a reasonably common pattern for hardware to require some delay after
      being quiesced before the disable has finalised, especially in mixed signal
      devices. For example, an active discharge may be required to ensure that
      the circuit starts up again in a known state. Avoid having to implement
      such delays in the regulator API by providing regulator_deferred_disable()
      which will do a regulator_disable() a specified number of milliseconds
      after it is called.
      
      Due to the reference counting done on regulators a deferred disable can
      be cancelled by doing another regulator_enable().
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Acked-by: NLiam Girdwood <lrg@ti.com>
      da07ecd9
  29. 29 8月, 2011 1 次提交
  30. 22 7月, 2011 2 次提交