From nobody Thu Nov 28 14:02:12 2024 Received: from mail-pf1-f177.google.com (mail-pf1-f177.google.com [209.85.210.177]) (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 5B0E2200107 for ; Wed, 2 Oct 2024 11:47:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727869634; cv=none; b=bhaqmwrg8t3J1XD9uzxgJ0pUA9d2mXox9CPY6OdmoSyzqlTWKPieDzpXNEdBz0BVVF082CX59YJytVTN585Z68I1JOcoT41ayKhzrSiaUDcWJgRtfhTrL533ZwiHw4ARZ8Asv9g9oHjl5DxxxAIVmbHv0YCOe4issoNL0TO0fp4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727869634; c=relaxed/simple; bh=/uRk6r36N6d8BP2a9sZYAmjS4S2UGgXlWzURx3RD7K4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=AvzT0YiVW4508S/EJCGTwvf6YbYPvBLIx0zQ0vHThGPK+YxHAZmulK8/sKs8AmUxSPhUxxM4KgFnW6JkzpKdInyTnavAtAMchMzAWbFMoTir1q0ZaLHPy9DtMjzRc6zDVPBf7GVaFvTS2oeBQsSLCuVvDSxjrcuh3kom7N5lOp0= 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=giUSrRza; arc=none smtp.client-ip=209.85.210.177 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="giUSrRza" Received: by mail-pf1-f177.google.com with SMTP id d2e1a72fcca58-71b070ff24dso5867280b3a.2 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=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=R67MOM4KKUTh0qCCt++0T4Ue+lkz0KBhSiql033WWVM=; b=giUSrRzaqKCcUBqJw4L2niezIZ9YSPWMHGInJ9s5tOB1q/wk+pkkp1u/aBkE02GTZm He11stNgpyIpSKI1uK1Pv3rCVTomeryx4V+Tf0GtKxD4GwuTny5H2ev7nVh6PPRtYTSs 40bZMGBpea3Bs+8QQDblYAcDNIRnJdOUL8TyE= 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=sC7IYwWe//U5qfw+isD8uSthTVIoJ6Sm9KsNBKhrYSyk9FrfZ38ThqWqfS2oewpFPE 82H6o9VmUabn2MOz+sqTqBPKKfryQftTOA0SkJWzn7oDJcEH2fnEi0ocHdK8dpCbAIrV 0JZhAssWUfz2gEvO3lIpcsbZpb4srtCMrPNCsBUG3sby0NhWKZqbG6sFvssc5OpaZOOq tF91wmBGSKaXVGsPXtQRK4KX0KtxQcbAXBvLgXJnXxyaQ0G3RWIP3PkIFqvbrXpaZfI6 JY19s4+UwtqlUeUqkjm76YEqpZZ0tbfgQnMviosLszmO9BE4UfCuXpYwQAnf9POmP2Am oaYw== X-Forwarded-Encrypted: i=1; AJvYcCVBF5qJdpvD30pZxhH72GjsYFnNaLHTbWDI0CcEoArfJztLwDiAdP5KXC4jQ8QvVfAAY/zrUU8n9JISpr0=@vger.kernel.org X-Gm-Message-State: AOJu0YwsBoCVbsz8oQAogNB5CfRDJXeyUTvR1rq6y0ze3Otcspdrjn7T 2xIfnuJmcKhyaMhkZSbGBNC8IDExWjMi0xBXhsTHQjY9vN+E8WJHF3RWrRo3jg== 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> 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 --- 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 =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>; }; @@ -2850,5 +2854,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.46.1.824.gd892dcdcdd-goog