Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp343183rdh; Thu, 23 Nov 2023 05:38:14 -0800 (PST) X-Google-Smtp-Source: AGHT+IGen1NveQNfSgZ/Gi5/cyKlQyLhg+B4623VEiOO/clRHU/AzAtw57wxE+e7cE+CrKMKtPsN X-Received: by 2002:a05:6a00:1c8c:b0:6be:5a1a:3b93 with SMTP id y12-20020a056a001c8c00b006be5a1a3b93mr5082851pfw.4.1700746694022; Thu, 23 Nov 2023 05:38:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700746694; cv=none; d=google.com; s=arc-20160816; b=LANeF504Sn+98nUe/qtnjLEMZoBJkjyx4Bpsd2kayG+1dM4jr9zUHKc7sGXtHYbf33 DSXCGC2Fk2Q0dthbXYIlZLix/AiUx+PMokcKNP2mtV9OITyaREr0SL7g7lAi94NUWtbw P58uSCxDAD3jmaQSN8z2dpTtmqmcEHIFGDS1vddDC1yOsWYWyMf/pFpKvdhc6nafkW69 raigllLQyimABXxSrL/jF0izjVT0J+fXPYUp5HeqBOSo6z5Xjq69TvKYgMsnF6leOS3w OQ3ib2GBC3ceg9O1Pc4l15feCCuhnfkXJc+6yxzeNxMFap+giebFBzM2yxvWAPBQTzV1 1XPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=/VqdI9YeVyOYP3rilkcTMwdMToZ1TyIAO1ngW+BCWds=; fh=VNacRJXm2hxfHsmdEC850M1vAMQkiaofyBYmGAuXVDI=; b=XUM712almY8c/LHJNWTAmqI6DHEnqtU50KMsBGT9XUhTtWStVTwPryAYWzVkHtjMab 3xO/fvcn0g5uqXrm+DeiuzA7kmZG1isWDDWemq3rEGZVg21CEALTTvppB5KW8GyHucvr Y/Mx8+wg+EDMQJsSA88qsex1WcI/eVObz7nuyGPJa+gBE48qx3gbIODORDGix43M95BZ u9Ngg2U2wTZlHUv4xkGuszTPFgO+/Pm1RAAt/r8URVhiXMqdt/1/ag+D7Je3ldWfIS4+ wME4rnjBjsUZOif2Ym21I37Rdca7JO1w9Tx9PmSMlo0wloT2+c/52y5h6Ju0e9wd7i5g 91UA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UMAztWdf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id a38-20020a056a001d2600b006cbf1bb0b34si44438pfx.323.2023.11.23.05.38.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 05:38:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=UMAztWdf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 1ED71832EF56; Thu, 23 Nov 2023 05:38:10 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345510AbjKWNhz (ORCPT + 99 others); Thu, 23 Nov 2023 08:37:55 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345501AbjKWNhy (ORCPT ); Thu, 23 Nov 2023 08:37:54 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BD031A8 for ; Thu, 23 Nov 2023 05:38:01 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39466C433C8; Thu, 23 Nov 2023 13:37:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700746681; bh=Kbejb0pedrawxY+pi+DDjvZjKDSamA1YE5y/xYy428I=; h=From:To:Cc:Subject:Date:From; b=UMAztWdfrWZb+e0C/ri4ppoNy2OFRDYeBO2/klDT6OSA68JTnvdYMOGPwHiOlbKII jfRew+TsZO9d1yfQcIA8PzXJbCrv2wn/kqG1GrZKDmQP2QhN+Lb9VO50CqIiIrD3Lg eqQWxCEOkX1FrL/OTu8q+YB9Oqwd72zg7VVuGRz2Nv/05vSY343Sh/FtJJf+6Z4Q1N 3R9Q72CXgM6+HzPcywTBMtlFPVG8PC6MyjKHwRcubfAcX4v/XoMd4K57ExZU9NkYyV T7cexV+whxMegO8gqovedEzEPEi0kt+P9/n7f3dcbkiEgi5yh/185+/2Mgq+3hZd+G J2gf0uf60LdrA== From: Michael Walle To: Chun-Kuang Hu , Philipp Zabel , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chunfeng Yun , Vinod Koul , Kishon Vijay Abraham I , Matthias Brugger , AngeloGioacchino Del Regno , Jitao Shi , Xinlei Lee Cc: dri-devel@lists.freedesktop.org, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, Michael Walle Subject: [PATCH 0/4] drm/mediatek: support DSI output on MT8195 Date: Thu, 23 Nov 2023 14:37:45 +0100 Message-Id: <20231123133749.2030661-1-mwalle@kernel.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 23 Nov 2023 05:38:10 -0800 (PST) Add support for a DSI output on VDOSYS0. Luckily, there is a new feature to support dynamic selections of the output (connector). Use it to add support for a DSI output. Apart from that, this is pretty straghtforward by just adding new compatibles and add the correct DSI nodes to the SoC dtsi. This was tested with a Toshiba TC358775 DSI-to-LVDS bridge and three different panels. Please note, that the driver for this bridge doesn't work well and needs a more or less complete rework, which will be posted on a separate series. Michael Walle (4): dt-bindings: display: mediatek: dsi: add compatible for MediaTek MT8195 dt-bindings: phy: add compatible for Mediatek MT8195 arm64: dts: mediatek: mt8195: add DSI and MIPI DPHY nodes drm/mediatek: support the DSI0 output on the MT8195 VDOSYS0 .../display/mediatek/mediatek,dsi.yaml | 4 ++ .../bindings/phy/mediatek,dsi-phy.yaml | 1 + arch/arm64/boot/dts/mediatek/mt8195.dtsi | 48 +++++++++++++++++++ drivers/gpu/drm/mediatek/mtk_drm_drv.c | 8 +++- 4 files changed, 60 insertions(+), 1 deletion(-) -- 2.39.2