Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp572607rwn; Thu, 15 Sep 2022 03:20:25 -0700 (PDT) X-Google-Smtp-Source: AA6agR5rZEV9WGuLCkHeqjY5SNg5kil0bsWc/0q8XhN047Wu0IJuUtmkzu2q9j7KDepIaOvFteiI X-Received: by 2002:a05:6402:1283:b0:44f:2daa:d423 with SMTP id w3-20020a056402128300b0044f2daad423mr32208397edv.52.1663237224869; Thu, 15 Sep 2022 03:20:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663237224; cv=none; d=google.com; s=arc-20160816; b=QddQ6P6ah4TY0LfOG0PMXHGFfYz3HELP/wv2j+USu+/b87SxFqAcdi5oLu9TiKeF3z Hkc+HAd0UAmqCtTPEqaPTeEdbDR8kSP+yZhMnuCcMlgdhhkb471Qe4xWzT62INwCoE30 fuASF+9iqFmya2TEqFYZ9xKgkQW382/cPu+YTko1V10Q8BsIEoYTrOYZsr2AK/kj6MVz A/ikSnh0H3h1p5O/cuCXrXrIju3t4DfI2U52OnubhCTcl/h4wzeB/7XnylUbHyJ6BqbH mgYYY4CiILW3PCM22N3MtjH1XgZVfWMrC2cHnjm1oYhuh4NhzqfB0RaLcZi18nsXtjLl DeLQ== 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=Tor+5YS9e1tL4DVGuo3cup/t5imwJhOqvWgh/Z8He4Q=; b=fdL974n1++1TcWSlrhLQBWYNCb82fKT7WUSzNtQ2Wcjbzc5wXM5bMsbAfLzGYs0tVq iXtRgOvRjtyQF1uqSAU5Ago7ynMSrTg4xg0s7mDWcez8Z4SUU9HQVrUuGQUVMzQXNdiq y+PHff2wMbdD26G5QaChUbiUs4d4zTyL+9dLfnaAma0IaNkPSCTNt8KRfhCGLur5h2Kt KMqQwe37LiuzRMAaDpPwTfOwhMwclWCkK3KbXGhGti0OhlaMtyPEThWqC/axXUyvEjjG qsM1TWg0+FD280Pbt+qpxF7Fyj6vHyn7PJbKoa6HhHiv9D2J36wMzaoBPcwurXb0ZxjO eCBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=AkYzedXN; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v12-20020a056402348c00b0043d37773dbasi2945275edc.90.2022.09.15.03.19.57; Thu, 15 Sep 2022 03:20:24 -0700 (PDT) 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=AkYzedXN; 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 S230211AbiIOJsC (ORCPT + 99 others); Thu, 15 Sep 2022 05:48:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43948 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230196AbiIOJrc (ORCPT ); Thu, 15 Sep 2022 05:47:32 -0400 Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8BD679A6AD; Thu, 15 Sep 2022 02:46:46 -0700 (PDT) X-UUID: 16c3c200d88a4082ae612dba111d7e3f-20220915 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=Tor+5YS9e1tL4DVGuo3cup/t5imwJhOqvWgh/Z8He4Q=; b=AkYzedXNCosK/TtG1QUvwRRbqiku0yb+3A+6Ul6wR99eo3M1G9tBUsDR59xelVhrQqSvKhv/s6mh2ZTdggCJ7Kf/PPDr+LBm2TTPNd2oYfrUEZTIMTa7VMj+ZIX9xLdOrsjnJ9Jhp1F/FU368QqM/mrVglcJecPeB6umuk8gapg=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.11,REQID:dc1fe0a5-45f8-4603-a04d-1a0f9c577e7a,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:39a5ff1,CLOUDID:4a00be7b-ea28-4199-b57e-003c7d60873a,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:nil,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0 X-UUID: 16c3c200d88a4082ae612dba111d7e3f-20220915 Received: from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1666563191; Thu, 15 Sep 2022 17:46:43 +0800 Received: from mtkmbs11n1.mediatek.inc (172.21.101.185) 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; Thu, 15 Sep 2022 17:46:41 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n1.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.792.15 via Frontend Transport; Thu, 15 Sep 2022 17:46:41 +0800 From: Bo-Chen Chen To: , CC: , , , , , , , Bo-Chen Chen Subject: [PATCH v2 2/4] arm64: dts: mt8195: Add edptx and dptx nodes Date: Thu, 15 Sep 2022 17:46:38 +0800 Message-ID: <20220915094640.5571-3-rex-bc.chen@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20220915094640.5571-1-rex-bc.chen@mediatek.com> References: <20220915094640.5571-1-rex-bc.chen@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain X-MTK: N X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, T_SPF_TEMPERROR,UNPARSEABLE_RELAY,URIBL_CSS 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 In MT8195, we use edptx as the internal display interface and use dptx as the external display interface. Therefore, we need to add these nodes to support the internal display and the external display. - Add dp calibration data in the efuse node. - Add edptx and dptx nodes for MT8195. Signed-off-by: Bo-Chen Chen --- arch/arm64/boot/dts/mediatek/mt8195.dtsi | 25 ++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8195.dtsi b/arch/arm64/boot/dts/mediatek/mt8195.dtsi index 82d28e9f60c3..83567d90ede6 100644 --- a/arch/arm64/boot/dts/mediatek/mt8195.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8195.dtsi @@ -1241,6 +1241,9 @@ reg = <0x189 0x2>; bits = <7 5>; }; + dp_calibration: dp-data@1ac { + reg = <0x1ac 0x10>; + }; }; u3phy2: t-phy@11c40000 { @@ -2178,5 +2181,27 @@ clock-names = "engine", "pixel", "pll"; status = "disabled"; }; + + edp_tx: edp-tx@1c500000 { + compatible = "mediatek,mt8195-edp-tx"; + reg = <0 0x1c500000 0 0x8000>; + nvmem-cells = <&dp_calibration>; + nvmem-cell-names = "dp_calibration_data"; + power-domains = <&spm MT8195_POWER_DOMAIN_EPD_TX>; + interrupts = ; + max-linkrate-mhz = <8100>; + status = "disabled"; + }; + + dp_tx: dp-tx@1c600000 { + compatible = "mediatek,mt8195-dp-tx"; + reg = <0 0x1c600000 0 0x8000>; + nvmem-cells = <&dp_calibration>; + nvmem-cell-names = "dp_calibration_data"; + power-domains = <&spm MT8195_POWER_DOMAIN_DP_TX>; + interrupts = ; + max-linkrate-mhz = <8100>; + status = "disabled"; + }; }; }; -- 2.18.0