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 7E958D0D16D for ; Wed, 7 Jan 2026 23:08:09 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CC090839F1; Thu, 8 Jan 2026 00:08:07 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kwiboo.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; secure) header.d=kwiboo.se header.i=@kwiboo.se header.b="djq+NKWG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id AD72984047; Thu, 8 Jan 2026 00:08:05 +0100 (CET) Received: from smtp.forwardemail.net (smtp.forwardemail.net [121.127.44.73]) (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 27BEA83A2D for ; Thu, 8 Jan 2026 00:08:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kwiboo.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=SRS0=cfa6=7N=kwiboo.se=jonas@fe-bounces.kwiboo.se DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=Content-Transfer-Encoding: MIME-Version: Message-ID: Date: Subject: Cc: To: From; q=dns/txt; s=fe-e1b5cab7be; t=1767827281; bh=rSaUW9dzS0xB1CnTaMLef7pxHsfz/GSZ2lq9WWoilaQ=; b=djq+NKWGmje0r79xa6kGXscU1+93zzYxGxzEX/hmcOz/H1lA++bzY+J1Yu56dYk5B/y/Kim5/ hTwJInVOtqF229eaANj31piwIvVRLbG82E6cbhcwjra9RQfN7IWDpHdQ7HW6L6RzNJMoP2GNp0z /lzLhXuN7Yk2hGr02kkB1iPbIA2FiwTinHU4tWRGI4UeWSUX2Jhcxw14D7SLuwrjFJ3BLj2bh+l HlW2essl0MnD6r35OX3TIWpsAy85kpxYAEhc70GUpZNZpy+DuI5gU1v2Dplo1am8VSNhANkrlyv o07dFnGiJmKlnUq2YuB1n4cONhHFN7w8pnOKbrzbg1jg== X-Forward-Email-ID: 695ee74d0fa88ce243537ada X-Forward-Email-Sender: rfc822; jonas@kwiboo.se, smtp.forwardemail.net, 121.127.44.73 X-Forward-Email-Version: 2.2.2 X-Forward-Email-Website: https://forwardemail.net X-Complaints-To: abuse@forwardemail.net X-Report-Abuse: abuse@forwardemail.net X-Report-Abuse-To: abuse@forwardemail.net From: Jonas Karlman To: Kever Yang , Simon Glass , Philipp Tomsich , Tom Rini Cc: FUKAUMI Naoki , Quentin Schulz , u-boot@lists.denx.de, Jonas Karlman Subject: [PATCH v4 0/3] rockchip: Add initial RK3582 support Date: Wed, 7 Jan 2026 23:07:38 +0000 Message-ID: <20260107230747.3552391-1-jonas@kwiboo.se> X-Mailer: git-send-email 2.52.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 This series add initial support for RK3582 support. The RK3582 is a variant of the RK3588S with a few ip blocks disabled. What blocks are disabled/non-working is indicated by the ip-state in OTP. Compared to the vendor U-Boot variant, this mark cpu, the gpu and vdec/venc with status=fail instead of removing nodes during DT fixup. Linux skip cpu cores marked as failed staring from v5.17-rc1, however the GIC driver will generate a harmless WARN_ON that safely can be ignored. A patch for Linux will be sent to skip the WARN_ON for failed/disabled cpu cores once this lands. It is recommended to use rk3588_ddr_lp4_1848MHz_lp5_2112MHz_v1.19.bin as DRAM init blob RK3582, listed in latest RKBOOT/RK3582MINIALL.ini. Changes in v4: - Update policy to always fail gpu for RK3582 - Drop code and comment related to RK3583 - Update rkvdec node name to match latest mainline Linux DT patches - Update commit message to reflect updated policy Changes in v3: - Apply same policy for RK3582/RK3583 to match vendor U-Boot linux-6.1-stan-rkr6 tag, allow use of the GPU and one vdec core. - Update rkvdec node name to match latest mainline Linux DT patches. - Update commit message to reflect updated policy Changes in v2: - Refactor code to first apply policy to ip-state and then fail cores based on the updated ip-state - Add support for failing rkvdec and rkvenc cores - Append soc compatible to board model - Add patch to add support for ROCK 5C Lite variant Jonas Karlman (3): rockchip: Add initial RK3582 support rockchip: rk3588-generic: Enable support for RK3582 rockchip: rk3588s-rock-5c: Add support for ROCK 5C Lite variant arch/arm/dts/rk3588-generic.dts | 4 +- arch/arm/mach-rockchip/rk3588/Kconfig | 9 +- arch/arm/mach-rockchip/rk3588/rk3588.c | 215 +++++++++++++++++++++++++ configs/generic-rk3588_defconfig | 1 + configs/rock-5c-rk3588s_defconfig | 1 + doc/board/rockchip/rockchip.rst | 4 +- 6 files changed, 226 insertions(+), 8 deletions(-) -- 2.52.0