1. 22 5月, 2015 1 次提交
  2. 27 1月, 2015 1 次提交
  3. 19 11月, 2014 1 次提交
  4. 26 7月, 2014 2 次提交
  5. 18 4月, 2014 1 次提交
  6. 11 3月, 2014 1 次提交
  7. 06 3月, 2014 1 次提交
    • N
      regmap: add regmap_parse_val api · 13ff50c8
      Nenghua Cao 提交于
          In some cases, we need regmap's format parse_val function
      to do be/le translation according to the bus configuration.
      For example, snd_soc_bytes_put() uses regmap to write/read values,
      and use cpu_to_be() directly to covert MASK into big endian. This
      is a defect, and should use regmap's format function to do it according
      to bus configuration.
      Signed-off-by: NNenghua Cao <nhcao@marvell.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      13ff50c8
  8. 26 2月, 2014 2 次提交
  9. 16 2月, 2014 2 次提交
  10. 09 1月, 2014 1 次提交
  11. 17 12月, 2013 1 次提交
  12. 29 10月, 2013 1 次提交
  13. 14 10月, 2013 1 次提交
  14. 09 10月, 2013 1 次提交
  15. 21 9月, 2013 1 次提交
  16. 17 9月, 2013 2 次提交
  17. 15 8月, 2013 1 次提交
  18. 07 8月, 2013 1 次提交
  19. 24 7月, 2013 3 次提交
  20. 12 6月, 2013 1 次提交
    • S
      regmap: Add regmap_field APIs · 67252287
      Srinivas Kandagatla 提交于
      It is common to access regmap registers at bit level, using
      regmap_update_bits or regmap_read functions, however the end user has to
      take care of a mask or shifting. This becomes overhead when such use
      cases are high. Having a common function to do this is much convenient
      and less error prone.
      
      The idea of regmap_field is simple, regmap_field gives a logical
      structure to bits of the regmap register, and the driver can use this
      logical entity without the knowledge of the bit positions and masks all
      over the code. This way code looks much neat and it need not handle the
      masks, shifts every time it access the those entities.
      
      With this new regmap_field_read/write apis the end user can setup a
      regmap field using regmap_field_init and use the return regmap_field to
      read write the register field without worrying about the masks or
      shifts.
      
      Also this apis will be useful for drivers which are based on regmaps,
      like some clocks or pinctrls which can work on the regmap_fields
      directly without having to worry about bit positions.
      Signed-off-by: NSrinivas Kandagatla <srinivas.kandagatla@st.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      67252287
  21. 12 5月, 2013 2 次提交
  22. 27 3月, 2013 1 次提交
  23. 15 2月, 2013 1 次提交
  24. 29 1月, 2013 2 次提交
  25. 05 1月, 2013 1 次提交
  26. 02 1月, 2013 1 次提交
    • M
      regmap: flat: Add flat cache type · 2ac902ce
      Mark Brown 提交于
      While for I2C and SPI devices the overhead of using rbtree for devices with
      only one block of registers is negligible the same isn't always going to
      be true for MMIO devices where the I/O costs are very much lower. Cater
      for these devices by adding a simple flat array type for them where the
      lookups are simple array accesses, taking us right back to the original
      ASoC cache implementation.
      
      Thanks to Magnus Damm for the discussion which prompted this.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      2ac902ce
  27. 21 11月, 2012 1 次提交
  28. 17 10月, 2012 1 次提交
  29. 15 10月, 2012 3 次提交
  30. 31 8月, 2012 1 次提交