From patchwork Thu Feb 27 11:18:58 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kever Yang X-Patchwork-Id: 13994197 Received: from mail-m19731117.qiye.163.com (mail-m19731117.qiye.163.com [220.197.31.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8FC5F226CF0; Thu, 27 Feb 2025 11:19:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=220.197.31.117 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740655174; cv=none; b=AFWcyYgLEdxxfzmstqHPH2//mAYDVAJL204cGlbmMa2YkRf3Lx27JKJYmzY7XMKqlXghbUwfQFqih+T965O/bNcaIyUzekro4mBncoywb9vY1vlm9CF3hzN+mLQQWBYqi3eC5xVRLCqLSNiyzLG+9AffmhWD+OQiZo6pAOpvepw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740655174; c=relaxed/simple; bh=njLAWRYh1HOdc7IeCl25keQ7tod9gpxqm84iUIxyHLc=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type; b=AL3jqHIsQKT2ShqKsMfWOXYqL1a8mDHvruakLHv19CZwGNlR7VxKLZtbuAsXwVljeav6yUZSo3gfYDW7XVCp9ya6ZTL3b57RKgcHbFj7oIbUrh9+ZC2or5fg+cPY0L9dZ3L6LpDCUScnzdSSBXXi80i755/FHxu+TgxqHGZcPXM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rock-chips.com; spf=pass smtp.mailfrom=rock-chips.com; dkim=pass (1024-bit key) header.d=rock-chips.com header.i=@rock-chips.com header.b=BdEckSY+; arc=none smtp.client-ip=220.197.31.117 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=rock-chips.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rock-chips.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=rock-chips.com header.i=@rock-chips.com header.b="BdEckSY+" Received: from localhost.localdomain (unknown [58.22.7.114]) by smtp.qiye.163.com (Hmail) with ESMTP id c65f97bb; Thu, 27 Feb 2025 19:19:17 +0800 (GMT+08:00) From: Kever Yang To: heiko@sntech.de Cc: linux-rockchip@lists.infradead.org, Kever Yang , Simon Xue , Guenter Roeck , linux-usb@vger.kernel.org, Chris Morgan , Frank Wang , Jamie Iles , Bjorn Helgaas , linux-pci@vger.kernel.org, Jonas Karlman , Johan Jonker , David Airlie , dri-devel@lists.freedesktop.org, linux-i2c@vger.kernel.org, Shawn Lin , Simona Vetter , Elaine Zhang , Conor Dooley , Finley Xiao , Maxime Ripard , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , FUKAUMI Naoki , linux-pwm@vger.kernel.org, Krzysztof Kozlowski , linux-serial@vger.kernel.org, Michael Riesch , Greg Kroah-Hartman , ulf.hansson@linaro.org, Jiri Slaby , Detlev Casanova , Andi Shyti , devicetree@vger.kernel.org, Diederik de Haas , linux-watchdog@vger.kernel.org, Rob Herring , Cristian Ciocaltea , Wim Van Sebroeck , Shresth Prasad , Tim Lunn , Lorenzo Pieralisi , Maarten Lankhorst , linux-arm-kernel@lists.infradead.org, Jisheng Zhang , Dragan Simic , Mark Brown , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org, Andy Yan , Manivannan Sadhasivam , Thomas Zimmermann , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= Subject: [PATCH v3 00/15] rockchip: Add rk3562 SoC and evb support Date: Thu, 27 Feb 2025 19:18:58 +0800 Message-Id: <20250227111913.2344207-1-kever.yang@rock-chips.com> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-HM-Spam-Status: e1kfGhgUHx5ZQUpXWQgPGg8OCBgUHx5ZQUlOS1dZFg8aDwILHllBWSg2Ly tZV1koWUFDSUNOT01LS0k3V1ktWUFJV1kPCRoVCBIfWUFZGR1PTlZMGkxLSB9PSx1JGEtWFRQJFh oXVRMBExYaEhckFA4PWVdZGBILWUFZTkNVSUlVTFVKSk9ZV1kWGg8SFR0UWUFZT0tIVUpLSEpKQk 1VSktLVUpCWQY+ X-HM-Tid: 0a954721e05903afkunmc65f97bb X-HM-MType: 1 X-HM-Sender-Digest: e1kMHhlZQR0aFwgeV1kSHx4VD1lBWUc6NVE6Fjo6FzIUDQ00OEwOHgEc HTRPCgFVSlVKTE9LTU5OSk1LQkNPVTMWGhIXVRAeDR4JVQIaFRw7CRQYEFYYExILCFUYFBZFWVdZ EgtZQVlOQ1VJSVVMVUpKT1lXWQgBWUFISE5NNwY+ DKIM-Signature: a=rsa-sha256; b=BdEckSY+wUbbiwIXz/tXIGngsjrJJtvnCGpRhJcumqcHi5a1XPphTYrKpF94mYf7sCVfc6bQU1p5Cmc1EaBUKYWwF0mwJiQPRXlVKuIn9V8U6IxtcGYA6jHfymHzjLQcqsPMufF1tOa4OESA6cy9nsLx1fDpDccQcBS3fazdRyg=; c=relaxed/relaxed; s=default; d=rock-chips.com; v=1; bh=N8gEIfVArZNEctX9d5QVCtuV3cHJHJINt6Qku/Lq5OM=; h=date:mime-version:subject:message-id:from; This patch set adds rk3562 SoC and its evb support. I have split out patches need driver change for different subsystem. And all the modules with dt-binding document update in this patch set do not need any driver change. I put them together to make it clear we have a new SoC and board to use the new compatible. Please pick up the patch for your subsystem, or please let me know if the patch has to send separate. Test with GMAC, USB, PCIe, EMMC, SD Card. This patch set is base on the patch set for rk3576 evb1 support. V2: https://lore.kernel.org/linux-rockchip/b4df8a73-58a2-4765-a9e4-3513cb2bc720@rock-chips.com/T/ Changes in v3: - Rebase the change base on rk3576 pcie patches - Updae to fix dt_binding_check fail - update commit msg - Collect review tag - Update the commit message, - remove the change for clock maxItems - Collect reveiw tag - Collect review tag - Update the commit message - Update commit message and add per device schema for clock name change - Update the commit message and collect the Acked-by tag. - Collect the Acked-by tag - remove i2c/serial/spi alias - add soc node Changes in v2: - Update in sort order - remove grf in cru - Update some properties order Finley Xiao (2): arm64: dts: rockchip: add core dtsi for RK3562 Soc arm64: dts: rockchip: Add RK3562 evb2 devicetree Kever Yang (13): dt-bindings: PCI: dwc: rockchip: Add rk3562 support dt-bindings: mmc: Add support for rk3562 eMMC dt-bindings: mmc: rockchip-dw-mshc: Add support for rk3562 dt-bindings: i2c: i2c-rk3x: Add rk3562 support dt-bindings: gpu: Add rockchip,rk3562-mali compatible dt-bindings: watchdog: Add rk3562 compatible dt-bindings: spi: Add rk3562 support dt-bindings: serial: snps-dw-apb-uart: Add support for rk3562 dt-bindings: usb: dwc3: Add support for rk3562 dt-bindings: pwm: rockchip: Add rockchip,rk3562-pwm dt-bindings: rockchip: pmu: Add rk3562 compatible dt-bindings: soc: rockchip: Add rk3562 syscon compatibles dt-bindings: arm: rockchip: Add rk3562 evb2 board .../devicetree/bindings/arm/rockchip.yaml | 5 + .../devicetree/bindings/arm/rockchip/pmu.yaml | 2 + .../bindings/gpu/arm,mali-bifrost.yaml | 1 + .../devicetree/bindings/i2c/i2c-rk3x.yaml | 1 + .../bindings/mmc/rockchip-dw-mshc.yaml | 1 + .../bindings/mmc/snps,dwcmshc-sdhci.yaml | 4 +- .../bindings/pci/rockchip-dw-pcie.yaml | 9 +- .../devicetree/bindings/pwm/pwm-rockchip.yaml | 1 + .../bindings/serial/snps-dw-apb-uart.yaml | 1 + .../devicetree/bindings/soc/rockchip/grf.yaml | 7 + .../devicetree/bindings/spi/spi-rockchip.yaml | 1 + .../bindings/usb/rockchip,dwc3.yaml | 19 + .../bindings/watchdog/snps,dw-wdt.yaml | 1 + arch/arm64/boot/dts/rockchip/Makefile | 1 + .../boot/dts/rockchip/rk3562-evb2-v10.dts | 520 ++++ .../boot/dts/rockchip/rk3562-pinctrl.dtsi | 2352 +++++++++++++++++ arch/arm64/boot/dts/rockchip/rk3562.dtsi | 1374 ++++++++++ 17 files changed, 4297 insertions(+), 3 deletions(-) create mode 100644 arch/arm64/boot/dts/rockchip/rk3562-evb2-v10.dts create mode 100644 arch/arm64/boot/dts/rockchip/rk3562-pinctrl.dtsi create mode 100644 arch/arm64/boot/dts/rockchip/rk3562.dtsi