odroid: Turn blue LED on in u-boot
PATCH 1/1 odroid: Turn blue LED on in u-boot
To indicate that u-boot is active turn on the blue LED.
--- board/samsung/odroid/odroid.c | 3 +++ 1 file changed, 3 insertions(+)
board/samsung/odroid/odroid.c +3 -0
@@ -374,6 +374,9 @@ static void board_gpio_init(void)gpio_set_pull (EXYNOS4X12_GPIO_X31 ,S5P_GPIO_PULL_UP );gpio_set_drv (EXYNOS4X12_GPIO_X31 ,S5P_GPIO_DRV_4X );gpio_direction_input (EXYNOS4X12_GPIO_X31 ); + +/* Enable blue LED */ +gpio_direction_output (EXYNOS4X12_GPIO_C10 ,0 ); }static int pmic_init_max77686 (void )
Signature · 1 line
1.9.1
PATCH 1/1 odroid: Turn blue LED on in u-boot
Hello Suriyan,
Quoted 12 lines · Suriyan Ramasami
To indicate that u-boot is active turn on the blue LED.
Signed-off-by Suriyan Ramasami <[email protected]>--- board/samsung/odroid/odroid.c | 3 +++ 1 file changed, 3 insertions(+)board/samsung/odroid/odroid.c +0
-0
board/samsung/odroid/odroid.c static void board_gpio_init(void) · line 378
Quoted 5 lines
board/samsung/odroid/odroid.c +2
-0@@ -374,6 +374,9 @@ static void board_gpio_init(void)gpio_set_pull (EXYNOS4X12_GPIO_X31 ,S5P_GPIO_PULL_UP );gpio_set_drv (EXYNOS4X12_GPIO_X31 ,S5P_GPIO_DRV_4X );gpio_direction_input (EXYNOS4X12_GPIO_X31 ); + +/* Enable blue LED */
Here you will need to add gpio_request() call, e.g.
http://patchwork.ozlabs.org/patch/403197/
board/samsung/odroid/odroid.c static void board_gpio_init(void) · line 382
Quoted 5 lines
board/samsung/odroid/odroid.c +1
-0+gpio_direction_output (EXYNOS4X12_GPIO_C10 ,0 ); }static int pmic_init_max77686 (void )
This looks good, but please wait until the patch series merge:
http://patchwork.ozlabs.org/patch/403186/ (starts from this commit)
Best regards,
Signature · 4 lines
Przemyslaw Marczak Samsung R&D Institute Poland Samsung Electronics p.marczak at samsung.com
PATCH 1/1 odroid: Turn blue LED on in u-boot
Hello Przemyslaw Marczak,
Quoted 11 lines · Przemyslaw Marczak
Hello Suriyan,
Quoted 8 lines · Suriyan Ramasami
To indicate that u-boot is active turn on the blue LED.
Signed-off-by Suriyan Ramasami <[email protected]>--- board/samsung/odroid/odroid.c | 3 +++ 1 file changed, 3 insertions(+)
Quoted 15 lines
board/samsung/odroid/odroid.c static void board_gpio_init(void) · line 378
Quoted 10 lines
board/samsung/odroid/odroid.c +2
-0@@ -374,6 +374,9 @@ static void board_gpio_init(void)gpio_set_pull (EXYNOS4X12_GPIO_X31 ,S5P_GPIO_PULL_UP );gpio_set_drv (EXYNOS4X12_GPIO_X31 ,S5P_GPIO_DRV_4X );gpio_direction_input (EXYNOS4X12_GPIO_X31 ); + +/* Enable blue LED */ Here you will need to add
gpio_request()call, e.g.
http://patchwork.ozlabs.org/patch/403197/
OK, I shall do that.
Quoted 10 lines
board/samsung/odroid/odroid.c static void board_gpio_init(void) · line 382
Quoted 6 lines
board/samsung/odroid/odroid.c +1
-0+gpio_direction_output (EXYNOS4X12_GPIO_C10 ,0 ); }static int pmic_init_max77686 (void )This looks good, but please wait until the patch series merge:
http://patchwork.ozlabs.org/patch/403186/ (starts from this commit)
OK, I shall send a v2 with the gpio_request() call after the patch series you have mentioned merges.
Thanks!
- Suriyan
Quoted 6 lines
Best regards,
--
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com
PATCH 1/1 odroid: Turn blue LED on in u-boot
Hello,
Quoted 40 lines · Suriyan Ramasami
Hello Przemyslaw Marczak,
Quoted 11 lines · Przemyslaw Marczak
Hello Suriyan,
Quoted 8 lines · Suriyan Ramasami
To indicate that u-boot is active turn on the blue LED.
Signed-off-by Suriyan Ramasami <[email protected]>--- board/samsung/odroid/odroid.c | 3 +++ 1 file changed, 3 insertions(+)Quoted 15 lines
board/samsung/odroid/odroid.c static void board_gpio_init(void) · line 378
Quoted 10 lines
board/samsung/odroid/odroid.c +2
-0@@ -374,6 +374,9 @@ static void board_gpio_init(void)gpio_set_pull (EXYNOS4X12_GPIO_X31 ,S5P_GPIO_PULL_UP );gpio_set_drv (EXYNOS4X12_GPIO_X31 ,S5P_GPIO_DRV_4X );gpio_direction_input (EXYNOS4X12_GPIO_X31 ); + +/* Enable blue LED */ Here you will need to add
gpio_request()call, e.g.
http://patchwork.ozlabs.org/patch/403197/OK, I shall do that.
Quoted 7 lines
Quoted 6 lines
board/samsung/odroid/odroid.c +1
-0+gpio_direction_output (EXYNOS4X12_GPIO_C10 ,0 ); }static int pmic_init_max77686 (void )
Quoted 16 lines
Quoted 3 lines
This looks good, but please wait until the patch series merge:
http://patchwork.ozlabs.org/patch/403186/ (starts from this commit)OK, I shall send a v2 with the
gpio_request()call after the patch series you have mentioned merges.
Thanks!
- SuriyanQuoted 6 lines
Best regards,
--
Przemyslaw Marczak
Samsung R&D Institute Poland
Samsung Electronics
p.marczak at samsung.com
Some of my patches require resending, and I will do it today evening.
Best regards,
Signature · 4 lines
Przemyslaw Marczak Samsung R&D Institute Poland Samsung Electronics p.marczak at samsung.com