Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp390061rwb; Thu, 1 Dec 2022 03:36:55 -0800 (PST) X-Google-Smtp-Source: AA0mqf5RrcBGR3j8c4kRixYXaLNrOE/MU4FzN4xTJutwc4nIAO51JbBybkzLsS3y87nsDeHrF02X X-Received: by 2002:a17:906:aac8:b0:7ae:df97:a033 with SMTP id kt8-20020a170906aac800b007aedf97a033mr39842006ejb.344.1669894615242; Thu, 01 Dec 2022 03:36:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669894615; cv=none; d=google.com; s=arc-20160816; b=orje24ehkwgTU/zJ8vZSIF0WoBOhI3uL0HgDx6zyvHuNIiSLLIpjvcgVvnc4Ro7DNx IjTGN6PYfKEHZNdnuGYEOpsJIVdBamguufCVh2IJc/y6Qdw82DM2CVY8A+4tSsIMxrME rh3x698aeLM00TChmCCofTqTsFZ1cZL10VfHMoGthz6Q9olBZFkwMJrF/cntq+Q7FX6x oU6oOwwMpHRP7GGKc17gvT47/f8f32U6LsMW98FU2R0vG3ElJfnOL/2ZfQEQWGEK/w+y 09aqhoVRE7Ot/8mBHWdc//2hLQ4DwCfwGBjR1qX8MxKC2OAKfMna1znPvTbfoVMJMyCE 1y1Q== 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=nnfdBIDx/ThTuuxIdap1q8GCjjcmxAGw3qs8tBxtzrg=; b=AeuxVz48VnaFa3endBdclBu/uQ+L/XZqZdurp0SS3XO4c/gGmEx1lV4hVDydGTdIJv 5qAMKZ/RKIQ+6MPEJa2Oty6LUVPFEkn4De/34n20IwJBah97ETHc6Fq7oKr4alD4mQ8U W3evVvus1BNa4Cg1rcSLnY8F64EUY7qEqmw6EwN9F4cJgeq7S30d2rcjTbiZ7ifhPLfc vLU08v2XnhkgRl4PBorJ+dRild1cAwUh8FVu+hy5BMKX4PPB4exOzNa0fPGZp204+4tU 9u9f/QKYhPs0bBUoSDwAF+ijiqitSYgBp3KyzJOkiDicr2uIpHQjo3znCe3MQw9aepg3 wyJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=PzeC+ibq; 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 sh12-20020a1709076e8c00b007bb92113ca1si832392ejc.67.2022.12.01.03.36.31; Thu, 01 Dec 2022 03:36:55 -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=PzeC+ibq; 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 S229805AbiLALXP (ORCPT + 83 others); Thu, 1 Dec 2022 06:23:15 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230410AbiLALWr (ORCPT ); Thu, 1 Dec 2022 06:22:47 -0500 Received: from mail-vs1-xe36.google.com (mail-vs1-xe36.google.com [IPv6:2607:f8b0:4864:20::e36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8ECD3A6CF9 for ; Thu, 1 Dec 2022 03:20:26 -0800 (PST) Received: by mail-vs1-xe36.google.com with SMTP id m4so1231457vsc.6 for ; Thu, 01 Dec 2022 03:20:26 -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=nnfdBIDx/ThTuuxIdap1q8GCjjcmxAGw3qs8tBxtzrg=; b=PzeC+ibqlNyJld1Tn2f8jLjq06c8fOJ83yLHBjS3ztc1gV+KW568QeoVC5zvRzmX0H fj7Z4m3Vs+/NLYHJW536uNxE1amEp0ZTTHDaYw1smNplw56+kticLa76tmXi+jw69SMa IeMvXRHFAfISdZEZfm5rFA85J/irGzSsz/G3I= 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=nnfdBIDx/ThTuuxIdap1q8GCjjcmxAGw3qs8tBxtzrg=; b=Gg52d0anyN7CKFQ4sLui4omV9whmDM9W+k1jrwofRZDvyDaFL41NvIKhLeQJhRQyMs EZFOJduSjfOvx9e7JSr9L9tkmVP7VIQlGICNkX8kB+mMrekZbq2BZfFamJoLZ6Z88VoO 8MI+8bRCErEpIoZ1WMmZmi0D3nnDFS+lHRgoDAXtHoX+ZM54kDoXkcFLt+GvD3FKNgNf J1/Ry2Yib1krUcfdmq1kb1tnYPN7ChslSewFMhj2JUO1rXxqor25vLAiL7Sr1xdWSqmO BCL1vPbyBcMuJ9tS0Hg6IwqmB8mKrg2jnULYetn1V9HKfKuB7ReM9/ZQx6imLolsD6h/ anfA== X-Gm-Message-State: ANoB5plcc8DRkKeGVS+jMGuJBldXfvj4uNgB0W3tVLf90HBh/dnzeKXA Wo7Oid2T9eTK0BZXcu1mv7O2DsWPX//e2c6yxexB14tnLmw= X-Received: by 2002:a05:6102:e0c:b0:3b0:6da7:39ba with SMTP id o12-20020a0561020e0c00b003b06da739bamr24612364vst.26.1669893625753; Thu, 01 Dec 2022 03:20:25 -0800 (PST) MIME-Version: 1.0 References: <20221111082912.14557-1-matthias.bgg@kernel.org> <46c17d4b-d130-86a7-b5f8-73c30d7fdfdd@collabora.com> In-Reply-To: <46c17d4b-d130-86a7-b5f8-73c30d7fdfdd@collabora.com> From: Chen-Yu Tsai Date: Thu, 1 Dec 2022 19:20:14 +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 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. Regards ChenYu