From patchwork Thu Oct 3 07:00:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fei Shao X-Patchwork-Id: 13820712 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 EB9F2CF855A for ; Thu, 3 Oct 2024 07:15:53 +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=ftwFn9ZLUuKCLPPu13/3mAe7bDdVNGDECC9c6Eq3ZPM=; b=Bh9AgDfz8Ewn+K2lDuRrBayoIU wh7LIRznW2cwstzniBZ6P2byJSfbKFVMG7A4UsT573EhPaH12SU9wMbCmsf/hGIs/sdbrc4j3ZGjk Lp/Sn2S3cLdYYijNO7ZB2jNiw+SZRfVPnw/OLF5O8YtGJIJb0sCdPzx75mqtHCGcwSuoPvWdT3hWS 0dzmZcDy7nUHhk7KZETDykzNzU1x/EWszWHJYKTBnENScDRgUIlZX2GO/4wfPjblb6aFQuWYdCPgs jiOKWT0+zta6nDb/2K6XbhNNkycM0AbwuCLCA2bAO34eUpZOlyrAahLIEpfH16ney2qckvdwK5A1v J4DeKTNw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1swG3s-00000008NDs-2NLZ; Thu, 03 Oct 2024 07:15:44 +0000 Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1swFqk-00000008Kb4-2yM1 for linux-arm-kernel@lists.infradead.org; Thu, 03 Oct 2024 07:02:12 +0000 Received: by mail-pf1-x42b.google.com with SMTP id d2e1a72fcca58-71c702b2d50so488641b3a.1 for ; Thu, 03 Oct 2024 00:02:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1727938930; x=1728543730; 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=ftwFn9ZLUuKCLPPu13/3mAe7bDdVNGDECC9c6Eq3ZPM=; b=AROteUDAySe2zlVgtdnIxfGHV5TBe0Thag983Fb9jA6ZvsXvVdnCIbEy3//FrDP03D aWzKm+hgtKu3O+lh86WaTZZ+zD+9CuCQ2rph8g5498lr7g1g6j1KLWbXQCRDkWkCafPU h9h/J1cv0/+GTw1eez7NSbzuBmaWlXbGfLqBU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727938930; x=1728543730; 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=ftwFn9ZLUuKCLPPu13/3mAe7bDdVNGDECC9c6Eq3ZPM=; b=E9NPd7OARrrR8VjyH3Ozy/9fDq8GQ1ym/al/7A1gfXE8mJrFfx0vkZf9HJaqZY2rM1 E5HzMy7a5JyV71G6AKtCH8B/k5DZK5uYK/sXTYN1LevrGJvaaZaxAC1DhUtx9q+E2PHf rPY0/GdgbjVKPAcl/jgSXxfqrENZ3ou5xK853h6qLM2NMb6BZcrKt8pVSdV1swfIGcsJ W64OfZnCPTfOBP3AjYRNgjR34xnGebcHQUmcxe9cMJcO/JtOB88Gi4tG7iWOPWoxGM0L NxTMN26go1FKWgH1puZQK0pHtO+S13BgEwu41rk/nH0wQ/DNz/vwBQkZuaNeo+7zOgUs hPrw== X-Forwarded-Encrypted: i=1; AJvYcCUYWrKumxbCupGeWbnGKpkfv57knydqZ+ucm9mR3EZJioxnn4jEWzh9k5XT/uvce4LuTLL7ubQ7rtZHmzNG9Ajc@lists.infradead.org X-Gm-Message-State: AOJu0YwFgABy58b0N1a7YuF8tqsalsgcM8MsO5cL+p3IXFatTSmoHZsq XVlQFIEhMKmS9MaOaRVmt3SLA+3EupytJmRrOdCcjRRm5RFUZ8kF0xYL1YQviw== X-Google-Smtp-Source: AGHT+IHE/CCPGFNgWjWh9e6CyqMHQZblij2trHaQLpVyyZLVEj0BO/xQcou38wPPpQh6mNnsYlGS5A== X-Received: by 2002:a05:6a00:1829:b0:714:1a7c:b727 with SMTP id d2e1a72fcca58-71dc5c772bbmr9315186b3a.8.1727938930039; Thu, 03 Oct 2024 00:02:10 -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-71dd9d8e473sm633782b3a.81.2024.10.03.00.02.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 00:02:09 -0700 (PDT) From: Fei Shao To: AngeloGioacchino Del Regno , Matthias Brugger Cc: Fei Shao , Conor Dooley , Krzysztof Kozlowski , Rob Herring , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org Subject: [PATCH v2 9/9] arm64: dts: mediatek: mt8188: Add eDP and DP TX nodes Date: Thu, 3 Oct 2024 15:00:03 +0800 Message-ID: <20241003070139.1461472-10-fshao@chromium.org> X-Mailer: git-send-email 2.46.1.824.gd892dcdcdd-goog In-Reply-To: <20241003070139.1461472-1-fshao@chromium.org> References: <20241003070139.1461472-1-fshao@chromium.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241003_000210_773365_0B10FCAF X-CRM114-Status: GOOD ( 10.99 ) 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 --- (no changes since v1) 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 e77bd2b76128..92e71977c775 100644 --- a/arch/arm64/boot/dts/mediatek/mt8188.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8188.dtsi @@ -2006,6 +2006,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>; }; @@ -2852,5 +2856,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"; + }; }; };