ARM: S5PC110: enable PWM timers for GONI board
Subsystems (3)
PATCH 1/1 ARM: S5PC110: enable PWM timers for GONI board
s5p_timer requires PWM device to be compiled in. Add aproperiate Kconfig select directive for GONI machine, so compilation won't fail if GONI is the only machine compiled into the kernel.
--- arch/arm/mach-s5pv210/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/mach-s5pv210/Kconfig +1 -0
@@ -92,6 +92,7 @@ config MACH_GONI select S3C_DEV_I2C2 select S3C_DEV_USB_HSOTG select S5P_DEV_ONENAND + select SAMSUNG_DEV_PWM select SAMSUNG_DEV_KEYPAD select S5PV210_SETUP_FB_24BPP select S5PV210_SETUP_I2C1
Signature · 1 line
1.7.1.569.g6f426
Quoted 16 lines · Marek Szyprowski
s5p_timerrequires PWM device to be compiled in. Add aproperiateKconfigselect directive for GONI machine, so compilation won't fail if GONI is the only machine compiled into the kernel.Signed-off-by Marek Szyprowski<[email protected]>Signed-off-by Kyungmin Park<[email protected]>--- arch/arm/mach-s5pv210/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)arch/arm/mach-s5pv210/Kconfig +0
-0
arch/arm/mach-s5pv210/Kconfig config MACH_GONI · line 98
Quoted 7 lines
arch/arm/mach-s5pv210/Kconfig +1
-0@@ -92,6 +92,7 @@ config MACH_GONI select S3C_DEV_I2C2 select S3C_DEV_USB_HSOTG select S5P_DEV_ONENAND + select SAMSUNG_DEV_PWM select SAMSUNG_DEV_KEYPAD select S5PV210_SETUP_FB_24BPP select S5PV210_SETUP_I2C1
Yeah, SAMSUNG_DEV_PWM is required to use s5p-time.c for HRT. So I think following is better.
Marek, if you don't mind, I'd like to apply below...
arch/arm/plat-s5p/Kconfig +1 -0
@@ -39,6 +39,7 @@ config S5P_GPIO_INT config S5P_HRT bool + select SAMSUNG_DEV_PWM help Use the High Resolution timer support
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <[email protected]>, Senior Engineer, SW Solution Development Team, Samsung Electronics Co., Ltd.
Hello,
Quoted 43 lines · Kukjin Kim
arch/arm/mach-
Quoted 12 lines · Marek Szyprowski
s5p_timerrequires PWM device to be compiled in. Add aproperiateKconfigselect directive for GONI machine, so compilation won't fail if GONI is the only machine compiled into the kernel.Signed-off-by Marek Szyprowski<[email protected]>Signed-off-by Kyungmin Park<[email protected]>--- arch/arm/mach-s5pv210/Kconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)arch/arm/mach- renamed from arch/arm/mach-s5pv210/Kconfig +0
-0s5pv210/Kconfig
arch/arm/mach-s5pv210/Kconfig config MACH_GONI · line 98
Quoted 11 lines
index 37b5a97..aceafb4 100644
arch/arm/mach-s5pv210/Kconfig +1
-0@@ -92,6 +92,7 @@ config MACH_GONI select S3C_DEV_I2C2 select S3C_DEV_USB_HSOTG select S5P_DEV_ONENAND + select SAMSUNG_DEV_PWM select SAMSUNG_DEV_KEYPAD select S5PV210_SETUP_FB_24BPP select S5PV210_SETUP_I2C1Yeah,
SAMSUNG_DEV_PWMis required to uses5p-time.cfor HRT. So I think following is better.Marek, if you don't mind, I'd like to apply below...
arch/arm/plat-s5p/Kconfig +1
-0@@ -39,6 +39,7 @@ config S5P_GPIO_INT config S5P_HRT bool + select SAMSUNG_DEV_PWM help Use the High Resolution timer support
Quoted 1 line
Thanks.
Yes, this one looks better.
Best regards
Signature · 2 lines
Marek Szyprowski Samsung Poland R&D Center