From mboxrd@z Thu Jan 1 00:00:00 1970 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 A2542C77B75 for ; Tue, 9 May 2023 15:04:10 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 9A65285BC7; Tue, 9 May 2023 17:04:08 +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=1683644648; bh=N8loRgnefkzH6OEXS3L5DUDhEvS1rK3etUW30wwfQ+w=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=gS7Z/BsIOckB+yZofO7K9vaM4Bu7KH7LD3h4r/MBgAh85tSTfxSkYQtbsd/iFEcD9 QjzpVnuK/S1wqmImcu0R34ZVUtL1mnd8LqMQpkdh6C+uzcq0UBcvcYUqgJqrNzsmwx oVeMN383Db0xS0R+6QpMybq+gokgOmlZmnZGfADW1/IpdC9otSYQBHItQj82eIu5xL VJrQkSeGbz33aPllUw4+Mt3kWhuVY799uj3YVuyiLhaac8ZXFRrwC0bbGWx5/QGZzz B4caKIcXF4YhZOhjMHS8uHPVU/xVWjnLif7zSf1/yYFrUINQR8uUHQ3CUhS/5WKK7g hdknLHRnCyqDw== Received: from wsk (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: lukma@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 2ECFB8581B; Tue, 9 May 2023 17:04:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1683644646; bh=N8loRgnefkzH6OEXS3L5DUDhEvS1rK3etUW30wwfQ+w=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=QCvfCUjJZppZv+0KwHhARcf9m/mqpoivwrP4apIDIIBP7DFgZoLObZWEuJuTLySV2 oa3zDcsIhyTBYTYIpytchDYT3siwN74cPY8SOKBuRv9Ui33rdnQ0ZilerEDcv4NgZ1 dIhp0Xdrbkn7d46c5Do1zuab+vdgBCd2TENqD9DoY482j7QePtoFGr7qnvFDRqqi6I JcVzj7teTNFgyotuYOVSvRyj2kczedGZKcxHBeALrsK3KB6/A0hWjr6pqnohtjDGS2 Dds4TYH3cT3bZJ+C3Rt6vXKpTcwOuY+WctuJqqpg+PQbAWTXV8vbg9bhcGS4gceAVu pswoN2yzmyKow== Date: Tue, 9 May 2023 17:04:05 +0200 From: Lukasz Majewski To: Marek Vasut Cc: U-Boot Mailing List , Stefano Babic , Peng Fan , Peng Fan , Fabio Estevam , "'NXP i . MX U-Boot Team'" Subject: Re: [PATCH 1/5] arm: mxs: Provide Kconfig option to to not use VDD5V as IMX28 PMU source Message-ID: <20230509170405.3bd74a16@wsk> In-Reply-To: References: <20230509143243.1523791-1-lukma@denx.de> <08c74cf0-5f10-f745-99af-ab8fb4698767@denx.de> <20230509164639.13dc0f22@wsk> Organization: denx.de X-Mailer: Claws Mail 3.19.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/7eoF__z8LTfX+Z771lt3_qn"; protocol="application/pgp-signature"; micalg=pgp-sha512 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 --Sig_/7eoF__z8LTfX+Z771lt3_qn Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Marek, > On 5/9/23 16:46, Lukasz Majewski wrote: > > Hi Marek, =20 >=20 > Hi, >=20 > >> On 5/9/23 16:32, Lukasz Majewski wrote: =20 > >>> 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). =20 > >> > >> Is it possible to dig this information out of DT or is the DT not > >> available in SPL for this platform ? =20 > >=20 > > This platform uses only SPL_OF_PLATDATA to keep the SPL size < 40 > > KiB. > >=20 > > 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. =20 >=20 > Why not use the platdata then ? > This makes it far better, as the code is actually always compiled and=20 > 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. Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de --Sig_/7eoF__z8LTfX+Z771lt3_qn Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEgAyFJ+N6uu6+XupJAR8vZIA0zr0FAmRaYOUACgkQAR8vZIA0 zr2BcggAjdp7xTVPPB+RL1LTFPw098Y3aQVxP5MXpqZhISE0HwyYzVxMnp/txGlx VhUSqzS5reg3sCPUWTRlVdhi5CYrQ/lejnZGWqL3TVOFFC8nvVvP4sda05nJwi0E JKjU+RXj5QuyUMhdXG7DNTCLNh0/8Q5qRuyJltUAvAOCPOAOfGo6eJ8FVVfXC1cd RUMbzA9dUQ0WHG/URs6VxMZZxDSIbC+JmyghXG8VeIUTPZl2PqE/Czbpx24oCnPb CUzzFQHfZr3hQbSvQhV5kMw39UqIbT3zRMeTJBj6N8WjXsGTw5Ei7TSEwktXxVK7 uyhJB/JYF+QLr6/5KBrVf+UZXzwGHg== =ma4J -----END PGP SIGNATURE----- --Sig_/7eoF__z8LTfX+Z771lt3_qn--