lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Wed, 14 Jul 2010 12:07:14 +0200
From:	Samuel Ortiz <sameo@...ux.intel.com>
To:	Hemanth V <hemanthv@...com>
Cc:	linux-kernel@...r.kernel.org, linux-omap@...r.kernel.org
Subject: Re: [RFC] [PATCH] mfd: Support  for TWL6030 PWM

Hi Hemanth,

On Thu, Jul 08, 2010 at 05:40:51PM +0530, Hemanth V wrote:
> From 2c6efcebf2790a4c968309360cfc3559b6d9c110 Mon Sep 17 00:00:00 2001
> From: Hemanth V <hemanthv@...com>
> Date: Thu, 8 Jul 2010 17:04:06 +0530
> Subject: [PATCH] Add support for TWL6030 PWM
> 
> TWL6030 supports PWM (Pulse Width Modulator) which is used
> to control charging LED. PWM allows for controlling brightness.
> This patch implements the APIs required by leds-pwm driver.
> 
> Signed-off-by: Hemanth V <hemanthv@...com>
> ---
>  drivers/mfd/Kconfig       |    9 +++
>  drivers/mfd/Makefile      |    3 +-
>  drivers/mfd/twl6030-pwm.c |  163 +++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 174 insertions(+), 1 deletions(-)
>  create mode 100644 drivers/mfd/twl6030-pwm.c
> 
> diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig
> index c7c11ef..4459fe5 100644
> --- a/drivers/mfd/Kconfig
> +++ b/drivers/mfd/Kconfig
> @@ -162,6 +162,15 @@ config TWL6030_GPADC
>  	  Say yes here if you want support for the TWL6030 General Purpose
>  	  A/D Convertor.
> 
> +config TWL6030_PWM
> +	tristate "TWL6030 PWM (Pulse Width Modulator) Support"
> +	depends on TWL4030_CORE
> +	select HAVE_PWM
> +	default n
> +	help
> +	  Say yes here if you want support for TWL6030 PWM.
> +	  This is used to control charging LED brightness.
> +
>  config MFD_TMIO
>  	bool
>  	default n
> diff --git a/drivers/mfd/Makefile b/drivers/mfd/Makefile
> index 204a974..e697101 100644
> --- a/drivers/mfd/Makefile
> +++ b/drivers/mfd/Makefile
> @@ -34,6 +34,7 @@ obj-$(CONFIG_TWL4030_CORE)	+= twl-core.o twl4030-irq.o twl6030-irq.o
>  obj-$(CONFIG_TWL4030_POWER)    += twl4030-power.o
>  obj-$(CONFIG_TWL4030_CODEC)	+= twl4030-codec.o
>  obj-$(CONFIG_TWL6030_GPADC)	+= twl6030-gpadc.o
I don't have this one on my tree, so the patch didnt apply cleanly.
I fixed it up though, so the patch is applied.


> +obj-$(CONFIG_TWL6030_PWM)	+= twl6030-pwm.o
> 
>  obj-$(CONFIG_MFD_MC13783)	+= mc13783-core.o
> 
> @@ -63,4 +64,4 @@ obj-$(CONFIG_AB3100_OTP)	+= ab3100-otp.o
>  obj-$(CONFIG_AB4500_CORE)	+= ab4500-core.o
>  obj-$(CONFIG_MFD_TIMBERDALE)    += timberdale.o
>  obj-$(CONFIG_PMIC_ADP5520)	+= adp5520.o
> -obj-$(CONFIG_LPC_SCH)		+= lpc_sch.o
> \ No newline at end of file
> +obj-$(CONFIG_LPC_SCH)		+= lpc_sch.o
Unrelated change, please avoid that.

Cheers,
Samuel.

-- 
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ