1. 11 7月, 2014 1 次提交
  2. 28 4月, 2014 1 次提交
  3. 01 4月, 2014 1 次提交
  4. 19 3月, 2014 2 次提交
  5. 26 2月, 2014 1 次提交
  6. 21 1月, 2014 1 次提交
    • M
      pwm: Add LP3943 PWM driver · af66b3c0
      Milo Kim 提交于
      This is the other of the LP3943 MFD driver.
      LP3943 can be used as a PWM generator, up to 2 channels.
      
      * Two PWM generators supported
      
      * Supported PWM operations
        request, free, config, enable and disable
      
      * Pin assignment
        A driver data, 'pin_used' is checked when a PWM is requested.
        If the output pin is already assigned, then returns as failure.
        If the pin is available, 'pin_used' is set.
        When the PWM is not used anymore, then it is cleared.
        It is defined as unsigned long type for atomic bit operation APIs,
        but only LSB 16bits are used because LP3943 has 16 outputs.
      Signed-off-by: NMilo Kim <milo.kim@ti.com>
      Acked-by: NThierry Reding <thierry.reding@gmail.com>
      Signed-off-by: NLee Jones <lee.jones@linaro.org>
      af66b3c0
  7. 17 12月, 2013 2 次提交
  8. 12 12月, 2013 1 次提交
  9. 17 10月, 2013 1 次提交
  10. 21 6月, 2013 2 次提交
  11. 12 6月, 2013 1 次提交
  12. 22 3月, 2013 1 次提交
    • P
      pwm: davinci: Add Kconfig support for ECAP & EHRPWM devices · 1bf0f20b
      Philip Avinash 提交于
      Add EHRPWM and ECAP support build support for DAVINCI_DA8XX platforms.
      
      Also, since DAVINCI platforms doesn't support TI-PWM-Subsystem module,
      remove the select option for CONFIG_PWM_TIPWMSS.
      
      Also, update CONFIG_PWM_TIPWMSS compiler directive appropriately in
      pwm-tipwmss.h to fix the below compiler error upon removal of
      CONFIG_PWM_TIPWMSS for DAVINCI platforms.
      
      	drivers/pwm/pwm-tiecap.c: In function 'ecap_pwm_probe':
      	drivers/pwm/pwm-tiecap.c:263:4: error: 'PWMSS_ECAPCLK_EN' undeclared
      	(first use in this function)
      	drivers/pwm/pwm-tiecap.c:263:4: note: each undeclared identifier
      	is reported only once for each function it appears in
      	drivers/pwm/pwm-tiecap.c:264:17: error: 'PWMSS_ECAPCLK_EN_ACK'
      	undeclared (first use in this function)
      	drivers/pwm/pwm-tiecap.c: In function 'ecap_pwm_remove':
      	drivers/pwm/pwm-tiecap.c:291:49: error: 'PWMSS_ECAPCLK_STOP_REQ'
      	undeclared (first use in this function)
      	make[2]: *** [drivers/pwm/pwm-tiecap.o] Error 1
      	make[1]: *** [drivers/pwm] Error 2
      	make: *** [drivers] Error 2
      Signed-off-by: NPhilip Avinash <avinashphilip@ti.com>
      Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
      1bf0f20b
  13. 30 1月, 2013 1 次提交
  14. 08 1月, 2013 1 次提交
    • B
      pwm: atmel: add Timer Counter Block PWM driver · 9421bade
      Boris BREZILLON 提交于
      This patch adds a PWM driver based on Atmel Timer Counter Block. The
      Timer Counter Block is used in Waveform generator mode.
      
      A Timer Counter Block provides up to 6 PWM devices grouped by 2:
      * group 0 = PWM 0 and 1
      * group 1 = PWM 2 and 3
      * group 2 = PMW 4 and 5
      
      PWM devices in a given group must be configured with the same period
      value. If a PWM device in a group tries to change the period value and
      the other device is already configured with a different value an error
      will be returned.
      
      This driver requires device tree support. The Timer Counter Block number
      used to create a PWM chip is given by the tc-block field in an
      "atmel,tcb-pwm" compatible node.
      
      This patch was tested on kizbox board (at91sam9g20 SoC) with pwm-leds.
      Signed-off-by: NBoris BREZILLON <linux-arm@overkiz.com>
      Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
      9421bade
  15. 28 11月, 2012 4 次提交
  16. 23 11月, 2012 1 次提交
  17. 06 10月, 2012 2 次提交
  18. 20 9月, 2012 1 次提交
  19. 19 9月, 2012 1 次提交
  20. 20 8月, 2012 1 次提交
  21. 26 7月, 2012 2 次提交
  22. 23 7月, 2012 3 次提交
  23. 03 7月, 2012 7 次提交
  24. 15 6月, 2012 1 次提交
    • S
      pwm: Add PWM framework support · 0c2498f1
      Sascha Hauer 提交于
      This patch adds framework support for PWM (pulse width modulation) devices.
      
      The is a barebone PWM API already in the kernel under include/linux/pwm.h,
      but it does not allow for multiple drivers as each of them implements the
      pwm_*() functions.
      
      There are other PWM framework patches around from Bill Gatliff. Unlike
      his framework this one does not change the existing API for PWMs so that
      this framework can act as a drop in replacement for the existing API.
      
      Why another framework?
      
      Several people argue that there should not be another framework for PWMs
      but they should be integrated into one of the existing frameworks like led
      or hwmon. Unlike these frameworks the PWM framework is agnostic to the
      purpose of the PWM. In fact, a PWM can drive a LED, but this makes the
      LED framework a user of a PWM, like already done in leds-pwm.c. The gpio
      framework also is not suitable for PWMs. Every gpio could be turned into
      a PWM using timer based toggling, but on the other hand not every PWM hardware
      device can be turned into a gpio due to the lack of hardware capabilities.
      
      This patch does not try to improve the PWM API yet, this could be done in
      subsequent patches.
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      Acked-by: NKurt Van Dijck <kurt.van.dijck@eia.be>
      Reviewed-by: NArnd Bergmann <arnd@arndb.de>
      Reviewed-by: NMatthias Kaehlcke <matthias@kaehlcke.net>
      Reviewed-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Reviewed-by: NShawn Guo <shawn.guo@linaro.org>
      [thierry.reding@avionic-design.de: fixup typos, kerneldoc comments]
      Signed-off-by: NThierry Reding <thierry.reding@avionic-design.de>
      0c2498f1