From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=217.140.110.172 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795797035; b=KAZ7pKB4c7hTh3WiKwNYQjoJRklXuDbKBy12Xz3fTJyjoYfxYVxXyfzLnAZycfkJIeXW 9mvA7C6q1jcjLHkXznN1EzwzCfA3OxLDBUiZmHMPn5MZJ5q2e5e61J7lFcdU01xH4sjsa PBcgFpOoWuU2B2Ty9p0MKeusJx6vmszeWz4ANVxBKfnTfG9Kx/ZORHjvHmNWZkCDDwJsD AfN3dWwPelGRdMpKTA4VpCviGqN4PXmhLl07Baz/JKzWj3GzeJ24I772C24w2p6aAdDU7 yGXh6R/bdkFJcr4Xuv0urG50XShF7350xzr3S6OIKNwHqFgjYSDBTLJ8ltyADfmuiJg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795797035; h=DMARC-Filter:Received:Received:DKIM-Signature:Message-ID:Date: MIME-Version:User-Agent:Subject:To:Cc:References:Content-Language: From:In-Reply-To:Content-Type:Content-Transfer-Encoding; bh=54NOpbOtuKLqL2nKVOoPWau8pDlerFu1Y4blbqD/sNI=; b=Rcf69wgA89urAMOKq+mhjzjU8tj+z1cymqchUeYIM2A2g53WA7j+a0J60d+2c1E+O/U2 OBcN5W3tUWt0G+CUXb4HGkvKYOEHncTXB48Qud4lhGWEG4/SJi+xaJA4i1QntK0Y9Pzqy FmL5i5dkrvSmD5jWDZpaJEUFzSAzWdYSl5lGoiBVnWLhOCYpfaNOYEACYPsP/xAcJfqJ7 CmXgpqDZU76BvQkCXI0uQZCEpU/jhtZGHMVNF3L0RgF6h4jRjEnh+/XdUs4pWfzbBf+Nv Bi4PrqfQEsZBpZTZzfbdhZgRQDI91Y0DEBtZHKVqVp9lvzBP+hNMQg5wbcAJfIwPbdg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=arm.com; spf=pass smtp.mailfrom=arm.com; dkim=pass header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=AMyJGtPh; arc=none smtp.remote-ip=217.140.110.172 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E4CD3606A31C; Fri, 27 Nov 2026 16:30:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E4CD3606A31C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=foss header.b=AMyJGtPh 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 627D71570; Fri, 27 Nov 2026 08:30:31 -0800 (PST) Received: from [10.33.50.35] (e142021.arm.com [10.33.50.35]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 4AE823F86F; Fri, 27 Nov 2026 08:30:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1795797034; bh=b33/9jIn33AHiLVOktQcqCtJ8czOf9Xr7CxwoHhocU8=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=AMyJGtPhp4st87WhHQjG9x2Xm7CAavKQX7s8SJQATPgdBrrVhcClJ0J2GhoBiahLO YvNt3wdAsddMsQHGJy9k1qlZDj30gapE55u/Ux9lTxZIdoAVJDljuAI3+ZIP8fg7o4 7ubxHpqKGnQP7cEVxWdQ48ojV+YXZX7+soqu8Li8= Message-ID: Date: Fri, 27 Nov 2026 16:30:29 +0000 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v6 3/5] arm64: dts: allwinner: add Radxa Cubie A7S board To: Norman Herms Cc: Enzo Adriano , robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, wens@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 References: <20261126-a733-cubie-a7s-dt-v6-0@gmail.com> <20261126-a733-cubie-a7s-dt-v6-3@gmail.com> <0a7f4a31-81ac-44ee-8cd2-7b5526af7442@arm.com> Content-Language: en-GB From: Andre Przywara In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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