From patchwork Wed Mar 30 09:45:30 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tinghan Shen X-Patchwork-Id: 12795631 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 378AFC433EF for ; Wed, 30 Mar 2022 09:48:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To: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=IDzJPpsxXp6A3lCO0bePDkXfMxsd4oJomlWt3dBDEPU=; b=jD6YcpRV6a3FC/ zrUtKfZtg1yH5a8UV0380B0xAbtflJX65fjvmXqlAJmkU9+68bE5YYacJTiK9uVR2r8inza4r05jh o8Bxlomr966/M+LoEfZY09oRVPwdGIy903bWvDWiIV87byQp+BA/E5cYy6zMSFAl3YYwN5K1axYwN X7AVGaXsk1NPfqtEQR9Kvn9/RNxlMsgazaCgp6D0rp5dv+gZcC+GnMbjwZcOt1zdiAqFs7COeO6ok yPfBZACT+xWq2N9Yf3sZMzopYkwl5BxVoXgvtu/RWBLJ5n4CqgPcKhbu0kKyXn56hI97itBCny4Td IGg63MAaxRf11JBfM/nQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nZUuS-00F2Oj-2a; Wed, 30 Mar 2022 09:46:37 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nZUtf-00F27M-E7; Wed, 30 Mar 2022 09:45:49 +0000 X-UUID: 8423f514238a4faf9c2cbec7c2a9ff48-20220330 X-UUID: 8423f514238a4faf9c2cbec7c2a9ff48-20220330 Received: from mtkcas67.mediatek.inc [(172.29.193.45)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1850334898; Wed, 30 Mar 2022 02:45:43 -0700 Received: from mtkmbs07n1.mediatek.inc (172.21.101.16) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 30 Mar 2022 02:45:41 -0700 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 30 Mar 2022 17:45:40 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas11.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 30 Mar 2022 17:45:39 +0800 From: Tinghan Shen To: Chaotian Jing , Ulf Hansson , Rob Herring , "Krzysztof Kozlowski" , Matthias Brugger , AngeloGioacchino Del Regno , Wenbin Mei CC: , , , , , , , , , Tinghan Shen Subject: [PATCH v13 0/2] Add basic SoC support for mediatek mt8195 Date: Wed, 30 Mar 2022 17:45:30 +0800 Message-ID: <20220330094532.21721-1-tinghan.shen@mediatek.com> X-Mailer: git-send-email 2.15.GIT MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220330_024547_535260_17598445 X-CRM114-Status: GOOD ( 15.29 ) 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 series adds basic SoC support for Mediatek's SoC MT8195. --- Changes in v13: - add more description of reg items in mtk-sd.yaml Changes in v12: - update mtk-sd.yaml to extend reg property and fix yamllint error - add xhci nodes and move xhci3 property (usb2-lpm-disable) to evb.dts Changes in v11: - rebase on 5.17-rc4 Changes in v10: - clean CC list Changes in v9: - remove duplicated cpus dt-bindings patch in v8 Changes in v8: - v7 mediatek,spi-mtk-nor.yaml patch is applied in branch for-5.17 at kernel/git/broonie/spi.git - v7 pinctrl-mt8195.yaml patch is applied in branch for-next at kernel/git/linusw/linux-pinctrl.git - add cortex-a78 compatible to cpus dt-bindings - add mediatek,drive-strength-adv property to pinctrl dt-bindings - fix evb dts - remove i2c nodes with disabled status from dts - fix pin properties not match pinctrl dt-bindings - remove unnecessary u3port* - fix dtsi - fix node format - reorder oscillator* nodes - fix node name of cpu idle nodes - remove clock-frequency property in the timer node - reorder clock and clock names in usb nodes Changes in v7: - refine title of spi-nor dt-bindings patch - refine commit message of pinctrl dt-bindings patch - update pinctrl-mt8195.yaml - change property pattern from 'pins' to '^pins' - update examples with new property in descriptions - add new example - drop '_' from node names of pinctrl subnodes in mt8195-evb.dts Changes in v6: - rebase on 5.16-rc1 - add new clock name to spi-nor dt-bindings - add "pins" property in pinctrl dt-bindings - fix fails of dtbs_checks - remove "arm,armv8" not matched in yaml from cpu compatile - fix node name of xhci - remvoe xhci upstreaming wakeup properties - remove xhci unused properties address-cells and size-cells - fix node name of ufs-phy - fix node name of spi-nor - fix node name and sub-nodes of pinctrl - fix mmc compatible Changes in v5: - enable basic nodes in mt8195-evb.dts - remove dedicated clock nodes - add mmc2 node - fix interrupt number of pinctrl node - update clock nodes to apply internal fixes - add dt-bindings for perficfg node v4 thread: https://lore.kernel.org/all/20210922093303.23720-2-seiya.wang@mediatek.com/ v3 thread: https://lore.kernel.org/all/20210601075350.31515-2-seiya.wang@mediatek.com/ v2 thread: https://lore.kernel.org/all/20210319023427.16711-10-seiya.wang@mediatek.com/ v1 thread: https://lore.kernel.org/all/20210316111443.3332-11-seiya.wang@mediatek.com/ --- Tinghan Shen (2): dt-bindings: mmc: mtk-sd: increase reg items arm64: dts: Add mediatek SoC mt8195 and evaluation board .../devicetree/bindings/mmc/mtk-sd.yaml | 15 +- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt8195-evb.dts | 173 +++ arch/arm64/boot/dts/mediatek/mt8195.dtsi | 1045 +++++++++++++++++ 4 files changed, 1233 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/mediatek/mt8195-evb.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8195.dtsi