From patchwork Wed Aug 21 04:28:34 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 13770780 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5CA0AC52D6F for ; Wed, 21 Aug 2024 04:29:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=oL35AxGZkldIWibynmnAKaJ2u5VoZnYoTxaz2S8FjO8=; b=46e36b4zmN4b9qk/iLYZiLBsUH KVJ1bGC+X0hX1p9j10f1wOEnlM5o6WYvSWvsfOQ8ek9M3nVzcSuv9AFqlmn8KXNmPC2VWyi5CvMoU aEVb+NoyiaTYWGlLlYs7zBkwiwI9jPi2Xb4Ofnun547/qN8qRWUb2Skijg66K583CDxrTouu86YNG XJ7rodq2Jgo06/1Z9Cux7Edsg0lOcYnwsU2tOpxz+DQRlx/HPFrKAyTC9w/rGkMPd9jS25n4AKLS1 p/SANT0COKsuePLQSyC3BerYa/EXPEiy14my+3SxqeQXcRj8WSmMD+hfDVoVIrHXKqQKqQDApxMn7 eBnfTF5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgcyY-00000007UFB-27UR; Wed, 21 Aug 2024 04:29:38 +0000 Received: from mail-pl1-x62b.google.com ([2607:f8b0:4864:20::62b]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sgcxq-00000007U9B-303U for linux-arm-kernel@lists.infradead.org; Wed, 21 Aug 2024 04:28:56 +0000 Received: by mail-pl1-x62b.google.com with SMTP id d9443c01a7336-2025031eb60so22223275ad.3 for ; Tue, 20 Aug 2024 21:28:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1724214533; x=1724819333; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=oL35AxGZkldIWibynmnAKaJ2u5VoZnYoTxaz2S8FjO8=; b=c8abwPxysy77ictG/9AkGGJ0hy0UgrAW0ZF022cSxLcl6ruztI8V64Q2ABuqKd0bE2 0HpmXf2RQ0SHa58FtUJ2Nzci7EcZdRiTBkjCgf+lpYewtFuyaG9vfmIRirc4180S8Rrl 7DLtZnSqALKUR8AIe013r5p+yQMnXJoT9fgMM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724214533; x=1724819333; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=oL35AxGZkldIWibynmnAKaJ2u5VoZnYoTxaz2S8FjO8=; b=Q2G1Kxg/zqD7hEMFigTuFJ6QP1PAfEErliNu9e1H6brmKIi3udsVwnoTOzuuyzD3oo cfZSZ7tz0MPS6cd6ZG2iUhhC5j8RkNhgMrgpDT15sHHserEt871K3z14yvJHWDd3C3as QLcqCm++I/yhIpuPaeG3WUVF51ze3FDU0yaDg8n36ZiZTWmitYB/ajv9u6D6Kxv1W1sY Qz/BG6x8stNlz3pGUwtnVo2DNPhd6DUZUIdyU6BUwlP8pwoMQn9OzsKJruZdVlmUYz/r W2/uHSj+vX+aYzcp189wfDLN/YR0UErNPFiWV2yxaYJ1T36DPqDftL3YIjL+0HcqEIRW YN+w== X-Forwarded-Encrypted: i=1; AJvYcCUdTXXQ5x6tXfnM8SB4oRCHnT08An0kwIPgvFrY5xbsokg2znasRnMIj3ocUSUkMik6f6SId3LM3LkTRVNC4PY2@lists.infradead.org X-Gm-Message-State: AOJu0YxhVuRPLpc1wKQcm86g4yENZLy2JcdhByj2urEI0iDufKmGQhRn MZSlPe6M0yeMdO3qr+pVOq3+iIBmnb9dF/TmlH0pjbqnmpnFjdTeVfTEftxvGQ== X-Google-Smtp-Source: AGHT+IGkQFvAxR6OHQmrEF1NWLA3JRjVj9a5qfWqVB0iBHec1ZP8Pwv8bCGoy0noetly9gAjy0fz3w== X-Received: by 2002:a17:902:6903:b0:202:1fe:bd0a with SMTP id d9443c01a7336-2036807428amr9688345ad.46.1724214533083; Tue, 20 Aug 2024 21:28:53 -0700 (PDT) Received: from wenstp920.tpe.corp.google.com ([2401:fa00:1:10:8d56:286b:9a9c:b7d0]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-201f0375acasm85652345ad.161.2024.08.20.21.28.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Aug 2024 21:28:52 -0700 (PDT) From: Chen-Yu Tsai To: Matthias Brugger , AngeloGioacchino Del Regno Cc: Chen-Yu Tsai , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, Stephen Boyd , Pin-yen Lin , Alper Nebi Yasak , stable@vger.kernel.org Subject: [PATCH] arm64: dts: mediatek: mt8186-corsola: Disable DPI display interface Date: Wed, 21 Aug 2024 12:28:34 +0800 Message-ID: <20240821042836.2631815-1-wenst@chromium.org> X-Mailer: git-send-email 2.46.0.184.g6999bdac58-goog MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240820_212854_807888_EC6441F4 X-CRM114-Status: GOOD ( 13.90 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The DPI display interface feeds the external display pipeline. However the pipeline representation is currently incomplete. Efforts are still under way to come up with a way to represent the "creative" repurposing of the DP bridge chip's internal output mux, which is meant to support USB type-C orientation changes, to output to one of two type-C ports. Until that is finalized, the external display can't be fully described, and thus won't work. Even worse, the half complete graph potentially confuses the OS, breaking the internal display as well. Disable the external display interface across the whole Corsola family until the DP / USB Type-C muxing graph binding is ready. Reported-by: Alper Nebi Yasak Closes: https://lore.kernel.org/linux-mediatek/38a703a9-6efb-456a-a248-1dd3687e526d@gmail.com/ Fixes: 8855d01fb81f ("arm64: dts: mediatek: Add MT8186 Krabby platform based Tentacruel / Tentacool") Cc: Signed-off-by: Chen-Yu Tsai Tested-by: Alper Nebi Yasak --- Stephen has recently posted the "platform/chrome: Add DT USB/DP muxing/topology support" patch series, which is now up to v3 [1]. More work based on this series is needed for the DP bridge drivers. [1] https://lore.kernel.org/dri-devel/20240819223834.2049862-1-swboyd@chromium.org/ --- arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi b/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi index 0c4a26117428..682c6ad2574d 100644 --- a/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8186-corsola.dtsi @@ -353,7 +353,8 @@ &dpi { pinctrl-names = "default", "sleep"; pinctrl-0 = <&dpi_pins_default>; pinctrl-1 = <&dpi_pins_sleep>; - status = "okay"; + /* TODO Re-enable after DP to Type-C port muxing can be described */ + status = "disabled"; }; &dpi_out {