linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/11] Renesas TPU PWM support
@ 2013-04-24 20:50 Laurent Pinchart
  2013-04-24 20:50 ` [PATCH v2 01/11] sh-pfc: sh73a0: Add TPU pin groups and functions Laurent Pinchart
                   ` (10 more replies)
  0 siblings, 11 replies; 17+ messages in thread
From: Laurent Pinchart @ 2013-04-24 20:50 UTC (permalink / raw)
  To: linux-sh
  Cc: linux-leds, linux-kernel, Thierry Reding, Magnus Damm, Paul Mundt

Hello,

This is the second version of the Renesas TPU PWM unit support patches. The
patch series deprecates and removes the leds-renesas-tpu driver in favor of a
combination of leds-pwm and pwm-rmob. As an added bonus patches 9/11 and 10/11
remove function GPIOs support from the sh73a0 platform. Along with the other
PFC-related patches recently posted on the list, mach-shmobile is now free of
function GPIOs. We still need volunteer(s) to migrate arch/sh.

I've tested the code on Armadillo only as I don't have access to a kota2
board. This is why I've added backlight support to Armadillo as part of this
set.

The patches are based on a merge of "[PATCH 00/37] Fully migrate r8a7740 to
pinctrl", "[PATCH 0/4] sh73a0: Expose the PFC-controller SDHI power gate as a
regulator" and "[PATCH] sh-pfc: r8a7740: Add bias (pull-up/down) pinconf
support". I've pushed them to

	git://linuxtv.org/pinchartl/fbdev.git pinmux/3.9/tpu

Changes compared to v1:

- Renamed the pwm-rmob driver to pwm-renesas-tpu, as TPU units are found in
  Renesas SH-Mobile, R-Mobile and R-Car SoCs.
- Added TPU clock and pin groups for r8a7790.

Laurent Pinchart (11):
  sh-pfc: sh73a0: Add TPU pin groups and functions
  sh-pfc: r8a7740: Add TPU pin groups and functions
  sh-pfc: r8a7790: Add TPU pin groups and functions
  pwm: Add Renesas TPU PWM driver
  ARM: mach-shmobile: clock-r8a7740: add TPU PWM support
  ARM: mach-shmobile: clock-r8a7790: add TPU PWM support
  ARM: mach-shmobile: armadillo800eva: Add backlight support
  ARM: mach-shmobile: kota2: Use leds-pwm + pwm-rmob
  sh-pfc: sh73a0: Remove function GPIOs
  ARM: shmobile: sh73a0: Remove all GPIOs
  leds: Remove leds-renesas-tpu driver

 arch/arm/mach-shmobile/board-armadillo800eva.c |  51 ++-
 arch/arm/mach-shmobile/board-kota2.c           | 178 +++++---
 arch/arm/mach-shmobile/clock-r8a7740.c         |   4 +-
 arch/arm/mach-shmobile/clock-r8a7790.c         |  11 +-
 arch/arm/mach-shmobile/clock-sh73a0.c          |   8 +-
 arch/arm/mach-shmobile/include/mach/sh73a0.h   | 373 +--------------
 drivers/leds/Kconfig                           |  12 -
 drivers/leds/Makefile                          |   1 -
 drivers/leds/leds-renesas-tpu.c                | 336 --------------
 drivers/pinctrl/sh-pfc/pfc-r8a7740.c           |  50 ++
 drivers/pinctrl/sh-pfc/pfc-r8a7790.c           |  41 ++
 drivers/pinctrl/sh-pfc/pfc-sh73a0.c            | 608 +++++++++----------------
 drivers/pwm/Kconfig                            |   7 +
 drivers/pwm/Makefile                           |   1 +
 drivers/pwm/pwm-renesas-tpu.c                  | 462 +++++++++++++++++++
 include/linux/platform_data/leds-renesas-tpu.h |  14 -
 include/linux/platform_data/pwm-renesas-tpu.h  |  18 +
 17 files changed, 963 insertions(+), 1212 deletions(-)
 delete mode 100644 drivers/leds/leds-renesas-tpu.c
 create mode 100644 drivers/pwm/pwm-renesas-tpu.c
 delete mode 100644 include/linux/platform_data/leds-renesas-tpu.h
 create mode 100644 include/linux/platform_data/pwm-renesas-tpu.h

-- 
Regards,

Laurent Pinchart


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2013-06-13 15:32 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-24 20:50 [PATCH v2 00/11] Renesas TPU PWM support Laurent Pinchart
2013-04-24 20:50 ` [PATCH v2 01/11] sh-pfc: sh73a0: Add TPU pin groups and functions Laurent Pinchart
2013-04-24 20:50 ` [PATCH v2 02/11] sh-pfc: r8a7740: " Laurent Pinchart
2013-04-24 20:50 ` [PATCH v2 03/11] sh-pfc: r8a7790: " Laurent Pinchart
2013-04-24 20:50 ` [PATCH v2 04/11] pwm: Add Renesas TPU PWM driver Laurent Pinchart
2013-05-23 21:45   ` Thierry Reding
2013-05-29 15:48     ` Laurent Pinchart
2013-06-12 10:06       ` Thierry Reding
2013-06-13 15:32         ` Laurent Pinchart
2013-04-24 20:50 ` [PATCH v2 05/11] ARM: mach-shmobile: clock-r8a7740: add TPU PWM support Laurent Pinchart
2013-04-24 20:50 ` [PATCH v2 06/11] ARM: mach-shmobile: clock-r8a7790: " Laurent Pinchart
2013-04-24 20:50 ` [PATCH v2 07/11] ARM: mach-shmobile: armadillo800eva: Add backlight support Laurent Pinchart
2013-04-24 20:50 ` [PATCH v2 08/11] ARM: mach-shmobile: kota2: Use leds-pwm + pwm-rmob Laurent Pinchart
2013-04-24 20:50 ` [PATCH v2 09/11] sh-pfc: sh73a0: Remove function GPIOs Laurent Pinchart
2013-04-24 20:50 ` [PATCH v2 10/11] ARM: shmobile: sh73a0: Remove all GPIOs Laurent Pinchart
2013-04-24 20:50 ` [PATCH v2 11/11] leds: Remove leds-renesas-tpu driver Laurent Pinchart
2013-04-24 20:59   ` Bryan Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).