Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2184207rdd; Fri, 12 Jan 2024 01:46:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IF810mBybVqA4iylgp6RPhOZiDICoD4R2EJ6jjHa/O8zNXL/+96CyeToePHDoLmg5h9+Bzd X-Received: by 2002:a05:6402:c8d:b0:557:2cb4:a73b with SMTP id cm13-20020a0564020c8d00b005572cb4a73bmr443770edb.34.1705052814270; Fri, 12 Jan 2024 01:46:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705052814; cv=none; d=google.com; s=arc-20160816; b=l7ZtWu/YM0vTL81Nv+F1MOf9ORJFZjCvZJBt5zH9EU7F7jKhRZeyhGv2doJzlcuYeD wgosot+oCV7kLzF/+o5UGDc3OI+yqT8JkYMbcyI4aL5ZiSWw1cgttpltWWMI0jwWjyWu kEE/lhyS7WPHKOpTJgz2PeTz8J1pgk86jO8szwLW/9npWEQoJDjJSfe//WKrrNhpPbX5 lPfCxCjwByHHxE0n1VVLSfmnSrZUXNusxnND2tPZnDmJws+SlpRuxFGzJPpl70EC2LSL 3GHhJgyBWFQrAFu6hnjiOVyc6O1iDr4rTHU0B9r+UUWHyoGbNTTyNoUVCE5VaLtrjrYu 0YrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=+yEIkDWXd27J384iJxaiZILUjyaPg4wNWlDWCi49vgk=; fh=jVP86127nqY6lQ2iFwv7XBo+ATUxJSI3LRZ9chA5Pqo=; b=JNpFVha0ekMLHnTbPRnCQM0JoGduc0SzF7zAOIxLp5a6NuFRClCmvJpgq1QMkwmdsT 459EK7+n0ITsoR5ZfJIqFF5RJVm8VxG0nvoW1qOFKUwDMm1kXcyyJUqAGvjGjkVSuUAm rGEcAd/7UkqcgCZvqEP3Wd0rj5fJvH/mPNyjcWsvKBTAqVaM2OoCigzZW8A+kwUXI9mu KzpvRcvGMev0m6EJPfiFUiDeD5V5xFBnsq3FCBmkzVVPHkJLPIloCQkDNc3gVUxum93n rXLf8hnRmADkGH2yFAtf6/kXwRs4pR19RTArp3BIoa6NBjQaNn2wA/2gLVFqnoQoMhi+ c92Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ur+3HXno; spf=pass (google.com: domain of linux-kernel+bounces-24499-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24499-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id fi22-20020a056402551600b0055835f367e6si1238534edb.283.2024.01.12.01.46.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 01:46:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24499-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=ur+3HXno; spf=pass (google.com: domain of linux-kernel+bounces-24499-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24499-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 0A1FC1F22756 for ; Fri, 12 Jan 2024 09:46:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BC21557315; Fri, 12 Jan 2024 09:46:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="ur+3HXno" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (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 9A52356B99; Fri, 12 Jan 2024 09:46:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1705052798; bh=HqzPxaHeFCyZfYh2e01L+xQeMw072rSkCaHc++QlYdQ=; h=From:To:Cc:Subject:Date:From; b=ur+3HXnozCFZCBDVPEloAp4tOGWzuYqHUeQqBNucoBZKkCLYf48oCaxuLKH3FBgl8 Tks7oB8WPXocfxErw6gaDvsiwIz57UElYZt+s8J0kvLjNZd2OS1C4AG5WE/TeLrE6C NDhvPKkxTS59bcT0eBH+Pz0mEE8ZreeTQWB8NCkM6/K0Ut9GEANxi6EHPT4P+299v5 vsOn661GzfO9RgqONhMM4/VRTR1lMh3b9uNYEKKbGs31cGVb4mBLtPQpGpp1nJUUyz Iq4O196KG+f5HG7KMQnz1iX5YI17yjErN3O3Ieb+75lceTZWAdcIyV9Ow4/QhZMIOn q8r2qIj1Z9xgw== Received: from IcarusMOD.eternityproject.eu (cola.collaboradmins.com [195.201.22.229]) (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: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 8E8F33781FCF; Fri, 12 Jan 2024 09:46:37 +0000 (UTC) From: AngeloGioacchino Del Regno To: linux-mediatek@lists.infradead.org Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, wenst@chromium.org, hsinyi@chromium.org, nfraprado@collabora.com, macpaul.lin@mediatek.com, sean.wang@mediatek.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kernel@collabora.com Subject: [PATCH 00/15] MediaTek: Introduce MT8395 Radxa NIO 12L devicetree Date: Fri, 12 Jan 2024 10:46:17 +0100 Message-ID: <20240112094632.66310-1-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This series adds a device tree for the Radxa NIO 12L SBC, powered by the MediaTek Genio 1200 (MT8395). Not all features of this board are included in this first series but it's already quite usable, as the eMMC internal storage works and can be used to boot the system (as much as MicroSD external storage), the connectivity via ethernet and WiFi (PCI-Express) are working as well. The two I2C, two SPI and the two UART ports are also ok. What is missing (and what's next...!): - UFS storage is not working yet (but eMMC works) - Type-C role switching is not yet implemented, driver is there but mt8195.dtsi has no MTU3 yet, needs some research to avoid breaking compatibility with MT8195 Chromebooks - HDMI Input port: no driver yet - HDMI Output (from SoC HDMI IP): no driver yet - Audio (sound card driver needs some love) - MIPI Camera - System LEDs - "F15" Button This series depends on the MT6360 TCPC series at [1]. [1]: https://lore.kernel.org/all/20240112094538.65639-1-angelogioacchino.delregno@collabora.com Cheers, Angelo AngeloGioacchino Del Regno (15): dt-bindings: arm64: mediatek: Add MT8395 Radxa NIO 12L board compatible arm64: dts: mediatek: Introduce the MT8395 Radxa NIO 12L board arm64: dts: mediatek: radxa-nio-12l: Enable I2C 2/4/6 busses arm64: dts: mediatek: radxa-nio-12l: Add external MT6360 PMIC on I2C6 arm64: dts: mediatek: radxa-nio-12l: Configure board regulators arm64: dts: mediatek: radxa-nio-12l: Add Ethernet controller and Xceiver arm64: dts: mediatek: radxa-nio-12l: Add MT6360 battery charger arm64: dts: mediatek: radxa-nio-12l: Add support for eMMC and MicroSD arm64: dts: mediatek: radxa-nio-12l: Enable System Companion Processor arm64: dts: mediatek: radxa-nio-12l: Enable PCI-Express 0 for USB HUB arm64: dts: mediatek: radxa-nio-12l: Enable the USB XHCI controllers arm64: dts: mediatek: radxa-nio-12l: Enable PCI-Express 1 for WiFi arm64: dts: mediatek: radxa-nio-12l: Enable SPI1/2 for 40pin header arm64: dts: mediatek: radxa-nio-12l: Enable UART1 for 40pin header arm64: dts: mediatek: radxa-nio-12l: Enable Panfrost for Mali GPU .../devicetree/bindings/arm/mediatek.yaml | 1 + arch/arm64/boot/dts/mediatek/Makefile | 1 + .../dts/mediatek/mt8395-radxa-nio-12l.dts | 747 ++++++++++++++++++ 3 files changed, 749 insertions(+) create mode 100644 arch/arm64/boot/dts/mediatek/mt8395-radxa-nio-12l.dts -- 2.43.0