From patchwork Wed Oct 2 11:41:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fei Shao X-Patchwork-Id: 13819713 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 58E8FCF31B4 for ; Wed, 2 Oct 2024 11:59:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=R67MOM4KKUTh0qCCt++0T4Ue+lkz0KBhSiql033WWVM=; b=y/Tg4vCg+GKxy0nc+CIHpHZwcU k3W90+Dfsa0xa5pl6iarjVPjcAmM/Z43rI5FXD8TPVs+2Ys8JSfb/pM7etm/M4EpvaKkwKKL+Nu9W LmefM9tfYCAVtWwkNqIfEDSwg0vFgiGEKaBBD2Iq/9TX9Xh1xWs5kLVO941Y/7gh2oPrn6yvci2zd XbF41ZBOL0bjBxBs5ZJ1jPc+4o6swKzvyIeFRmkSjjp3GMVJvxNuAVW/fvcAJXY9WInbRgKuYd4Fe znjnbbygcEDL8jzYwC5Hc5CpSdLLnMmo2wplIr08Z0NiWBlqU33cGlDV7DJ2PNboBR7z3j45L8FSM lvKsp1vQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1svy0o-00000005kwE-42Rn; Wed, 02 Oct 2024 11:59:23 +0000 Received: from mail-pf1-x431.google.com ([2607:f8b0:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1svxp4-00000005hyf-0pGJ for linux-arm-kernel@lists.infradead.org; Wed, 02 Oct 2024 11:47:15 +0000 Received: by mail-pf1-x431.google.com with SMTP id d2e1a72fcca58-718d704704aso5549816b3a.3 for ; Wed, 02 Oct 2024 04:47:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1727869633; x=1728474433; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=R67MOM4KKUTh0qCCt++0T4Ue+lkz0KBhSiql033WWVM=; b=AeolyXJLdJkdFpAZvJQSVPjcvJcvFGLFGwBQlhLnTuKzENPCEWYdGPbHCrLMfrs0vp aaIEYeqC/Uo19sfYYsd/DVad73O5tqHAN3o7MRH3X6stMKgRJS8jMFJpvMcF7qCpazi2 HzMbj0XDTQvSuduGd6Dgw581lvp8fH6ZmHSF8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727869633; x=1728474433; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=R67MOM4KKUTh0qCCt++0T4Ue+lkz0KBhSiql033WWVM=; b=dXy3iBaUdxmE/kF3DB0RkoCCAjDOGnqgpEz6vTsHsb9kq7ASH4w0DxfrxXh/hd1ZyN j0RaFhQRFmR95TlO7Ktg0rvvDRTwXE9n6MaL1WfVJzKAUFd9OI6PhwKu7etdLVk7OZt1 YBoll4IqmAZLmH7Fgpm/4OAp/qkJuVOoaPYRTEKLuFPSuUJLODzu8z4KMyfEF0N5gAtG HltZosk89kE15zxSsBgpbboo0dIJNlrN5NIHPCNUWW1Obn0yZmZrh29X7XudppuzeQKM KYRj97vT7x6oCdkYBKh/gibGZBLg7+n4Ck0zC4N2iglnrYOwEQgvqyA2Q/uqaXK/ucGE +01A== X-Forwarded-Encrypted: i=1; AJvYcCXyikLW/HZLhnKsRz6p9JSLh87Ji9Ri9ROOgb9dVwvybtH66lZDiNU2jZ2OCvLv5LmrVpj1kqAXmQsF7xUyxC8B@lists.infradead.org X-Gm-Message-State: AOJu0YzGQJiIaFiuxJA6UQFVhTur27141/MpIsji9foqCKI2tgHR48xv sin7XhPCzdW2PAKprMrKStJ5Af6adE93BayhySVgyX9r7tD596PcHzj03vpAUQ== X-Google-Smtp-Source: AGHT+IG5W5PbB9Dg2pXJwidpYLDnewgtqTRSMPqWMUaOdFMbuHNinBNwjLa/SIhmMYymYMhGikQ+CQ== X-Received: by 2002:a05:6a00:2349:b0:719:1df4:9d02 with SMTP id d2e1a72fcca58-71dc5d6fab5mr4373727b3a.25.1727869632648; Wed, 02 Oct 2024 04:47:12 -0700 (PDT) Received: from fshao-p620.tpe.corp.google.com ([2401:fa00:1:10:3bd0:d371:4a25:3576]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-71b2652baefsm9639627b3a.180.2024.10.02.04.47.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Oct 2024 04:47:12 -0700 (PDT) From: Fei Shao To: AngeloGioacchino Del Regno Cc: Fei Shao , Conor Dooley , Krzysztof Kozlowski , Matthias Brugger , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH 9/9] arm64: dts: mediatek: mt8188: Add eDP and DP TX nodes Date: Wed, 2 Oct 2024 19:41:49 +0800 Message-ID: <20241002114614.847553-10-fshao@chromium.org> X-Mailer: git-send-email 2.46.1.824.gd892dcdcdd-goog In-Reply-To: <20241002114614.847553-1-fshao@chromium.org> References: <20241002114614.847553-1-fshao@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241002_044714_264290_47232588 X-CRM114-Status: GOOD ( 11.56 ) 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 edp-tx and dp-tx nodes for the Embedded DisplayPort (eDP) and DisplayPort ports to connect to DP-INTF ports and panels, and add the efuse cell for the DP calibration data. Individual board device tree should enable the nodes and connect input and output ports as needed. Signed-off-by: Fei Shao --- arch/arm64/boot/dts/mediatek/mt8188.dtsi | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8188.dtsi b/arch/arm64/boot/dts/mediatek/mt8188.dtsi index 943333d2567f..67c539e5d146 100644 --- a/arch/arm64/boot/dts/mediatek/mt8188.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8188.dtsi @@ -2004,6 +2004,10 @@ efuse: efuse@11f20000 { #address-cells = <1>; #size-cells = <1>; + dp_calib_data: dp-calib@1a0 { + reg = <0x1a0 0xc>; + }; + lvts_efuse_data1: lvts1-calib@1ac { reg = <0x1ac 0x40>; }; @@ -2850,5 +2854,27 @@ padding7: padding@1c124000 { power-domains = <&spm MT8188_POWER_DOMAIN_VDOSYS1>; mediatek,gce-client-reg = <&gce0 SUBSYS_1c12XXXX 0x4000 0x1000>; }; + + edp_tx: edp-tx@1c500000 { + compatible = "mediatek,mt8188-edp-tx"; + reg = <0 0x1c500000 0 0x8000>; + interrupts = ; + nvmem-cells = <&dp_calib_data>; + nvmem-cell-names = "dp_calibration_data"; + power-domains = <&spm MT8188_POWER_DOMAIN_EDP_TX>; + max-linkrate-mhz = <8100>; + status = "disabled"; + }; + + dp_tx: dp-tx@1c600000 { + compatible = "mediatek,mt8188-dp-tx"; + reg = <0 0x1c600000 0 0x8000>; + interrupts = ; + nvmem-cells = <&dp_calib_data>; + nvmem-cell-names = "dp_calibration_data"; + power-domains = <&spm MT8188_POWER_DOMAIN_DP_TX>; + max-linkrate-mhz = <5400>; + status = "disabled"; + }; }; };