All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: Arnaud Ferraris <arnaud.ferraris@collabora.com>
Cc: u-boot@lists.denx.de, Jagan Teki <jagan@amarulasolutions.com>,
	Samuel Holland <samuel@sholland.org>,
	Maxime Ripard <mripard@kernel.org>,
	Arnaud Ferraris <arnaud.ferraris@gmail.com>
Subject: Re: [PATCH 2/2] pinephone_defconfig: add support for early-boot status LED
Date: Tue, 7 Sep 2021 00:46:36 +0100	[thread overview]
Message-ID: <20210907004636.014e2bcc@slackpad.fritz.box> (raw)
In-Reply-To: <20210906205753.176175-3-arnaud.ferraris@collabora.com>

On Mon,  6 Sep 2021 22:57:53 +0200
Arnaud Ferraris <arnaud.ferraris@collabora.com> wrote:

> From: Arnaud Ferraris <arnaud.ferraris@gmail.com>
> 
> This commit enables the green status LED (PD18/GPIO 114) on boot in the
> SPL, in order to provide visual feedback that the PinePhone is booting.

Looks alright, and while I don't have a Pinephone to test this, I tried
the similar setting on a Pine64-LTS. It should be noted that this
increases the SPL by 364 bytes (in my setup), which kills the Pine H64,
for instance. But it looks fine for A64 boards.
 
> Signed-off-by: Arnaud Ferraris <arnaud.ferraris@collabora.com>

Reviewed-by: Andre Przywara <andre.przywara@arm.com>

Cheers,
Andre

> ---
>  configs/pinephone_defconfig | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/configs/pinephone_defconfig b/configs/pinephone_defconfig
> index 64e13d3132..9d39204a43 100644
> --- a/configs/pinephone_defconfig
> +++ b/configs/pinephone_defconfig
> @@ -1,6 +1,7 @@
>  CONFIG_ARM=y
>  CONFIG_ARCH_SUNXI=y
>  CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-pinephone-1.2"
> +CONFIG_SPL_DRIVERS_MISC=y
>  CONFIG_SPL=y
>  CONFIG_MACH_SUN50I=y
>  CONFIG_SUNXI_DRAM_LPDDR3_STOCK=y
> @@ -10,3 +11,8 @@ CONFIG_MMC_SUNXI_SLOT_EXTRA=2
>  CONFIG_PINEPHONE_DT_SELECTION=y
>  # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
>  CONFIG_OF_LIST="sun50i-a64-pinephone-1.1 sun50i-a64-pinephone-1.2"
> +CONFIG_LED_STATUS=y
> +CONFIG_LED_STATUS_GPIO=y
> +CONFIG_LED_STATUS0=y
> +CONFIG_LED_STATUS_BIT=114
> +CONFIG_LED_STATUS_STATE=2


      reply	other threads:[~2021-09-06 23:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-06 20:57 [PATCH] PinePhone: enable LED on boot for improved visual feedback Arnaud Ferraris
2021-09-06 20:57 ` [PATCH 1/2] board: sunxi: enable status LED early Arnaud Ferraris
2021-09-06 23:46   ` Andre Przywara
2021-09-07 11:41     ` Arnaud Ferraris
2021-09-07 22:42       ` Andre Przywara
2021-09-06 20:57 ` [PATCH 2/2] pinephone_defconfig: add support for early-boot status LED Arnaud Ferraris
2021-09-06 23:46   ` Andre Przywara [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=20210907004636.014e2bcc@slackpad.fritz.box \
    --to=andre.przywara@arm.com \
    --cc=arnaud.ferraris@collabora.com \
    --cc=arnaud.ferraris@gmail.com \
    --cc=jagan@amarulasolutions.com \
    --cc=mripard@kernel.org \
    --cc=samuel@sholland.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.