From nobody Wed Nov 27 04:34:36 2024 Received: from mail-pl1-f174.google.com (mail-pl1-f174.google.com [209.85.214.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B64B21AF4E2 for ; Mon, 14 Oct 2024 11:11:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.174 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728904299; cv=none; b=FNJw4hy5I8MJRtS37pr7dxmiIbRUicbRaosY5aYDiz+HOzhwVFlYROTJPBONY9R8AOg4KxaCp0MHM7RuNORucWXqeTvFtUHyYUuXfV80hJ17EBz2ozxnwEk9xXHFffvbBNltdt0j2pBzxLbI1grlEEip7iKvA7vF6KHZ3lXAwwE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728904299; c=relaxed/simple; bh=uQ/ZPGuJmbycwoMaRHk9a50U7FzXLYLOt8QXYZsuRao=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=i6wsT2rlcxJ85Ma/WkaJppJ827/Lo0QjHyHY+Eb6to4F/AHXgznWRVOHIBN9w6POafaAkIqx8ppAeF6c2giaJOxze76/6vkmJNd3XhQpgTyPUL9wVjslUUDBC2JUf7RszcdNcdx2ZcofQuEV7PUAG4mQB4hYCa+n5Mmxfx5Jx1o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=a9urRHAy; arc=none smtp.client-ip=209.85.214.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="a9urRHAy" Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-20cf6eea3c0so4788165ad.0 for ; Mon, 14 Oct 2024 04:11:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1728904297; x=1729509097; darn=vger.kernel.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=HWJu2S/ieJ6v9yJvOOOZUajs4/O8S8cJ9i+RQGe16Fw=; b=a9urRHAy2a61C5MvCq176nIFdY2icaZ6n8JsWSV5iIK+BpcKBOSfRCb2Z24nOdDiOT FfP0VVKQfRGTjVDRPpElNHxxlGJRiCtBFaTU01pYezgJtyn84kDGKTDM/dOe5QjB3Ta/ q8dJ32sTVOVbXy4FSpKQj4p33g2tYv1VPXSgI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728904297; x=1729509097; 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=HWJu2S/ieJ6v9yJvOOOZUajs4/O8S8cJ9i+RQGe16Fw=; b=NPvNYbE1af+2mDDW+QSQPkra3hzaKs7uivdCHPoD44TT6lxCUoKRO2Iu2vYn1uFZZg S+fBPti1WFbsPIQclgw0D7jkQrubdrQH4IoR7esaDfJ4wKO/CRe4mqRPNfTTfqNhhPvL 8ev3uNdgwwz5ufxhmAfYnzVwSrZbMQZGc1CdDcUwWBvDh91uQ3V+YBniUodym8+cjeed esyvzhRyN2W2TgAkmLnE0JifBVKY5lHjBrYVxLIkhpl/fTiznvs8ZYKZQg0+oec2nt24 wJQJsM+U4hAMUSenO8RvZcySIzhH364UynHtv1NYzdLAydKKoyr0drYnYiBDBROIeToM sDsA== X-Forwarded-Encrypted: i=1; AJvYcCUaOyiH49iGPxPRp1gxyId7hioKNT77H66Jc1MoOCCy3Lk1RpVB2HZldg99ts1Ty1HfymusJ3HHnQdt0NQ=@vger.kernel.org X-Gm-Message-State: AOJu0YxlFdWqpRZjnODmF0IwHi2f7Jqcri0229hoxqfkOogAlZJYv6lu UTqIQ4dU1b6tW0QR6+4Ya+5RKhdvwjQwq+qT3Enx0RX6p0FpHXBuwsgyHShPXg== X-Google-Smtp-Source: AGHT+IFSdH06u0c52oLgqgrVrnabmA0sXZRsEVDWxzWRDsMMS60gGETPeBjTqLsCaWG4B/VOoLVseg== X-Received: by 2002:a17:903:228d:b0:20c:a644:c5bf with SMTP id d9443c01a7336-20ca644c633mr122246685ad.31.1728904297219; Mon, 14 Oct 2024 04:11:37 -0700 (PDT) Received: from fshao-p620.tpe.corp.google.com ([2401:fa00:1:10:4907:d52a:1a1a:58d0]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-20c8bc3e6fcsm63858285ad.118.2024.10.14.04.11.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2024 04:11:36 -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 v4 9/9] arm64: dts: mediatek: mt8188: Add eDP and DP TX nodes Date: Mon, 14 Oct 2024 19:09:31 +0800 Message-ID: <20241014111053.2294519-10-fshao@chromium.org> X-Mailer: git-send-email 2.47.0.rc1.288.g06298d1525-goog In-Reply-To: <20241014111053.2294519-1-fshao@chromium.org> References: <20241014111053.2294519-1-fshao@chromium.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 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 6f5727f05255..e47fe1f453a0 100644 --- a/arch/arm64/boot/dts/mediatek/mt8188.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8188.dtsi @@ -2016,6 +2016,10 @@ efuse: efuse@11f20000 { #address-cells =3D <1>; #size-cells =3D <1>; =20 + dp_calib_data: dp-calib@1a0 { + reg =3D <0x1a0 0xc>; + }; + lvts_efuse_data1: lvts1-calib@1ac { reg =3D <0x1ac 0x40>; }; @@ -2877,5 +2881,27 @@ padding7: padding@1c124000 { power-domains =3D <&spm MT8188_POWER_DOMAIN_VDOSYS1>; mediatek,gce-client-reg =3D <&gce0 SUBSYS_1c12XXXX 0x4000 0x1000>; }; + + edp_tx: edp-tx@1c500000 { + compatible =3D "mediatek,mt8188-edp-tx"; + reg =3D <0 0x1c500000 0 0x8000>; + interrupts =3D ; + nvmem-cells =3D <&dp_calib_data>; + nvmem-cell-names =3D "dp_calibration_data"; + power-domains =3D <&spm MT8188_POWER_DOMAIN_EDP_TX>; + max-linkrate-mhz =3D <8100>; + status =3D "disabled"; + }; + + dp_tx: dp-tx@1c600000 { + compatible =3D "mediatek,mt8188-dp-tx"; + reg =3D <0 0x1c600000 0 0x8000>; + interrupts =3D ; + nvmem-cells =3D <&dp_calib_data>; + nvmem-cell-names =3D "dp_calibration_data"; + power-domains =3D <&spm MT8188_POWER_DOMAIN_DP_TX>; + max-linkrate-mhz =3D <5400>; + status =3D "disabled"; + }; }; }; --=20 2.47.0.rc1.288.g06298d1525-goog