<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/pwm, branch v3.16-rc5</title>
<subtitle>Linux kernel for Apalis and Colibri modules</subtitle>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/'/>
<entry>
<title>Merge tag 'pwm/for-3.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm</title>
<updated>2014-06-11T21:06:55+00:00</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2014-06-11T21:06:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=7f33e7241d3dbad3c0563fd1fc79fc9380b5c351'/>
<id>7f33e7241d3dbad3c0563fd1fc79fc9380b5c351</id>
<content type='text'>
Pull pwm changes from Thierry Reding:
 "The majority of these changes are cleanups and fixes across all
  drivers.  Redundant error messages are removed and more PWM
  controllers set the .can_sleep flag to signal that they can't be used
  in atomic context.

  Support is added for the Broadcom Kona family of SoCs and the Intel
  LPSS driver can now probe PCI devices in addition to ACPI devices.
  Upon shutdown, the pwm-backlight driver will now power off the
  backlight.  It also uses the new descriptor-based GPIO API for more
  concise GPIO handling.

  A large chunk of these changes also converts platforms to use the
  lookup mechanism rather than relying on the global number space to
  reference PWM devices.  This is largely in preparation for more
  unification and cleanups in future patches.  Eventually it will allow
  the legacy PWM API to be removed"

* tag 'pwm/for-3.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm: (38 commits)
  pwm: fsl-ftm: set pwm_chip can_sleep flag
  pwm: ab8500: Fix wrong value shift for disable/enable PWM
  pwm: samsung: do not set manual update bit in pwm_samsung_config
  pwm: lp3943: Set pwm_chip can_sleep flag
  pwm: atmel: set pwm_chip can_sleep flag
  pwm: mxs: set pwm_chip can_sleep flag
  pwm: tiehrpwm: inline accessor functions
  pwm: tiehrpwm: don't build PM related functions when not needed
  pwm-backlight: retrieve configured PWM period
  leds: leds-pwm: retrieve configured PWM period
  ARM: pxa: hx4700: use PWM_LOOKUP to initialize struct pwm_lookup
  ARM: shmobile: armadillo: use PWM_LOOKUP to initialize struct pwm_lookup
  ARM: OMAP3: Beagle: use PWM_LOOKUP to initialize struct pwm_lookup
  pwm: modify PWM_LOOKUP to initialize all struct pwm_lookup members
  ARM: pxa: hx4700: initialize all the struct pwm_lookup members
  ARM: OMAP3: Beagle: initialize all the struct pwm_lookup members
  pwm: renesas-tpu: remove unused struct tpu_pwm_platform_data
  ARM: shmobile: armadillo: initialize all struct pwm_lookup members
  pwm: add period and polarity to struct pwm_lookup
  pwm: twl: Really disable twl6030 PWMs
  ...
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Pull pwm changes from Thierry Reding:
 "The majority of these changes are cleanups and fixes across all
  drivers.  Redundant error messages are removed and more PWM
  controllers set the .can_sleep flag to signal that they can't be used
  in atomic context.

  Support is added for the Broadcom Kona family of SoCs and the Intel
  LPSS driver can now probe PCI devices in addition to ACPI devices.
  Upon shutdown, the pwm-backlight driver will now power off the
  backlight.  It also uses the new descriptor-based GPIO API for more
  concise GPIO handling.

  A large chunk of these changes also converts platforms to use the
  lookup mechanism rather than relying on the global number space to
  reference PWM devices.  This is largely in preparation for more
  unification and cleanups in future patches.  Eventually it will allow
  the legacy PWM API to be removed"

* tag 'pwm/for-3.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/thierry.reding/linux-pwm: (38 commits)
  pwm: fsl-ftm: set pwm_chip can_sleep flag
  pwm: ab8500: Fix wrong value shift for disable/enable PWM
  pwm: samsung: do not set manual update bit in pwm_samsung_config
  pwm: lp3943: Set pwm_chip can_sleep flag
  pwm: atmel: set pwm_chip can_sleep flag
  pwm: mxs: set pwm_chip can_sleep flag
  pwm: tiehrpwm: inline accessor functions
  pwm: tiehrpwm: don't build PM related functions when not needed
  pwm-backlight: retrieve configured PWM period
  leds: leds-pwm: retrieve configured PWM period
  ARM: pxa: hx4700: use PWM_LOOKUP to initialize struct pwm_lookup
  ARM: shmobile: armadillo: use PWM_LOOKUP to initialize struct pwm_lookup
  ARM: OMAP3: Beagle: use PWM_LOOKUP to initialize struct pwm_lookup
  pwm: modify PWM_LOOKUP to initialize all struct pwm_lookup members
  ARM: pxa: hx4700: initialize all the struct pwm_lookup members
  ARM: OMAP3: Beagle: initialize all the struct pwm_lookup members
  pwm: renesas-tpu: remove unused struct tpu_pwm_platform_data
  ARM: shmobile: armadillo: initialize all struct pwm_lookup members
  pwm: add period and polarity to struct pwm_lookup
  pwm: twl: Really disable twl6030 PWMs
  ...
</pre>
</div>
</content>
</entry>
<entry>
<title>pwm: fsl-ftm: set pwm_chip can_sleep flag</title>
<updated>2014-05-23T07:11:21+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2014-05-22T00:05:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=39fd3f99aba3f7683fc9b62e916e4c886a1cb6b0'/>
<id>39fd3f99aba3f7683fc9b62e916e4c886a1cb6b0</id>
<content type='text'>
The implementation of .config(), .enable() and .disable() operations in this
driver may sleep, thus set pwm_chip can_sleep flag.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Acked-by: Xiubo Li &lt;Li.Xiubo@freescale.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The implementation of .config(), .enable() and .disable() operations in this
driver may sleep, thus set pwm_chip can_sleep flag.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Acked-by: Xiubo Li &lt;Li.Xiubo@freescale.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pwm: ab8500: Fix wrong value shift for disable/enable PWM</title>
<updated>2014-05-21T10:29:58+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2014-04-09T13:19:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=54b02347d71802a010ceace3dd25ed3774ba8a1e'/>
<id>54b02347d71802a010ceace3dd25ed3774ba8a1e</id>
<content type='text'>
Current code only works when pdev-&gt;id is 1. Fix it by passing correct
bit values to abx500_mask_and_set_register_interruptible().

Having DISABLE_PWM/ENABLE_PWM does not make the code more readable
because the bit values depend on pdev-&gt;id. Thus drop the DISABLE_PWM
and ENABLE_PWM defines.

This patch also removes an unnecessary return in ab8500_pwm_disable().

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Acked-by: Alexandre BOURDIOL &lt;alexandre.bourdiol@st.com&gt;
Acked-by: Philippe Begnic &lt;philippe.begnic@st.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Current code only works when pdev-&gt;id is 1. Fix it by passing correct
bit values to abx500_mask_and_set_register_interruptible().

Having DISABLE_PWM/ENABLE_PWM does not make the code more readable
because the bit values depend on pdev-&gt;id. Thus drop the DISABLE_PWM
and ENABLE_PWM defines.

This patch also removes an unnecessary return in ab8500_pwm_disable().

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
Acked-by: Alexandre BOURDIOL &lt;alexandre.bourdiol@st.com&gt;
Acked-by: Philippe Begnic &lt;philippe.begnic@st.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pwm: samsung: do not set manual update bit in pwm_samsung_config</title>
<updated>2014-05-21T10:24:00+00:00</updated>
<author>
<name>Ajay Kumar</name>
<email>ajaykumar.rs@samsung.com</email>
</author>
<published>2014-05-12T14:56:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3bdf878102110c916dd6a9fb0df9ecfde93a3c83'/>
<id>3bdf878102110c916dd6a9fb0df9ecfde93a3c83</id>
<content type='text'>
pwm_samsung_config() sets the manual update bit via a call to the
pwm_samsung_enable() function even when the channel is already running.
This causes noticable flicker on display if we try to change the
backlight brightness from minimum to maximum, continuously.

So, we remove the call to pwm_samsung_enable() from pwm_samsung_config
to avoid the flicker and this change doesn't harm normal working since
the pwm-backlight driver already calls pwm_samsung_enable() where
needed.

Signed-off-by: Ajay Kumar &lt;ajaykumar.rs@samsung.com&gt;
Reviewed-by: Tomasz Figa &lt;t.figa@samsung.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pwm_samsung_config() sets the manual update bit via a call to the
pwm_samsung_enable() function even when the channel is already running.
This causes noticable flicker on display if we try to change the
backlight brightness from minimum to maximum, continuously.

So, we remove the call to pwm_samsung_enable() from pwm_samsung_config
to avoid the flicker and this change doesn't harm normal working since
the pwm-backlight driver already calls pwm_samsung_enable() where
needed.

Signed-off-by: Ajay Kumar &lt;ajaykumar.rs@samsung.com&gt;
Reviewed-by: Tomasz Figa &lt;t.figa@samsung.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pwm: lp3943: Set pwm_chip can_sleep flag</title>
<updated>2014-05-21T10:09:09+00:00</updated>
<author>
<name>Axel Lin</name>
<email>axel.lin@ingics.com</email>
</author>
<published>2014-04-15T16:38:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=00afb429fc447e9adc30828949ea85e654411562'/>
<id>00afb429fc447e9adc30828949ea85e654411562</id>
<content type='text'>
Read/write through I2C can sleep, thus set pwm_chip can_sleep flag.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Read/write through I2C can sleep, thus set pwm_chip can_sleep flag.

Signed-off-by: Axel Lin &lt;axel.lin@ingics.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pwm: atmel: set pwm_chip can_sleep flag</title>
<updated>2014-05-21T10:08:57+00:00</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@free-electrons.com</email>
</author>
<published>2014-04-09T18:26:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=cf3a384b3484200f45d185b2e3c7b71fd4511ea7'/>
<id>cf3a384b3484200f45d185b2e3c7b71fd4511ea7</id>
<content type='text'>
atmel_pwm_config() calls clk_get_rate() which might sleep, so we need to
set pwm_chip can_sleep flag.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
Acked-by: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
atmel_pwm_config() calls clk_get_rate() which might sleep, so we need to
set pwm_chip can_sleep flag.

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
Acked-by: Nicolas Ferre &lt;nicolas.ferre@atmel.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pwm: mxs: set pwm_chip can_sleep flag</title>
<updated>2014-05-21T10:08:27+00:00</updated>
<author>
<name>Shawn Guo</name>
<email>shawn.guo@freescale.com</email>
</author>
<published>2014-04-08T11:29:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=bd9c1b60050e2b7ef6507d8eaa5279afc043e06e'/>
<id>bd9c1b60050e2b7ef6507d8eaa5279afc043e06e</id>
<content type='text'>
The .config() calls clk_get_rate() which might sleep, so we need to set
pwm_chip can_sleep flag.  Otherwise, we see the following warning when
using PWM driven heartbeat led.

WARNING: CPU: 0 PID: 0 at kernel/locking/mutex.c:856 mutex_trylock+0x184/0x1a4()
DEBUG_LOCKS_WARN_ON(in_interrupt())
Modules linked in:
CPU: 0 PID: 0 Comm: swapper Not tainted 3.14.0-rc5 #18
[&lt;c0015420&gt;] (unwind_backtrace) from [&lt;c0012cb0&gt;] (show_stack+0x10/0x14)
[&lt;c0012cb0&gt;] (show_stack) from [&lt;c001daf8&gt;] (warn_slowpath_common+0x6c/0x8c)
[&lt;c001daf8&gt;] (warn_slowpath_common) from [&lt;c001dbac&gt;] (warn_slowpath_fmt+0x30/0x40)
[&lt;c001dbac&gt;] (warn_slowpath_fmt) from [&lt;c045df74&gt;] (mutex_trylock+0x184/0x1a4)
[&lt;c045df74&gt;] (mutex_trylock) from [&lt;c0360950&gt;] (clk_prepare_lock+0xc/0xec)
[&lt;c0360950&gt;] (clk_prepare_lock) from [&lt;c0362020&gt;] (clk_get_rate+0xc/0x68)
[&lt;c0362020&gt;] (clk_get_rate) from [&lt;c028d07c&gt;] (mxs_pwm_config+0x20/0x198)
[&lt;c028d07c&gt;] (mxs_pwm_config) from [&lt;c028bde8&gt;] (pwm_config+0x60/0x70)
[&lt;c028bde8&gt;] (pwm_config) from [&lt;c034b61c&gt;] (__led_pwm_set+0x1c/0x3c)
[&lt;c034b61c&gt;] (__led_pwm_set) from [&lt;c034bc3c&gt;] (led_heartbeat_function+0x70/0x110)
[&lt;c034bc3c&gt;] (led_heartbeat_function) from [&lt;c00292f0&gt;] (call_timer_fn+0x7c/0x164)
[&lt;c00292f0&gt;] (call_timer_fn) from [&lt;c00295c8&gt;] (run_timer_softirq+0x1f0/0x260)
[&lt;c00295c8&gt;] (run_timer_softirq) from [&lt;c002255c&gt;] (__do_softirq+0xc4/0x2f0)
[&lt;c002255c&gt;] (__do_softirq) from [&lt;c0022890&gt;] (irq_exit+0xa4/0x10c)
[&lt;c0022890&gt;] (irq_exit) from [&lt;c0010240&gt;] (handle_IRQ+0x34/0x84)
[&lt;c0010240&gt;] (handle_IRQ) from [&lt;c0013524&gt;] (__irq_svc+0x44/0x54)
[&lt;c0013524&gt;] (__irq_svc) from [&lt;c00107f8&gt;] (arch_cpu_idle+0x40/0x48)
[&lt;c00107f8&gt;] (arch_cpu_idle) from [&lt;c005deb8&gt;] (cpu_startup_entry+0x70/0x198)
[&lt;c005deb8&gt;] (cpu_startup_entry) from [&lt;c060aac8&gt;] (start_kernel+0x2a8/0x2f8)

Reported-by: Stefan Wahren &lt;stefan.wahren@i2se.com&gt;
Signed-off-by: Shawn Guo &lt;shawn.guo@freescale.com&gt;
Acked-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
Tested-by: Stefan Wahren &lt;stefan.wahren@i2se.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The .config() calls clk_get_rate() which might sleep, so we need to set
pwm_chip can_sleep flag.  Otherwise, we see the following warning when
using PWM driven heartbeat led.

WARNING: CPU: 0 PID: 0 at kernel/locking/mutex.c:856 mutex_trylock+0x184/0x1a4()
DEBUG_LOCKS_WARN_ON(in_interrupt())
Modules linked in:
CPU: 0 PID: 0 Comm: swapper Not tainted 3.14.0-rc5 #18
[&lt;c0015420&gt;] (unwind_backtrace) from [&lt;c0012cb0&gt;] (show_stack+0x10/0x14)
[&lt;c0012cb0&gt;] (show_stack) from [&lt;c001daf8&gt;] (warn_slowpath_common+0x6c/0x8c)
[&lt;c001daf8&gt;] (warn_slowpath_common) from [&lt;c001dbac&gt;] (warn_slowpath_fmt+0x30/0x40)
[&lt;c001dbac&gt;] (warn_slowpath_fmt) from [&lt;c045df74&gt;] (mutex_trylock+0x184/0x1a4)
[&lt;c045df74&gt;] (mutex_trylock) from [&lt;c0360950&gt;] (clk_prepare_lock+0xc/0xec)
[&lt;c0360950&gt;] (clk_prepare_lock) from [&lt;c0362020&gt;] (clk_get_rate+0xc/0x68)
[&lt;c0362020&gt;] (clk_get_rate) from [&lt;c028d07c&gt;] (mxs_pwm_config+0x20/0x198)
[&lt;c028d07c&gt;] (mxs_pwm_config) from [&lt;c028bde8&gt;] (pwm_config+0x60/0x70)
[&lt;c028bde8&gt;] (pwm_config) from [&lt;c034b61c&gt;] (__led_pwm_set+0x1c/0x3c)
[&lt;c034b61c&gt;] (__led_pwm_set) from [&lt;c034bc3c&gt;] (led_heartbeat_function+0x70/0x110)
[&lt;c034bc3c&gt;] (led_heartbeat_function) from [&lt;c00292f0&gt;] (call_timer_fn+0x7c/0x164)
[&lt;c00292f0&gt;] (call_timer_fn) from [&lt;c00295c8&gt;] (run_timer_softirq+0x1f0/0x260)
[&lt;c00295c8&gt;] (run_timer_softirq) from [&lt;c002255c&gt;] (__do_softirq+0xc4/0x2f0)
[&lt;c002255c&gt;] (__do_softirq) from [&lt;c0022890&gt;] (irq_exit+0xa4/0x10c)
[&lt;c0022890&gt;] (irq_exit) from [&lt;c0010240&gt;] (handle_IRQ+0x34/0x84)
[&lt;c0010240&gt;] (handle_IRQ) from [&lt;c0013524&gt;] (__irq_svc+0x44/0x54)
[&lt;c0013524&gt;] (__irq_svc) from [&lt;c00107f8&gt;] (arch_cpu_idle+0x40/0x48)
[&lt;c00107f8&gt;] (arch_cpu_idle) from [&lt;c005deb8&gt;] (cpu_startup_entry+0x70/0x198)
[&lt;c005deb8&gt;] (cpu_startup_entry) from [&lt;c060aac8&gt;] (start_kernel+0x2a8/0x2f8)

Reported-by: Stefan Wahren &lt;stefan.wahren@i2se.com&gt;
Signed-off-by: Shawn Guo &lt;shawn.guo@freescale.com&gt;
Acked-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
Tested-by: Stefan Wahren &lt;stefan.wahren@i2se.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pwm: tiehrpwm: inline accessor functions</title>
<updated>2014-05-21T09:51:26+00:00</updated>
<author>
<name>Wolfram Sang</name>
<email>wsa@sang-engineering.com</email>
</author>
<published>2014-04-02T11:56:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=3ea57ea6691241ccdf58d9735f85e49b6174990c'/>
<id>3ea57ea6691241ccdf58d9735f85e49b6174990c</id>
<content type='text'>
These elementary functions should be inlined for fastest access. Also
fixes this warning as a side-effect (when no PM_SLEEP is selected):

drivers/pwm/pwm-tiehrpwm.c:141:12: warning: 'ehrpwm_read' defined but not used [-Wunused-function]

Signed-off-by: Wolfram Sang &lt;wsa@sang-engineering.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These elementary functions should be inlined for fastest access. Also
fixes this warning as a side-effect (when no PM_SLEEP is selected):

drivers/pwm/pwm-tiehrpwm.c:141:12: warning: 'ehrpwm_read' defined but not used [-Wunused-function]

Signed-off-by: Wolfram Sang &lt;wsa@sang-engineering.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pwm: tiehrpwm: don't build PM related functions when not needed</title>
<updated>2014-05-21T09:51:26+00:00</updated>
<author>
<name>Wolfram Sang</name>
<email>wsa@sang-engineering.com</email>
</author>
<published>2014-04-02T11:56:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=af5935ec125ef85823ea43fbcfdd3c15b532d199'/>
<id>af5935ec125ef85823ea43fbcfdd3c15b532d199</id>
<content type='text'>
Fixes following warnings on AM335X with no PM_SLEEP

drivers/pwm/pwm-tiehrpwm.c:534:13: warning: 'ehrpwm_pwm_save_context' defined but not used [-Wunused-function]
drivers/pwm/pwm-tiehrpwm.c:548:13: warning: 'ehrpwm_pwm_restore_context' defined but not used [-Wunused-function]

Signed-off-by: Wolfram Sang &lt;wsa@sang-engineering.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes following warnings on AM335X with no PM_SLEEP

drivers/pwm/pwm-tiehrpwm.c:534:13: warning: 'ehrpwm_pwm_save_context' defined but not used [-Wunused-function]
drivers/pwm/pwm-tiehrpwm.c:548:13: warning: 'ehrpwm_pwm_restore_context' defined but not used [-Wunused-function]

Signed-off-by: Wolfram Sang &lt;wsa@sang-engineering.com&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pwm: renesas-tpu: remove unused struct tpu_pwm_platform_data</title>
<updated>2014-05-21T09:19:29+00:00</updated>
<author>
<name>Alexandre Belloni</name>
<email>alexandre.belloni@free-electrons.com</email>
</author>
<published>2014-05-19T20:42:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=dc671157139918eaf61f73db1bd6dd02960b66e2'/>
<id>dc671157139918eaf61f73db1bd6dd02960b66e2</id>
<content type='text'>
The struct is not used anymore and the polarity initialization will be
done using the PWM lookup table (or device tree).

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
Acked-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Acked-by: Simon Horman &lt;horms+renesas@verge.net.au&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The struct is not used anymore and the polarity initialization will be
done using the PWM lookup table (or device tree).

Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@free-electrons.com&gt;
Acked-by: Laurent Pinchart &lt;laurent.pinchart@ideasonboard.com&gt;
Acked-by: Simon Horman &lt;horms+renesas@verge.net.au&gt;
Signed-off-by: Thierry Reding &lt;thierry.reding@gmail.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
