Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757040Ab3DXAGT (ORCPT ); Tue, 23 Apr 2013 20:06:19 -0400 Received: from perceval.ideasonboard.com ([95.142.166.194]:39559 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752241Ab3DXAGR (ORCPT ); Tue, 23 Apr 2013 20:06:17 -0400 From: Laurent Pinchart To: linux-sh@vger.kernel.org Cc: linux-leds@vger.kernel.org, linux-kernel@vger.kernel.org, Thierry Reding , Magnus Damm , Paul Mundt Subject: [PATCH 0/9] TPU PWM support Date: Wed, 24 Apr 2013 02:06:00 +0200 Message-Id: <1366761969-16759-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com> X-Mailer: git-send-email 1.8.1.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2780 Lines: 62 Hello, This patch set adds support for the TPU PWM unit found in the sh73a0 and r8a7740 SoCs. It deprecates and removes the leds-renesas-tpu driver in favor of a combination of leds-pwm and pwm-rmob. 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. As an added bonus patches 7/9 and 8/9 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. Any volunteer to migrate arch/sh ? :-) 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". Laurent Pinchart (9): sh-pfc: sh73a0: Add TPU pin groups and functions sh-pfc: r8a7740: Add TPU pin groups and functions pwm: Add Renesas Mobile TPU PWM driver ARM: mach-shmobile: clock-r8a7740: 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-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-sh73a0.c | 608 +++++++++---------------- drivers/pwm/Kconfig | 7 + drivers/pwm/Makefile | 1 + drivers/pwm/pwm-rmob.c | 462 +++++++++++++++++++ include/linux/platform_data/leds-renesas-tpu.h | 14 - include/linux/platform_data/pwm-rmob.h | 18 + 15 files changed, 913 insertions(+), 1210 deletions(-) delete mode 100644 drivers/leds/leds-renesas-tpu.c create mode 100644 drivers/pwm/pwm-rmob.c delete mode 100644 include/linux/platform_data/leds-renesas-tpu.h create mode 100644 include/linux/platform_data/pwm-rmob.h -- Regards, Laurent Pinchart -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/