1. 21 6月, 2013 1 次提交
    • H
      pwm: Add sysfs interface · 76abbdde
      H Hartley Sweeten 提交于
      Add a simple sysfs interface to the generic PWM framework.
      
        /sys/class/pwm/
        `-- pwmchipN/           for each PWM chip
            |-- export          (w/o) ask the kernel to export a PWM channel
            |-- npwm            (r/o) number of PWM channels in this PWM chip
            |-- pwmX/           for each exported PWM channel
            |   |-- duty_cycle  (r/w) duty cycle (in nanoseconds)
            |   |-- enable      (r/w) enable/disable PWM
            |   |-- period      (r/w) period (in nanoseconds)
            |   `-- polarity    (r/w) polarity of PWM (normal/inversed)
            `-- unexport        (w/o) return a PWM channel to the kernel
      
      Based on work by Lars Poeschel.
      Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com>
      Cc: Thierry Reding <thierry.reding@gmail.com>
      Cc: Lars Poeschel <poeschel@lemonage.de>
      Cc: Ryan Mallon <rmallon@gmail.com>
      Cc: Rob Landley <rob@landley.net>
      Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
      76abbdde
  2. 12 6月, 2013 3 次提交
  3. 10 6月, 2013 1 次提交
  4. 27 5月, 2013 1 次提交
  5. 18 5月, 2013 1 次提交
  6. 23 4月, 2013 3 次提交
  7. 02 4月, 2013 12 次提交
  8. 26 3月, 2013 3 次提交
  9. 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
  10. 11 3月, 2013 3 次提交
  11. 08 3月, 2013 2 次提交
  12. 17 2月, 2013 1 次提交
  13. 16 2月, 2013 1 次提交
  14. 02 2月, 2013 2 次提交
  15. 30 1月, 2013 4 次提交
  16. 23 1月, 2013 1 次提交