ARM: EXYNOS: Add alias name of 'fimd' clock for 'lcd' clock
Subsystems (3)
PATCH 1/1 ARM: EXYNOS: Add alias name of 'fimd' clock for 'lcd' clock
This patch adds alias name of 'fimd' clock for 'lcd' clock. While 'lcd' clock is used for s3c-fb driver, 'fimd' clock is defined for Exynos fimd ip. Therefore, 'fimd' clock can be called by using clk_add_alias().
--- arch/arm/mach-exynos/mach-nuri.c | 2 ++ arch/arm/mach-exynos/mach-origen.c | 2 ++ arch/arm/mach-exynos/mach-smdkv310.c | 2 ++ arch/arm/mach-exynos/mach-universal_c210.c | 3 +++ 4 files changed, 9 insertions(+), 0 deletions(-)
arch/arm/mach-exynos/mach-nuri.c +2 -0
@@ -1310,6 +1310,8 @@ static void __init nuri_machine_init(void) i2c9_devs[I2C9_MAX17042 ].irq =gpio_to_irq (EXYNOS4_GPX2 (3 ));i2c_register_board_info (9 , i2c9_devs,ARRAY_SIZE (i2c9_devs)); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" , &s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&nuri_fb_pdata);nuri_camera_init ();
arch/arm/mach-exynos/mach-origen.c +2 -0
@@ -722,6 +722,8 @@ static void __init origen_machine_init(void)s5p_tv_setup ();s5p_i2c_hdmiphy_set_platdata (NULL ); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" , &s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&origen_lcd_pdata);platform_add_devices (origen_devices,ARRAY_SIZE (origen_devices));
arch/arm/mach-exynos/mach-smdkv310.c +2 -0
@@ -370,6 +370,8 @@ static void __init smdkv310_machine_init(void)samsung_keypad_set_platdata (&smdkv310_keypad_data);samsung_bl_set (&smdkv310_bl_gpio_info, &smdkv310_bl_data); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" , &s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&smdkv310_lcd0_pdata);smdkv310_ehci_init ();
arch/arm/mach-exynos/mach-universal_c210.c +3 -0
@@ -31,6 +31,7 @@#include <plat/cpu.h> #include <plat/devs.h> #include <plat/iic.h> +#include <plat/clock.h> #include <plat/gpio-cfg.h> #include <plat/fb.h> #include <plat/mfc.h>
@@ -1029,6 +1030,8 @@ static void __init universal_machine_init(void)s5p_i2c_hdmiphy_set_platdata (NULL );i2c_register_board_info (5 , i2c5_devs,ARRAY_SIZE (i2c5_devs)); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" , &s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&universal_lcd_pdata);universal_touchkey_init ();
Signature · 1 line
1.7.1
Quoted 3 lines · Jingoo Han
This patch adds alias name of 'fimd' clock for 'lcd' clock. While 'lcd' clock is used for s3c-fb driver, 'fimd' clock is defined for Exynos fimd ip. Therefore, 'fimd' clock can be called by using
clk_add_alias().
Hi,
Doesn't it better to add common.c?
Are there any reason to add each board files?
Thank you,
Kyungmin Park
Quoted 84 lines
Cc Jonghwan Choi <[email protected]>Signed-off-by Jingoo Han <[email protected]>--- arch/arm/mach-exynos/mach-nuri.c | 2 ++ arch/arm/mach-exynos/mach-origen.c | 2 ++ arch/arm/mach-exynos/mach-smdkv310.c | 2 ++ arch/arm/mach-exynos/mach-universal_c210.c | 3 +++ 4 files changed, 9 insertions(+), 0 deletions(-)arch/arm/mach-exynos/mach-nuri.c +2
-0@@ -1310,6 +1310,8 @@ static void __init nuri_machine_init(void) i2c9_devs[I2C9_MAX17042 ].irq =gpio_to_irq (EXYNOS4_GPX2 (3 ));i2c_register_board_info (9 , i2c9_devs,ARRAY_SIZE (i2c9_devs)); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" , &s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&nuri_fb_pdata);nuri_camera_init ();arch/arm/mach-exynos/mach-origen.c +2
-0@@ -722,6 +722,8 @@ static void __init origen_machine_init(void)s5p_tv_setup ();s5p_i2c_hdmiphy_set_platdata (NULL ); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" , &s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&origen_lcd_pdata);platform_add_devices (origen_devices,ARRAY_SIZE (origen_devices));arch/arm/mach-exynos/mach-smdkv310.c +2
-0@@ -370,6 +370,8 @@ static void __init smdkv310_machine_init(void)samsung_keypad_set_platdata (&smdkv310_keypad_data);samsung_bl_set (&smdkv310_bl_gpio_info, &smdkv310_bl_data); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" , &s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&smdkv310_lcd0_pdata);smdkv310_ehci_init ();arch/arm/mach-exynos/mach-universal_c210.c +3
-1@@ -31,6 +31,7 @@#include <plat/cpu.h> #include <plat/devs.h> #include <plat/iic.h> +#include <plat/clock.h> #include <plat/gpio-cfg.h> #include <plat/fb.h> #include <plat/mfc.h> @@ -1029,6 +1030,8 @@ static void __init universal_machine_init(void)s5p_i2c_hdmiphy_set_platdata (NULL );i2c_register_board_info (5 , i2c5_devs,ARRAY_SIZE (i2c5_devs)); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" , &s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&universal_lcd_pdata);universal_touchkey_init (); --1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 88 lines · Kyungmin Park
Quoted 3 lines · Jingoo Han
This patch adds alias name of 'fimd' clock for 'lcd' clock. While 'lcd' clock is used for s3c-fb driver, 'fimd' clock is defined for Exynos fimd ip. Therefore, 'fimd' clock can be called by using
clk_add_alias().Hi,
Doesn't it better to add
common.c?
Are there any reason to add each board files?Thank you,
Kyungmin ParkQuoted 77 lines
Cc Jonghwan Choi<[email protected]>Signed-off-by Jingoo Han<[email protected]>--- arch/arm/mach-exynos/mach-nuri.c | 2 ++ arch/arm/mach-exynos/mach-origen.c | 2 ++ arch/arm/mach-exynos/mach-smdkv310.c | 2 ++ arch/arm/mach-exynos/mach-universal_c210.c | 3 +++ 4 files changed, 9 insertions(+), 0 deletions(-)arch/arm/mach-exynos/mach-nuri.c +2
-0@@ -1310,6 +1310,8 @@ static void __init nuri_machine_init(void) i2c9_devs[I2C9_MAX17042 ].irq =gpio_to_irq (EXYNOS4_GPX2 (3 ));i2c_register_board_info (9 , i2c9_devs,ARRAY_SIZE (i2c9_devs)); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" ,&s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&nuri_fb_pdata);nuri_camera_init ();arch/arm/mach-exynos/mach-origen.c +2
-0@@ -722,6 +722,8 @@ static void __init origen_machine_init(void)s5p_tv_setup ();s5p_i2c_hdmiphy_set_platdata (NULL ); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" ,&s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&origen_lcd_pdata);platform_add_devices (origen_devices,ARRAY_SIZE (origen_devices));arch/arm/mach-exynos/mach-smdkv310.c +2
-0@@ -370,6 +370,8 @@ static void __init smdkv310_machine_init(void)samsung_keypad_set_platdata (&smdkv310_keypad_data);samsung_bl_set (&smdkv310_bl_gpio_info,&smdkv310_bl_data); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" ,&s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&smdkv310_lcd0_pdata);smdkv310_ehci_init ();arch/arm/mach-exynos/mach-universal_c210.c +3
-1@@ -31,6 +31,7 @@#include <plat/cpu.h> #include <plat/devs.h> #include <plat/iic.h> +#include <plat/clock.h> #include <plat/gpio-cfg.h> #include <plat/fb.h> #include <plat/mfc.h> @@ -1029,6 +1030,8 @@ static void __init universal_machine_init(void)s5p_i2c_hdmiphy_set_platdata (NULL );i2c_register_board_info (5 , i2c5_devs,ARRAY_SIZE (i2c5_devs)); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" ,&s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&universal_lcd_pdata);universal_touchkey_init (); --1.7.1
Quoted 6 lines
Quoted 6 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Still no appropriate support of frame buffer in the kernel...
Signature · 5 lines
Kind regards, Evgeny Voevodin, Leading Software Engineer, ASWG, Moscow R&D center, Samsung Electronics e-mail: [email protected]
Hi, Evgeny Voevodin.
Quoted 98 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Evgeny Voevodin
Sent: Friday, February 10, 2012 3:34 PM
To: Kyungmin Park
Cc: Jingoo Han; Kukjin Kim; [email protected]; Jonghwan Choi; Tushar Behera; Dmitry Solodkiy
Subject: Re: [PATCH] ARM: EXYNOS: Add alias name of 'fimd' clock for 'lcd' clockQuoted 88 lines · Kyungmin Park
Quoted 3 lines · Jingoo Han
This patch adds alias name of 'fimd' clock for 'lcd' clock. While 'lcd' clock is used for s3c-fb driver, 'fimd' clock is defined for Exynos fimd ip. Therefore, 'fimd' clock can be called by using
clk_add_alias().Hi,
Doesn't it better to add
common.c?
Are there any reason to add each board files?Thank you,
Kyungmin ParkQuoted 77 lines
Cc Jonghwan Choi<[email protected]>Signed-off-by Jingoo Han<[email protected]>--- arch/arm/mach-exynos/mach-nuri.c | 2 ++ arch/arm/mach-exynos/mach-origen.c | 2 ++ arch/arm/mach-exynos/mach-smdkv310.c | 2 ++ arch/arm/mach-exynos/mach-universal_c210.c | 3 +++ 4 files changed, 9 insertions(+), 0 deletions(-)arch/arm/mach-exynos/mach-nuri.c +2
-0@@ -1310,6 +1310,8 @@ static void __init nuri_machine_init(void) i2c9_devs[I2C9_MAX17042 ].irq =gpio_to_irq (EXYNOS4_GPX2 (3 ));i2c_register_board_info (9 , i2c9_devs,ARRAY_SIZE (i2c9_devs)); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" ,&s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&nuri_fb_pdata);nuri_camera_init ();arch/arm/mach-exynos/mach-origen.c +2
-0@@ -722,6 +722,8 @@ static void __init origen_machine_init(void)s5p_tv_setup ();s5p_i2c_hdmiphy_set_platdata (NULL ); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" ,&s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&origen_lcd_pdata);platform_add_devices (origen_devices,ARRAY_SIZE (origen_devices));arch/arm/mach-exynos/mach-smdkv310.c +2
-0@@ -370,6 +370,8 @@ static void __init smdkv310_machine_init(void)samsung_keypad_set_platdata (&smdkv310_keypad_data);samsung_bl_set (&smdkv310_bl_gpio_info,&smdkv310_bl_data); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" ,&s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&smdkv310_lcd0_pdata);smdkv310_ehci_init ();arch/arm/mach-exynos/mach-universal_c210.c +3
-1@@ -31,6 +31,7 @@#include <plat/cpu.h> #include <plat/devs.h> #include <plat/iic.h> +#include <plat/clock.h> #include <plat/gpio-cfg.h> #include <plat/fb.h> #include <plat/mfc.h> @@ -1029,6 +1030,8 @@ static void __init universal_machine_init(void)s5p_i2c_hdmiphy_set_platdata (NULL );i2c_register_board_info (5 , i2c5_devs,ARRAY_SIZE (i2c5_devs)); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" ,&s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&universal_lcd_pdata);universal_touchkey_init (); --1.7.1
Quoted 8 lines
Quoted 6 lines
Quoted 6 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlStill no appropriate support of frame buffer in the kernel...
OK, I will send the new patch.
Quoted 12 lines
--
Kind regards,
Evgeny Voevodin,
Leading Software Engineer,
ASWG, Moscow R&D center, Samsung Electronics
e-mail: [email protected]--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 118 lines
-----Original Message-----
From: Jingoo Han [mailto:[email protected]]
Sent: Friday, February 10, 2012 4:17 PM
To: 'Evgeny Voevodin'; 'Kyungmin Park'
Cc: 'Kukjin Kim'; '[email protected]'; 'Jonghwan Choi'; 'Tushar Behera'; 'Dmitry Solodkiy'
Subject: RE: [PATCH] ARM: EXYNOS: Add alias name of 'fimd' clock for 'lcd' clockHi, Evgeny Voevodin.
Quoted 2 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] OnBehalf
Quoted 96 lines
Of Evgeny Voevodin
Sent: Friday, February 10, 2012 3:34 PM
To: Kyungmin Park
Cc: Jingoo Han; Kukjin Kim; [email protected]; Jonghwan Choi; Tushar Behera; Dmitry Solodkiy
Subject: Re: [PATCH] ARM: EXYNOS: Add alias name of 'fimd' clock for 'lcd' clockQuoted 88 lines · Kyungmin Park
Quoted 3 lines · Jingoo Han
This patch adds alias name of 'fimd' clock for 'lcd' clock. While 'lcd' clock is used for s3c-fb driver, 'fimd' clock is defined for Exynos fimd ip. Therefore, 'fimd' clock can be called by using
clk_add_alias().Hi,
Doesn't it better to add
common.c?
Are there any reason to add each board files?Thank you,
Kyungmin ParkQuoted 77 lines
Cc Jonghwan Choi<[email protected]>Signed-off-by Jingoo Han<[email protected]>--- arch/arm/mach-exynos/mach-nuri.c | 2 ++ arch/arm/mach-exynos/mach-origen.c | 2 ++ arch/arm/mach-exynos/mach-smdkv310.c | 2 ++ arch/arm/mach-exynos/mach-universal_c210.c | 3 +++ 4 files changed, 9 insertions(+), 0 deletions(-)arch/arm/mach-exynos/mach-nuri.c +2
-0@@ -1310,6 +1310,8 @@ static void __init nuri_machine_init(void) i2c9_devs[I2C9_MAX17042 ].irq =gpio_to_irq (EXYNOS4_GPX2 (3 ));i2c_register_board_info (9 , i2c9_devs,ARRAY_SIZE (i2c9_devs)); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" ,&s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&nuri_fb_pdata);nuri_camera_init ();arch/arm/mach-exynos/mach-origen.c +2
-0@@ -722,6 +722,8 @@ static void __init origen_machine_init(void)s5p_tv_setup ();s5p_i2c_hdmiphy_set_platdata (NULL ); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" ,&s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&origen_lcd_pdata);platform_add_devices (origen_devices,ARRAY_SIZE (origen_devices));arch/arm/mach-exynos/mach-smdkv310.c +2
-0@@ -370,6 +370,8 @@ static void __init smdkv310_machine_init(void)samsung_keypad_set_platdata (&smdkv310_keypad_data);samsung_bl_set (&smdkv310_bl_gpio_info,&smdkv310_bl_data); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" ,&s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&smdkv310_lcd0_pdata);smdkv310_ehci_init ();arch/arm/mach-exynos/mach-universal_c210.c +3
-1@@ -31,6 +31,7 @@#include <plat/cpu.h> #include <plat/devs.h> #include <plat/iic.h> +#include <plat/clock.h> #include <plat/gpio-cfg.h> #include <plat/fb.h> #include <plat/mfc.h> @@ -1029,6 +1030,8 @@ static void __init universal_machine_init(void)s5p_i2c_hdmiphy_set_platdata (NULL );i2c_register_board_info (5 , i2c5_devs,ARRAY_SIZE (i2c5_devs)); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" ,&s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&universal_lcd_pdata);universal_touchkey_init (); --1.7.1
Quoted 8 lines
Quoted 6 lines
Quoted 6 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlStill no appropriate support of frame buffer in the kernel...
Quoted 1 line
OK, I will send the new patch.
I cannot find good place in common.c.
If someone has idea, please let me know good place in common.c.
Or, Tushar's patch would be better.
http://www.mail-archive.com/[email protected]/msg07795.html
I test this patch, it resolve the lcd clock problem, too.
Thanks.
Quoted 12 lines
Quoted 12 lines
--
Kind regards,
Evgeny Voevodin,
Leading Software Engineer,
ASWG, Moscow R&D center, Samsung Electronics
e-mail: [email protected]--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Kukjin,
Quoted 118 lines · Jingoo Han
Quoted 118 lines
-----Original Message-----
From: Jingoo Han [mailto:[email protected]]
Sent: Friday, February 10, 2012 4:17 PM
To: 'Evgeny Voevodin'; 'Kyungmin Park'
Cc: 'Kukjin Kim'; '[email protected]'; 'Jonghwan Choi'; 'Tushar Behera'; 'Dmitry Solodkiy'
Subject: RE: [PATCH] ARM: EXYNOS: Add alias name of 'fimd' clock for 'lcd' clockHi, Evgeny Voevodin.
Quoted 2 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] OnBehalf
Quoted 104 lines
Of Evgeny Voevodin
Sent: Friday, February 10, 2012 3:34 PM
To: Kyungmin Park
Cc: Jingoo Han; Kukjin Kim; [email protected]; Jonghwan Choi; Tushar Behera; Dmitry Solodkiy
Subject: Re: [PATCH] ARM: EXYNOS: Add alias name of 'fimd' clock for 'lcd' clockQuoted 88 lines · Kyungmin Park
Quoted 3 lines · Jingoo Han
This patch adds alias name of 'fimd' clock for 'lcd' clock. While 'lcd' clock is used for s3c-fb driver, 'fimd' clock is defined for Exynos fimd ip. Therefore, 'fimd' clock can be called by using
clk_add_alias().Hi,
Doesn't it better to add
common.c?
Are there any reason to add each board files?Thank you,
Kyungmin ParkQuoted 77 lines
Cc Jonghwan Choi<[email protected]>Signed-off-by Jingoo Han<[email protected]>--- arch/arm/mach-exynos/mach-nuri.c | 2 ++ arch/arm/mach-exynos/mach-origen.c | 2 ++ arch/arm/mach-exynos/mach-smdkv310.c | 2 ++ arch/arm/mach-exynos/mach-universal_c210.c | 3 +++ 4 files changed, 9 insertions(+), 0 deletions(-)arch/arm/mach-exynos/mach-nuri.c +2
-0@@ -1310,6 +1310,8 @@ static void __init nuri_machine_init(void) i2c9_devs[I2C9_MAX17042 ].irq =gpio_to_irq (EXYNOS4_GPX2 (3 ));i2c_register_board_info (9 , i2c9_devs,ARRAY_SIZE (i2c9_devs)); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" ,&s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&nuri_fb_pdata);nuri_camera_init ();arch/arm/mach-exynos/mach-origen.c +2
-0@@ -722,6 +722,8 @@ static void __init origen_machine_init(void)s5p_tv_setup ();s5p_i2c_hdmiphy_set_platdata (NULL ); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" ,&s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&origen_lcd_pdata);platform_add_devices (origen_devices,ARRAY_SIZE (origen_devices));arch/arm/mach-exynos/mach-smdkv310.c +2
-0@@ -370,6 +370,8 @@ static void __init smdkv310_machine_init(void)samsung_keypad_set_platdata (&smdkv310_keypad_data);samsung_bl_set (&smdkv310_bl_gpio_info,&smdkv310_bl_data); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" ,&s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&smdkv310_lcd0_pdata);smdkv310_ehci_init ();arch/arm/mach-exynos/mach-universal_c210.c +3
-1@@ -31,6 +31,7 @@#include <plat/cpu.h> #include <plat/devs.h> #include <plat/iic.h> +#include <plat/clock.h> #include <plat/gpio-cfg.h> #include <plat/fb.h> #include <plat/mfc.h> @@ -1029,6 +1030,8 @@ static void __init universal_machine_init(void)s5p_i2c_hdmiphy_set_platdata (NULL );i2c_register_board_info (5 , i2c5_devs,ARRAY_SIZE (i2c5_devs)); +dev_set_name (&s5p_device_fimd0.dev,"exynos4-fb.0" ); +clk_add_alias ("lcd" ,"exynos4-fb.0" ,"fimd" ,&s5p_device_fimd0.dev);s5p_fimd0_set_platdata (&universal_lcd_pdata);universal_touchkey_init (); --1.7.1
Quoted 6 lines
Quoted 6 lines
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlStill no appropriate support of frame buffer in the kernel...
Quoted 8 lines
Quoted 1 line
OK, I will send the new patch.
I cannot find good place in
common.c.
If someone has idea, please let me know good place incommon.c.Or, Tushar's patch would be better.
http://www.mail-archive.com/[email protected]/msg07795.html
I test this patch, it resolve the lcd clock problem, too.
What is your opinion on this?
Quoted 14 lines
Thanks.
Quoted 12 lines
Quoted 12 lines
--
Kind regards,
Evgeny Voevodin,
Leading Software Engineer,
ASWG, Moscow R&D center, Samsung Electronics
e-mail: [email protected]--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 1 line
Tushar Behera