Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 630A5EB64D9 for ; Mon, 10 Jul 2023 21:50:20 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 20400867CB; Mon, 10 Jul 2023 23:50:12 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1689025812; bh=LCex50n1niiC2Wsr52CNFnHSuprq2WgDMPQWty010rc=; h=Date:Subject:From:To:Cc:References:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=JA2PhlXA+zK36jpTi6gYC5CZ7b+csJMjR8dSlwvbB7ZH8IYE41hpvn3MmIKzegpNC ao5wVSlcp/EsRl4+pN58AXn7uXT6/nRL+gO4Lmr0ftpH4g8/7qFBn4hw2PQzBh3VXA 8wUKGEilcssj+nt83Qq32iT5qERO5/Fvfiksv0xlHgwnf00CZskHsh27SDf0I8NsS4 OvaIUL4qbkfdhZErKwE8bN5TkqhVRZcuz9uq5oeehIisn/bqMUCkkYdhdn6L0FUAVU mgzD6mumbAbj78kBrXX205o0jWgqh9VOisowb4KEDfY14CIb57uNHZxNLH9kTI+KuL dOoOnf5eY++zg== Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id E73E7867A0; Mon, 10 Jul 2023 23:50:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1689025807; bh=LCex50n1niiC2Wsr52CNFnHSuprq2WgDMPQWty010rc=; h=Date:Subject:From:To:Cc:References:In-Reply-To:From; b=ZAAVHxH2vadbT0bpK8RitolkPdx3bHBei3DA4OvVzd0XN0e/GzNq3TNLciFoiwSWd etWqfXi4PosSbC4TLMXTz4yFPchY46OWEbDFkQvemMi9wmsKICHw9ZbH89epVjUCGh dJWiJUMqXzUYn+78Q0QHYsqi0RihvBxXuERlWsMZxticsQWSB19sQmAU8llF4RMAfI smWtYnL2u94eEIqk+uaTxPqp9zvk6jTO0xD2w+NmOBUUUqOh/VzSTrWEWcM9ise5EG HlyumNupQLouDyiRcoxKSoYKX1klXpJNrjbGrpojkXzEmo3ElJSbLl9bw4x0/lRH13 qL23XFzD068Aw== Message-ID: <80feeb5a-0bbb-86ab-bb73-eb322b90f527@denx.de> Date: Mon, 10 Jul 2023 23:45:54 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH] ARM: stm32: Power cycle Buck3 in reset on DHSOM Content-Language: en-US From: Marek Vasut To: u-boot@lists.denx.de Cc: Patrice Chotard , Patrick Delaunay , uboot-stm32@st-md-mailman.stormreply.com, Tom Rini , u-boot@dh-electronics.com References: <20230517220239.329807-1-marex@denx.de> <586cdbf2-e994-70f5-43a9-1af8214c9118@denx.de> In-Reply-To: <586cdbf2-e994-70f5-43a9-1af8214c9118@denx.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean On 7/4/23 23:55, Marek Vasut wrote: > On 5/18/23 00:02, Marek Vasut wrote: >> In case the DHSOM is in suspend state and either reset button is pushed >> or IWDG2 triggers a watchdog reset, then DRAM initialization could fail >> as follows: >> >>    " >>    RAM: DDR3L 32bits 2x4Gb 533MHz >>    DDR invalid size : 0x4, expected 0x40000000 >>    DRAM init failed: -22 >>    ### ERROR ### Please RESET the board ### >>    " >> >> Avoid this failure by not keeping any Buck regulators enabled during >> reset, >> let the SoC and DRAMs power cycle fully. Since the change which keeps >> Buck3 >> VDD enabled during reset is ST specific, move this addition to ST >> specific >> SPL board initialization so that it wouldn't affect the DHSOM . >> >> Signed-off-by: Marek Vasut >> --- >> NOTE: This is 2023.07 material > > I don't see this one in 2023.07 yet, can you please pick it and send PR? Sadly, this bugfix has not made it into 2023.07, even though the fix was posted a month and half before the actual release.