1. 28 11月, 2012 1 次提交
    • M
      Input - arizona-haptics: Add driver haptics module on Arizona CODECs · 9dd555e2
      Mark Brown 提交于
      The Arizona CODECs contain a haptics module providing vibration feedback
      support. Implement basic support for this, providing simple start/stop and
      signal magnitude control.
      
      Since the output path for haptics is routed through the CODEC audio routing
      it is modelled as a signal generator within ASoC, the haptics driver calls
      DAPM to start and stop the output drivers. An appropriate output path must
      be configured via ALSA to connect the haptics source to the correct output.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      9dd555e2
  2. 30 10月, 2012 1 次提交
  3. 22 9月, 2012 2 次提交
  4. 20 9月, 2012 3 次提交
  5. 18 9月, 2012 1 次提交
  6. 22 8月, 2012 11 次提交
  7. 25 7月, 2012 1 次提交
  8. 16 7月, 2012 1 次提交
  9. 05 7月, 2012 1 次提交
  10. 12 6月, 2012 2 次提交
  11. 03 6月, 2012 1 次提交
  12. 20 5月, 2012 1 次提交
    • M
      mfd: Convert wm831x to irq_domain · cd99758b
      Mark Brown 提交于
      The modern idiom is to use irq_domain to allocate interrupts. This is
      useful partly to allow further infrastructure to be based on the domains
      and partly because it makes it much easier to allocate virtual interrupts
      to devices as we don't need to allocate a contiguous range of interrupt
      numbers.
      
      Convert the wm831x driver over to this infrastructure, using a legacy
      IRQ mapping if an irq_base is specified in platform data and otherwise
      using a linear mapping, always registering the interrupts even if they
      won't ever be used. Only boards which need to use the GPIOs as
      interrupts should need to use an irq_base.
      
      This means that we can't use the MFD irq_base management since the
      unless we're using an explicit irq_base from platform data we can't rely
      on a linear mapping of interrupts.  Instead we need to map things via
      the irq_domain - provide a conveniencem function wm831x_irq() to save a
      small amount of typing when doing so. Looking at this I couldn't clearly
      see anything the MFD core could do to make this nicer.
      
      Since we're not supporting device tree yet there's no meaningful
      advantage if we don't do this conversion in one, the fact that the
      interrupt resources are used for repeated IP blocks makes accessor
      functions for the irq_domain more trouble to do than they're worth.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      cd99758b
  13. 11 5月, 2012 1 次提交
    • P
      Input: tl6040-vibra - Device Tree support · 9ac7b1a3
      Peter Ujfalusi 提交于
      Enable DT based probing of the vibra driver.
      
      Example of dts section to load the twl6040-vibra driver:
      twl6040: twl6040@4b {
      	...
      	twl6040_vibra: twl6040@1 {
      		compatible = "ti,twl6040-vibra";
      		interrupts = <4>;
      		vddvibl-supply = <&vbat>;
      		vddvibr-supply = <&vbat>;
      		vibldrv_res = <8>;
      		vibrdrv_res = <3>;
      		viblmotor_res = <10>;
      		vibrmotor_res = <10>;
      	};
      };
      
      [Sasha Levin <levinsasha928@gmail.com>: fixed build error]
      Signed-off-by: NPeter Ujfalusi <peter.ujfalusi@ti.com>
      Signed-off-by: NDmitry Torokhov <dtor@mail.ru>
      9ac7b1a3
  14. 05 5月, 2012 4 次提交
  15. 02 5月, 2012 7 次提交
  16. 26 4月, 2012 2 次提交