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 58CFECA0FFF for ; Sat, 30 Aug 2025 14:44:11 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id DA2298384E; Sat, 30 Aug 2025 16:44:09 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=rock-chips.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=rock-chips.com header.i=@rock-chips.com header.b="k1Q1SRnU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0EE088380E; Sat, 30 Aug 2025 16:44:08 +0200 (CEST) Received: from mail-m19731114.qiye.163.com (mail-m19731114.qiye.163.com [220.197.31.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D39FF83857 for ; Sat, 30 Aug 2025 16:44:04 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=rock-chips.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=kever.yang@rock-chips.com Received: from [192.168.1.64] (unknown [121.204.19.91]) by smtp.qiye.163.com (Hmail) with ESMTP id 212398750; Sat, 30 Aug 2025 22:44:01 +0800 (GMT+08:00) Message-ID: <241ca4eb-e62e-413e-b31c-72c2dd59ebdd@rock-chips.com> Date: Sat, 30 Aug 2025 22:44:01 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 6/6] arm: dts: rockchip: Include OTP in U-Boot pre-reloc phase for RK3576 To: Jonas Karlman , Simon Glass , Philipp Tomsich , Tom Rini Cc: u-boot@lists.denx.de References: <20250711222132.204344-1-jonas@kwiboo.se> <20250711222132.204344-7-jonas@kwiboo.se> Content-Language: en-US From: Kever Yang In-Reply-To: <20250711222132.204344-7-jonas@kwiboo.se> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HM-Tid: 0a98fb6f70b003afkunm63f3809040997c X-HM-MType: 1 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFITzdXWS1ZQUlXWQ8JGhUIEh9ZQVlCHxgaVkJMTR8dHktMH01JH1YVFAkWGhdVEwETFh oSFyQUDg9ZV1kYEgtZQVlKSUpVSUtPVUpCVUJKWVdZFhoPEhUdFFlBWU9LSFVKS0lPT09IVUpLS1 VKQktLWQY+ DKIM-Signature: a=rsa-sha256; b=k1Q1SRnU/LipbE41qc+YSyjyakjTUL7LWZjg+qsbtcT36hJ2iZCxFVXKjYWVd9aOw1Ra0gUCDmelfjY1V+lxtSuaQ2NaB2R/rA8TR8IR5gcN9qc0d9kpsnpkVLpE/Ao+03kGcRQYywGB0DZR71oXR1PCNVlrucYcH8kComfH0KY=; s=default; c=relaxed/relaxed; d=rock-chips.com; v=1; bh=HdsQNL4NcKQQKPC+bhsARYdbrarya2B03uF8Cd1teLg=; h=date:mime-version:subject:message-id:from; 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 On 2025/7/12 06:21, Jonas Karlman wrote: > Update rk3576-u-boot.dtsi to include OTP in U-Boot pre-reloc phase for > checkboard() to be able to read information about the running SoC model > and variant from OTP and print it during boot: > > U-Boot 2025.04 (Apr 22 2025 - 20:43:17 +0000) > > Model: Generic RK3576 > SoC: RK3576 > DRAM: 8 GiB > > Signed-off-by: Jonas Karlman Reviewed-by: Kever Yang Thanks, - Kever > --- > arch/arm/dts/rk3576-u-boot.dtsi | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm/dts/rk3576-u-boot.dtsi b/arch/arm/dts/rk3576-u-boot.dtsi > index be99a48a630f..fb5a107f47d9 100644 > --- a/arch/arm/dts/rk3576-u-boot.dtsi > +++ b/arch/arm/dts/rk3576-u-boot.dtsi > @@ -49,6 +49,10 @@ > bootph-all; > }; > > +&otp { > + bootph-some-ram; > +}; > + > &pcfg_pull_none { > bootph-all; > };