Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: wens@kernel.org, Enzo Adriano <enzo.adriano.code@gmail.com>
Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@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>,
	Norman Herms <dockseed@proton.me>,
	Daniel Golle <daniel@makrotopia.org>,
	Alastair D'Silva <alastair@d-silva.org>
Subject: Re: [PATCH v7 5/5] arm64: dts: allwinner: add Radxa Cubie A7A board
Date: Fri, 4 Dec 2026 09:39:35 +0100	[thread overview]
Message-ID: <7d9eb9dd-7c37-45f3-aaec-70356e080cc8@arm.com> (raw)
In-Reply-To: <CAGb2v643D+5GhVyNSfXS94VLsOufM65--WSspg=RYsvgKMvUaQ@mail.gmail.com>

Hi,

On 12/4/26 04:18, Chen-Yu Tsai wrote:
> On Fri, Dec 4, 2026 at 1:31 AM Enzo Adriano <enzo.adriano.code@gmail.com> wrote:
>>
>> From: Andre Przywara <andre.przywara@arm.com>
>>
>> The Radxa Cubie A7A is a single board computer using the Allwinner A733
>> SoC. It features:
>>    - Allwinner A733 SoC (6*Arm Cortex-A55 + 2*Arm Cortex-A76)
>>    - Imagination BXM-4-64 MC1 GPU and 3 TOPS NPU
>>    - 2-16 GiB LPDDR5 DRAM
>>    - AXP318W PMIC
>>    - eMMC and UFS socket
>>    - single lane PCIe 3.0 via FPC connector
>>    - microSD card slot
>>    - bootable SPI NOR flash
>>    - HDMI 2.0 and MIPI-DSI connector
>>    - MIPI-CSI camera connector
>>    - GBit Ethernet socket, with optional POE support
>>    - unknown Bluetooth and WiFi
>>    - USB-C 2.0 OTG port (also primary power supply)
>>    - USB-A 3.1 host port
>>    - 3* USB-A 2.0 host ports (via hub)
>>    - 40 pin GPIO connector
>>
>> Add initial support for the peripherals we have DT bindings for so far,
>> including UART, PMIC, SD card, some EEPROM and an external RTC chip.
>> The PMIC rails assignment has been determined by the schematic.
>>
>> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
>> [enzo: use BLDO1 for vcc-pk as Jerome found, constrain ELDO1 to
>>   0.87-1.12 V as agreed for LPDDR5 VDD2L, rename the 32 kHz clock node,
>>   drop cap-sdio-irq and always-on from SWOUT2 and the fixed regulators,
>>   use interrupts-extended and a level-low RTC interrupt, sort nodes and
>>   drop unused labels]
>> Signed-off-by: Enzo Adriano <enzo.adriano.code@gmail.com>
>> ---
> 
> [...]
> 
>> +                       dcdc7 {
>> +                               /* Voltage set by DRAM init routine */
>> +                               regulator-name = "vcc-dram";
>> +                               regulator-min-microvolt = <1050000>;
>> +                               regulator-max-microvolt = <1100000>;
> 
> This is vcc-dram on the SoC side and VDD2H on the LPDDR5 DRAM side.

Ah yes, can you put that in the comment, please, while applying?

> There's no given range for the SoC side, but for VDD2H it is 1.01 ~ 1.12V,
> and nominally at 1.05V.

Yeah, good point, I don't think it's critical, but if you are it, please 
feel free to adjust.

> At least we should align the max with the other boards at 1.12V? Not sure
> why the bootloader is pushing it so hard though. If nothing else comes up
> I can fix it while applying.
> 
>> +                               regulator-always-on;
>> +                       };
>> +
>> +                       dcdc8 {
>> +                               regulator-name = "vcc-ufs-io";
>> +                               regulator-min-microvolt = <1200000>;
>> +                               regulator-max-microvolt = <1200000>;
>> +                       };
>> +
>> +                       reg_dcdc9: dcdc9 {
>> +                               regulator-name = "eldo-input";
>> +                               /*
>> +                                * The schematic says 1.25V, but the
>> +                                * granularity of DCDC9 is 20mV in this range.
>> +                                */
>> +                               regulator-min-microvolt = <1240000>;
>> +                               regulator-max-microvolt = <1260000>;
>> +                       };
>> +
>> +                       dldo1 {
>> +                               regulator-name = "vcc-efuse";
>> +                               regulator-min-microvolt = <1800000>;
>> +                               regulator-max-microvolt = <1800000>;
>> +                               regulator-always-on;
>> +                       };
>> +
>> +                       dldo6 {
>> +                               regulator-name = "vcc-ufs";
>> +                               regulator-min-microvolt = <2500000>;
>> +                               regulator-max-microvolt = <2500000>;
>> +                       };
>> +
>> +                       eldo1 {
>> +                               regulator-name = "vcc09-lpddr5";
>> +                               regulator-min-microvolt = <870000>;
>> +                               regulator-max-microvolt = <1120000>;
>> +                               regulator-always-on;
> 
> And just FTR, this is VDD2L, which is either 0.87-0.97V, nominally 0.9V,
> for dual power rail operation, or the same as VDD2H for single rail operation.

Yes, we figured the same in the discussion about the A7S. I used the 
name given on the schematic.
And the range is the union of the VDD2H and VDD2L range, to cater for 
all cases. If you don't mind, feel free to add a comment to that effect.

Cheers,
Andre



      reply	other threads:[~2026-12-04  8:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-03 16:24 [PATCH v7 0/5] arm64: dts: allwinner: add A733 and Radxa Cubie A7 support Enzo Adriano
2026-12-03 16:24 ` [PATCH v7 1/5] dt-bindings: arm: sunxi: document Radxa Cubie A7A, A7S and A7Z Enzo Adriano
2026-12-03 16:25 ` [PATCH v7 2/5] arm64: dts: allwinner: add A733 SoC description Enzo Adriano
2026-12-03 16:25 ` [PATCH v7 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board Enzo Adriano
2026-12-03 16:31 ` [PATCH v7 4/5] arm64: dts: allwinner: add Radxa Cubie A7Z board Enzo Adriano
2026-12-03 16:31 ` [PATCH v7 5/5] arm64: dts: allwinner: add Radxa Cubie A7A board Enzo Adriano
2026-12-04  3:18   ` Chen-Yu Tsai
2026-12-04  8:39     ` Andre Przywara [this message]

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=7d9eb9dd-7c37-45f3-aaec-70356e080cc8@arm.com \
    --to=andre.przywara@arm.com \
    --cc=alastair@d-silva.org \
    --cc=alex@sverdlin.org \
    --cc=conor+dt@kernel.org \
    --cc=daniel@makrotopia.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