RE: [PWM PATCH 2/5] Emulates PWM hardware using a high-resolution timer and a GPIO pin

2010-02-16 Thread H Hartley Sweeten
On Friday, February 12, 2010 9:27 AM, Bill Gatliff wrote: H Hartley Sweeten wrote: FWIW, the gpiolib API will accept any non-zero value to set a gpio pin and a zero value to clear the pin. It makes me sort of cringe to say this, but I'm going to assume that the API is intended to work

RE: [PWM PATCH 2/5] Emulates PWM hardware using a high-resolution timer and a GPIO pin

2010-02-12 Thread H Hartley Sweeten
Thursday, February 11, 2010 1:35 PM, Bill Gatliff wrote: Pavel Machek wrote: +static void +gpio_pwm_work (struct work_struct *work) +{ + struct gpio_pwm *gp = container_of(work, struct gpio_pwm, work); + + if (gp-active) + gpio_direction_output(gp-gpio, gp-polarity ? 1 : 0);

RE: [PWM PATCH 0/5] Implements a common PWM API

2010-02-04 Thread H Hartley Sweeten
On Tuesday, February 02, 2010 10:44 AM, H Hartley Sweeten wrote: On Tuesday, February 02, 2010 12:15 AM, Bill Gatliff wrote: This patch series implements a common PWM API. This series incorporates the feedback from the linux-embedded mailing list and elsewhere; the author greatly appreciates

RE: [PWM PATCH 1/5] API to consolidate PWM devices behind a common user and kernel interface

2010-02-02 Thread H Hartley Sweeten
On Tuesday, February 02, 2010 12:15 AM, Bill Gatliff wrote: Signed-off-by: Bill Gatliff b...@billgatliff.com --- Documentation/pwm.txt | 260 +++ drivers/pwm/pwm.c | 633 +++ include/linux/pwm.h | 31 ---

RE: [PATCH 7/7] printk: provide a filtering macro for printk

2009-09-01 Thread H Hartley Sweeten
On Tuesday, September 01, 2009 4:24 PM, Tim Bird wrote: Marc Andre Tanner wrote: The macro filters out printk messages based on a configurable verbosity level (CONFIG_PRINTK_VERBOSITY). Signed-off-by: Marc Andre Tanner m...@brain-dump.org --- include/linux/kernel.h | 24