From patchwork Thu Feb 6 10:38:07 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Louis-Alexis Eyraud X-Patchwork-Id: 13962792 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 2864EC02196 for ; Thu, 6 Feb 2025 10:41:55 +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:Cc:To: Content-Transfer-Encoding:Content-Type:MIME-Version:Message-Id:Date:Subject: From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=5CzattQlOpc0fq8sylm+sh7qilA18495MCpzkhUwE1k=; b=aBM1AP77zl3Duv Jrq+u7Ay3qTzqUYI05kTN3BT3Qw6UNYEsFmwgLWyh3E68yMrDKbVy8GuSaZ19hGOWfn45Y+ZJZtRW lg9OLB3fevgvj0wRecm2JO6CvTQpFh+1dVf7lTDyZy/AO6+OXCFcmy/3e52baE7uZFbRN/B+VoUrW Y99RDJjPTZ39JnnCVI5IojjrTsRKa7GMEKXud5/HzViy5PFh1kkLozf4dEGFySi6xeqvreVKsCCKa GXRIcsjjgAmQjM6shC9MskKRT0AvwEcZRJ1xL5DSHPa/TUKh2dHn9Spl3Tn4yQ1R+s83gPE8hIM2b 0Z5fnX/4VZehYZ9pCFPA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tfzKK-00000005zwB-1UIA; Thu, 06 Feb 2025 10:41:44 +0000 Received: from bali.collaboradmins.com ([2a01:4f8:201:9162::2]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tfzIx-00000005zfn-1bUZ; Thu, 06 Feb 2025 10:40:20 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1738838417; bh=gPeWkhbcGBtBfTnD6brVIrLrhXkuhVZd0eeXSC+jsF0=; h=From:Subject:Date:To:Cc:From; b=ELGIaRJfKatH5cZWPjuGgD0PRYtuMBQJQNy3R7tVD3nL9szN3i2ga5EokKLpJVZNc j0P4l3tD+6n/wHLy4sj56SEin6o9MfnDtDtvzCtH5RPvUEA7aonbWOA8hu12HjrcUi mCJ7mdYST0pcHYIdURognZKhB1Vn8LrMtLlcQ2cefo3WXLvFA9SuaLW/SzPcJ1r2Ei E5MDGl4PqNf3+wCu8ZxkPt+G1IgQK5YSceYdzQDULjf8bGABlovvxHaJvPgATWA08G qIXMp+uI/7+zwE0v2WKI1PR3xwBaq+i9aiUxWF0UaoJA7CzHbheaL1R9zl49R40Eb1 hqr9qwsoT3iHg== Received: from yukiji.home (lfbn-tou-1-1147-231.w90-76.abo.wanadoo.fr [90.76.208.231]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: laeyraud) by bali.collaboradmins.com (Postfix) with ESMTPSA id E549B17E0FC3; Thu, 6 Feb 2025 11:40:16 +0100 (CET) From: Louis-Alexis Eyraud Subject: [PATCH v3 0/4] Add support for Mediatek Genio 510 EVK board Date: Thu, 06 Feb 2025 11:38:07 +0100 Message-Id: <20250206-dts_mt8370-genio-510-v3-0-5ca5c3257a4c@collabora.com> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAA+RpGcC/3XQ20oDMRAG4FcpuTYy2Rzrle9RRDLJpA10N5qki 1L67qYtgohe/hnyzeHMGtVMjT1tzqzSmlsuywjyYcPCwS974jmOzCaYNAgheeztde5OWuB7WnL hWgCX2gA6EIB+y8bXt0opf9zY3cvIh9x6qZ+3Lqu4vn6D6m9wFRy408ISQYpI7jmU49Fjqf4xl Jld0XX6Cel/oGlAKWwRRATnpPoNXe7jVno/jeX7fWaGvhEf9Tn3cQwrpMGkg/QmGTTORKuSEqO VNwoMUjBoMQzs8gUqIKmIUQEAAA== X-Change-ID: 20250113-dts_mt8370-genio-510-3560b8010ba9 To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Sean Wang Cc: kernel@collabora.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Louis-Alexis Eyraud , Conor Dooley X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1738838416; l=3025; i=louisalexis.eyraud@collabora.com; s=20250113; h=from:subject:message-id; bh=gPeWkhbcGBtBfTnD6brVIrLrhXkuhVZd0eeXSC+jsF0=; b=tQzwd7PO2jXwURQnGBpIXl85HHlgp40J0D5x9X5OchIvcm8Mj++0qhy8t6fL3VygS3/DbEzPZ HlVvRBaWWnHACELWale/bEnlDxpUmoCsl78feJe9glaOxmhD/sBp1BC X-Developer-Key: i=louisalexis.eyraud@collabora.com; a=ed25519; pk=CHFBDB2Kqh4EHc6JIqFn69GhxJJAzc0Zr4e8QxtumuM= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250206_024019_579370_2F7DBAD0 X-CRM114-Status: GOOD ( 11.86 ) 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 This patchset adds the basic support of the Mediatek Genio 510 EVK board, based on the Mediatek MT8370 SoC. It adds a device-tree file for the board (mt8370-genio-510-evk.dtb) and an include file for the SoC (mt8370.dtsi), in order to be able to boot. As the board is very close to the Genio 700 EVK board, an include file (mt8390-genio-common.dtsi) is also created to factorize the common definitions. The Genio 510 EVK has following features: - MT8370 SoC - MT6365 PMIC - MT6319 Buck IC - 4GB LPDDR4X - 64GB eMMC 5.1 - 12V DC Jack - Micro SD card slot - Push Button x 4 (Power, Reset, Download and Home Key) - LED x 4 (Power, Reset, System on and Charging Status) - USB Device Port x 1 (Micro USB Connector) - USB Host Port x 1 (Type-C USB Connector) - 3.5mm Earphone Jack x 1 (with Microphone Input) - 3.5mm Line Out Audio Jack x 1 - Analog Microphone x 1 - Digital Microphone x 2 - Gigabit Ethernet with RJ45 connector - HDMI 2.0 TX port with Type A HDMI connector - eDP port - 3x UART with serial-to-usb converters and micro USB connectors - M.2 Slot x 2 - I2C Capacitive Touch Pad - 4-Lane DSI x 2 - 4-Data Lane CSI x 2 - I2S Pin header - 40-Pin 2.54mm Pin Header x 1 Signed-off-by: Louis-Alexis Eyraud --- Changes in v3: - Reword commit messages to use imperative mood - Add missing code-review trailers in commit messages - Link to v2: https://lore.kernel.org/r/20250115-dts_mt8370-genio-510-v2-0-fc9b01d08834@collabora.com Changes in v2: - Reword "dt-bindings: arm: mediatek: add mt8370-evk board" commit message to add details on MT8370 SoC and links to MT8188 and MT8390 - Add note about gpu support in "arm64: dts: mediatek: add support for MT8370 SoC" commit message - Split "arm64: dts: mediatek: add device-tree for Genio 510 EVK board" commit in two, as requested by AngeloGioacchino Del Regno - Link to v1: https://lore.kernel.org/r/20250114-dts_mt8370-genio-510-v1-0-8517ee0fdbe8@collabora.com --- Louis-Alexis Eyraud (4): dt-bindings: arm: mediatek: add mt8370-evk board arm64: dts: mediatek: add support for MT8370 SoC arm64: dts: mediatek: mt8390-genio-700-evk: Move common parts to dtsi arm64: dts: mediatek: add device-tree for Genio 510 EVK board .../devicetree/bindings/arm/mediatek.yaml | 5 + arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt8188.dtsi | 8 +- .../boot/dts/mediatek/mt8370-genio-510-evk.dts | 19 + arch/arm64/boot/dts/mediatek/mt8370.dtsi | 64 ++ .../boot/dts/mediatek/mt8390-genio-700-evk.dts | 1033 +------------------ .../boot/dts/mediatek/mt8390-genio-common.dtsi | 1040 ++++++++++++++++++++ 7 files changed, 1134 insertions(+), 1036 deletions(-) --- base-commit: 37136bf5c3a6f6b686d74f41837a6406bec6b7bc change-id: 20250113-dts_mt8370-genio-510-3560b8010ba9 Best regards,