From patchwork Thu Aug 11 02:57:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tinghan Shen X-Patchwork-Id: 596738 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F458C00140 for ; Thu, 11 Aug 2022 02:58:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233695AbiHKC6b (ORCPT ); Wed, 10 Aug 2022 22:58:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233747AbiHKC62 (ORCPT ); Wed, 10 Aug 2022 22:58:28 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1357488DEA; Wed, 10 Aug 2022 19:58:22 -0700 (PDT) X-UUID: 13fa66fbd5064fb4bf6ef72373fceb16-20220811 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=e5yTUFYEnBr3npJrCXzl+sChLO/A0Il8k7OnI7Xpsxk=; b=N4hQdygMbmZwD7H1tD+JTlUpHNpQZiZbBnMTlgyYPuzr2p5UBuoLIKVm47dTzqwiqTQvYbcLMAoxvVOul0I8gxyMThM8XLsp5aFKOWEQ02gslYHR4Wxs78Ta6qUfeXHln1zub+5q0FaScFNJUBzqmkpTtDSMC4GaSihAaqgbS/A=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.9, REQID:9e704666-de8c-45b8-8720-268058ac9118, OB:0, LO B:0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_H am,ACTION:release,TS:0 X-CID-META: VersionHash:3d8acc9, CLOUDID:fd077cae-9535-44a6-aa9b-7f62b79b6ff6, C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,IP:nil,URL:0,File:nil ,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: 13fa66fbd5064fb4bf6ef72373fceb16-20220811 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 892676233; Thu, 11 Aug 2022 10:58:16 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Thu, 11 Aug 2022 10:58:14 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Thu, 11 Aug 2022 10:58:14 +0800 From: Tinghan Shen To: Yong Wu , Joerg Roedel , Will Deacon , Robin Murphy , Rob Herring , Krzysztof Kozlowski , Lee Jones , Matthias Brugger , AngeloGioacchino Del Regno , Tinghan Shen , MandyJH Liu CC: , , , , , Subject: [PATCH v6 00/20] Add driver nodes for MT8195 SoC Date: Thu, 11 Aug 2022 10:57:53 +0800 Message-ID: <20220811025813.21492-1-tinghan.shen@mediatek.com> X-Mailer: git-send-email 2.18.0 MIME-Version: 1.0 X-MTK: N Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Add driver nodes for MT8195 SoC. --- v5 -> v6: - rebased on linux-next/next-20220809 - update the if/else condition comment in iommu.yaml - some v5 patches are corrupted caused by extra line wrapping v4 -> v5: - rebased on linux-next/next-20220802 - fix indentation in scpsys.yaml - rewrite if/else condition for infra iommu in iommu.yaml - remove unused clock from infra iommu node v3 -> v4: - remove unit address of power-controller node name from v3 scpsys bindings - v3 patchset 7 and v3 patchset 6 are combined as v4 patchset 6 - add more commit descriptions for updating mt81xx scpsys node v2 -> v3: - fix dsp node name - add descriptions for iommu interrupts - limit the levels of power domain nodes - update maintainer list of power controller yaml - support naming power controller node with unit address - add SoC specific compatible string to scpsys yaml v1 -> v2: - add new dt-bindings: mfd/mediatek,scpsys.yaml - update compatible string for mt81xx scpsys nodes - apply comments for yaml files: iommu, smi-common, and power-controller - apply comments for dts nodes: power domain, vdosys0. - apply comments for commit message of watchdog, i2c, and smi-common. - add review-by tags --- Jason-JH.Lin (2): arm64: dts: mt8195: Add gce node arm64: dts: mt8195: Add display node for vdosys0 Tinghan Shen (14): dt-bindings: iommu: mediatek: Increase max interrupt number dt-bindings: memory: mediatek: Update condition for mt8195 smi node dt-bindings: power: mediatek: Refine multiple level power domain nodes dt-bindings: power: mediatek: Support naming power controller node with unit address dt-bindings: power: mediatek: Update maintainer list dt-bindings: power: mediatek: Add bindings for MediaTek SCPSYS arm64: dts: mediatek: Update mt81xx scpsys node to align with dt-bindings arm64: dts: mt8195: Disable watchdog external reset signal arm64: dts: mt8195: Add vdosys and vppsys clock nodes arm64: dts: mt8195: Add power domains controller arm64: dts: mt8195: Add spmi node arm64: dts: mt8195: Add scp node arm64: dts: mt8195: Add audio related nodes arm64: dts: mt8195: Add iommu and smi nodes Trevor Wu (1): arm64: dts: mt8195: Specify audio reset controller Tzung-Bi Shih (1): arm64: dts: mt8195: Disable I2C0 node YC Hung (1): arm64: dts: mt8195: Add adsp node and adsp mailbox nodes YT Lee (1): arm64: dts: mt8195: Add cpufreq node .../bindings/iommu/mediatek,iommu.yaml | 29 +- .../mediatek,smi-common.yaml | 11 +- .../bindings/mfd/mediatek,mt8195-scpsys.yaml | 67 ++ .../power/mediatek,power-controller.yaml | 137 +-- arch/arm64/boot/dts/mediatek/mt8167.dtsi | 3 +- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 3 +- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 3 +- arch/arm64/boot/dts/mediatek/mt8192.dtsi | 3 +- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 1054 ++++++++++++++++- 9 files changed, 1176 insertions(+), 134 deletions(-) create mode 100644 Documentation/devicetree/bindings/mfd/mediatek,mt8195-scpsys.yaml