From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B0F4C606A6A9 for ; Fri, 4 Dec 2026 08:39:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=aiE9fCm5; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=anWovB0T DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Unsubscribe-Post: List-Owner; bh=ZsQhEsf0jWMRgcLAIhYbpGhHuj+2rYHyt0S75/ayN+o=; b=aiE9fCm553KX62 hiIHAch5Y/eTX5QAim2dYJv6IJtQOlaEoW2T+lQc72aaQs+j5oHbqJgv5kuJ5jVc1oSccqsOZ1O7C eMQ9p6Nxypcm6qzxr1Ms2j+g43NPYJfhvN2khqBsWfCBGJYBkYgaBijZT0O1g777kmt5BxykPwbs2 JKhMTzLd+vUjmMJwRojA3caczixZRV7v3ZBy0FnoHbyMVX1p6NKggh0NAJcDcCoVpnxNjY8bt2emy IHw14Vit9A8Fk7NZ+DOd2lCUWJthU2Glb2af+hxElDqNLVe7gp1nX21P77q21yLTpOwrcg9/NSYWs DRnoGXl0xUhzA2rAqe5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZOpc-0000000HCap-1mpm; Fri, 04 Dec 2026 08:39:52 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.100.1 #2 (Red Hat Linux)) id 1xZOpU-0000000HCZ3-3h0T for linux-arm-kernel@lists.infradead.org; Fri, 04 Dec 2026 08:39:47 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6600C14BF; Fri, 4 Dec 2026 00:39:38 -0800 (PST) Received: from [192.168.178.24] (usa-sjc-mx-foss1.foss.arm.com [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 298833F86F; Fri, 4 Dec 2026 00:39:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1796373581; bh=k/04+FTH1C+YUaJnTp8taCAwJO5Y84D59N+A+Bxos4k=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=anWovB0Tl8ScWjvaErV3XJ3yBprRZllSSYeEK4Y5wOMjb+3ORlNgrxxcuKzYB4Xhe G/9Eo863oiGeN9BZZgiGhi2Al6ZS9f/HBjLuLKrBteWb6ApMXpsMGSvXp4vi3ZKLfm osPstFF4RMshtEQklv9Pd9rZsAO1VPYkuzyNL35w= Message-ID: <7d9eb9dd-7c37-45f3-aaec-70356e080cc8@arm.com> Date: Fri, 4 Dec 2026 09:39:35 +0100 X-Archived-By: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 5/5] arm64: dts: allwinner: add Radxa Cubie A7A board To: wens@kernel.org, Enzo Adriano Cc: robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, jernej.skrabec@gmail.com, samuel@sholland.org, Maxime Ripard , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Junhui Liu , Jerome Brunet , Pablo Mazzini , Vinicius Pedrosa , Alexander Sverdlin , Jun Yan , Lukas Schmid , Cristian Filipescu , Norman Herms , Daniel Golle , Alastair D'Silva References: <20261203-a733-cubie-a7s-dt-v7-0@gmail.com> <20261203-a733-cubie-a7s-dt-v7-5@gmail.com> Content-Language: en-GB From: Andre Przywara In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20261204_003945_030376_AC9C9AB2 X-CRM114-Status: GOOD ( 20.02 ) X-Spam-Score: -4.4 (----) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=4.0.1 X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on aws-us-west-2-korg-listserv-alma10-1 Hi, On 12/4/26 04:18, Chen-Yu Tsai wrote: > On Fri, Dec 4, 2026 at 1:31 AM Enzo Adriano wrote: >> >> From: Andre Przywara >> >> 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 >> [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 >> --- > > [...] > >> + 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