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 97E70D6554C for ; Tue, 26 Nov 2024 19:26:59 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id E989D89666; Tue, 26 Nov 2024 20:26:57 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=collabora.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=collabora.com header.i=detlev.casanova@collabora.com header.b="YHES7r/7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 1FB5589666; Tue, 26 Nov 2024 20:26:56 +0100 (CET) Received: from sender4-pp-f112.zoho.com (sender4-pp-f112.zoho.com [136.143.188.112]) (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 8F58788DEA for ; Tue, 26 Nov 2024 20:26:53 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=collabora.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=detlev.casanova@collabora.com ARC-Seal: i=1; a=rsa-sha256; t=1732649206; cv=none; d=zohomail.com; s=zohoarc; b=JrjRcdb3qIIVVXwcCDw7gg3Tsy6/P2yoRZryXoIrEt8G0rXP8oiDRmu6BEEQS8uiKEJl1+9SsZktanFEI2zxV4QHO0paFgjGjRvahZRovppxYGEkdq1LPSTkwLVzroAc9l5EG519wQvpCLg+5XsfgkPrYDhofF9Upnq/RYXqrZ8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1732649206; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=ad2oTFCnfveP9w/FZS9l7EHaL0GAwuRMDMLW9IEJWeA=; b=kEWcJl9bFQYmEeSLdQWrDShPTaXnfsGG4eeBzfFwPBFp7txzWwjHB4xu5KEGWlorx15C9xoSbDn0fc7A5HvXMLeO4+wmXgYUQ4TsHE9Z8r6LGfhw2Tku6foZTcFyC6hYJJ/GciCmEbR+H2R8N/L0YOrD3ydv/Dw29tNsFCCL49s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=detlev.casanova@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1732649206; s=zohomail; d=collabora.com; i=detlev.casanova@collabora.com; h=From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:Message-ID:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Content-Type:Message-Id:Reply-To; bh=ad2oTFCnfveP9w/FZS9l7EHaL0GAwuRMDMLW9IEJWeA=; b=YHES7r/7nlQY6g+tZB8jlCDatEl2xdZl6QZRQmvJXTbAsZMtpmxv8askQFxy9iQ1 aaYFHePrRZq/Zd8Nh0s7r/qvNvzv3rtMtuxs229cZv8VGKbTEelvmVERU18lmaNDLDD Km+9qUu3Gg9VPMvZ2L7bvQROcUoP+NEquUuGq35Q= Received: by mx.zohomail.com with SMTPS id 1732649203785148.1325353131084; Tue, 26 Nov 2024 11:26:43 -0800 (PST) From: Detlev Casanova To: sjg@chromium.org, philipp.tomsich@vrull.eu, kever.yang@rock-chips.com, Heiko Stuebner Cc: heiko@sntech.de, lukma@denx.de, seanga2@gmail.com, peng.fan@nxp.com, jh80.chung@samsung.com, joe.hershberger@ni.com, rfried.dev@gmail.com, jonas@kwiboo.se, quentin.schulz@cherry.de, u-boot@lists.denx.de, sebastian.reichel@collabora.com Subject: Re: [PATCH 00/20] Support for the RK3576 Date: Tue, 26 Nov 2024 14:26:42 -0500 Message-ID: <12952293.O9o76ZdvQC@trenzalore> In-Reply-To: <20241121142731.1202209-1-heiko@sntech.de> References: <20241121142731.1202209-1-heiko@sntech.de> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" X-ZohoMailClient: External 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 Hi Heiko On Thursday, 21 November 2024 09:27:11 EST Heiko Stuebner wrote: > This adds support for the RK3576 SoC from Rockchip. > > Currently supported (and tested) features are accessing and reading from > sdhci and sdmmc devices as well as pxe-booting via the network interface. > > As can be seen by the DONOTMERGE labels, this needs to wait a bit still. > > The core RK3576 devicetrees will be part of 6.13-rc1, but the Firefly > board I only submitted last week, so this would only appear in 6.14-rc1 . > > If someone from Collabora could provide a board patch for the ArmSom > board they are working with, this would speed things up a bit ;-) . I'm doing some testing with this patch set on the sige 5 and things seem to work well so far. I don't have working sdhci and sdmmc yet though, I'll have a look and provide patches for the board when it works :) I will also send som Tested-by's later. Detlev. > Checkpatch seems mostly happy too. > > > Detlev Casanova (3): > dt-bindings: clock, reset: Add support for rk3576 > DONOTMERGE: arm64: dts: rockchip: Add rk3576 SoC base DT > arm: rockchip: add RK3576-specific syscon ids > > Elaine Zhang (2): > clk: rockchip: Add rk3576 clk support > reset: rockchip: implement rk3576 lookup table > > Finley Xiao (1): > dt-bindings: power: Add support for RK3576 SoC > > Heiko Stuebner (11): > dt-bindings: clock, reset: fix top-comment indentation rk3576 headers > DONOTMERGE: arm64: dts: rockchip: add rk3576 otp node > DONOTMERGE: dt-bindings: arm: rockchip: Add Firefly ROC-RK3576-PC > binding > DONOTMERGE: arm64: dts: rockchip: Add devicetree for the ROC-RK3576-PC > rockchip: sdram: honor CFG_SYS_SDRAM_BASE when defining ram regions > ram: rockchip: Add rk3576 ddr driver support > rockchip: otp: Add support for RK3576 > mmc: rockchip_sdhci: Add support for RK3576 > mmc: rockchip_dw_mmc: Add support for rk3576 > net: dwc_eth_qos_rockchip: Add support for RK3576 > rockchip: rk3576: Add support for ROC-RK3576-PC board > > Steven Liu (1): > pinctrl: rockchip: support rk3576 pinctrl > > Xuhui Lin (2): > rockchip: mkimage: Add rk3576 support > arm: rockchip: Add RK3576 arch core support > > arch/arm/dts/rk3576-roc-pc-u-boot.dtsi | 12 + > arch/arm/dts/rk3576-u-boot.dtsi | 119 + > arch/arm/include/asm/arch-rk3576/boot0.h | 11 + > arch/arm/include/asm/arch-rk3576/gpio.h | 11 + > arch/arm/include/asm/arch-rockchip/clock.h | 12 + > .../include/asm/arch-rockchip/cru_rk3576.h | 486 ++ > .../include/asm/arch-rockchip/grf_rk3576.h | 225 + > .../include/asm/arch-rockchip/ioc_rk3576.h | 244 + > arch/arm/mach-rockchip/Kconfig | 46 +- > arch/arm/mach-rockchip/Makefile | 1 + > arch/arm/mach-rockchip/rk3576/Kconfig | 57 + > arch/arm/mach-rockchip/rk3576/Makefile | 9 + > arch/arm/mach-rockchip/rk3576/clk_rk3576.c | 32 + > arch/arm/mach-rockchip/rk3576/rk3576.c | 169 + > arch/arm/mach-rockchip/rk3576/syscon_rk3576.c | 26 + > arch/arm/mach-rockchip/sdram.c | 11 +- > board/firefly/roc-pc-rk3576/Kconfig | 12 + > board/firefly/roc-pc-rk3576/MAINTAINERS | 7 + > configs/roc-pc-rk3576_defconfig | 77 + > doc/board/rockchip/rockchip.rst | 12 + > drivers/clk/rockchip/Makefile | 1 + > drivers/clk/rockchip/clk_rk3576.c | 2517 +++++++ > drivers/misc/rockchip-otp.c | 11 + > drivers/mmc/rockchip_dw_mmc.c | 1 + > drivers/mmc/rockchip_sdhci.c | 12 + > drivers/net/dwc_eth_qos.c | 4 + > drivers/net/dwc_eth_qos_rockchip.c | 141 +- > drivers/pinctrl/rockchip/Makefile | 1 + > drivers/pinctrl/rockchip/pinctrl-rk3576.c | 287 + > drivers/pinctrl/rockchip/pinctrl-rockchip.h | 3 + > drivers/ram/rockchip/Makefile | 1 + > drivers/ram/rockchip/sdram_rk3576.c | 65 + > drivers/reset/Makefile | 2 +- > drivers/reset/rst-rk3576.c | 647 ++ > dts/upstream/Bindings/arm/rockchip.yaml | 5 + > .../Bindings/clock/rockchip,rk3576-cru.yaml | 56 + > .../power/rockchip,power-controller.yaml | 1 + > .../dt-bindings/clock/rockchip,rk3576-cru.h | 592 ++ > .../dt-bindings/power/rockchip,rk3576-power.h | 30 + > .../dt-bindings/reset/rockchip,rk3576-cru.h | 564 ++ > .../src/arm64/rockchip/rk3576-pinctrl.dtsi | 5775 +++++++++++++++++ > .../src/arm64/rockchip/rk3576-roc-pc.dts | 736 +++ > dts/upstream/src/arm64/rockchip/rk3576.dtsi | 1717 +++++ > include/configs/rk3576_common.h | 42 + > include/configs/roc-pc-rk3576.h | 15 + > tools/rkcommon.c | 1 + > 46 files changed, 14798 insertions(+), 8 deletions(-) > create mode 100644 arch/arm/dts/rk3576-roc-pc-u-boot.dtsi > create mode 100644 arch/arm/dts/rk3576-u-boot.dtsi > create mode 100644 arch/arm/include/asm/arch-rk3576/boot0.h > create mode 100644 arch/arm/include/asm/arch-rk3576/gpio.h > create mode 100644 arch/arm/include/asm/arch-rockchip/cru_rk3576.h > create mode 100644 arch/arm/include/asm/arch-rockchip/grf_rk3576.h > create mode 100644 arch/arm/include/asm/arch-rockchip/ioc_rk3576.h > create mode 100644 arch/arm/mach-rockchip/rk3576/Kconfig > create mode 100644 arch/arm/mach-rockchip/rk3576/Makefile > create mode 100644 arch/arm/mach-rockchip/rk3576/clk_rk3576.c > create mode 100644 arch/arm/mach-rockchip/rk3576/rk3576.c > create mode 100644 arch/arm/mach-rockchip/rk3576/syscon_rk3576.c > create mode 100644 board/firefly/roc-pc-rk3576/Kconfig > create mode 100644 board/firefly/roc-pc-rk3576/MAINTAINERS > create mode 100644 configs/roc-pc-rk3576_defconfig > create mode 100644 drivers/clk/rockchip/clk_rk3576.c > create mode 100644 drivers/pinctrl/rockchip/pinctrl-rk3576.c > create mode 100644 drivers/ram/rockchip/sdram_rk3576.c > create mode 100644 drivers/reset/rst-rk3576.c > create mode 100644 dts/upstream/Bindings/clock/rockchip,rk3576-cru.yaml > create mode 100644 > dts/upstream/include/dt-bindings/clock/rockchip,rk3576-cru.h create mode > 100644 dts/upstream/include/dt-bindings/power/rockchip,rk3576-power.h > create mode 100644 > dts/upstream/include/dt-bindings/reset/rockchip,rk3576-cru.h create mode > 100644 dts/upstream/src/arm64/rockchip/rk3576-pinctrl.dtsi create mode > 100644 dts/upstream/src/arm64/rockchip/rk3576-roc-pc.dts create mode 100644 > dts/upstream/src/arm64/rockchip/rk3576.dtsi > create mode 100644 include/configs/rk3576_common.h > create mode 100644 include/configs/roc-pc-rk3576.h