From patchwork Thu Aug 4 02:15:33 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tinghan Shen X-Patchwork-Id: 12936054 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 5A003C19F29 for ; Thu, 4 Aug 2022 02:38:16 +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=iJmDNWJPrpAxNFbQzNO/8w6vEc1aOjHMELzkn8Pxyrg=; b=Sjxl69hTR1b8vH cjme1cqgbHBawzwcg6Bg2Ca3LQdTieVuUQjAYy+GUk3EVUTYtKEpaRwyfOkSSJIJMLMqv7b9KinTc tUT2Wyy5GMjlqncI3vQ3C+X9XHwt7z5qJUooSenCR97E4SqHhwoaRocBDimvFzw9LVf+L3G54cnqi mS5qhckzwIZ+1BiVDsz6lJcGx4Dk3f7uPqoIObdtSppF8pPMd44bLSzXU9Ox65vlI5fv4krKKEfSW qH347+Uw6TpVNN+RC+0StXJW7Uq5XfNMItoF0IUo5Z+oaBcJeEDY+5DDzZTRH9SKPp/B8ZHy64MnK tW6Cj8AxV74XPfSLNC4w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oJQjZ-00EQ0R-3I; Thu, 04 Aug 2022 02:37:13 +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 1oJQjV-00EPpJ-CN; Thu, 04 Aug 2022 02:37:10 +0000 X-UUID: f31b651ddf30459a9c29289010081daf-20220803 X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.8,REQID:f03063a2-9428-4cf7-807f-fc6bbf68f129,OB:0,LO B:0,IP:0,URL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,RULE:Release_Ham,ACTI ON:release,TS:0 X-CID-META: VersionHash:0f94e32,CLOUDID:3df22cd1-841b-4e95-ad42-8f86e18f54fc,C OID:IGNORED,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,IP:nil,URL:0,File:nil ,QS:nil,BEC:nil,COL:0 X-UUID: f31b651ddf30459a9c29289010081daf-20220803 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 1820402692; Wed, 03 Aug 2022 19:37:03 -0700 Received: from mtkcas11.mediatek.inc (172.21.101.40) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.2.792.15; Thu, 4 Aug 2022 10:15:55 +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; Thu, 4 Aug 2022 10:15:54 +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 v5 00/20] Add driver nodes for MT8195 SoC Date: Thu, 4 Aug 2022 10:15:33 +0800 Message-ID: <20220804021553.14867-1-tinghan.shen@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-20220803_193709_460676_41C7FD7C X-CRM114-Status: GOOD ( 12.01 ) 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 Add driver nodes for MT8195 SoC. --- 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