Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp406030rwb; Thu, 1 Dec 2022 03:51:25 -0800 (PST) X-Google-Smtp-Source: AA0mqf487OmONl8eZBWCD5UZHjeioZqsC/9+hzaLee865qlNlKEIEZ6ZgDVxD3N25PrzhjrY3ZTW X-Received: by 2002:a63:1b18:0:b0:477:f21a:56b6 with SMTP id b24-20020a631b18000000b00477f21a56b6mr23911631pgb.25.1669895484552; Thu, 01 Dec 2022 03:51:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669895484; cv=none; d=google.com; s=arc-20160816; b=f/OFHJ2/6SA40okcf7pbEy15+aybUu/x9ydAUM9yssX6oBmEH1+2mf1gSayMZcO4kK Y3MOOmURyvyiRJ7mRKFqfpRPe560ssHbucphTknIuE+HAd+0YDEXx7Vo1AFdM1b720Y/ wdRgDhpL59crf6l6WqkgSanrMAZx2NsMrx+2CJTcYyF8oHanLVSUTrjZ2Qkf0wi5JBkO WhubhZBvNrmwlxfB9UupSIxltVdZdvPKhpeyiytBELkfcenH6thQPWc3HVeSPwM9ZaWr SbYLOw7400B/K2YpjuLVLfvjdGHtrSKSaCriWtR5O5/1VhC7+gtA49vkBd1MobWPhZfI yWyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=1+OjgymNTgpya4cFDzkY6TioB8zsQW+gfuuC/5sIFGI=; b=aB4dy7Gj4NH63jtUzrGTEazVgXTDwbrk+OLZWuNQktFzWdxtZ9PsCMhN1r4Tx6Z+QH BqzG95vj5xQ47yVgYBQ+x3uj+GP9iCE6EMbNQuHTLi/KiVpFbXruf5viXCX9bfJMu23L NsE0jEeOIQlZ/m9JumDeoHc2/nXu9B80yMtrzn5Xx5gHy9cVYqeL3U1H6ee9Z/O4LNeG w1URQ7a8q5nvjbS2u4NCIhutJnQwgVSh3RU7fdR8yp/1a8d6FU9VEjPm6Ig1DulGxKud 57UeKp/Ylf/yPTdin0gSyugWB7sPSjSV7LUUY6KBaZcMwKqv4BVR03XrpwHOKyE4zD99 nTmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WJm3P5MC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x4-20020a63db44000000b0045a2b6e1192si4114579pgi.233.2022.12.01.03.51.13; Thu, 01 Dec 2022 03:51:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=WJm3P5MC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229778AbiLAL0B (ORCPT + 83 others); Thu, 1 Dec 2022 06:26:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbiLAL0A (ORCPT ); Thu, 1 Dec 2022 06:26:00 -0500 Received: from mail-vs1-xe30.google.com (mail-vs1-xe30.google.com [IPv6:2607:f8b0:4864:20::e30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7071B233 for ; Thu, 1 Dec 2022 03:25:58 -0800 (PST) Received: by mail-vs1-xe30.google.com with SMTP id g65so1223044vsc.11 for ; Thu, 01 Dec 2022 03:25:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=1+OjgymNTgpya4cFDzkY6TioB8zsQW+gfuuC/5sIFGI=; b=WJm3P5MCtjzSoLs7LiGyBy2a9Y+3xHS3FkTOUDFaDfO3xpAyiimaBU3hyYR2AkCfMP Bl66OvmqYD030PEcT/Md+1x8A9+WD+v27EW5zPDUnTldrKs44PgYCsj4dYXS1S4AzO/2 AFofI6KaRIxKQElpiGpkTJdmM7JCHoxKNtJTo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=1+OjgymNTgpya4cFDzkY6TioB8zsQW+gfuuC/5sIFGI=; b=lSilSUT4xJeNyeS8HkjkcX8heJY2tHBtNx2O/5Fa4M+xhqSurnB9Vb1ON+VTOtHR1y /HXr7qYW+QRsZeNpEaeSaF5LwSsnxq1SKusB7rDq8PflhKAe9+iXV275Q6y0lj/R+ej1 dGD9FdrH9ifIjf/EfGlSIvkD2QgUmPDPp8Y/6dzv9SbyLAp74iLTwSSNN1vb9blCcEvX SYSzeN1FZzpsIYpc9T2iXvbgizx6AdsELG546xvT8Jg7dSkPq09Ad5YVCEE2dwep+I9/ jE8P+sTzTEvJYhSh2RRUL51ZKE2ibBvqJEtFu3yu3mbJMJZSjVfXrO/F1/U3V8+FcdQM FYWg== X-Gm-Message-State: ANoB5plCAqtqzaQsdFMwwDCZeND29+ra9ur9GSR1iBHWUQkhpCaOWUWT hwzcZyTzKcbYH2AH1YXQ8ZL5bafciDARFM4nxwrPsA== X-Received: by 2002:a05:6102:b16:b0:3a7:a88a:6bce with SMTP id b22-20020a0561020b1600b003a7a88a6bcemr28995324vst.65.1669893957629; Thu, 01 Dec 2022 03:25:57 -0800 (PST) MIME-Version: 1.0 References: <20221111082912.14557-1-matthias.bgg@kernel.org> <46c17d4b-d130-86a7-b5f8-73c30d7fdfdd@collabora.com> In-Reply-To: From: Chen-Yu Tsai Date: Thu, 1 Dec 2022 19:25:46 +0800 Message-ID: Subject: Re: [PATCH v2] soc: mediatek: Add deprecated compatible to mmsys To: AngeloGioacchino Del Regno , matthias.bgg@kernel.org Cc: matthias.bgg@gmail.com, nancy.lin@mediatek.com, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 1, 2022 at 7:20 PM Chen-Yu Tsai wrote: > > On Mon, Nov 14, 2022 at 7:59 PM AngeloGioacchino Del Regno > wrote: > > > > Il 11/11/22 09:29, matthias.bgg@kernel.org ha scritto: > > > From: Matthias Brugger > > > > > > For backward compatibility we add the deprecated compatible. > > > > > > Signed-off-by: Matthias Brugger > > > > Reviewed-by: AngeloGioacchino Del Regno > > > > ...And tested on MT8195 Cherry Chromebook. > > This now seems like a bad idea. In the dtsi we have two nodes (vdosys0 and > vdosys1) that both currently use the -mmsys compatible, which in the driver > maps to vdosys0. So not only do we have vdosys1 incorrectly probing as > vdosys0, we also have duplicate clks being registered and duplicate DRM > pipelines. On my device vdosys1 ends up winning the duplicate clock race. > > I suggest just reverting this. The display stuff won't be useful unless > the drivers are able to distinguish themselves from one another. That and try to fix the vdosys0 node ASAP. > Regards > ChenYu