diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-11-23 03:04:05 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-11-23 03:04:05 -0500 |
commit | 92907cbbef8625bb3998d1eb385fc88f23c97a3f (patch) | |
tree | 15626ff9287e37c3cb81c7286d6db5a7fd77c854 /include/linux/pwm.h | |
parent | 15fbfccfe92c62ae8d1ecc647c44157ed01ac02e (diff) | |
parent | 1ec218373b8ebda821aec00bb156a9c94fad9cd4 (diff) |
Merge tag 'v4.4-rc2' into drm-intel-next-queued
Linux 4.4-rc2
Backmerge to get at
commit 1b0e3a049efe471c399674fd954500ce97438d30
Author: Imre Deak <imre.deak@intel.com>
Date: Thu Nov 5 23:04:11 2015 +0200
drm/i915/skl: disable display side power well support for now
so that we can proplery re-eanble skl power wells in -next.
Conflicts are just adjacent lines changed, except for intel_fbdev.c
where we need to interleave the changs. Nothing nefarious.
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Diffstat (limited to 'include/linux/pwm.h')
-rw-r--r-- | include/linux/pwm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/pwm.h b/include/linux/pwm.h index d681f6875aef..cfc3ed46cad2 100644 --- a/include/linux/pwm.h +++ b/include/linux/pwm.h | |||
@@ -2,6 +2,7 @@ | |||
2 | #define __LINUX_PWM_H | 2 | #define __LINUX_PWM_H |
3 | 3 | ||
4 | #include <linux/err.h> | 4 | #include <linux/err.h> |
5 | #include <linux/mutex.h> | ||
5 | #include <linux/of.h> | 6 | #include <linux/of.h> |
6 | 7 | ||
7 | struct pwm_device; | 8 | struct pwm_device; |
@@ -87,6 +88,7 @@ enum { | |||
87 | * @pwm: global index of the PWM device | 88 | * @pwm: global index of the PWM device |
88 | * @chip: PWM chip providing this PWM device | 89 | * @chip: PWM chip providing this PWM device |
89 | * @chip_data: chip-private data associated with the PWM device | 90 | * @chip_data: chip-private data associated with the PWM device |
91 | * @lock: used to serialize accesses to the PWM device where necessary | ||
90 | * @period: period of the PWM signal (in nanoseconds) | 92 | * @period: period of the PWM signal (in nanoseconds) |
91 | * @duty_cycle: duty cycle of the PWM signal (in nanoseconds) | 93 | * @duty_cycle: duty cycle of the PWM signal (in nanoseconds) |
92 | * @polarity: polarity of the PWM signal | 94 | * @polarity: polarity of the PWM signal |
@@ -98,6 +100,7 @@ struct pwm_device { | |||
98 | unsigned int pwm; | 100 | unsigned int pwm; |
99 | struct pwm_chip *chip; | 101 | struct pwm_chip *chip; |
100 | void *chip_data; | 102 | void *chip_data; |
103 | struct mutex lock; | ||
101 | 104 | ||
102 | unsigned int period; | 105 | unsigned int period; |
103 | unsigned int duty_cycle; | 106 | unsigned int duty_cycle; |