[U-Boot] [PATCH V3 6/8] dts: peach_pit: Add SLP and RST GPIO properties in parade DT node

2015-03-04 Thread Ajay Kumar
Now that parade driver supports reading SLP and RST GPIO from DT, specify the same in parade DT node. Signed-off-by: Ajay Kumar Reviewed-by: Simon Glass Tested-by: Simon Glass --- arch/arm/dts/exynos5420-peach-pit.dts |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts

[U-Boot] [PATCH V3 8/8] smdk5420: Remove GPIO enums

2015-03-04 Thread Ajay Kumar
Remove GPIOs from smdk5420 board file and because the same is already specified via DT. Signed-off-by: Ajay Kumar Reviewed-by: Simon Glass Tested-by: Simon Glass --- board/samsung/smdk5420/smdk5420.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/board/samsung/smdk5420

[U-Boot] [PATCH V3 7/8] dts: peach_pi: Add DT properties needed for display

2015-03-04 Thread Ajay Kumar
Add backlight enable GPIO, and delay needed for panel powerup via FIMD DT node. Signed-off-by: Ajay Kumar Reviewed-by: Simon Glass Tested-by: Simon Glass --- arch/arm/dts/exynos5800-peach-pi.dts |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/dts/exynos5800-peach-pi.dts b

[U-Boot] [PATCH V3 0/8] peach_pi: Add support for FIMD and DP

2015-03-04 Thread Ajay Kumar
Simon. Ajay Kumar (8): [PATCH V3 1/8] arm: exynos: add display clocks for Exynos5800 [PATCH V3 2/8] Exynos5: Fix rpll_sdiv to support both peach-pit and peach-pi panels [PATCH V3 3/8] video: exynos_fb: configure backlight GPIOs if specified in DT [PATCH V3 4/8] video: parade: configure

[U-Boot] [PATCH V3 2/8] Exynos5: Fix rpll_sdiv to support both peach-pit and peach-pi panels

2015-03-04 Thread Ajay Kumar
doesn't break peach-pit LCD since 141/2=70.5Mhz, i.e FIMD divider at IP level will get set to 1(the required divider setting will be calculated and set by exynos_fimd_set_clock()) and hence peach-pit LCD still works fine. Signed-off-by: Ajay Kumar Reviewed-by: Simon Glass Tested-by: Simon

[U-Boot] [PATCH V3 1/8] arm: exynos: add display clocks for Exynos5800

2015-03-04 Thread Ajay Kumar
Add get_lcd_clk and set_lcd_clk callbacks for Exynos5800 needed by exynos video driver. Signed-off-by: Ajay Kumar Reviewed-by: Simon Glass Tested-by: Simon Glass --- arch/arm/cpu/armv7/exynos/clock.c | 65 ++-- arch/arm/include/asm/arch-exynos/clk.h |3

[U-Boot] [PATCH V3 5/8] dts: exynos54xx: Add samsung, pwm-out-gpio property to FIMD node

2015-03-04 Thread Ajay Kumar
Now that the exynos_fb driver supports handling backlight GPIO via DT, specify pwm output property via FIMD DT node. Signed-off-by: Ajay Kumar Reviewed-by: Simon Glass Tested-by: Simon Glass --- arch/arm/dts/exynos54xx.dtsi |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts

[U-Boot] [PATCH V3 4/8] video: parade: configure SLP and RST GPIOs if specified in DT

2015-03-04 Thread Ajay Kumar
Add support to configure EDP_RST GPIO and EDP_SLP GPIO, if provided in parade DT node. Signed-off-by: Ajay Kumar Reviewed-by: Simon Glass Tested-by: Simon Glass --- drivers/video/parade.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/video/parade.c b/drivers/video

[U-Boot] [PATCH V3 3/8] video: exynos_fb: configure backlight GPIOs if specified in DT

2015-03-04 Thread Ajay Kumar
Add support to configure PWM_OUT(PWM output) GPIO and BL_EN(backlight enable) GPIO, if provided in FIMD DT node. Signed-off-by: Ajay Kumar Reviewed-by: Simon Glass Tested-by: Simon Glass --- doc/device-tree-bindings/video/exynos-fb.txt |2 ++ drivers/video/exynos_fb.c

Re: [U-Boot] [PATCH V2 0/8] peach_pi: Add support for FIMD and DP

2015-03-03 Thread Ajay kumar
On Tue, Mar 3, 2015 at 7:33 PM, Ajay Kumar wrote: > Add support for the eDP panel supported on peach_pi. > > Changes since V1: > -- Address comments for clock changes > -- Remove the use of GPIO enums, and use DT to specify GPIOs. > > Ajay Kumar (8): > [P

[U-Boot] [PATCH 2/8] Exynos5: Fix rpll_sdiv to support both peach-pit and peach-pi panels

2015-03-03 Thread Ajay Kumar
doesn't break peach-pit LCD since 141/2=70.5Mhz, i.e FIMD divider at IP level will get set to 1(the required divider setting will be calculated and set by exynos_fimd_set_clock()) and hence peach-pit LCD still works fine. Signed-off-by: Ajay Kumar --- arch/arm/cpu/armv7/exynos/clock_init_exyn

[U-Boot] [PATCH V2 1/8] arm: exynos: add display clocks for Exynos5800

2015-03-03 Thread Ajay Kumar
Add get_lcd_clk and set_lcd_clk callbacks for Exynos5800 needed by exynos video driver. Signed-off-by: Ajay Kumar --- arch/arm/cpu/armv7/exynos/clock.c | 66 ++-- arch/arm/include/asm/arch-exynos/clk.h |3 ++ 2 files changed, 66 insertions(+), 3 deletions

[U-Boot] [PATCH V2 6/8] dts: peach_pit: Add SLP and RST GPIO properties in parade DT node

2015-03-03 Thread Ajay Kumar
Now that parade driver supports reading SLP and RST GPIO from DT, specify the same in parade DT node. Signed-off-by: Ajay Kumar --- arch/arm/dts/exynos5420-peach-pit.dts |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/dts/exynos5420-peach-pit.dts b/arch/arm/dts/exynos5420

[U-Boot] [PATCH V2 8/8] smdk5420: Remove GPIO enums

2015-03-03 Thread Ajay Kumar
Remove GPIOs from smdk5420 board file and because the same is already specified via DT. Signed-off-by: Ajay Kumar --- board/samsung/smdk5420/smdk5420.c | 15 --- 1 file changed, 15 deletions(-) diff --git a/board/samsung/smdk5420/smdk5420.c b/board/samsung/smdk5420/smdk5420.c

[U-Boot] [PATCH V2 7/8] dts: peach_pi: Add DT properties needed for display

2015-03-03 Thread Ajay Kumar
Add backlight enable GPIO, and delay needed for panel powerup via FIMD DT node. Signed-off-by: Ajay Kumar --- arch/arm/dts/exynos5800-peach-pi.dts |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/dts/exynos5800-peach-pi.dts b/arch/arm/dts/exynos5800-peach-pi.dts index e4bc100

[U-Boot] [PATCH V2 4/8] video: parade: configure SLP and RST GPIOs if specified in DT

2015-03-03 Thread Ajay Kumar
Add support to configure EDP_RST GPIO and EDP_SLP GPIO, if provided in parade DT node. Signed-off-by: Ajay Kumar --- drivers/video/parade.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/video/parade.c b/drivers/video/parade.c index 0f543f6..525ef07 100644 --- a

[U-Boot] [PATCH V2 5/8] dts: exynos54xx: Add samsung, pwm-out-gpio property to FIMD node

2015-03-03 Thread Ajay Kumar
Now that the exynos_fb driver supports handling backlight GPIO via DT, specify pwm output property via FIMD DT node. Signed-off-by: Ajay Kumar --- arch/arm/dts/exynos54xx.dtsi |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/exynos54xx.dtsi b/arch/arm/dts/exynos54xx.dtsi

[U-Boot] [PATCH V2 0/8] peach_pi: Add support for FIMD and DP

2015-03-03 Thread Ajay Kumar
Add support for the eDP panel supported on peach_pi. Changes since V1: -- Address comments for clock changes -- Remove the use of GPIO enums, and use DT to specify GPIOs. Ajay Kumar (8): [PATCH V2 1/8] arm: exynos: add display clocks for Exynos5800 [PATCH V2 2/8] Exynos5: Fix

[U-Boot] [PATCH V2 3/8] video: exynos_fb: configure backlight GPIOs if specified in DT

2015-03-03 Thread Ajay Kumar
Add support to configure PWM_OUT(PWM output) GPIO and BL_EN(backlight enable) GPIO, if provided in FIMD DT node. Signed-off-by: Ajay Kumar --- doc/device-tree-bindings/video/exynos-fb.txt |2 ++ drivers/video/exynos_fb.c| 23 +++ 2 files changed, 25

Re: [U-Boot] [PATCH 2/5] arm: exynos: add display clocks for Exynos5800

2015-03-02 Thread Ajay kumar
Hi Simon, On Mon, Mar 2, 2015 at 7:53 AM, Simon Glass wrote: > Hi Ajay, > > On 8 December 2014 at 15:40, Simon Glass wrote: >> Hi Ajay, >> >> >> On 7 December 2014 at 22:43, Ajay kumar wrote: >>> >>> Hi Minkyu, >>> >>> >&g

Re: [U-Boot] [PATCH 4/5] exynos5420: Add LCD and LED powerup settings for peach-pi

2014-12-07 Thread Ajay kumar
Hi, On Fri, Dec 5, 2014 at 10:12 PM, Simon Glass wrote: > Hi, > > On 5 December 2014 at 08:42, Sjoerd Simons > wrote: >> On Fri, 2014-12-05 at 19:43 +0530, Ajay Kumar wrote: >>> Add code to support powerup sequence for peach-pi LCD. >>> >>> Signed-o

Re: [U-Boot] [PATCH 2/5] arm: exynos: add display clocks for Exynos5800

2014-12-07 Thread Ajay kumar
Hi Minkyu, On Mon, Dec 8, 2014 at 11:07 AM, Ajay kumar wrote: > On Fri, Dec 5, 2014 at 9:02 PM, Minkyu Kang wrote: >> Dear Ajay Kumar, >> >> On 5 December 2014 at 23:13, Ajay Kumar wrote: >> >>> Add get_lcd_clk and set_lcd_clk callbacks for Exynos58

Re: [U-Boot] [PATCH 2/5] arm: exynos: add display clocks for Exynos5800

2014-12-07 Thread Ajay kumar
On Fri, Dec 5, 2014 at 9:02 PM, Minkyu Kang wrote: > Dear Ajay Kumar, > > On 5 December 2014 at 23:13, Ajay Kumar wrote: > >> Add get_lcd_clk and set_lcd_clk callbacks for Exynos5800 needed by >> exynos video driver. >> >> Signed-off-by: Ajay Kumar >>

Re: [U-Boot] [PATCH 1/2 v2] Exynos5800: The Peach-Pi board does not have a Parade video bridge

2014-12-05 Thread Ajay kumar
Hi All, On Tue, Dec 2, 2014 at 2:00 AM, Simon Glass wrote: > Hi Sjoerd, > > On 1 December 2014 at 13:25, Sjoerd Simons > wrote: >> On Mon, 2014-12-01 at 13:09 -0700, Simon Glass wrote: >>> +Akshay >>> >>> Hi Sjoerd, >>> >>> On 1 December 2014 at 03:03, Sjoerd Simons >>> wrote: >>> > Hey Simon,

[U-Boot] [PATCH 3/5] Exynos5: Fix rpll_sdiv to support both peach-pit and peach-pi panels

2014-12-05 Thread Ajay Kumar
doesn't break peach-pit LCD since 141/2=70.5Mhz, i.e FIMD divider at IP level will get set to 1(the required divider setting will be calculated and set by exynos_fimd_set_clock()) and hence peach-pit LCD still works fine. Signed-off-by: Ajay Kumar --- arch/arm/cpu/armv7/exynos/clock_init_exyn

[U-Boot] [PATCH 5/5] peach_pi: dts: Add lcd poweron delay

2014-12-05 Thread Ajay Kumar
Add some delay after powering up the peach_pi eDP panel, to make sure the panel is ready for link training. Signed-off-by: Ajay Kumar --- arch/arm/dts/exynos5800-peach-pi.dts |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/dts/exynos5800-peach-pi.dts b/arch/arm/dts/exynos5800

[U-Boot] [PATCH 4/5] exynos5420: Add LCD and LED powerup settings for peach-pi

2014-12-05 Thread Ajay Kumar
Add code to support powerup sequence for peach-pi LCD. Signed-off-by: Ajay Kumar --- board/samsung/smdk5420/smdk5420.c | 32 +--- 1 file changed, 21 insertions(+), 11 deletions(-) diff --git a/board/samsung/smdk5420/smdk5420.c b/board/samsung/smdk5420/smdk5420.c

[U-Boot] [PATCH 2/5] arm: exynos: add display clocks for Exynos5800

2014-12-05 Thread Ajay Kumar
Add get_lcd_clk and set_lcd_clk callbacks for Exynos5800 needed by exynos video driver. Signed-off-by: Ajay Kumar --- arch/arm/cpu/armv7/exynos/clock.c | 63 +++- arch/arm/include/asm/arch-exynos/clk.h |3 ++ 2 files changed, 64 insertions(+), 2 deletions

[U-Boot] [PATCH 1/5] Exynos5800: The Peach-Pi board does not have a Parade video bridge

2014-12-05 Thread Ajay Kumar
From: Sjoerd Simons Unlike the Peach-Pit board, there is no parade edp to lvds bridge on the Pi. So drop it from device-tree. Signed-off-by: Sjoerd Simons Acked-by: Simon Glass Tested-by: Simon Glass --- arch/arm/dts/exynos5800-peach-pi.dts |5 - 1 file changed, 5 deletions(-) diff

[U-Boot] [PATCH 0/5] peach_pi: Add support for FIMD and DP

2014-12-05 Thread Ajay Kumar
Add support for the eDP panel supported on peach_pi. Sjoerd Simons(1): [PATCH 1/5] Exynos5800: The Peach-Pi board does not have a Parade video bridge Ajay Kumar (4): [PATCH 2/5] arm: exynos: add display clocks for Exynos5800 [PATCH 3/5] Exynos5: Fix rpll_sdiv to support both peach-pit and

Re: [U-Boot] [PATCH 1/2] exynos5420: fix compilation without parade video

2014-11-24 Thread Ajay kumar
On Mon, Nov 24, 2014 at 8:45 PM, Sjoerd Simons wrote: > Not all exynos 5420 based devices with an LCD also have a parade LVDS > bridge. So make sure compilation doesn't break if CONFIG_LCD is enabled > and CONFIG_VIDEO_PARADE is not. > > Signed-off-by: Sjoerd Simons > --- > board/samsung/smdk542

Re: [U-Boot] [PATCH V4 0/9] peach_pit: Add support for FIMD, DP and parade chip

2014-09-05 Thread Ajay kumar
Hi Minkyu, On Fri, Sep 5, 2014 at 3:33 PM, Minkyu Kang wrote: > On 04/08/14 20:39, Ajay kumar wrote: >> +Minkyu >> >> On Mon, Aug 4, 2014 at 4:49 PM, Simon Glass wrote: >>> Hi, >>> >>> On 30 July 2014 03:11, Ajay Kumar wrote: >>&g

[U-Boot] [PATCH V5 8/9] ARM: exynos: peach_pit: Add DT nodes for fimd and parade bridge chip

2014-09-05 Thread Ajay Kumar
This patch adds DT properties for fimd and the parade bridge chip present on peach_pit. The panel supports 1366x768 resolution. Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- arch/arm/dts/exynos5420-peach-pit.dts | 30 ++ 1 file

[U-Boot] [PATCH V5 9/9] CONFIGS: peach-pit: Enable display for peach_pit board

2014-09-05 Thread Ajay Kumar
Enable drivers for FIMD, DP and parade bridge chip. Signed-off-by: Ajay Kumar --- include/configs/peach-pit.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/peach-pit.h b/include/configs/peach-pit.h index 76b8d7a..88c093f 100644 --- a/include/configs/peach

[U-Boot] [PATCH V5 6/9] ARM: exynos: Add missing declaration for gpio_direction_input

2014-09-05 Thread Ajay Kumar
This patch adds missing declaration for gpio_direction_input function, thereby helps in resolving compilation warnings. Signed-off-by: Ajay Kumar --- arch/arm/include/asm/arch-exynos/gpio.h |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-exynos/gpio.h b/arch

[U-Boot] [PATCH V5 7/9] exynos5420: add callbacks needed for exynos_fb driver

2014-09-05 Thread Ajay Kumar
Add initialization code for peach_pit panel, parade bridge chip, and backlight. Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- arch/arm/include/asm/arch-exynos/system.h |3 + board/samsung/smdk5420/smdk5420.c | 129 +++-- 2

[U-Boot] [PATCH V5 3/9] arm: exynos: Add get_lcd_clk and set_lcd_clk callbacks for Exynos5420

2014-09-05 Thread Ajay Kumar
Add get_lcd_clk and set_lcd_clk callbacks for Exynos5420 needed by exynos video driver. Also, configure ACLK_400_DISP1 as the parent for MUX_ACLK_400_DISP1_SUB_SEL. Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- arch/arm/cpu/armv7/exynos/clock.c | 83

[U-Boot] [PATCH V5 5/9] video: Add driver for Parade PS8625 dP to LVDS bridge

2014-09-05 Thread Ajay Kumar
From: Vadim Bendebury The initialization table comes from the "Illustration of I2C command for initialing PS8625" document supplied by Parade. Signed-off-by: Vadim Bendebury Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- drivers/video/Makefile |1

[U-Boot] [PATCH V5 4/9] video: exynos_fimd: Add framework to disable FIMD sysmmu

2014-09-05 Thread Ajay Kumar
On Exynos5420 and newer versions, the FIMD sysmmus are in "on state" by default. We have to disable them in order to make FIMD DMA work. This patch adds the required framework to exynos_fimd driver, and disables FIMD sysmmu on Exynos5420. Signed-off-by: Ajay Kumar --- ar

[U-Boot] [PATCH V5 0/9] peach_pit: Add support for FIMD, DP and parade chip

2014-09-05 Thread Ajay Kumar
ta cashe [PATCH 5/6] cros_ec: power: Add a tunnelled version of the tps65090 driver [PATCH 6/6] cros_ec: exynos: Use the correct tps65090 driver in each case Ajay Kumar (8): [PATCH V5 1/9] exynos_fb: Remove usage of static defines [PATCH V5 2/9] arm: exynos: Add RPLL for Exynos5420 [PATCH V5 3/

[U-Boot] [PATCH V5 2/9] arm: exynos: Add RPLL for Exynos5420

2014-09-05 Thread Ajay Kumar
RPLL is needed to drive the LCD panel on Exynos5420 based boards. Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- arch/arm/cpu/armv7/exynos/clock_init.h |3 +++ arch/arm/cpu/armv7/exynos/clock_init_exynos5.c | 13 + 2 files changed, 16

[U-Boot] [PATCH V5 1/9] exynos_fb: Remove usage of static defines

2014-09-05 Thread Ajay Kumar
LCD_XRES and LCD_YRES from the main config file. Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- arch/arm/include/asm/arch-exynos/system.h |1 + board/samsung/common/board.c | 15 ++ drivers/video/exynos_fb.c | 18 +-- include/configs

Re: [U-Boot] [PATCH V4 0/9] peach_pit: Add support for FIMD, DP and parade chip

2014-08-04 Thread Ajay kumar
+Minkyu On Mon, Aug 4, 2014 at 4:49 PM, Simon Glass wrote: > Hi, > > On 30 July 2014 03:11, Ajay Kumar wrote: >> Patchset V1: >> https://www.mail-archive.com/u-boot@lists.denx.de/msg140596.html >> >> Patchset V2: >> https://www.mail-archive.com/u-boot@list

[U-Boot] [PATCH V4 8/9] ARM: exynos: peach_pit: Add DT nodes for fimd and parade bridge chip

2014-07-30 Thread Ajay Kumar
This patch adds DT properties for fimd and the parade bridge chip present on peach_pit. The panel supports 1366x768 resolution. Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- arch/arm/dts/exynos5420-peach-pit.dts | 30 ++ 1 file

[U-Boot] [PATCH V4 9/9] CONFIGS: peach-pit: Enable display for peach_pit board

2014-07-30 Thread Ajay Kumar
Enable drivers for FIMD, DP and parade bridge chip. Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- include/configs/peach-pit.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/peach-pit.h b/include/configs/peach-pit.h index 76b8d7a

[U-Boot] [PATCH V4 3/9] arm: exynos: Add get_lcd_clk and set_lcd_clk callbacks for Exynos5420

2014-07-30 Thread Ajay Kumar
Add get_lcd_clk and set_lcd_clk callbacks for Exynos5420 needed by exynos video driver. Also, configure ACLK_400_DISP1 as the parent for MUX_ACLK_400_DISP1_SUB_SEL. Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- arch/arm/cpu/armv7/exynos/clock.c | 83

[U-Boot] [PATCH V4 4/9] video: exynos_fimd: Add framework to disable FIMD sysmmu

2014-07-30 Thread Ajay Kumar
On Exynos5420 and newer versions, the FIMD sysmmus are in "on state" by default. We have to disable them in order to make FIMD DMA work. This patch adds the required framework to exynos_fimd driver, and disables FIMD sysmmu on Exynos5420. Signed-off-by: Ajay Kumar Acked-by: S

[U-Boot] [PATCH V4 7/9] exynos5420: add callbacks needed for exynos_fb driver

2014-07-30 Thread Ajay Kumar
Add initialization code for peach_pit panel, parade bridge chip, and backlight. Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- arch/arm/include/asm/arch-exynos/system.h |3 + board/samsung/smdk5420/smdk5420.c | 129 +++-- 2

[U-Boot] [PATCH V4 1/9] exynos_fb: Remove usage of static defines

2014-07-30 Thread Ajay Kumar
LCD_XRES and LCD_YRES from the main config file. Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- arch/arm/include/asm/arch-exynos/system.h |1 + board/samsung/common/board.c | 15 +++ drivers/video/exynos_fb.c | 17

[U-Boot] [PATCH V4 6/9] ARM: exynos: Add missing declaration for gpio_direction_input

2014-07-30 Thread Ajay Kumar
This patch adds missing declaration for gpio_direction_input function, thereby helps in resolving compilation warnings. Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- arch/arm/include/asm/arch-exynos/gpio.h |1 + 1 file changed, 1 insertion(+) diff --git a

[U-Boot] [PATCH V4 0/9] peach_pit: Add support for FIMD, DP and parade chip

2014-07-30 Thread Ajay Kumar
the license for the file: parade.c Removed TEST_ONLY patches. Changes from V3: [PATCH V4 1/9] : Fix comment style. [PATCH V4 3/9] : Use 'else if' clause instead of 'if'. Ajay Kumar (8): [PATCH V4 1/9] exynos_fb: Remove usage of static defines [PATCH V4 2/9] arm: exynos: Add

[U-Boot] [PATCH V4 2/9] arm: exynos: Add RPLL for Exynos5420

2014-07-30 Thread Ajay Kumar
RPLL is needed to drive the LCD panel on Exynos5420 based boards. Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- arch/arm/cpu/armv7/exynos/clock_init.h |3 +++ arch/arm/cpu/armv7/exynos/clock_init_exynos5.c | 13 + 2 files changed, 16

[U-Boot] [PATCH V4 5/9] video: Add driver for Parade PS8625 dP to LVDS bridge

2014-07-30 Thread Ajay Kumar
From: Vadim Bendebury The initialization table comes from the "Illustration of I2C command for initialing PS8625" document supplied by Parade. Signed-off-by: Vadim Bendebury Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- drivers/video/Makefile |1

Re: [U-Boot] [PATCH V3 0/9] peach_pit: Add support for FIMD, DP and parade chip

2014-07-11 Thread Ajay kumar
Hi Minkyu, I think you can pick this series. This has been tested and Acked. Regards, Ajay Kumar On Fri, Jul 4, 2014 at 6:49 PM, Ajay Kumar wrote: > Patchset V1: > https://www.mail-archive.com/u-boot@lists.denx.de/msg140596.html > > Patchset V2: > https://www.mail-arc

Re: [U-Boot] [PATCH V3 4/9] video: exynos_fimd: Add framework to disable FIMD sysmmu

2014-07-10 Thread Ajay kumar
Hi Simon, On Fri, Jul 11, 2014 at 9:17 AM, Simon Glass wrote: > On 4 July 2014 07:19, Ajay Kumar wrote: >> >> On Exynos5420 and newer versions, the FIMD sysmmus are in >> "on state" by default. >> We have to disable them in order to make FIMD DMA work. >

Re: [U-Boot] [PATCH 6/6] cros_ec: exynos: Use the correct tps65090 driver in each case

2014-07-07 Thread Ajay kumar
OMPT "SMDK5420 # " > #define CONFIG_IDENT_STRING" for SMDK5420" > > +#define CONFIG_POWER_TPS65090_EC > + > #endif /* __CONFIG_SMDK5420_H */ > -- > 2.0.0.526.g5318336 > > ___ > U-Boot mailing list &g

Re: [U-Boot] [PATCH 5/6] cros_ec: power: Add a tunnelled version of the tps65090 driver

2014-07-07 Thread Ajay kumar
{ > + debug("%s: no cros_ec device: cannot init tps65090\n", > + __func__); > + return -1; > + } > + > + return 0; > +} > diff --git a/include/power/tps65090_pmic.h b/include/power/tps65090_pmic.h > index dcf99c9..531751d 100644 > --- a/include/power/tps65090_pmic.h > +++ b/include/power/tps65090_pmic.h > @@ -18,6 +18,12 @@ enum { > TPS65090_ST1_STATE_MASK = 0xf << TPS65090_ST1_STATE_SHIFT, > }; > > +/* FET errors */ > +enum { > + FET_ERR_COMMS = -1, /* FET comms error */ > + FET_ERR_NOT_READY = -2, /* FET is not yet ready - retry */ > +}; > + > /** > * Enable FET > * > -- > 2.0.0.526.g5318336 > > ___ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot Able to test display on peach_pit(which needs tps65090) with these patches. Also, crosec commands from u-boot prompt works as expected on peach_pit. Tested-by: Ajay Kumar ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 4/6] exynos5: Enable data cashe

2014-07-07 Thread Ajay kumar
0.0.526.g5318336 > > ___ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot Able to test display on peach_pit(which needs tps65090) with these patches. Also, crosec commands from u-boot prompt works as e

Re: [U-Boot] [PATCH 3/6] spi: Support half-duplex mode in FDT decode

2014-07-07 Thread Ajay kumar
gt; ___ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot Able to test display on peach_pit(which needs tps65090) with these patches. Also, crosec commands from u-boot prompt works as expected on peach_pit

Re: [U-Boot] [PATCH 2/6] exynos: spi: Fix calculation of SPI transaction start time

2014-07-07 Thread Ajay kumar
list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot Able to test display on peach_pit(which needs tps65090) with these patches. Also, crosec commands from u-boot prompt works as expected on peach_pit. Tested-by: Ajay Kumar ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/6] cros_ec: Fix two bugs in the SPI implementation

2014-07-07 Thread Ajay kumar
_ > U-Boot mailing list > U-Boot@lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot Able to test display on peach_pit(which needs tps65090) with these patches. Also, crosec commands from u-boot prompt works as expected on peach_pit. Tested-by: Ajay Kumar ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH V3 8/9] ARM: exynos: peach_pit: Add DT nodes for fimd and parade bridge chip

2014-07-04 Thread Ajay Kumar
This patch adds DT properties for fimd and the parade bridge chip present on peach_pit. The panel supports 1366x768 resolution. Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- arch/arm/dts/exynos5420-peach-pit.dts | 30 ++ 1 file

[U-Boot] [PATCH V3 9/9] CONFIGS: peach-pit: Enable display for peach_pit board

2014-07-04 Thread Ajay Kumar
Enable drivers for FIMD, DP and parade bridge chip. Signed-off-by: Ajay Kumar --- include/configs/peach-pit.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/peach-pit.h b/include/configs/peach-pit.h index 76b8d7a..88c093f 100644 --- a/include/configs/peach

[U-Boot] [PATCH V3 6/9] ARM: exynos: Add missing declaration for gpio_direction_input

2014-07-04 Thread Ajay Kumar
This patch adds missing declaration for gpio_direction_input function, thereby helps in resolving compilation warnings. Signed-off-by: Ajay Kumar --- arch/arm/include/asm/arch-exynos/gpio.h |1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-exynos/gpio.h b/arch

[U-Boot] [PATCH V3 7/9] exynos5420: add callbacks needed for exynos_fb driver

2014-07-04 Thread Ajay Kumar
Add initialization code for peach_pit panel, parade bridge chip, and backlight. Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- arch/arm/include/asm/arch-exynos/system.h |3 + board/samsung/smdk5420/smdk5420.c | 129 +++-- 2

[U-Boot] [PATCH V3 5/9] video: Add driver for Parade PS8625 dP to LVDS bridge

2014-07-04 Thread Ajay Kumar
From: Vadim Bendebury The initialization table comes from the "Illustration of I2C command for initialing PS8625" document supplied by Parade. Signed-off-by: Vadim Bendebury Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- drivers/video/Makefile |1

[U-Boot] [PATCH V3 4/9] video: exynos_fimd: Add framework to disable FIMD sysmmu

2014-07-04 Thread Ajay Kumar
On Exynos5420 and newer versions, the FIMD sysmmus are in "on state" by default. We have to disable them in order to make FIMD DMA work. This patch adds the required framework to exynos_fimd driver, and disables FIMD sysmmu on Exynos5420. Signed-off-by: Ajay Kumar --- ar

[U-Boot] [PATCH V3 3/9] arm: exynos: Add get_lcd_clk and set_lcd_clk callbacks for Exynos5420

2014-07-04 Thread Ajay Kumar
Add get_lcd_clk and set_lcd_clk callbacks for Exynos5420 needed by exynos video driver. Also, configure ACLK_400_DISP1 as the parent for MUX_ACLK_400_DISP1_SUB_SEL. Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- arch/arm/cpu/armv7/exynos/clock.c | 83

[U-Boot] [PATCH V3 2/9] arm: exynos: Add RPLL for Exynos5420

2014-07-04 Thread Ajay Kumar
RPLL is needed to drive the LCD panel on Exynos5420 based boards. Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- arch/arm/cpu/armv7/exynos/clock_init.h |3 +++ arch/arm/cpu/armv7/exynos/clock_init_exynos5.c | 13 + 2 files changed, 16

[U-Boot] [PATCH V3 1/9] exynos_fb: Remove usage of static defines

2014-07-04 Thread Ajay Kumar
LCD_XRES and LCD_YRES from the main config file. Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- arch/arm/include/asm/arch-exynos/system.h |1 + board/samsung/common/board.c | 15 +++ drivers/video/exynos_fb.c | 17

[U-Boot] [PATCH V3 0/9] peach_pit: Add support for FIMD, DP and parade chip

2014-07-04 Thread Ajay Kumar
te Simon's suggestion of not using else. [PATCH V2 4/10] : For FIMD SYSMMU DT, use same compatible string as kernel. [TEST_ONLY V2 6/10]: Make this patch TEST_ONLY Changes from V2: [PATCH V3 5/9] : Use SPDX tags to define the license for the file: parade.c Removed TEST_ONLY patches. Ajay Kumar (8)

Re: [U-Boot] [TEST_ONLY V2 10/10] Pit WIP

2014-06-26 Thread Ajay kumar
On Thu, Jun 26, 2014 at 4:19 PM, Wolfgang Denk wrote: > Dear Ajay kumar, > > In message > you > wrote: >> >> > In message <1403769668-2026-11-git-send-email-ajaykumar...@samsung.com> >> > you wrote: >> >> WIP patch to enable cros-ec o

Re: [U-Boot] [TEST_ONLY V2 10/10] Pit WIP

2014-06-26 Thread Ajay kumar
Hi Denk, On Thu, Jun 26, 2014 at 2:16 PM, Wolfgang Denk wrote: > Dear Ajay Kumar, > > In message <1403769668-2026-11-git-send-email-ajaykumar...@samsung.com> you > wrote: >> WIP patch to enable cros-ec on peach_pit. This Entire patch is a TEST_ONLY since it is still WIP

[U-Boot] [TEST_ONLY V2 10/10] Pit WIP

2014-06-26 Thread Ajay Kumar
WIP patch to enable cros-ec on peach_pit. Signed-off-by: Simon Glass --- drivers/misc/cros_ec_spi.c| 4 +- drivers/power/pmic/Makefile | 3 +- drivers/power/pmic/pmic_tps65090_ec.c | 212 ++ drivers/spi/exynos_spi.c | 9 +-

[U-Boot] [PATCH V2 07/10] exynos5420: add callbacks needed for exynos_fb driver

2014-06-26 Thread Ajay Kumar
Add initialization code for peach_pit panel, parade bridge chip, and backlight. Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- arch/arm/include/asm/arch-exynos/system.h | 3 + board/samsung/smdk5420/smdk5420.c | 129 +++--- 2 files

[U-Boot] [PATCH V2 04/10] video: exynos_fimd: Add framework to disable FIMD sysmmu

2014-06-26 Thread Ajay Kumar
On Exynos5420 and newer versions, the FIMD sysmmus are in "on state" by default. We have to disable them in order to make FIMD DMA work. This patch adds the required framework to exynos_fimd driver, and disables FIMD sysmmu on Exynos5420. Signed-off-by: Ajay Kumar --- ar

[U-Boot] [PATCH V2 03/10] arm: exynos: Add get_lcd_clk and set_lcd_clk callbacks for Exynos5420

2014-06-26 Thread Ajay Kumar
Add get_lcd_clk and set_lcd_clk callbacks for Exynos5420 needed by exynos video driver. Also, configure ACLK_400_DISP1 as the parent for MUX_ACLK_400_DISP1_SUB_SEL. Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- arch/arm/cpu/armv7/exynos/clock.c | 83

[U-Boot] [PATCH V2 09/10] CONFIGS: peach-pit: Enable display for peach_pit board

2014-06-26 Thread Ajay Kumar
Enable drivers for FIMD, DP and parade bridge chip. Signed-off-by: Ajay Kumar --- include/configs/peach-pit.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/peach-pit.h b/include/configs/peach-pit.h index 76b8d7a..88c093f 100644 --- a/include/configs/peach-pit.h

[U-Boot] [PATCH V2 02/10] arm: exynos: Add RPLL for Exynos5420

2014-06-26 Thread Ajay Kumar
RPLL is needed to drive the LCD panel on Exynos5420 based boards. Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- arch/arm/cpu/armv7/exynos/clock_init.h | 3 +++ arch/arm/cpu/armv7/exynos/clock_init_exynos5.c | 13 + 2 files changed, 16

[U-Boot] [PATCH V2 05/10] video: Add driver for Parade PS8625 dP to LVDS bridge

2014-06-26 Thread Ajay Kumar
From: Vadim Bendebury The initialization table comes from the "Illustration of I2C command for initialing PS8625" document supplied by Parade. Signed-off-by: Vadim Bendebury Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- drivers/video/Makefile | 1

[U-Boot] [PATCH V2 08/10] ARM: exynos: peach_pit: Add DT nodes for fimd and parade bridge chip

2014-06-26 Thread Ajay Kumar
This patch adds DT properties for fimd and the parade bridge chip present on peach_pit. The panel supports 1366x768 resolution. Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- arch/arm/dts/exynos5420-peach-pit.dts | 30 ++ 1 file changed

[U-Boot] [PATCH V2 01/10] exynos_fb: Remove usage of static defines

2014-06-26 Thread Ajay Kumar
LCD_XRES and LCD_YRES from the main config file. Signed-off-by: Ajay Kumar Acked-by: Simon Glass Tested-by: Simon Glass --- arch/arm/include/asm/arch-exynos/system.h | 1 + board/samsung/common/board.c | 15 +++ drivers/video/exynos_fb.c | 17

[U-Boot] [TEST_ONLY V2 06/10] ARM: exynos: Add missing declaration for gpio_direction_input

2014-06-26 Thread Ajay Kumar
This patch adds missing declaration for gpio_direction_input function, thereby helps in resolving compilation warnings. Signed-off-by: Ajay Kumar --- arch/arm/include/asm/arch-exynos/gpio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-exynos/gpio.h b/arch/arm

[U-Boot] [PATCH V2 00/10] peach_pit: Add support for FIMD, DP and parade chip

2014-06-26 Thread Ajay Kumar
from V1: [PATCH V2 3/10] : Don't mix cpu_is and proid_isas per Minkyu's suggestion. Also, incorporate Simon's suggestion of not using else. [PATCH V2 4/10] : For FIMD SYSMMU DT, use same compatible string as kernel. [TEST_ONLY V2 6/10]: Make this patch TEST_ONLY

Re: [U-Boot] [PATCH 03/10] arm: exynos: Add get_lcd_clk and set_lcd_clk callbacks for Exynos5420

2014-06-24 Thread Ajay kumar
On Tue, Jun 24, 2014 at 7:36 AM, Minkyu Kang wrote: > On 24/06/14 20:28, Ajay kumar wrote: >> Hi Minkyu, >> >> On Tue, Jun 24, 2014 at 3:36 AM, Minkyu Kang wrote: >>> On 17/06/14 18:06, Ajay Kumar wrote: >>>> Add get_lcd_clk and set_lcd_clk callbacks

Re: [U-Boot] [PATCH 03/10] arm: exynos: Add get_lcd_clk and set_lcd_clk callbacks for Exynos5420

2014-06-24 Thread Ajay kumar
Hi Minkyu, On Tue, Jun 24, 2014 at 3:36 AM, Minkyu Kang wrote: > On 17/06/14 18:06, Ajay Kumar wrote: >> Add get_lcd_clk and set_lcd_clk callbacks for Exynos5420 needed by >> exynos video driver. >> Also, configure ACLK_400_DISP1 as the parent for MUX_ACLK_400_DISP1_SUB_SEL

Re: [U-Boot] [PATCH 04/10] video: exynos_fimd: Add framework to disable FIMD sysmmu

2014-06-24 Thread Ajay kumar
Simon, On Mon, Jun 23, 2014 at 5:45 PM, Simon Glass wrote: > Hi Ajay, > > On 20 June 2014 00:42, Ajay kumar wrote: >> Hi Simon, >> >> >> On Fri, Jun 20, 2014 at 8:59 AM, Simon Glass wrote: >>> On 17 June 2014 03:06, Ajay Kumar wrote: >>>>

Re: [U-Boot] [PATCH 04/10] video: exynos_fimd: Add framework to disable FIMD sysmmu

2014-06-19 Thread Ajay kumar
Hi Simon, On Fri, Jun 20, 2014 at 8:59 AM, Simon Glass wrote: > On 17 June 2014 03:06, Ajay Kumar wrote: >> On Exynos5420 and newer versions, the FIMD sysmmus are in >> "on state" by default. >> We have to disable them in order to make FIMD DMA work. >> T

Re: [U-Boot] [PATCH 09/10] CONFIGS: peach-pit: Enable display for peach_pit board

2014-06-19 Thread Ajay kumar
Simon, On Fri, Jun 20, 2014 at 9:08 AM, Simon Glass wrote: > Hi Ajay, > > On 17 June 2014 03:06, Ajay Kumar wrote: >> Enable drivers for FIMD, DP and parade bridge chip. >> >> Signed-off-by: Ajay Kumar >> --- >> include/configs/peach-pit.h | 10 +

[U-Boot] [PATCH 10/10] Pit WIP

2014-06-17 Thread Ajay Kumar
From: Simon Glass WIP patch to enable cros-ec on peach_pit. Signed-off-by: Simon Glass --- drivers/misc/cros_ec_spi.c| 4 +- drivers/power/pmic/Makefile | 3 +- drivers/power/pmic/pmic_tps65090_ec.c | 212 ++ drivers/spi/exynos_spi.c

[U-Boot] [PATCH 08/10] ARM: exynos: peach_pit: Add DT nodes for fimd and parade bridge chip

2014-06-17 Thread Ajay Kumar
This patch adds DT properties for fimd and the parade bridge chip present on peach_pit. The panel supports 1366x768 resolution. Signed-off-by: Ajay Kumar --- arch/arm/dts/exynos5420-peach-pit.dts | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/dts

[U-Boot] [PATCH 07/10] exynos5420: add callbacks needed for exynos_fb driver

2014-06-17 Thread Ajay Kumar
Add initialization code for peach_pit panel, parade bridge chip, and backlight. Signed-off-by: Ajay Kumar --- arch/arm/include/asm/arch-exynos/system.h | 3 + board/samsung/smdk5420/smdk5420.c | 129 +++--- 2 files changed, 50 insertions(+), 82 deletions

[U-Boot] [PATCH 09/10] CONFIGS: peach-pit: Enable display for peach_pit board

2014-06-17 Thread Ajay Kumar
Enable drivers for FIMD, DP and parade bridge chip. Signed-off-by: Ajay Kumar --- include/configs/peach-pit.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/peach-pit.h b/include/configs/peach-pit.h index 76b8d7a..88c093f 100644 --- a/include/configs/peach-pit.h

[U-Boot] [PATCH 02/10] arm: exynos: Add RPLL for Exynos5420

2014-06-17 Thread Ajay Kumar
RPLL is needed to drive the LCD panel on Exynos5420 based boards. Signed-off-by: Ajay Kumar --- arch/arm/cpu/armv7/exynos/clock_init.h | 3 +++ arch/arm/cpu/armv7/exynos/clock_init_exynos5.c | 13 + 2 files changed, 16 insertions(+) diff --git a/arch/arm/cpu/armv7/exynos

[U-Boot] [PATCH 06/10] ARM: exynos: Add missing declaration for gpio_direction_input

2014-06-17 Thread Ajay Kumar
This patch adds missing declaration for gpio_direction_input function, thereby helps in resolving compilation warnings. Signed-off-by: Ajay Kumar --- arch/arm/include/asm/arch-exynos/gpio.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/include/asm/arch-exynos/gpio.h b/arch/arm

[U-Boot] [PATCH 03/10] arm: exynos: Add get_lcd_clk and set_lcd_clk callbacks for Exynos5420

2014-06-17 Thread Ajay Kumar
Add get_lcd_clk and set_lcd_clk callbacks for Exynos5420 needed by exynos video driver. Also, configure ACLK_400_DISP1 as the parent for MUX_ACLK_400_DISP1_SUB_SEL. Signed-off-by: Ajay Kumar --- arch/arm/cpu/armv7/exynos/clock.c | 74 +-- arch/arm/cpu/armv7

[U-Boot] [PATCH 04/10] video: exynos_fimd: Add framework to disable FIMD sysmmu

2014-06-17 Thread Ajay Kumar
On Exynos5420 and newer versions, the FIMD sysmmus are in "on state" by default. We have to disable them in order to make FIMD DMA work. This patch adds the required framework to exynos_fimd driver, and disables FIMD sysmmu on Exynos5420. Signed-off-by: Ajay Kumar --- ar

[U-Boot] [PATCH 00/10] peach_pit: Add support for FIMD, DP and parade chip

2014-06-17 Thread Ajay Kumar
ay on exynos5420 based peach_pit board. The last patch is TEST_ONLY, and it adds support for cros-ec on peach_pit. Simon will be sending a proper patchset for the same. Ajay Kumar (9): [PATCH 1/10] exynos_fb: Remove usage of static defines [PATCH 2/10] arm: exynos: Add RPLL for Exynos5420 [PATCH

[U-Boot] [PATCH 01/10] exynos_fb: Remove usage of static defines

2014-06-17 Thread Ajay Kumar
LCD_XRES and LCD_YRES from the main config file. Signed-off-by: Ajay Kumar --- arch/arm/include/asm/arch-exynos/system.h | 1 + board/samsung/common/board.c | 15 +++ drivers/video/exynos_fb.c | 17 + include/configs/exynos5250-dt.h

[U-Boot] [PATCH 05/10] video: Add driver for Parade PS8625 dP to LVDS bridge

2014-06-17 Thread Ajay Kumar
From: Vadim Bendebury The initialization table comes from the "Illustration of I2C command for initialing PS8625" document supplied by Parade. Signed-off-by: Vadim Bendebury Signed-off-by: Ajay Kumar --- drivers/video/Makefile | 1 + drivers/video/para

  1   2   3   >