Re: [PATCH v2 03/11] leds: Add support for max77693 mfd flash cell
From: Sakari Ailus <sakari.ailus@iki.fi>
Date: 2015-03-28 22:45:55
Also in:
linux-leds, linux-media
Hi Jacek, On Fri, Mar 27, 2015 at 02:49:37PM +0100, Jacek Anaszewski wrote:
This patch adds led-flash support to Maxim max77693 chipset. A device can be exposed to user space through LED subsystem sysfs interface. Device supports up to two leds which can work in flash and torch mode. The leds can be triggered externally or by software. Signed-off-by: Jacek Anaszewski <redacted> Signed-off-by: Andrzej Hajda <redacted> Acked-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: Bryan Wu <redacted> Cc: Richard Purdie <redacted> Cc: Lee Jones <redacted> Cc: Chanwoo Choi <cw00.choi@samsung.com>
...
quoted hunk ↗ jump to hunk
diff --git a/drivers/leds/leds-max77693.c b/drivers/leds/leds-max77693.c new file mode 100644 index 0000000..65c910d --- /dev/null +++ b/drivers/leds/leds-max77693.c@@ -0,0 +1,973 @@ +/* + * LED Flash class driver for the flash cell of max77693 mfd. + * + * Copyright (C) 2015, Samsung Electronics Co., Ltd. + * + * Authors: Jacek Anaszewski <j.anaszewski@samsung.com> + * Andrzej Hajda <a.hajda@samsung.com> + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * version 2 as published by the Free Software Foundation. + */ + +#include <asm/div64.h>
You might not need this anymore. Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com> -- Sakari Ailus e-mail: sakari.ailus@iki.fi XMPP: sailus@retiisi.org.uk