All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Griffin <peter.griffin@linaro.org>
To: linux-kernel@vger.kernel.org
Cc: linaro-kernel@lists.linaro.org,
	Peter Griffin <peter.griffin@linaro.org>,
	Arnd Bergmann <arnd@arndb.de>, Jingoo Han <jg1.han@samsung.com>,
	Bryan Wu <cooloney@gmail.com>, Lee Jones <lee.jones@linaro.org>,
	Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>,
	Tomi Valkeinen <tomi.valkeinen@ti.com>,
	linux-fbdev@vger.kernel.org
Subject: [PATCH 08/13] video/backlight: LM3630A needs PWM
Date: Thu, 24 Apr 2014 13:28:24 +0100	[thread overview]
Message-ID: <1398342509-10243-9-git-send-email-peter.griffin@linaro.org> (raw)
In-Reply-To: <1398342509-10243-1-git-send-email-peter.griffin@linaro.org>

The LM3630A driver cannot be successfully built if we don't
enable the PWM subsystem. This patch makes that dependency
explicit in Kconfig and prevents broken randconfig builds.

Based on Arnd Bergmann patch but split out into seperate
commits per driver based on feedback.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Cc: Jingoo Han <jg1.han@samsung.com>
Cc: Bryan Wu <cooloney@gmail.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: linux-fbdev@vger.kernel.org
---
 drivers/video/backlight/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig
index 5a3eb2e..4791af7 100644
--- a/drivers/video/backlight/Kconfig
+++ b/drivers/video/backlight/Kconfig
@@ -370,7 +370,7 @@ config BACKLIGHT_AAT2870
 
 config BACKLIGHT_LM3630A
 	tristate "Backlight Driver for LM3630A"
-	depends on BACKLIGHT_CLASS_DEVICE && I2C
+	depends on BACKLIGHT_CLASS_DEVICE && I2C && PWM
 	select REGMAP_I2C
 	help
 	  This supports TI LM3630A Backlight Driver
-- 
1.7.9.5


WARNING: multiple messages have this Message-ID (diff)
From: Peter Griffin <peter.griffin@linaro.org>
To: linux-kernel@vger.kernel.org
Cc: linaro-kernel@lists.linaro.org,
	Peter Griffin <peter.griffin@linaro.org>,
	Arnd Bergmann <arnd@arndb.de>, Jingoo Han <jg1.han@samsung.com>,
	Bryan Wu <cooloney@gmail.com>, Lee Jones <lee.jones@linaro.org>,
	Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>,
	Tomi Valkeinen <tomi.valkeinen@ti.com>,
	linux-fbdev@vger.kernel.org
Subject: [PATCH 08/13] video/backlight: LM3630A needs PWM
Date: Thu, 24 Apr 2014 12:28:24 +0000	[thread overview]
Message-ID: <1398342509-10243-9-git-send-email-peter.griffin@linaro.org> (raw)
In-Reply-To: <1398342509-10243-1-git-send-email-peter.griffin@linaro.org>

The LM3630A driver cannot be successfully built if we don't
enable the PWM subsystem. This patch makes that dependency
explicit in Kconfig and prevents broken randconfig builds.

Based on Arnd Bergmann patch but split out into seperate
commits per driver based on feedback.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Cc: Jingoo Han <jg1.han@samsung.com>
Cc: Bryan Wu <cooloney@gmail.com>
Cc: Lee Jones <lee.jones@linaro.org>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: linux-fbdev@vger.kernel.org
---
 drivers/video/backlight/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/video/backlight/Kconfig b/drivers/video/backlight/Kconfig
index 5a3eb2e..4791af7 100644
--- a/drivers/video/backlight/Kconfig
+++ b/drivers/video/backlight/Kconfig
@@ -370,7 +370,7 @@ config BACKLIGHT_AAT2870
 
 config BACKLIGHT_LM3630A
 	tristate "Backlight Driver for LM3630A"
-	depends on BACKLIGHT_CLASS_DEVICE && I2C
+	depends on BACKLIGHT_CLASS_DEVICE && I2C && PWM
 	select REGMAP_I2C
 	help
 	  This supports TI LM3630A Backlight Driver
-- 
1.7.9.5


  parent reply	other threads:[~2014-04-24 12:41 UTC|newest]

Thread overview: 73+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-24 12:28 [PATCH 00/13] video: Arnds randconfig fixes for video Peter Griffin
2014-04-24 12:28 ` [PATCH 01/13] video: sh_mobile_lcdcfb depends on meram Peter Griffin
2014-04-24 12:28   ` Peter Griffin
2014-04-24 12:28 ` [PATCH 02/13] video: omap2dss: fix LPAE warnings Peter Griffin
2014-04-24 12:28   ` Peter Griffin
2014-04-24 12:28 ` [PATCH 03/13] video: clarify I2C dependencies Peter Griffin
2014-04-24 12:28   ` Peter Griffin
2014-04-24 12:32   ` Russell King - ARM Linux
2014-04-24 12:32     ` Russell King - ARM Linux
2014-04-24 12:48     ` Arnd Bergmann
2014-04-24 12:48       ` Arnd Bergmann
2014-04-24 12:28 ` [PATCH 04/13] video/omap: fix modular build Peter Griffin
2014-04-24 12:28   ` Peter Griffin
2014-04-24 12:28 ` [PATCH 05/13] video/mbx: fix building debugfs support Peter Griffin
2014-04-24 12:28   ` Peter Griffin
2014-04-24 12:28 ` [PATCH 06/13] video: export fb_prepare_logo Peter Griffin
2014-04-24 12:28   ` Peter Griffin
2014-04-24 12:28 ` [PATCH 07/13] video: atmel needs FB_BACKLIGHT Peter Griffin
2014-04-24 12:28   ` Peter Griffin
2014-04-24 12:28 ` Peter Griffin [this message]
2014-04-24 12:28   ` [PATCH 08/13] video/backlight: LM3630A needs PWM Peter Griffin
2014-04-24 16:45   ` Bryan Wu
2014-04-24 16:45     ` Bryan Wu
2014-04-25  9:00   ` Jingoo Han
2014-04-25  9:00     ` Jingoo Han
2014-04-28 10:14   ` Lee Jones
2014-04-28 10:14     ` Lee Jones
2014-04-24 12:28 ` [PATCH 09/13] video/backlight: LP8788 " Peter Griffin
2014-04-24 12:28   ` Peter Griffin
2014-04-24 16:45   ` Bryan Wu
2014-04-24 16:45     ` Bryan Wu
2014-04-24 22:42   ` Milo Kim
2014-04-24 22:42     ` Milo Kim
2014-04-25  8:54   ` Jingoo Han
2014-04-25  8:54     ` Jingoo Han
2014-04-28 10:16   ` Lee Jones
2014-04-28 10:16     ` Lee Jones
2014-04-24 12:28 ` [PATCH 10/13] video/pxa: LCD_CORGI needs BACKLIGHT_CLASS_DEVICE Peter Griffin
2014-04-24 12:28   ` Peter Griffin
2014-04-24 16:46   ` Bryan Wu
2014-04-24 16:46     ` Bryan Wu
2014-04-25  8:58   ` Jingoo Han
2014-04-25  8:58     ` Jingoo Han
2014-04-28 10:15   ` Lee Jones
2014-04-28 10:15     ` Lee Jones
2014-04-24 12:28 ` [PATCH 11/13] video/nuc900: allow modular build Peter Griffin
2014-04-24 12:28   ` Peter Griffin
2014-04-24 12:28 ` [PATCH 12/13] video/backlight: LP855X needs PWM Peter Griffin
2014-04-24 12:28   ` Peter Griffin
2014-04-24 16:48   ` Bryan Wu
2014-04-24 16:48     ` Bryan Wu
2014-04-24 22:43   ` Milo Kim
2014-04-24 22:43     ` Milo Kim
2014-04-25  9:02   ` Jingoo Han
2014-04-25  9:02     ` Jingoo Han
2014-04-28 10:16   ` Lee Jones
2014-04-28 10:16     ` Lee Jones
2014-04-24 12:28 ` [PATCH 13/13] video: omap: allow building on !MMU Peter Griffin
2014-04-24 12:28   ` Peter Griffin
2014-05-07  9:14   ` Tomi Valkeinen
2014-05-07  9:14     ` Tomi Valkeinen
2014-05-07  9:14     ` Tomi Valkeinen
2014-05-08 21:53     ` Tony Lindgren
2014-05-08 21:53       ` Tony Lindgren
2014-05-08 23:04       ` Aaro Koskinen
2014-05-08 23:04         ` Aaro Koskinen
2014-05-08 23:17         ` Tony Lindgren
2014-05-08 23:17           ` Tony Lindgren
2014-05-09 21:21           ` Aaro Koskinen
2014-05-09 21:21             ` Aaro Koskinen
2014-05-11 15:01             ` Tony Lindgren
2014-05-11 15:01               ` Tony Lindgren
2014-05-07  9:18 ` [PATCH 00/13] video: Arnds randconfig fixes for video Tomi Valkeinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1398342509-10243-9-git-send-email-peter.griffin@linaro.org \
    --to=peter.griffin@linaro.org \
    --cc=arnd@arndb.de \
    --cc=cooloney@gmail.com \
    --cc=jg1.han@samsung.com \
    --cc=lee.jones@linaro.org \
    --cc=linaro-kernel@lists.linaro.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=plagnioj@jcrosoft.com \
    --cc=tomi.valkeinen@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.