From patchwork Sat Dec 11 20:40:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tinghan Shen X-Patchwork-Id: 12695778 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 1C562C433EF for ; Sat, 11 Dec 2021 20:42:37 +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=JmQ1TNlGf0vjbsGSYZF/pX1VLSQRxFDDmxKhqbYv+Ok=; b=Y+q5IeL5bl8bf8 gc+LQj9uF5Nzz5Cf9YQL/3TChp8pPY7ZXJfOCQsuOsMvWsDwg/wK7YMBiMQk2io6zJQJO60g1ny6u eUjj3ooQlcv5os7vKpMkGl20gAGWEFm7/thtGozOaOdv04sGUqbXO9QiAFLaqJVwkLBliUS/QIDSj xv8b3YzDfcOxSB4/HEC9ABOKn39Elai2of7syeOKMbjkqrc+crWI2BhnRaUH4QoyC2qUXv1wgYjL9 unORVW0vrVGplXJCy9+7Fdg6+nXxquWWyW/ad8+V/Pu0SFb0x6jJpi4pQ7W+HnakXZtRBzFEfcQB8 5X6aQHS2CSnljhBi8YdA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mw9BH-005Xi2-SF; Sat, 11 Dec 2021 20:41:20 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mw9AZ-005XWJ-SP; Sat, 11 Dec 2021 20:40:37 +0000 X-UUID: 5a5bec09fbc04cddaf0532813094bd8b-20211211 X-UUID: 5a5bec09fbc04cddaf0532813094bd8b-20211211 Received: from mtkcas67.mediatek.inc [(172.29.193.45)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 722283113; Sat, 11 Dec 2021 13:40:32 -0700 Received: from mtkexhb01.mediatek.inc (172.21.101.102) by MTKMBS62N2.mediatek.inc (172.29.193.42) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sat, 11 Dec 2021 12:40:30 -0800 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkexhb01.mediatek.inc (172.21.101.102) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Sun, 12 Dec 2021 04:40:17 +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; Sun, 12 Dec 2021 04:40:17 +0800 From: Tinghan Shen To: , , , CC: , , , , , , , , , , , Tinghan Shen Subject: [PATCH v6 0/4] Add basic SoC support for mediatek mt8195 Date: Sun, 12 Dec 2021 04:40:10 +0800 Message-ID: <20211211204014.8014-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-20211211_124035_991570_A9B700A4 X-CRM114-Status: GOOD ( 10.36 ) 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 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 (4): dt-bindings: arm: mediatek: add mt8195 pericfg compatible dt-bindings: spi: add new clock name 'axi' for spi nor dt-bindings: pinctrl: mt8195: add 'pins' wrapping node arm64: dts: Add mediatek SoC mt8195 and evaluation board .../arm/mediatek/mediatek,pericfg.yaml | 1 + .../bindings/pinctrl/pinctrl-mt8195.yaml | 307 ++--- .../bindings/spi/mediatek,spi-mtk-nor.yaml | 6 +- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt8195-evb.dts | 209 ++++ arch/arm64/boot/dts/mediatek/mt8195.dtsi | 1034 +++++++++++++++++ 6 files changed, 1410 insertions(+), 148 deletions(-) create mode 100644 arch/arm64/boot/dts/mediatek/mt8195-evb.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8195.dtsi