From nobody Thu Nov 28 08:33:21 2024 Received: from mail-pf1-f172.google.com (mail-pf1-f172.google.com [209.85.210.172]) (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 187AD13CF8E for ; Thu, 3 Oct 2024 07:02:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.172 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727938929; cv=none; b=PMoCBk9WCvGMe+XAKlJtmhFOpHWI4S0mfEynVQPIkBMZ3LTiID5gp/AuXdMqQsRSY8qc/VnTgVL5I1HrBhWk0Af/LuwUaIjoNe0Yi3NpwUuF5zuxBB9tzWy3qbWVSs4sgCnGCRcERpsyCVHptETISnIbfTuVLEhi56i/YZchAVw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727938929; c=relaxed/simple; bh=hor02EnulX+vfYWXpRnGhzDiHxLZPjFZgTKDfIosOno=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Sah2NkdhrOg6VdzU7b7oDBAiAtZh2D8Lo5bPulCUNnH99LkMB8E/iv9pAzVfKZFcseIFEzJytDjmkqNIkSw6PlSc5aZPfiiBoZhfmJ7icYOoc30kZoT0l4JicCSGsmu1Ucr1oSywY+DPYiBZXzPa5Z2STHjxWOEOrtiHIs0t24c= 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=Bp6TtwPt; arc=none smtp.client-ip=209.85.210.172 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="Bp6TtwPt" Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-7179069d029so488741b3a.2 for ; Thu, 03 Oct 2024 00:02:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1727938927; x=1728543727; 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=4SF5nwE8q+scLV0tbzUby7efs2QPmWoOdROYf5aDp40=; b=Bp6TtwPtXxp8kSpPEisbm3/sighWEwvEVjA7m16YGEb3aocwiHEjiNEsOAYXg7ocMR SRQqixYgV4fML3dJUY38lEkIrh6C7wuFlSCAeQWQALsyUADyBnIi7NPgfXP7vqOpcEo1 P1nRWw4odWUYigvY2txpmJz0TWSrP8JUvftsc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727938927; x=1728543727; 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=4SF5nwE8q+scLV0tbzUby7efs2QPmWoOdROYf5aDp40=; b=pLc70L2v2YE/Ha+M0Pkd0ADEzfiSwvZZpt1w9jr6Qyp55pjQsquTOEAVBTwnVJQrYO JyCLlqGUncasPuk/589s2xMFdh7ul2wixXEdAiv8F2Oc15IYflFZYVLeres8I8TLelXi fFEeR71W5hWHbDtu3WBnGMDbqS8jMhdrhnGSbTqF8A40OfzxxrkAwFWFaSHBIsoOVILH 8OEo09UNWBWaFtbe3VtDKlX2k/piUSYmhXA0h/KylzSNStiCIDXqTr/T6OXZELB5gVXJ AfHbIiVaPdfbDbugj4kGiyIgMzTlXAEkJS7+wP+6yVKXTkjnRa7sjdgQRJ+jaaXfoZy7 CG3A== X-Forwarded-Encrypted: i=1; AJvYcCXEH6H8GhgpNs1NWsMAhkWxC2PxlSAF2vNJR1mUfUb1dbVJLvHdC416GEdnq/oy7yLVAv5RPF+BFxcLnqs=@vger.kernel.org X-Gm-Message-State: AOJu0YxLf31JGW5dwLM/4ICbpfb+8yH5Fp23zoa13qy47YeshXyU7HpB f80RQfahVaMYYL7/TU6mDkhCZw7TkogZz0nHnBe0OUO6ZBK50uciMkkOCdWAig== X-Google-Smtp-Source: AGHT+IG4DLzVoYDK294Ku6Vjd08TVjHsUCzPROxKoUjkMR0faA4MYffuLo4qVtm78hvUVl9MUuy5bw== X-Received: by 2002:a05:6a00:23c6:b0:714:1a74:9953 with SMTP id d2e1a72fcca58-71dc5c9bc6fmr9630693b3a.16.1727938927450; Thu, 03 Oct 2024 00:02:07 -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.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Oct 2024 00:02:07 -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 8/9] arm64: dts: mediatek: mt8188: Add DP-INTF nodes Date: Thu, 3 Oct 2024 15:00:02 +0800 Message-ID: <20241003070139.1461472-9-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> 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 the primary and secondary dp-intf nodes. These DP-INTF hardware IPs are the sink of the vdosys0 and vdosys1 display pipelines for the internal and external displays, respectively. 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 541eaed59e8b..e77bd2b76128 100644 --- a/arch/arm64/boot/dts/mediatek/mt8188.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8188.dtsi @@ -24,6 +24,8 @@ / { #size-cells =3D <2>; =20 aliases { + dp-intf0 =3D &dp_intf0; + dp-intf1 =3D &dp_intf1; ethdr0 =3D ðdr0; gce0 =3D &gce0; gce1 =3D &gce1; @@ -2450,6 +2452,18 @@ disp_dsi: dsi@1c008000 { status =3D "disabled"; }; =20 + dp_intf0: dp-intf@1c015000 { + compatible =3D "mediatek,mt8188-dp-intf"; + reg =3D <0 0x1c015000 0 0x1000>; + clocks =3D <&vdosys0 CLK_VDO0_DP_INTF0_DP_INTF>, + <&vdosys0 CLK_VDO0_DP_INTF0>, + <&apmixedsys CLK_APMIXED_TVDPLL1>; + clock-names =3D "pixel", "engine", "pll"; + interrupts =3D ; + power-domains =3D <&spm MT8188_POWER_DOMAIN_VDOSYS0>; + status =3D "disabled"; + }; + mutex0: mutex@1c016000 { compatible =3D "mediatek,mt8188-disp-mutex"; reg =3D <0 0x1c016000 0 0x1000>; @@ -2715,6 +2729,18 @@ merge4: merge@1c110000 { mediatek,merge-fifo-en; }; =20 + dp_intf1: dp-intf@1c113000 { + compatible =3D "mediatek,mt8188-dp-intf"; + reg =3D <0 0x1c113000 0 0x1000>; + clocks =3D <&vdosys1 CLK_VDO1_DPINTF>, + <&vdosys1 CLK_VDO1_DP_INTF0_MMCK>, + <&apmixedsys CLK_APMIXED_TVDPLL2>; + clock-names =3D "pixel", "engine", "pll"; + interrupts =3D ; + power-domains =3D <&spm MT8188_POWER_DOMAIN_VDOSYS1>; + status =3D "disabled"; + }; + ethdr0: ethdr@1c114000 { compatible =3D "mediatek,mt8188-disp-ethdr", "mediatek,mt8195-disp-ethd= r"; reg =3D <0 0x1c114000 0 0x1000>, --=20 2.46.1.824.gd892dcdcdd-goog