]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge tag 'for-3.9-rc1' of git://gitorious.org/linux-pwm/linux-pwm
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Feb 2013 17:34:29 +0000 (09:34 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Feb 2013 17:34:29 +0000 (09:34 -0800)
Pull PWM changes from Thierry Reding:
 "A new driver has been added to support the PWM mode of the timer
  counter blocks found on Atmel AT91 SoCs.  The VT8500 driver now
  supports changing the PWM signal polarity and the TI drivers (EHRPWM
  and ECAP) gained suspend and resume functionality.

  User drivers can now query the core for whether access to a PWM device
  will sleep (if the PWM chip is on a slow bus such as I2C or SPI).

  The pwm-backlight driver now handles the backlight BL_CORE_FBBLANK
  state in addition to the FB layer's blanking states.

  To round things off, a few fixes and cleanups are also included"

* tag 'for-3.9-rc1' of git://gitorious.org/linux-pwm/linux-pwm:
  pwm: twl: Use to_twl() instead of container_of()
  pwm: tegra: assume CONFIG_OF
  pwm_backlight: Validate dft_brightness in main probe function
  pwm: Export pwm_{set,get}_chip_data()
  pwm: Make Kconfig entries more consistent
  pwm: Add can_sleep property to drivers
  pwm: Add pwm_can_sleep() as exported API to users
  pwm-backlight: handle BL_CORE_FBBLANK state
  pwm: pwm-tiecap: Low power sleep support
  pwm: pwm-tiehrpwm: Low power sleep support
  pwm: pwm-tiehrpwm: Update the clock handling of pwm-tiehrpwm driver
  pwm: vt8500: Add polarity support
  pwm: vt8500: Register write busy test performed incorrectly
  pwm: atmel: add Timer Counter Block PWM driver

1  2 
drivers/pwm/core.c
drivers/pwm/pwm-tegra.c
drivers/pwm/pwm-tiecap.c
drivers/pwm/pwm-tiehrpwm.c
drivers/pwm/pwm-vt8500.c
drivers/video/backlight/pwm_bl.c
include/linux/pwm.h

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index 70655a205b740f20c9012d497f749fafed53e290,3fef47733ea3a4a536cb87f053dc002ca20c1c0c..a4df2042b79c15f75bf53dd8d185fd6c80426b05
@@@ -174,14 -177,13 +177,16 @@@ struct pwm_device *pwm_request_from_chi
  struct pwm_device *of_pwm_xlate_with_flags(struct pwm_chip *pc,
                const struct of_phandle_args *args);
  
 -struct pwm_device *pwm_get(struct device *dev, const char *consumer);
 +struct pwm_device *pwm_get(struct device *dev, const char *con_id);
 +struct pwm_device *of_pwm_get(struct device_node *np, const char *con_id);
  void pwm_put(struct pwm_device *pwm);
  
 -struct pwm_device *devm_pwm_get(struct device *dev, const char *consumer);
 +struct pwm_device *devm_pwm_get(struct device *dev, const char *con_id);
 +struct pwm_device *devm_of_pwm_get(struct device *dev, struct device_node *np,
 +                                 const char *con_id);
  void devm_pwm_put(struct device *dev, struct pwm_device *pwm);
+ bool pwm_can_sleep(struct pwm_device *pwm);
  #else
  static inline int pwm_set_chip_data(struct pwm_device *pwm, void *data)
  {