From nobody Thu Nov 28 12:45:29 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 6718520124B for ; Wed, 2 Oct 2024 11:46:57 +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=1727869618; cv=none; b=nEqR5hZrwLw99mMI0Qo40ZNO8qQmDM+eSkGstKrZ67W5RN1CPB0P6yp08SKU+gFeHUwN58I9P+d40sCBJ66MgYmZyZbkqTgYJDlWNMrTtiO6AZRQVsv9DAAZKms3LIkejjR5ahHqOnKYGGomPSBAEDpWytDLN8NDhxlWhSpv9Rc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727869618; c=relaxed/simple; bh=EpEEYqGxFg6YRpO55MRh7lUrelO8sjK7yrAfrkcKXeg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=F3txCe4yTMK3Wgm+0mkrcOKCxSegrK+dob3bgndbT1XAXyLVVTUueJTtexlUxQbEcOVsKWwNA8v/n+z1Xy22E0H0E0WbLxkbrh5tgpTLwa+LkBNFPv1sbnMyivgE2nRI0bYu7XMT/sgykKvMlDqVQnc9vCHEGt+5QGYWpXX0Vco= 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=C7HRou3u; 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="C7HRou3u" Received: by mail-pf1-f172.google.com with SMTP id d2e1a72fcca58-718f4fd89e5so5943821b3a.0 for ; Wed, 02 Oct 2024 04:46:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1727869617; x=1728474417; 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=lLxnIBg1s/2Zk6Wq5rMoMKrQWoBI+Wl7X5KlhfrQsNI=; b=C7HRou3uTGQCkziFs1zhu1C7h1WMCxw8Dr55PjjR/zD2Bkp7hrEr8IPJ8lwJ5VPRLD qdVxt71wPW+BZ7Cq1+aDn3bz4XXu1mDnzXVExwpkURcGjM89tF7lhlgR7VJqodL+XNoF 0gMH0dJthgIF8pkTo3r5vcP7qQd0K6tyNL1FQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727869617; x=1728474417; 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=lLxnIBg1s/2Zk6Wq5rMoMKrQWoBI+Wl7X5KlhfrQsNI=; b=BOTAWyd/KiBzW7RFrJzzFFjlei4BvVz9g+FPdAC3IsXcdFTJtnMjzH/uZTVDP8JHYg o7ROtOYrYDOX4RAjDasQ3jGnXoQ7wXsLwvmP3U7YzoqZvtYFuIzEqOd45fR6MaFEjTPV im+uSBi4adLYApzEjSJhmCsGozC7sLAuoSyALIuYwKw3wOHprOw3odiGwYwNqWYrvIzI T/iPhvIQybshfB4y8wEwn4v4lAMDOfhQkOXAcaXvcVWXZDlbzZgb4UKLtxAfzQOiozBJ 5kFh+Zv1DcZYM19XG3HG+QVKuy3XaZvMiQyTdEqTRougMrrZW+3lNOYXe2YH7wHPnqKo hW+w== X-Forwarded-Encrypted: i=1; AJvYcCUmQX07NuLemSTiKSLwwSHJsICyPx9A8IFa3EfE2SZCn5cunuOXySykHBok2v0RRSyAQroEInM7o7/6v7c=@vger.kernel.org X-Gm-Message-State: AOJu0YycEi5JJPhjOWjckY1a3KEzGwB4BBKj/HUPT3tehW4b4RL4hJLE pphiCLgv8dHU8opLpaXn7aBwFlMBymDVwxU+yuNekVBgHoA5RQCAJxWgX6mPBKy1ko51q8MqR0i SgQ== X-Google-Smtp-Source: AGHT+IF6JPGrnrw2s+oul2cFZeq8gjPoe0hpHOYv+WskSpMyeJxxVC8NL1KQVuNJIk0Wtb2UocnhVQ== X-Received: by 2002:a05:6a00:1254:b0:714:2533:1b82 with SMTP id d2e1a72fcca58-71dc5d6f693mr4955317b3a.23.1727869616721; Wed, 02 Oct 2024 04:46:56 -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.46.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Oct 2024 04:46:56 -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 3/9] arm64: dts: mediatek: mt8188: Add MIPI DSI nodes Date: Wed, 2 Oct 2024 19:41:43 +0800 Message-ID: <20241002114614.847553-4-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 MIPI DSI and the associated PHY node to support DSI panels. Individual board device tree should enable the nodes 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 9431f3c5c228..ff639418bebe 100644 --- a/arch/arm64/boot/dts/mediatek/mt8188.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8188.dtsi @@ -1837,6 +1837,16 @@ pcieport: pcie-phy@0 { }; }; =20 + mipi_tx_phy: dsi-phy@11c80000 { + compatible =3D "mediatek,mt8188-mipi-tx", "mediatek,mt8183-mipi-tx"; + reg =3D <0 0x11c80000 0 0x1000>; + clocks =3D <&clk26m>; + clock-output-names =3D "mipi_tx0_pll"; + #clock-cells =3D <0>; + #phy-cells =3D <0>; + status =3D "disabled"; + }; + i2c1: i2c@11e00000 { compatible =3D "mediatek,mt8188-i2c"; reg =3D <0 0x11e00000 0 0x1000>, @@ -2222,10 +2232,26 @@ larb19: smi@1a010000 { mediatek,smi =3D <&vdo_smi_common>; }; =20 + disp_dsi: dsi@1c008000 { + compatible =3D "mediatek,mt8188-dsi"; + reg =3D <0 0x1c008000 0 0x1000>; + clocks =3D <&vdosys0 CLK_VDO0_DSI0>, + <&vdosys0 CLK_VDO0_DSI0_DSI>, + <&mipi_tx_phy>; + clock-names =3D "engine", "digital", "hs"; + interrupts =3D ; + phys =3D <&mipi_tx_phy>; + phy-names =3D "dphy"; + power-domains =3D <&spm MT8188_POWER_DOMAIN_VDOSYS0>; + resets =3D <&vdosys0 MT8188_VDO0_RST_DSI0>; + status =3D "disabled"; + }; + vdosys0: syscon@1c01d000 { compatible =3D "mediatek,mt8188-vdosys0", "syscon"; reg =3D <0 0x1c01d000 0 0x1000>; #clock-cells =3D <1>; + #reset-cells =3D <1>; mboxes =3D <&gce0 0 CMDQ_THR_PRIO_4>; mediatek,gce-client-reg =3D <&gce0 SUBSYS_1c01XXXX 0xd000 0x1000>; }; --=20 2.46.1.824.gd892dcdcdd-goog