mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: Norman Herms <dockseed@proton.me>
Cc: Enzo Adriano <enzo.adriano.code@gmail.com>,
	robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
	wens@kernel.org, jernej.skrabec@gmail.com, samuel@sholland.org,
	Maxime Ripard <mripard@kernel.org>,
	devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
	linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org,
	Junhui Liu <junhui.liu@pigmoral.tech>,
	Jerome Brunet <jbrunet@baylibre.com>,
	Pablo Mazzini <pmazzini@gmail.com>,
	Vinicius Pedrosa <vinicius.eduardo.pedrosa@gmail.com>,
	Alexander Sverdlin <alex@sverdlin.org>,
	Jun Yan <jerrysteve1101@gmail.com>,
	Lukas Schmid <lukas.schmid@netcube.li>,
	Cristian Filipescu <filipescu.cristian@gmail.com>
Subject: Re: [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board
Date: Fri, 27 Nov 2026 16:30:29 +0000	[thread overview]
Message-ID: <fcdd57ea-8f03-45ce-886e-f0efb6f23d3a@arm.com> (raw)
In-Reply-To: <IUp5Ow8SUNdgtour7we7BN_rry0fuoBNw-ucfXERukfbwTWvoWo5QjYLXAzxftTjGnsuhCCnwvxZ5fBpL6pFPL62oTr2hZddgE6XmrQ76o0=@proton.me>

Hi Norman,

(please try to reply in-line, with the question quoted, to make it 
easier for other people to follow the thread)

On 11/27/26 17:17, Norman Herms wrote:
> Hi Andre,
> 
> On the ELDO1 question: the AXP318W datasheet (V1.0, Chinese, table
> 6-3) gives ELDO1 a default of 0.9 V and leaves it off at power-up, as it
> does DCDC6 and DCDC7. So 1.075 V is not the PMIC default.

Ah, thanks!
> On the A7S we boot our own chain (U-Boot SPL calling the vendor DRAM
> init, TF-A, U-Boot), and none of the open parts writes ELDO1. That
> leaves the vendor DRAM init, which switches it on. Its value follows
> VDD2H on the 25 mV grid: with DCDC7 at 1080 mV we read ELDO1 at
> 1075 mV, and with Radxa's own boot0 at 1120 mV we read 1100 mV.

That's good info, thanks!

> We have also tried VDD2L at 0.9 V on the A7S. Lowering ELDO1 from
> Linux changes the voltage after the DRAM training ran at 1.075 V,
> which can lead to errors.

Yeah, I was concerned about this as well. LPDDR5 DRAM init/training 
seems to be a lot more sensitive than <=LPDDR4 (it even requires 
occasional retraining at runtime?), so changing voltages after the fact 
sounds dangerous.

> So we keep the value the DRAM init leaves,
> even though it does not match the schematic, as the v6 node without
> voltage bounds does. The vendor DRAM init sets all the DRAM rails
> itself, so a clean 0.9 V would have to come from there.

OK, that's something we probably can do with the in-flight Open Source 
DRAM init driver then, which is (in parts at least) already on the list.

Regardless I wouldn't want to leave it completely unbound, but instead 
provide some limits. I guess for VDD2L, potentially the same as VDD2H, 
it should be 0.87V - 1.12V, which seem to be limits Google turns up for 
those LPDDR5 specified values.

I will adjust the DT for the A7A.

Cheers,
Andre


  reply	other threads:[~2026-11-27 16:30 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 20:35 [PATCH v6 0/5] arm64: dts: allwinner: add A733 and Radxa Cubie A7 support Enzo Adriano
2026-11-26 20:35 ` [PATCH v6 1/5] dt-bindings: arm: sunxi: document Radxa Cubie A7A, A7S and A7Z Enzo Adriano
2026-11-26 23:16   ` Andre Przywara
2026-11-26 20:35 ` [PATCH v6 2/5] arm64: dts: allwinner: add A733 SoC description Enzo Adriano
2026-11-27  4:29   ` Jernej Škrabec
2026-11-27 10:57     ` Andre Przywara
2026-11-27 18:06       ` Enzo Adriano
2026-11-27 11:28     ` Jerome Brunet
2026-11-27 16:37       ` Norman Herms
2026-11-27 17:06         ` Andre Przywara
2026-11-27 17:54           ` Norman Herms
2026-11-27 11:18   ` Jerome Brunet
2026-11-27 11:23     ` Andre Przywara
2026-11-27 11:26   ` Alastair D'Silva
2026-11-26 20:35 ` [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board Enzo Adriano
2026-11-27  0:24   ` Andre Przywara
2026-11-27 16:17     ` Norman Herms
2026-11-27 16:30       ` Andre Przywara [this message]
2026-11-27 17:00         ` Norman Herms
2026-11-27 18:07     ` Enzo Adriano
2026-11-27 16:14   ` Norman Herms
2026-11-27 18:07     ` Enzo Adriano
2026-11-26 20:35 ` [PATCH v6 4/5] arm64: dts: allwinner: add Radxa Cubie A7Z board Enzo Adriano
     [not found]   ` <sashiko-outbox-236169@kernel.org>
2026-11-27 18:07     ` Enzo Adriano
2026-11-26 20:36 ` [PATCH v6 5/5] arm64: dts: allwinner: add Radxa Cubie A7A board Enzo Adriano
2026-11-27 11:33   ` Jerome Brunet
2026-11-27 11:56     ` Andre Przywara
2026-11-27 18:07       ` Enzo Adriano
2026-11-27 18:36         ` Andre Przywara

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=fcdd57ea-8f03-45ce-886e-f0efb6f23d3a@arm.com \
    --to=andre.przywara@arm.com \
    --cc=alex@sverdlin.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dockseed@proton.me \
    --cc=enzo.adriano.code@gmail.com \
    --cc=filipescu.cristian@gmail.com \
    --cc=jbrunet@baylibre.com \
    --cc=jernej.skrabec@gmail.com \
    --cc=jerrysteve1101@gmail.com \
    --cc=junhui.liu@pigmoral.tech \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sunxi@lists.linux.dev \
    --cc=lukas.schmid@netcube.li \
    --cc=mripard@kernel.org \
    --cc=pmazzini@gmail.com \
    --cc=robh@kernel.org \
    --cc=samuel@sholland.org \
    --cc=vinicius.eduardo.pedrosa@gmail.com \
    --cc=wens@kernel.org \
    /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

all inboxes | Powered by JetHome®