From mboxrd@z Thu Jan 1 00:00:00 1970 From: kgene.kim@samsung.com (Kukjin Kim) Date: Thu, 03 Mar 2011 14:09:00 +0900 Subject: [PATCH] ARM: EXYNOS4: enabled lcd and backlight in NURI board In-Reply-To: <1299028671-9062-1-git-send-email-dh09.lee@samsung.com> References: <1299028671-9062-1-git-send-email-dh09.lee@samsung.com> Message-ID: <01ad01cbd961$40e69720$c2b3c560$%kim@samsung.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Donghwa Lee wrote: > > This patch enables lcd and backlight drivers in NURI board. > > Signed-off-by: Donghwa Lee > Signed-off-by: Kyungmin Park > ------ > arch/arm/configs/exynos4_nuri_defconfig | 9 +++- > arch/arm/mach-exynos4/Kconfig | 1 + > arch/arm/mach-exynos4/mach-nuri.c | 62 > +++++++++++++++++++++++++++++++ > 3 files changed, 70 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/configs/exynos4_nuri_defconfig > b/arch/arm/configs/exynos4_nuri_defconfig > index 5f03027..e2f0bfb 100644 > --- a/arch/arm/configs/exynos4_nuri_defconfig > +++ b/arch/arm/configs/exynos4_nuri_defconfig > @@ -786,8 +786,13 @@ CONFIG_REGULATOR=y > # CONFIG_DRM is not set > # CONFIG_VGASTATE is not set > # CONFIG_VIDEO_OUTPUT_CONTROL is not set > -# CONFIG_FB is not set > -# CONFIG_BACKLIGHT_LCD_SUPPORT is not set > +CONFIG_FB=y > +CONFIG_FB_S3C=y > +CONFIG_LCD_CLASS_DEVICE=y > +CONFIG_LCD_PLATFORM=y > +CONFIG_BACKLIGHT_CLASS_DEVICE=y > +CONFIG_BACKLIGHT_LCD_SUPPORT=y > +CONFIG_BACKLIGHT_PWM=y > Hmm...where is exynos4_nuri_defconfig? And as I said, don't add machine specific defconfig now... I'm thinking about handling specific CONFIGs on each machine with one defconfig. > # > # Display device support > diff --git a/arch/arm/mach-exynos4/Kconfig b/arch/arm/mach-exynos4/Kconfig > index 5bf00b9..1d0d222 100644 > --- a/arch/arm/mach-exynos4/Kconfig > +++ b/arch/arm/mach-exynos4/Kconfig > @@ -135,6 +135,7 @@ config MACH_NURI > select EXYNOS4_SETUP_I2C1 > select EXYNOS4_SETUP_I2C5 > select EXYNOS4_SETUP_SDHCI > + select HAVE_PWM Since Banajit's PWM backlight patches will be merged, should be following your next patch. + select SAMSUNG_DEV_PWM > help > Machine support for Samsung Mobile NURI Board. > > diff --git a/arch/arm/mach-exynos4/mach-nuri.c b/arch/arm/mach-exynos4/mach- > nuri.c > index 28010bd..d06cc91 100644 > --- a/arch/arm/mach-exynos4/mach-nuri.c > +++ b/arch/arm/mach-exynos4/mach-nuri.c > @@ -17,6 +17,10 @@ > #include > #include > #include > +#include > +#include > + > +#include