public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: Philippe Coval <rzr@users.sf.net>
Cc: u-boot@lists.denx.de, Olliver Schinagl <oliver@schinagl.nl>,
	Priit Laes <plaes@plaes.org>,
	Maxime Ripard <maxime.ripard@bootlin.com>,
	Hans de Goede <hdegoede@redhat.com>,
	Jagan Teki <jagan@amarulasolutions.com>,
	Sam Edwards <CFSworks@gmail.com>,
	Samuel Holland <samuel@sholland.org>,
	Tom Rini <trini@konsulko.com>
Subject: Re: [PATCH v2] arm: sunxi: Reduce inrush current on Olimex A20-OLinuXino_MICRO configs
Date: Sun, 11 Feb 2024 23:43:59 +0000	[thread overview]
Message-ID: <20240211234359.3d217873@minigeek.lan> (raw)
In-Reply-To: <20240211205227.503969-1-rzr@users.sf.net>

On Sun, 11 Feb 2024 21:52:13 +0100
Philippe Coval <rzr@users.sf.net> wrote:

Hi Philippe,

> This change fix reboot, both configurations
> were tested on my Olimex A20 Micro Rev E with debian-12.
> 
> This issue was also present and fixed on A20 Lime2 (in 8311e84b18),
> quoting Olliver Schinagl:
> 
>     The lime2 features a too large capacitor on the LDO3 output, which
>     causes the PMIC to shutdown when enabling power. To be able to still
>     boot up however, we must gradually enable power on LDO3 for this board.
>     We do this by enabling both the inrush quirk and the maximum slope the
>     AXP209 supports.
> 
> Link: https://bugs.debian.org/1060752
> Cc: Olliver Schinagl <oliver@schinagl.nl>
> Cc: Priit Laes <plaes@plaes.org>
> Cc: Maxime Ripard <maxime.ripard@bootlin.com>
> Signed-off-by: Philippe Coval <rzr@users.sf.net>

Thanks for the changes, this looks good to me now.

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

I will queue this for the sunxi/master.

Cheers,
Andre

> ---
> 
> Changes in v2:
> - Add qirk to eMMC configuration of same machine
> 
>  configs/A20-OLinuXino_MICRO-eMMC_defconfig | 1 +
>  configs/A20-OLinuXino_MICRO_defconfig      | 1 +
>  2 files changed, 2 insertions(+)
> 
> diff --git a/configs/A20-OLinuXino_MICRO-eMMC_defconfig b/configs/A20-OLinuXino_MICRO-eMMC_defconfig
> index ca5869f43d..2f26b0ca01 100644
> --- a/configs/A20-OLinuXino_MICRO-eMMC_defconfig
> +++ b/configs/A20-OLinuXino_MICRO-eMMC_defconfig
> @@ -20,6 +20,7 @@ CONFIG_ETH_DESIGNWARE=y
>  CONFIG_MII=y
>  CONFIG_SUN7I_GMAC=y
>  CONFIG_SUN7I_GMAC_FORCE_TXERR=y
> +CONFIG_AXP_ALDO3_INRUSH_QUIRK=y
>  CONFIG_AXP_ALDO3_VOLT=2800
>  CONFIG_AXP_ALDO4_VOLT=2800
>  CONFIG_SCSI=y
> diff --git a/configs/A20-OLinuXino_MICRO_defconfig b/configs/A20-OLinuXino_MICRO_defconfig
> index db4270f9b2..673ab85c8a 100644
> --- a/configs/A20-OLinuXino_MICRO_defconfig
> +++ b/configs/A20-OLinuXino_MICRO_defconfig
> @@ -20,6 +20,7 @@ CONFIG_ETH_DESIGNWARE=y
>  CONFIG_MII=y
>  CONFIG_SUN7I_GMAC=y
>  CONFIG_SUN7I_GMAC_FORCE_TXERR=y
> +CONFIG_AXP_ALDO3_INRUSH_QUIRK=y
>  CONFIG_AXP_ALDO3_VOLT=2800
>  CONFIG_AXP_ALDO4_VOLT=2800
>  CONFIG_SCSI=y


      reply	other threads:[~2024-02-11 23:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-11 20:52 [PATCH v2] arm: sunxi: Reduce inrush current on Olimex A20-OLinuXino_MICRO configs Philippe Coval
2024-02-11 23:43 ` 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=20240211234359.3d217873@minigeek.lan \
    --to=andre.przywara@arm.com \
    --cc=CFSworks@gmail.com \
    --cc=hdegoede@redhat.com \
    --cc=jagan@amarulasolutions.com \
    --cc=maxime.ripard@bootlin.com \
    --cc=oliver@schinagl.nl \
    --cc=plaes@plaes.org \
    --cc=rzr@users.sf.net \
    --cc=samuel@sholland.org \
    --cc=trini@konsulko.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