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 DBBE1C6FD19 for ; Tue, 14 Mar 2023 00:38:28 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6132185DB4; Tue, 14 Mar 2023 01:38:26 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject 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; unprotected) header.d=kwiboo.se header.i=@kwiboo.se header.b="Zs9qjTWP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7985285966; Tue, 14 Mar 2023 01:38:24 +0100 (CET) Received: from wrqvwxzv.outbound-mail.sendgrid.net (wrqvwxzv.outbound-mail.sendgrid.net [149.72.154.232]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 3B0A785BB7 for ; Tue, 14 Mar 2023 01:38:21 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=kwiboo.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bounces+31435339-7456-u-boot=lists.denx.de@em2124.kwiboo.se DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=from:subject:mime-version:to:cc:content-transfer-encoding: content-type:cc:content-type:from:subject:to; s=s1; bh=NHm9b380yJ77yIXBM3hcvykaxXSBrQeAVcIXLDUoUrk=; b=Zs9qjTWPqNAAQ8iaeeusgxnzGgSWenP88q3PP0Mp4JcAMRP6bwu2g6z0m+O1TTUKjuLU f6BIO4B+1xgd2eWnhi6C9e/QSXdPwWNMiAJAT7O33qAyN42ANSSPZdgpP5ScCRevTJA7as Xv4aNV5i1NJN88hc8O9kVO8Odkm7O8bkQj6u/jfnstNfX+Ki3xO68mUCYX/xPTVTi7Q7DB FNoPUnTigFsZ/qKw/uGogNdFpwJJIk3jp7qFw4u5u0OYLjT6pH6Hfp3/tB3Aoerf8UiBTI Ay5OWJ+WOQm/pG/grQFJqjn6gIRgac+a5tVpFDt8bJ2CgPuXrkTuD+tbcbdVjY2A== Received: by filterdrecv-68f8d557c9-vlqms with SMTP id filterdrecv-68f8d557c9-vlqms-1-640FC1FB-1F 2023-03-14 00:38:19.644958405 +0000 UTC m=+1731960.497719366 Received: from bionic.localdomain (unknown) by geopod-ismtpd-8 (SG) with ESMTP id 1ESuajTiR9OkHFmNxgCVNg Tue, 14 Mar 2023 00:38:19.320 +0000 (UTC) From: Jonas Karlman Subject: [PATCH 00/12] rockchip: Fixes for RK3568 and RK3588 and cleanup Date: Tue, 14 Mar 2023 00:38:19 +0000 (UTC) Message-Id: <20230314003755.512696-1-jonas@kwiboo.se> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 X-SG-EID: =?us-ascii?Q?TdbjyGynYnRZWhH+7lKUQJL+ZxmxpowvO2O9SQF5CwCVrYgcwUXgU5DKUU3QxA?= =?us-ascii?Q?fZekEeQsTe+RrMu3cja6a0h0F=2FcfHMBQsj3nkRo?= =?us-ascii?Q?MxYTOiJFOlSltlVdZaKYKIU4YSqoS83vkm7PIKK?= =?us-ascii?Q?=2FC6njYRIh899fGiAb7SLq+rAHOe6=2FBow64VdKfm?= =?us-ascii?Q?dSXn4BeN84ihwUIluV+fXzwvzkRCNP7ASgfJ9D2?= =?us-ascii?Q?xazeCVghWuD5PYj1zjs=2FbomWU76AUAYteIeOkp?= To: Kever Yang , Simon Glass , Philipp Tomsich Cc: Jagan Teki , Eugen Hristev , u-boot@lists.denx.de, Jonas Karlman X-Entity-ID: P7KYpSJvGCELWjBME/J5tg== Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii 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 includes fixes mainly targeted at RK3568 and RK3588: Patch 1 reverts early use of new bootph props in master branch. Patch 2-3 fixes emmc boot on rk3568-rock-3a. Patch 4 fixes reset handler on rk3568. Patch 5 fixes missing return value in rk3588 clk driver. Patch 6-7 fixes sdmmc boot on rk3588-rock-5b. Patch 8 fixes building of tinker-rk3288 with USB or NET disabled. Remaining patches does not fix a real issue and mainly contains cleanup and converts RK35xx to use standard boot. Patch 9 improves return value used when clk_set_rate fails. Patch 10-11 remove dangling comments and an unused define. Patch 12 converts RK3568 and RK3588 to use standard boot. This series builds on top of "rockchip: Use an external TPL binary on RK3588" at [1] that fixes generation of bootable RK3588 firmware images. [1] https://patchwork.ozlabs.org/project/uboot/patch/20230228213822.3583989-1-jonas@kwiboo.se/ Jonas Karlman (11): rockchip: Fix early use of bootph props rockchip: rk3568: Fix boot device detection rockchip: rk3568-rock-3a: Sync device tree from linux clk: rockchip: rk3588: Fix clk_aux16m in clock driver rockchip: rk3588-rock-5b: Fix sdmmc boot rockchip: rk3588: Add boot device detection rockchip: tinker-rk3288: Use common BOOT_TARGET_DEVICES mmc: rockchip_dw_mmc: Fix get_mmc_clk return value rockchip: include: configs: Remove dangling comments rockchip: include: configs: Remove unused SDRAM_BANK_SIZE rockchip: Convert rk35xx to use standard boot Peter Geis (1): clk: rockchip: rk3568: Fix reset handler arch/arm/dts/rk3308-rock-pi-s-u-boot.dtsi | 2 +- arch/arm/dts/rk3566-radxa-cm3-io-u-boot.dtsi | 2 +- arch/arm/dts/rk3568-rock-3a-u-boot.dtsi | 12 +- arch/arm/dts/rk3568-rock-3a.dts | 261 +++++++++++++++++- arch/arm/dts/rk356x-u-boot.dtsi | 2 +- .../dts/rk3588-edgeble-neu6a-io-u-boot.dtsi | 2 +- arch/arm/dts/rk3588-rock-5b-u-boot.dtsi | 3 +- arch/arm/dts/rk3588s-u-boot.dtsi | 14 +- arch/arm/mach-rockchip/Kconfig | 6 + arch/arm/mach-rockchip/rk3568/rk3568.c | 2 +- arch/arm/mach-rockchip/rk3588/rk3588.c | 7 + configs/rock5b-rk3588_defconfig | 1 - drivers/clk/rockchip/clk_rk3568.c | 2 + drivers/clk/rockchip/clk_rk3588.c | 4 +- drivers/mmc/rockchip_dw_mmc.c | 2 +- include/configs/evb_rk3328.h | 2 - include/configs/evb_rk3399.h | 2 - include/configs/pinebook-pro-rk3399.h | 2 - include/configs/pinephone-pro-rk3399.h | 2 - include/configs/puma_rk3399.h | 2 - include/configs/px30_common.h | 1 - include/configs/rk3128_common.h | 4 - include/configs/rk3188_common.h | 6 - include/configs/rk322x_common.h | 1 - include/configs/rk3288_common.h | 3 - include/configs/rk3308_common.h | 1 - include/configs/rk3328_common.h | 1 - include/configs/rk3399_common.h | 1 - include/configs/rk3568_common.h | 9 +- include/configs/rk3588_common.h | 9 +- include/configs/roc-pc-rk3399.h | 2 - include/configs/rock960_rk3399.h | 1 - include/configs/rockchip-common.h | 2 - include/configs/rockpro64_rk3399.h | 1 - include/configs/rv1108_common.h | 2 - include/configs/tinker_rk3288.h | 9 - include/configs/vyasa-rk3288.h | 6 - 37 files changed, 309 insertions(+), 82 deletions(-) -- 2.39.2