From patchwork Thu Oct 19 07:54:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jason Chen X-Patchwork-Id: 13428417 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 181E9CDB465 for ; Thu, 19 Oct 2023 07:55:13 +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:Content-Type:MIME-Version: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=+DZ9ypkqR65NcGpwVfVZuOuQBJBNHwGt5NBXY+YxBhY=; b=Ow7HLmajsiTBmmHHp4X76v2qiS x9B/gaXNo9uJZUnj1H9GzSF9AQ8rWG7LykKLJ4UJDscg3c98xoc2i4u8SfhtadkAgWek80ZvBgvQn k6XGiRSNreQxyOrYEeHW6uNN8seop9lLYHHunaNqvH/QHQE/5W/40Ls70EJBDFyYbs/TCttLc2YQw XCEQBCbjJVLnyI4SSpMdQsTNTxMwH5lvT4aI9gXUvcoznVL/8Ra2XFUmTeyYi8qKOOUJWmPuIg3N3 bhKunKlwrjPogZNKX2ljsmcKs7cUqO6jKT67/1+zLPtBMpOsE5jgk6/T23pAScOa6qyLQnkcmUS6u JG7+5wXA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qtNs8-00GeC4-08; Thu, 19 Oct 2023 07:55:12 +0000 Received: from mailgw01.mediatek.com ([216.200.240.184]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qtNs5-00GeB8-1S; Thu, 19 Oct 2023 07:55:10 +0000 X-UUID: cf7bc9606e5411ee9b7791016c24628a-20231019 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=+DZ9ypkqR65NcGpwVfVZuOuQBJBNHwGt5NBXY+YxBhY=; b=Q6Il1hWAccgs6rsDegTDl0u5H5HDE5ft2FRBYalZG6MpfvVfQW7VSilun3DtxtMJ9CIUu/p1ocFQVUrMlCtuPn+7vVuaaEUyPZ2BwPNEn7UBE6Pc+0zvYNUcHGv20CO77GCIeKDXGEO4Kr5RCnEYGqiESRp2r0WoxY+HKM8KqGY=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.32,REQID:d88eb0c4-2386-4a32-bdc9-7adf9540ed73,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:5f78ec9,CLOUDID:5640faf0-9a6e-4c39-b73e-f2bc08ca3dc5,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1,SPR:NO, DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: cf7bc9606e5411ee9b7791016c24628a-20231019 Received: from mtkmbs11n1.mediatek.inc [(172.21.101.185)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 782336239; Thu, 19 Oct 2023 00:55:03 -0700 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs13n1.mediatek.inc (172.21.101.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Thu, 19 Oct 2023 15:55:00 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs13n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Thu, 19 Oct 2023 15:55:00 +0800 From: Jason-ch Chen To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , Eugen Hristev , Bartosz Golaszewski , Alexandre Mergnat CC: =?utf-8?q?N=C3=ADcolas_F_=2E_R_=2E_A_=2E_Prado?= , Chen-Yu Tsai , , , , , , jason-ch chen Subject: [PATCH v5 0/4] Add basic node support for MediaTek MT8188 SoC Date: Thu, 19 Oct 2023 15:54:54 +0800 Message-ID: <20231019075458.28290-1-jason-ch.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231019_005509_500093_721D0B24 X-CRM114-Status: GOOD ( 12.98 ) X-BeenThere: linux-mediatek@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-mediatek" Errors-To: linux-mediatek-bounces+linux-mediatek=archiver.kernel.org@lists.infradead.org From: jason-ch chen MT8188 is a SoC based on 64bit ARMv8 architecture. It contains 6 CA55 and 2 CA78 cores. MT8188 share many HW IP with MT65xx series. This patchset was tested on MT8188 evaluation board to shell. Based on tag: next-20231018, linux-next/master Changes in v5: - Remove unnecessary always-on regulator nodes - Fix dtbs_check warning Changes in v4: - Explain the reason of modifying pwrap binding file, and correct the subject - Fix reviewer's comments Changes in v3: - Remove the duplicated part of mt8188 in the pwrap yaml file - Fix reviewer's comments about coding style Changes in v2: - Add MT8188 PMIC Wrapper compatible to binding document - Fix reviewer's comments jason-ch chen (4): dt-bindings: arm: Add compatible for MediaTek MT8188 dt-bindings: arm: mediatek: Add mt8188 pericfg compatible dt-bindings: soc: mediatek: pwrap: Modify compatible for MT8188 arm64: dts: Add MediaTek MT8188 dts and evaluation board and Makefile .../devicetree/bindings/arm/mediatek.yaml | 4 + .../arm/mediatek/mediatek,pericfg.yaml | 1 + .../bindings/soc/mediatek/mediatek,pwrap.yaml | 6 +- arch/arm64/boot/dts/mediatek/Makefile | 1 + arch/arm64/boot/dts/mediatek/mt8188-evb.dts | 388 +++++++ arch/arm64/boot/dts/mediatek/mt8188.dtsi | 949 ++++++++++++++++++ 6 files changed, 1348 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/mediatek/mt8188-evb.dts create mode 100644 arch/arm64/boot/dts/mediatek/mt8188.dtsi