public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Minkyu Kang <mk7.kang@samsung.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] odroid: Turn blue LED on
Date: Mon, 24 Nov 2014 11:22:04 +0900	[thread overview]
Message-ID: <5472964C.4050602@samsung.com> (raw)
In-Reply-To: <1416268255-8925-1-git-send-email-suriyan.r@gmail.com>

Dear Suriyan Ramasami,

On 18/11/14 08:50, Suriyan Ramasami wrote:
> To indicate that U-Boot is active, turn on the blue LED.
> 
> Signed-off-by: Suriyan Ramasami <suriyan.r@gmail.com>
> 
> ---
> 
> Changes in v2:
> - Przemyslaw Marczak, Add gpio_request call.
> 
> Changes in v1:
> - First try
> 
>  board/samsung/odroid/odroid.c | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/board/samsung/odroid/odroid.c b/board/samsung/odroid/odroid.c
> index 33003ee..e1a86f9 100644
> --- a/board/samsung/odroid/odroid.c
> +++ b/board/samsung/odroid/odroid.c
> @@ -382,6 +382,11 @@ 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);
> +
> +	/* Blue LED (Odroid X2/U2/U3) */
> +	gpio_request(EXYNOS4X12_GPIO_C10, "Blue LED");
> +
> +	gpio_direction_output(EXYNOS4X12_GPIO_C10, 0);
>  }
>  
>  static int pmic_init_max77686(void)
> 

Because board_gpio_init was changed by you, please rebase this patch.

Thanks,
Minkyu Kang.

      parent reply	other threads:[~2014-11-24  2:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-17 23:50 [U-Boot] [PATCH v2] odroid: Turn blue LED on Suriyan Ramasami
2014-11-18 11:23 ` Przemyslaw Marczak
2014-11-24  2:22 ` Minkyu Kang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5472964C.4050602@samsung.com \
    --to=mk7.kang@samsung.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox