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 7A344C001B3 for ; Mon, 3 Jul 2023 19:37:03 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E7CCB86675; Mon, 3 Jul 2023 21:37:00 +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=1688413021; bh=EvUcgjq4nzWuKnVfaJcITsYuzNGasgAb4mPbAqAXN1M=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=nXj8GlYParraAFyEFBUCgFfJ8clfTxvWfb6YDqjuCtyr4cyjy/yq3Yh1u2WSn9sj0 Xk1faXLX3KLEMplVdp4S0q0NbkvHP9GZFHMrS6vCx0o+8iA30f8Bxqf21pkjxnVWf/ PPzZRJ6wjBFlxsGbJJ0QKgP3Z/b2s1fh9BCRO1kcEN5qxTJ0Y/vZeGba2uomOEqGrI Wjj3JLh5/gVxpP4M13RDTMmFppalhdrbQzMC74irUz6JPUo9S4H8BjXLOJOBQXHfSG wZHHXVVztx8u433pXtCKMayMYEjIg4csmO/8GF/83LVzOoR8CCE+Z7zGWKoms7Tr/c CnoFRXEwQ9SFQ== 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 5687586621; Mon, 3 Jul 2023 21:36:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1688413018; bh=EvUcgjq4nzWuKnVfaJcITsYuzNGasgAb4mPbAqAXN1M=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=CyPovq4zY/tlQ8zajPnZ/bZclZPo1yJ11NMIymaRZFf4AQxKIW0MFrFeVgfOZbQxy BFiX1rCmHcnmy6rQGBJgLZ+M5GZviChNbdkZJhBQDYjnBNdyrgD0ygt+gz5ijEE6SV o3XCSeOjOYfyLJwVkoi/wo2NKaBcAkM1Nns5MkD4qdoYO9zcPfxZSOISNfCYgE3b3w LetfZYSgUORW+IlU3TVuQ5+WaBDewG33oz7MY00iOIN8Z83dJgw70IFk48LyjE+x+W Oc7aor/QiMxGMx8yKbG1/B9M/E7fZTUoPVm6Zgxw/WVmAOzo1EDshKdqCI6IBZyzUU /ZoMuqY+Cksog== Message-ID: Date: Mon, 3 Jul 2023 21:36:57 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH 1/2] mxs: Fix VDDx brownout interrupt disable/enable To: Cody Green , u-boot@lists.denx.de Cc: Stefano Babic , Fabio Estevam , Lukasz Majewski References: <20230703183331.108327-1-cody@londelec.com> Content-Language: en-US From: Marek Vasut In-Reply-To: <20230703183331.108327-1-cody@londelec.com> 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/3/23 20:33, Cody Green wrote: > On Mon, Jul 3, 2023 at 5:40 PM Marek Vasut wrote: >> >> On 7/3/23 18:33, Cody Green wrote: >>> HW_POWER_CTRL register contains brownout interrupt >>> enable bits ENIRQ_VDDIO_BO, ENIRQ_VDDA_BO and >>> ENIRQ_VDDD_BO. >> >> So what does this patch do (that is missing in the commit message) ? > > There are incorrect registers HW_POWER_VDDIOCTRL, HW_POWER_VDDACTRL > and HW_POWER_VDDDCTRL used in the current code to disable/enable > brownout interrupts in 'mxs_power_set_vddx()'. This patch ensures the > correct register HW_POWER_CTRL is used. > Sorry for the unspecific commit message, I will amend the patch. Much better, thank you. Also CC Lukasz (on CC here) on V2.