From patchwork Sun Jul 2 20:47:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonas Karlman X-Patchwork-Id: 1802477 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kwiboo.se header.i=@kwiboo.se header.a=rsa-sha256 header.s=s1 header.b=P+7sGPrP; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4QvLhx4PJwz20bT for ; Mon, 3 Jul 2023 06:47:27 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 09E198634D; Sun, 2 Jul 2023 22:47:22 +0200 (CEST) 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; unprotected) header.d=kwiboo.se header.i=@kwiboo.se header.b="P+7sGPrP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D599E8634D; Sun, 2 Jul 2023 22:47:20 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.2 Received: from s.wrqvtbkv.outbound-mail.sendgrid.net (s.wrqvtbkv.outbound-mail.sendgrid.net [149.72.123.24]) (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 2BC8686237 for ; Sun, 2 Jul 2023 22:47:18 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none 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=4y96dyTdaMUl2GUVheMoKFbjsDMarI1sGrNGPXgAovk=; b=P+7sGPrPdzjlDK/oUTiROe0SeGOsH6uWm+gIPJWdCXGAdnrSQLLkCJdvPWVMyI3UJz0U bIxxzfCzQCauzog5fG8bkaf2AejmWICCHVjgGiJWqHeozZ58C+oTgwZu3n6IHftaLtZ3+Y TMxO1hTtsb6a6Cvd3mz6O99ADhO/yZ2E+b21dmDoKJmVpqNfDL3pu6qhUo8w9xfO14Jeq2 6u/BYF7VWjiRUcn6hItJPcXWio+gvh/+0n/wCA6xxabziqPA/MWeIB0MXxVEIKSCqznNTu gRHwvm4t+7avrACM9q8N+ir2FT9BH2S5CqJiTGVy6mK8I6wIi+bg5dIUS1NIq+fQ== Received: by filterdrecv-8684c58db7-wgzpm with SMTP id filterdrecv-8684c58db7-wgzpm-1-64A1E253-15 2023-07-02 20:47:15.9917114 +0000 UTC m=+4568936.680713512 Received: from bionic.localdomain (unknown) by geopod-ismtpd-0 (SG) with ESMTP id 71ssLqqkR7KrDYIYXf-BlA Sun, 02 Jul 2023 20:47:15.514 +0000 (UTC) From: Jonas Karlman Subject: [PATCH 0/2] board: rockchip: Add Hardkernel ODROID-M1 Date: Sun, 02 Jul 2023 20:47:16 +0000 (UTC) Message-ID: <20230702204712.3872549-1-jonas@kwiboo.se> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-SG-EID: TdbjyGynYnRZWhH+7lKUQJL+ZxmxpowvO2O9SQF5CwCVrYgcwUXgU5DKUU3QxAfZekEeQsTe+RrMu3cja6a0h5YqYbV91DIqM1U7N+ntqR8wH93y0MmrDpm4dWanqJx8TQXR7h1634gC19HlaQ5rwyitriNHz/bg1D66He5CcMkPxbEzOJ6loxCmKfQQMoRmUNDwkYPKoLq+D3M5uR7nDji4IlqPxyiZxwtilEw2/P4PbAIEXL8M2144nZwRlLHJ To: Kever Yang , Simon Glass , Philipp Tomsich Cc: Joseph Chen , u-boot@lists.denx.de, Jonas Karlman X-Entity-ID: P7KYpSJvGCELWjBME/J5tg== 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 support for Hardkernel ODROID-M1, a single board computer with a RK3568B2 SoC. First patch fixes a build issue in the dwc_ahci driver. Second patch import the device tree from linux v6.4 and add a defconfig for Hardkernel ODROID-M1. Following was tested on a ODROID-M1 8GB v1.0 2022-06-13: - SD-card boot - eMMC boot - SPI Flash boot - PCIe/NVMe/AHCI - SATA port - USB host This series have loose dependencies on the following series: - rockchip: Fix PCIe and NVMe support on RK3568 [1] - rockchip: rk3568: Use dwc3-generic driver [2] - rockchip: rk3568: Fix alloc space exhausted in SPL [3] - rockchip: rk3568: Device Tree updates [4] [1] https://patchwork.ozlabs.org/project/uboot/list/?series=355486 [2] https://patchwork.ozlabs.org/project/uboot/list/?series=357200 [3] https://patchwork.ozlabs.org/project/uboot/list/?series=361999 [4] https://patchwork.ozlabs.org/project/uboot/list/?series=362030 Jonas Karlman (2): ata: dwc_ahci: Fix support for other platforms board: rockchip: Add Hardkernel ODROID-M1 arch/arm/dts/Makefile | 1 + arch/arm/dts/rk3568-odroid-m1-u-boot.dtsi | 46 ++ arch/arm/dts/rk3568-odroid-m1.dts | 744 ++++++++++++++++++++++ board/rockchip/evb_rk3568/MAINTAINERS | 7 + configs/odroid-m1-rk3568_defconfig | 103 +++ doc/board/rockchip/rockchip.rst | 1 + drivers/ata/dwc_ahci.c | 4 + 7 files changed, 906 insertions(+) create mode 100644 arch/arm/dts/rk3568-odroid-m1-u-boot.dtsi create mode 100644 arch/arm/dts/rk3568-odroid-m1.dts create mode 100644 configs/odroid-m1-rk3568_defconfig