From patchwork Mon Oct 28 11:50:37 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jitao Shi X-Patchwork-Id: 11215201 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5C832112B for ; Mon, 28 Oct 2019 11:52:00 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 39AF2208C0 for ; Mon, 28 Oct 2019 11:52:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="MWQg5wtf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 39AF2208C0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8fJ0K4FvPXXpbe8PO4AvkTiC6a8YYunnrmCiH3XVR4I=; b=MWQg5wtfSC8j66 YkjyxP+yR3WIlstqlfezabBwekZa1YmBa419SnZtxsq9hFR5ez7MhVRix3ZnIpax45LO3gfeEMXOa gaOSZPG4qGKcvuFP73hz7W1NSbVSiblUHzC2DnXspFKIUFLNODM5vaLNSY4OqzsuCrLyNgST2YYu+ RVU2OYBZYFWeY2Vfd9zftw1pwoN+QiykECmXB1ev1venEEMJl+7cwdl5yK++RrGn/VqFlhaJSk9Gk wHrw4NJuf+mMWnOpqOSmzFBvkxe0iWvB+N9+SQeIQHNoAH3u+7JHywpkLaCihiQyLeNp83SeadmMK aDZcHvBW8bEP2Lu+QhWQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iP3Z0-0006aB-CE; Mon, 28 Oct 2019 11:51:58 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iP3Y0-0005iv-4g; Mon, 28 Oct 2019 11:50:57 +0000 X-UUID: 7af698eab3694a7088c316df87f722c8-20191028 X-UUID: 7af698eab3694a7088c316df87f722c8-20191028 Received: from mtkcas68.mediatek.inc [(172.29.94.19)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLS) with ESMTP id 1222026965; Mon, 28 Oct 2019 03:50:43 -0800 Received: from MTKMBS33DR.mediatek.inc (172.27.6.106) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 28 Oct 2019 04:50:42 -0700 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS33DR.mediatek.inc (172.27.6.106) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 28 Oct 2019 19:50:41 +0800 Received: from mszsdclx1018.gcn.mediatek.inc (172.27.4.253) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Mon, 28 Oct 2019 19:50:39 +0800 From: Jitao Shi To: Rob Herring , Mark Rutland , Matthias Brugger , , , Subject: [PATCHi v3 1/3] arm64: dts: mt8183: add dsi node Date: Mon, 28 Oct 2019 19:50:37 +0800 Message-ID: <20191028115039.96555-2-jitao.shi@mediatek.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20191028115039.96555-1-jitao.shi@mediatek.com> References: <20191028115039.96555-1-jitao.shi@mediatek.com> MIME-Version: 1.0 X-TM-AS-Product-Ver: SMEX-12.5.0.1684-8.5.1010-25006.004 X-TM-AS-Result: No-4.053100-8.000000-10 X-TMASE-MatchedRID: GqpeDSLnyOJMK9xKf7PXBoIK2tjTqNot4oSd18bdmwIHZBaLwEXlKCzy bVqWyY2NX14GgXpfYDVwIccn+PKRFq+/EguYor8cFEUknJ/kEl7dB/CxWTRRu+rAZ8KTspSzGgf l1MkLdP6bN51eRurGvXVk3NkEwMsgO1Tu5OahJmFfgm8N7p99akdU9iOF0rD/CGbGzo6bh83tEu za8ePPIIrT8Ok/0a/+dbOeWh4Hcdo9DPAht+JHkAwP0tMr7k2fLRzsXBnGKF5+3BndfXUhXQ== X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--4.053100-8.000000 X-TMASE-Version: SMEX-12.5.0.1684-8.5.1010-25006.004 X-TM-SNTS-SMTP: 728AD336940C0ADCFB4B6F424886B1F3543D9846783911A7DAE1D1C5F293136F2000:8 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191028_045056_190230_139112C8 X-CRM114-Status: UNSURE ( 6.79 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jitao Shi , srv_heupstream@mediatek.com Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org Add dsi and mipitx nodes to the mt8183 Signed-off-by: Jitao Shi --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi index 2857583f5d60..bb0d53be6a25 100644 --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi @@ -649,6 +649,16 @@ #clock-cells = <1>; }; + mipi_tx0: mipi-dphy@11e50000 { + compatible = "mediatek,mt8183-mipi-tx"; + reg = <0 0x11e50000 0 0x1000>; + clocks = <&apmixedsys CLK_APMIXED_MIPID0_26M>; + clock-names = "ref_clk"; + #clock-cells = <0>; + #phy-cells = <0>; + clock-output-names = "mipi_tx0_pll"; + }; + efuse: efuse@11f10000 { compatible = "mediatek,mt8183-efuse", "mediatek,efuse"; @@ -670,6 +680,20 @@ #clock-cells = <1>; }; + dsi0: dsi@14014000 { + compatible = "mediatek,mt8183-dsi"; + reg = <0 0x14014000 0 0x1000>; + interrupts = ; + power-domains = <&scpsys MT8183_POWER_DOMAIN_DISP>; + mediatek,syscon-dsi = <&mmsys 0x140>; + clocks = <&mmsys CLK_MM_DSI0_MM>, + <&mmsys CLK_MM_DSI0_IF>, + <&mipi_tx0>; + clock-names = "engine", "digital", "hs"; + phys = <&mipi_tx0>; + phy-names = "dphy"; + }; + imgsys: syscon@15020000 { compatible = "mediatek,mt8183-imgsys", "syscon"; reg = <0 0x15020000 0 0x1000>;