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 9A075C77B7A for ; Fri, 19 May 2023 12:43:04 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 464E385EAD; Fri, 19 May 2023 14:43:02 +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=1684500182; bh=yU1kH6ZjWxx2eDwUkRf+CuCyXRLNNUfIgv0UowLpEpo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=sAHvGdf/bblB58DO2H4OFJUY1C3m8oMkovFooFKiZlspf2wCUgG5IrTtsVsHLY+6L yWYhUt/nJIegRyLCBBEAzehGE2+Z1Ny97yKs4pXQuYaS2ztiM/COdN6xohqVR7DpIS p1d7H2F6mSVL9Q6mB8Ly3wzuWkVu0QVu1o4rc0Bq15ZM198+XR0CYb7VJgtr517IWd TG1TwhkIqrXamofklk1PcoXOWu5773eS67kcCoX/vPDSrLQbQU47Zw8P2LCqeVXxjX FY6ZewjfPlG19ksHEIAeHY8/gLFkRX1oLnQI7WYq/Qcr+mpYNRTY4pqfTS/efdhz9Y YhvNbLlJaCXOQ== 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 9498684785; Fri, 19 May 2023 14:43:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1684500181; bh=yU1kH6ZjWxx2eDwUkRf+CuCyXRLNNUfIgv0UowLpEpo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=dC/vhvwpzXIlUsjp75AKz4PJW/czry94lRXknobmOrF0SzJpZIu4emTbJR8NmWwup 52XRTFCtUeymWuzO1ypCijkYF87veYhs/tyv0a6hOWk/mas7BvSY4h+RQsEUS+a9cU vn6nEmLTzw8JXM4IZDb5P4shnsSyXMo02w1xh18PoGF6MT7BIw1yowtC7z1/vVGhg2 VYkR+e0m2+7tqVm5LeyGUXxheTrFkbJgbnb/kUd7QthJLb9P7RpO6JZ+0wWtOlNvmx Dp369pqKUU0XsePwUzaZtJDPPiOhPVURup3FbWH5+12iRMyOOT2uLljH8SFyKTXI8J hIZIc2iqpBYWQ== Message-ID: Date: Fri, 19 May 2023 14:43:00 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH 1/5] arm: mxs: Provide Kconfig option to to not use VDD5V as IMX28 PMU source Content-Language: en-US To: Lukasz Majewski Cc: U-Boot Mailing List , Stefano Babic , Peng Fan , Peng Fan , Fabio Estevam , "'NXP i . MX U-Boot Team'" References: <20230509143243.1523791-1-lukma@denx.de> <08c74cf0-5f10-f745-99af-ab8fb4698767@denx.de> <20230509164639.13dc0f22@wsk> <20230509170405.3bd74a16@wsk> <0d387cf2-3f10-d796-6b07-083761564b79@denx.de> <20230519104121.5f4c3882@wsk> From: Marek Vasut In-Reply-To: <20230519104121.5f4c3882@wsk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 5/19/23 10:41, Lukasz Majewski wrote: Hello Lukasz, >>>>>> On 5/9/23 16:32, Lukasz Majewski wrote: >>>>>>> This option sets the current limit for 5V source to zero, so all >>>>>>> the PMU outputs are primarily powered from battery source >>>>>>> (DCDC_BAT). >>>>>>> >>>>>>> This option may be set on systems, where the 5V is NOT supposed >>>>>>> to be in any scenario powering the system - for example on >>>>>>> systems where DCDC_BAT is connected to fixed and regulated 4.2V >>>>>>> source (so the "battery" is not present). >>>>>> >>>>>> Is it possible to dig this information out of DT or is the DT not >>>>>> available in SPL for this platform ? >>>>> >>>>> This platform uses only SPL_OF_PLATDATA to keep the SPL size < 40 >>>>> KiB. >>>>> >>>>> I would prefer to keep this as Kconfig as the PMU driver is not >>>>> supporting DT and in fact now ARCH_MX28 only has two boards >>>>> supported - XEA and imx28evk. >>>> >>>> Why not use the platdata then ? >>>> This makes it far better, as the code is actually always compiled >>>> and doesn't start to bitrot. >>> >>> As fair as I can tell - the MX28 PMU driver in SPL is not supporting >>> OF_PLATDATA. Or have I overlooked something? >>> >>> I would like to investigate the PMU issue, and avoid extra work to >>> provide platdata support for two supported imx287 based boards. >> >> Hum, considering that this platform is basically legacy and winding >> down, I guess that's OK too. > > Are there any other issues to be solved? Or is this patch set eligible > for pulling? > > (Especially that NXP has confirmed that approach used in this patch set > is in sync with their idea of PMU usage). I think this is just waiting for Stefano to pick and do a MR