From patchwork Wed Jan 11 12:37:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allen-KH Cheng X-Patchwork-Id: 41969 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp3295561wrt; Wed, 11 Jan 2023 04:42:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXutKpGUml/SVGoCZwx/13rqLyw2vpQ1NDJ2bWe6qnuYcHhgdqT9mUyQ3YyNLC+78yqfFo4d X-Received: by 2002:a17:902:9685:b0:192:f5a8:3099 with SMTP id n5-20020a170902968500b00192f5a83099mr21570206plp.5.1673440925372; Wed, 11 Jan 2023 04:42:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673440925; cv=none; d=google.com; s=arc-20160816; b=0u99NugMh65oCGGIUd7hePjMsWjCXe/eHm3n6FSJTvNt32ALONAjHUHrBdFPfV4OBe TlvLNo1hCcB4K8wjjpBWqLte6XpRlUKkyEEv+8IVG9VN+U4dswu+znWb31a+IWEfxQ+o wSWynOMjrkUR7rslwLNx6grMf/2lFsGapULtxh2QaWzCXj0MpOUiXhVQRrFExrtW1loJ Sjwms8aiQyQsMer3DIzfuvrqAaO7MLYU7BXBkRJ4hZgl5G6/3/v1yiLfGvHST2HkjK4Y JVD808XOT4DjIB8S8n9HeRaUAqF0RrGUcm0kgVc6iLeOMUAi4c8GHkvStd3Q5iAMxI7z eRkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=obw9SNt2vy4jPIy9ubTKpjKvVJkfDQwNGTONhOYIj5E=; b=DXYbAua7msLy01vlLk6kVaCUeA7VBvcaiKGzClW3jp84IE/RtVV3ULFk//zSPcFxVK pGG8Z7wZLC7LBmVsBsHtFjXCavk5uz/yIq4irhuO1ASBoO0QnmZhql0UAvcUkmwMDbxQ 5cSryYayJGPAc3H7CMR45E/FEEeA5wsAtHSn099dBqWgLfKrx3CTVd37aPG3ZVkHA6Qz Rk/4cbMOWaawysOPjxLsbLJFPMHRzteJhJeLmDlIdx91BfQnWSl/41KAC0ThKxuj6yX1 cKg35lToGtfVlS65gZCIM/OF9g9InSBXVL93GMfb7xwuZHAXv6cH9KYvVfwSD/ie279y kj4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=WchbHvaM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g20-20020a635654000000b004785c968f83si13667644pgm.706.2023.01.11.04.41.52; Wed, 11 Jan 2023 04:42:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=WchbHvaM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236011AbjAKMht (ORCPT + 99 others); Wed, 11 Jan 2023 07:37:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236589AbjAKMh0 (ORCPT ); Wed, 11 Jan 2023 07:37:26 -0500 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ACEFFD6F; Wed, 11 Jan 2023 04:37:24 -0800 (PST) X-UUID: b07f01ce91ac11eda06fc9ecc4dadd91-20230111 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=obw9SNt2vy4jPIy9ubTKpjKvVJkfDQwNGTONhOYIj5E=; b=WchbHvaMMqA3GivP/Bs/ZERjvK7vP+pRitkrAf3UlYLP/JD83mdw9hwls4bBmXFp0SC+dQXjlX6fhfyirtp2jHwvFCHNBYZAiZteWON2hqwHnaJ81DH7ZPZUr3lYSgdivwVmcIAsSWqrUXxoDaKGjwuvW+sfpGJ8PWm7jLfUKv0=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.17,REQID:892ba1fa-0cec-4910-a2b3-43ff4f9817d1,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Release_Ham,ACTIO N:release,TS:90 X-CID-INFO: VERSION:1.1.17,REQID:892ba1fa-0cec-4910-a2b3-43ff4f9817d1,IP:0,URL :0,TC:0,Content:-5,EDM:0,RT:0,SF:95,FILE:0,BULK:0,RULE:Spam_GS981B3D,ACTIO N:quarantine,TS:90 X-CID-META: VersionHash:543e81c,CLOUDID:875b5b54-dd49-462e-a4be-2143a3ddc739,B ulkID:2301112037228GBLRPVM,BulkQuantity:0,Recheck:0,SF:38|28|17|19|48,TC:n il,Content:0,EDM:-3,IP:nil,URL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OS I:0,OSA:0 X-CID-APTURL: Status:success,Category:nil,Trust:0,Unknown:0,Malicious:0 X-CID-BVR: 0,NGT X-UUID: b07f01ce91ac11eda06fc9ecc4dadd91-20230111 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 2052325970; Wed, 11 Jan 2023 20:37:19 +0800 Received: from mtkmbs13n1.mediatek.inc (172.21.101.193) by mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.792.15; Wed, 11 Jan 2023 20:37:18 +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.792.15 via Frontend Transport; Wed, 11 Jan 2023 20:37:18 +0800 From: Allen-KH Cheng To: Matthias Brugger , Rob Herring , Krzysztof Kozlowski , Chun-Kuang Hu , Philipp Zabel , David Airlie , Daniel Vetter , Stephen Boyd , AngeloGioacchino Del Regno , CC: , , , , , , Allen-KH Cheng Subject: [PATCH 7/9] arm64: dts: mediatek: mt8186: Add DPI node Date: Wed, 11 Jan 2023 20:37:09 +0800 Message-ID: <20230111123711.32020-8-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230111123711.32020-1-allen-kh.cheng@mediatek.com> References: <20230111123711.32020-1-allen-kh.cheng@mediatek.com> MIME-Version: 1.0 X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754729991962047663?= X-GMAIL-MSGID: =?utf-8?q?1754729991962047663?= Add DPI node for MT8186 SoC. Signed-off-by: Allen-KH Cheng Tested-by: Chen-Yu Tsai --- arch/arm64/boot/dts/mediatek/mt8186.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8186.dtsi b/arch/arm64/boot/dts/mediatek/mt8186.dtsi index c52f9be1e750..eab30ab01572 100644 --- a/arch/arm64/boot/dts/mediatek/mt8186.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8186.dtsi @@ -1230,6 +1230,23 @@ power-domains = <&spm MT8186_POWER_DOMAIN_DIS>; }; + dpi0: dpi@1400a000 { + compatible = "mediatek,mt8186-dpi"; + reg = <0 0x1400a000 0 0x1000>; + clocks = <&topckgen CLK_TOP_DPI>, + <&mmsys CLK_MM_DISP_DPI>, + <&apmixedsys CLK_APMIXED_TVDPLL>; + clock-names = "pixel", "engine", "pll"; + assigned-clocks = <&topckgen CLK_TOP_DPI>; + assigned-clock-parents = <&topckgen CLK_TOP_TVDPLL_D2>; + interrupts = ; + status = "disabled"; + + port { + dpi_out: endpoint { }; + }; + }; + dsi0: dsi@14013000 { compatible = "mediatek,mt8186-dsi"; reg = <0 0x14013000 0 0x1000>;