From mboxrd@z Thu Jan 1 00:00:00 1970 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 468F8C3DA7F for ; Sun, 4 Aug 2024 09:15:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:To:References:Message-Id: Content-Transfer-Encoding:Cc:Date:In-Reply-To:From:Subject:Mime-Version: Content-Type:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Q8xhaK+HKr8txiVLN5oIG6mLd/CNIxGQ/Xronjna7FY=; b=U7mHHK6McWqjafjCxv9tyO/i56 0ZrMJ393u8utkUYtoxL9EthbOqy9DcAZe7JVnX3cpWUIYMrsvX1GUqzD/SNYATWRnw9qk0XyYIncY kSicUDkpQkw914XyXqRh7BkBtOqevOBfp1bxoiOOuw4f6Ofhyq5T6HsDC2U9tfxDHl8R5eRx8AABk lN3gx2TKP9u2UxbALaaqOKAIoD3b7bwubY20oRJgJYF1c6WcHCTqiaIHh1sgtO2pqe7WRVROAh17/ lVx5ZhYkVV4qx39yEh6gC/x6FC6RpbNNgc+7wxzTjU+AMOgm6LzQhmIlmsZVYiJUGlcMI6MhnUTIT 5IkJY4Hg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1saXKA-0000000CyVi-1eHr; Sun, 04 Aug 2024 09:14:46 +0000 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1saXJe-0000000CyRR-0ihq; Sun, 04 Aug 2024 09:14:16 +0000 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2eeb1ba0468so141367871fa.0; Sun, 04 Aug 2024 02:14:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1722762852; x=1723367652; darn=lists.infradead.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Q8xhaK+HKr8txiVLN5oIG6mLd/CNIxGQ/Xronjna7FY=; b=j+j80PRqzrU0d9OsDnMUIY6q7RgRZIvEvj0bRYN+1SyZTzlydyny6ft6DG/5XhCyqL QcLhhOX7kxQGws/rJMMMSWs42N0mhH18lY1G0VYWO+9RNoSKtbMAS7We55khqzDrZeCp EiCinXnm2q1i0idezvIejk1MizoD84fGtjrdXYbSvUBu2nNKbkQX3w4o0G8Bs/cx52lq mFcicx4pffaYeqJMa7EwIybuovTxqKa8hgD1t1qhlXOFE0L+bnTbA2dB5ofyUIj4Tmvb 3hXVkKIvAA9tN4MS6KirpVRAcgSJS/TA06sPRxCg7cGecAiQy0rqxYXeLkIes4ea0uyS uG7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722762852; x=1723367652; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Q8xhaK+HKr8txiVLN5oIG6mLd/CNIxGQ/Xronjna7FY=; b=SSMgxArbJY7uEorotQSyaFvEMVgOUtxxgoPEUYfC+GyNKJOiFonII0OBOspOhP+/LX EpkYtZiEpJy0oGDbcfO4cLyQ/E2Q0VBnCs7hN3vtN4MqdNqAqYRcVCVdIdM0/izi2cwo ln+UpHybOEdd8rjowWPsoAK67Yafly+fN5AbUnivnHn5+Vst3uw9bg0IvUFOhoTyvxRe 4CANA18I7ZSLnRWJlRUxJ03qwNd6wc0LoxyJqHAcFMXj/jBsZnKM+2WhtLxEh6P7NFcM LxDaKtBxv6BjGllmSHx8TSXHdiU7r7q+iLhbD/ojlBuBtYoCFbMt9DLHzSrAqNY/HQXV QBpA== X-Forwarded-Encrypted: i=1; AJvYcCWhZbtl4Ka0nLHucdMce+UADs7Adq8+Oc4Wly3lNh7EBb2/KHJoSNb7CGz9HOXfPTaewC7Cl16NEv8DSS9LUIY17I68QhVNPo2PS+nKGT3r2u6F6Wfx6TX1sfDhhRgBVeqDegLl46CB62Z/ZsT2mOKhnv4mhHi1OeE= X-Gm-Message-State: AOJu0YxZdSMC3mr3tSDw9GQCX092WIJ9zVPvVeeYPVZSebjxfTlsBgAt dL6YcqboB04eM0K3huHgKQALSeHY2HtoFg6RgZszW05RPLlnuQU7 X-Google-Smtp-Source: AGHT+IGyj5V/OyfV2RPE4TLntui3QqyFRdRf2CycS7NXzrsfltpIxE6G4LIrujK/h4qDZiDBxzPkuA== X-Received: by 2002:a2e:8456:0:b0:2ef:286e:ca68 with SMTP id 38308e7fff4ca-2f15aac2b49mr53430811fa.23.1722762851736; Sun, 04 Aug 2024 02:14:11 -0700 (PDT) Received: from smtpclient.apple (84-10-100-139.static.chello.pl. [84.10.100.139]) by smtp.gmail.com with ESMTPSA id 38308e7fff4ca-2f15e1c7581sm6843141fa.68.2024.08.04.02.14.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 04 Aug 2024 02:14:11 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.600.62\)) Subject: Re: [PATCH 0/4] Add initial support for Rockchip RK3528 SoC From: Piotr Oniszczuk In-Reply-To: Date: Sun, 4 Aug 2024 11:13:59 +0200 Cc: Dragan Simic , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Greg Kroah-Hartman , Jiri Slaby , Chris Morgan , Jonas Karlman , Tim Lunn , Andy Yan , Muhammed Efe Cetin , Jagan Teki , Ondrej Jirman , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, "open list:ARM/Rockchip SoC..." , linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Content-Transfer-Encoding: quoted-printable Message-Id: <3EA59A56-C6E5-40B7-A5C4-C280B001E981@gmail.com> References: <20240803125510.4699-2-ziyao@disroot.org> <0c77f99f4af96807a2a8c3028e3c1d4d@manjaro.org> To: Yao Zi X-Mailer: Apple Mail (2.3774.600.62) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240804_021414_286749_D871A694 X-CRM114-Status: GOOD ( 24.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org > Wiadomo=C5=9B=C4=87 napisana przez Yao Zi w dniu = 04.08.2024, o godz. 08:22: >=20 > On Sun, Aug 04, 2024 at 07:40:43AM +0200, Dragan Simic wrote: >> Hello all, >>=20 >> On 2024-08-03 14:55, Yao Zi wrote: >>> Rockchip RK3528 is a quad-core ARM Cortex-A53 SoC designed for >>> multimedia application. This series add a basic device tree with = CPU, >>> interrupts and UART nodes for it and is able to boot into a kernel = with >>> only UART console. >>>=20 >>> Has been tested on Radxa E20C board[1] with vendor U-boot, = successfully >>> booted into initramfs with this log[2]. >>=20 >> I wonder will at least the RK3528 datasheet become available = publicly? >=20 > I found none for now, and I am not someone from Rockchip, thus don't > know whether they have a plan to make it public, either. But there has > been some devices shipping it already and getting them mainlined will > be a neat thing. >=20 Maybe this hight be useful: at some point in time I started to hack with = rk3528 support in mainline kernel. HW I=E2=80=99m using is vontar rk3528 tvbox. So far - on mainline 6.10 kernel - I got working: clocks, pin control, = uart, sdcard, eth, usb. I started to work on dw hdmi and got to stage with correct mode sets by = dw-hdmi but I stuck with vop3 support. Generally - I was back porting code from bsp but rockchip bsp is too = divergent from mainline to my back porting skills :-( If anybody can help with vop3 - then we can have quite good initial = support of rk3528 in mainline (the, sdcard, usb, eth, hdmi) gpu, hdmi audio should be probably easy=E2=80=A6 My rk3528 enablements: Bindings: = https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-6.10/f= iles/1100-dt-bindings-clock-add-rk3528-clock-definitions.patch Clocks: = https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-6.10/f= iles/1101-clk-rockchip-add-clock-controller-for-the-RK3528.patch Pincontrol: = https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-6.10/f= iles/1102-pinctrl-rockchip-add-rk3528-support.patch Power domain bindings: = https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-6.10/f= iles/1103-dt-bindings-power-add-RK3528-SoCs-header-for-idle.patch Ethernet support: = https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-6.10/f= iles/1104-ethernet-stmmac-dwmac-rk3528-add-GMAC-support.patch Power domains support: = https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-6.10/f= iles/1105-soc-rockchip-power-domain-add-rk3528-support.patch usb: = https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-6.10/f= iles/1106-phy-rockchip-inno-usb2-add-phy-support-for-rk3528.patch SoC power domains: = https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-6.10/f= iles/1108-soc-rockchip-power-domain-add-rk3528-support.patch Thermal: = https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-6.10/f= iles/1108-thermal-rockchip-add-support-for-rk3528.patch Naneng phy: = https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-6.10/f= iles/1109-phy-rockchip-naneng-combphy-add-support-for-rk3528.patch dw hdmi: = https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-6.10/f= iles/1110-phy-rockchip-inno-hdmi-add-support-for-rk3528.patch Inno hdmi: = https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-6.10/f= iles/1111-drm-rockchip-dw_hdmi-add-support-for-rk3528.patch Nvmem: = https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-6.10/f= iles/1113-nvmem-rockchip-otp-add-support-for-rk3528.patch Sound soc: = https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-6.10/f= iles/1114-sound-soc-codecs-add-rk3528-support.patch rk3528 dtsi: = https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-6.10/f= iles/1150-arm64-dtsi-rockchip-add-3528.dtsi.patch:=20 Vontar tvbox dts: = https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-6.10/f= iles/1151-arm64-dts-rockchip-add-dts-for-vontar_r3.patch It may happen that above patches will not apply clean on vanilla 6.10 as = I=E2=80=99m patching kernel for = s905/s912/sm1/g12/rpi3/rpi4/rpi5/3328/3399//3566/3568/3588/3528 and = rk3528 patches are after applied = s905/s912/sm1/g12/rpi3/rpi4/rpi5/3328/3399/3566/3568/3588 patches. If anybody is interested in adding vop3 support - pls give me sign - we = can work together=E2=80=A6 =20 > Just FYI, the vendor kernel is available here[1] on the "develop-5.10" > branch. >=20 > Best regards, > Yao Zi >=20 > [1]: https://github.com/rockchip-linux/kernel >=20 >>=20 >>> [1]: https://docs.radxa.com/en/e/e20c >>> [2]: = https://gist.github.com/ziyao233/b74523a1e3e8bf36286a572e008ca319 >>>=20 >>> Yao Zi (4): >>> dt-bindings: serial: snps-dw-apb-uart: Document Rockchip RK3528 >>> dt-bindings: arm: rockchip: Add Radxa E20C board >>> arm64: dts: rockchip: Add base DT for rk3528 SoC >>> arm64: dts: rockchip: Add Radxa e20c board >>>=20 >>> .../devicetree/bindings/arm/rockchip.yaml | 5 + >>> .../bindings/serial/snps-dw-apb-uart.yaml | 1 + >>> arch/arm64/boot/dts/rockchip/Makefile | 1 + >>> .../boot/dts/rockchip/rk3528-radxa-e20c.dts | 22 +++ >>> arch/arm64/boot/dts/rockchip/rk3528.dtsi | 182 = ++++++++++++++++++ >>> 5 files changed, 211 insertions(+) >>> create mode 100644 = arch/arm64/boot/dts/rockchip/rk3528-radxa-e20c.dts >>> create mode 100644 arch/arm64/boot/dts/rockchip/rk3528.dtsi >>>=20 >>>=20 >>> base-commit: 94ede2a3e9135764736221c080ac7c0ad993dc2d >=20 > _______________________________________________ > Linux-rockchip mailing list > Linux-rockchip@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-rockchip