From nobody Wed Nov 27 04:38:55 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 478CF1ADFFD for ; Mon, 14 Oct 2024 11:11:35 +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=1728904296; cv=none; b=QKIbdwTekuNTzo8/oe52gFmsx/v0tgLEa/Q9yP2NdC+0hU1laX7ldKcpfUA2gPbLoJxmXSjaFqiN1Z//DOM/Mt2/KcL6nPAqzT4nLnkJsFWUTZI2fGcIDh3RrBVYsV0xQW/g1Hrr1317Auefy81pebk6+9Z4Q5en0IBp+Z4DK+E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728904296; c=relaxed/simple; bh=lbSULqzCxOMTsZjzot+Kz2cQLUU1orZtADKrs/VGFBs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=L1bZVdkdG4CaIYUJKxskeA4nWMvoMaM7bQXvAMEJQ4ud6bRZlD/PUXxx4ojN9/6m6gb5l5xd/t+act5251BmKR1BUwIWs2bnCMWb4NDwGLwSWeKD2uoYKGEWdTlIsgRy/rsuPoL6O2tQtbOTD/cw7OUZSQIHKd0TxouyRZzH9LI= 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=LXkDole1; 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="LXkDole1" Received: by mail-pl1-f174.google.com with SMTP id d9443c01a7336-20ca96a155cso21869415ad.2 for ; Mon, 14 Oct 2024 04:11:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1728904294; x=1729509094; 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=qM+fK9ga/ZCw4199bv1V/rTffcVs0A/cmY5CAFr87Ps=; b=LXkDole1uDTPnYyyZKtnSD0xWmpZ+0pJepZHOXib2JRhsjHaCzTDkejx7jAASPi23i sPoKz5uDO09rm4jtSvfTHYV1DMv/9nVq+MkF7W8vD0RoXwVX6QC+TwJ5tioDuElPc+/2 vcSMJZrFlv+euR8iuhaYwBSeVNHty08srYf6M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728904294; x=1729509094; 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=qM+fK9ga/ZCw4199bv1V/rTffcVs0A/cmY5CAFr87Ps=; b=Cd+6Cf6AZmuPnbW/33uazLS1Cr+oQieFKiVw4ImgcBAGcAcxpl1rORso8h+OBMwZYn gVgspwznBQxaAVwokkvHyiQk6kRT/o8uuWEtWOhWDMc5Anq80cXvCnThXveipHCqnyjW Y/eee5F7HONzPhg2Z7/aCfee/aOl0/mMIEcUEu+XAZE+GvWa+oSvhWCkUubAPhTvK4q2 BKvYgFI+Wj0ZUDJ99speqYqGo1dYaDoeWke+dmG1a/WThi9+gRRxzYvzWqDpWUICQ2rO sqG+1PVAvoaDCnanwtj2Q073QOuQuOC3MZFP3jz5nfU8OZVeFSNQxrgpAIio2DavF0sd Qzmg== X-Forwarded-Encrypted: i=1; AJvYcCUpq9PQVP/LgKjRBEXsWEQImaphKWUOP7LCSnnUMFrJ33dePGwfQ15F/x2kkjpvPmTF3Ger9ClU7s+BtBM=@vger.kernel.org X-Gm-Message-State: AOJu0Yz/FmEdTM3lOuuRHXFU/kPA508zCjgw5ksDbSpDaTlOXMy1hnMm 8Loj90OZk1ji6H4/SSPZiebTvw5hN2V8gkbC/ls/wxD1N988zp9Pi9d+V0ZjJw== X-Google-Smtp-Source: AGHT+IEeEisqcQCdXNiVjcOQ+BHrMtM1QdZ/7Za8z2Evnw/ptJzlad0MSeVia4oonsqJp6idxrY6sw== X-Received: by 2002:a17:902:e5ca:b0:20c:8839:c515 with SMTP id d9443c01a7336-20ca16c5a89mr173798755ad.56.1728904294697; Mon, 14 Oct 2024 04:11:34 -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.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Oct 2024 04:11:34 -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 8/9] arm64: dts: mediatek: mt8188: Add DP-INTF nodes Date: Mon, 14 Oct 2024 19:09:30 +0800 Message-ID: <20241014111053.2294519-9-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 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 3345a2adc0fe..6f5727f05255 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; @@ -2475,6 +2477,18 @@ disp_dsi1: dsi@1c012000 { 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>; @@ -2740,6 +2754,18 @@ merge5: 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.47.0.rc1.288.g06298d1525-goog