Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp898620rwb; Tue, 27 Sep 2022 06:08:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5y05aKkGsMtYNNPI2AWkQUPmevfU5tWHiS61DliHlorSzjFcehL+WrZFzloNnG4i8U6eI7 X-Received: by 2002:a17:90b:4fc8:b0:202:a340:3594 with SMTP id qa8-20020a17090b4fc800b00202a3403594mr4643945pjb.149.1664284091760; Tue, 27 Sep 2022 06:08:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664284091; cv=none; d=google.com; s=arc-20160816; b=BFhQNrnoERBTAp3GJNNxU/ji++DoyUwxDWOjTPSrDRc9OfW7Au8hLhf0/Ou/ywGfL/ X4DyE5q3N5pTPtOsAxiKXEzvF5rSbeDPByev/2qkl17XCXJRm6EAhZf4spu9vT6+gopY qCYr1vU/ffyyKv46iBjw/JeXY85zomjsxIvzhf8+/AA3Z4uKUTaAOx+txhP54XRxqBJ1 yrwoi3Lcl8WnirWWX325cKft4y7Cu08ssfqk7nbUPPXzNwJ+9GVCHoSEmDQ1thJP0v8a 1WtZJtwrsLiB2Bgb0J+jVNduGGCfVANlIgzmR1hktf2Q915ikEeSZbdh0EK+rfV4/0MU fxsQ== 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:mime-version :in-reply-to:references:user-agent:from:dkim-signature; bh=5A9tE5XjShKgk0dp4mGM6QaE+oB3gw3GtO9g42ZRvK8=; b=RXRRRi1duXsK7JFxqTiIijfOtpJ5BbD5Fv2HQqdIhGnUKx0PAaz7X8mapcCrqGxPGW HNWhQsdWq9GoVDCgKPvca0aX+ybsS2z6/tzMN1aFLHBDsWExkCgBsHcu6+h9Pv0uEQ5z 90yvWESfBGft+F/A12ZOnClbqj+3FVDf1PZWgV1/mZ0jTZ1+Hqo+4tUrPx0OsAqNRFSW 1CacJdK0jNa9+V0dqSUdvP4TyUtJgOWPwHUbOHLug0cCADQY1XSKUMF7hhHRq+hDYL+L uVmOP2ippa4mJClTxjIfRLUknoeGLSysAJMHJyEkNYhMxkGRGzp7JXHFY93Ps/GiA6Bu 6SEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=K6t+GiDM; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e14-20020a17090301ce00b00176e9de1f46si2110952plh.154.2022.09.27.06.07.58; Tue, 27 Sep 2022 06:08:11 -0700 (PDT) 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=@baylibre-com.20210112.gappssmtp.com header.s=20210112 header.b=K6t+GiDM; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232008AbiI0NEQ (ORCPT + 99 others); Tue, 27 Sep 2022 09:04:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229734AbiI0NEO (ORCPT ); Tue, 27 Sep 2022 09:04:14 -0400 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64B6717A5EB for ; Tue, 27 Sep 2022 06:04:13 -0700 (PDT) Received: by mail-pj1-x1032.google.com with SMTP id s14-20020a17090a6e4e00b0020057c70943so15506908pjm.1 for ; Tue, 27 Sep 2022 06:04:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:mime-version:in-reply-to:references :user-agent:from:from:to:cc:subject:date; bh=5A9tE5XjShKgk0dp4mGM6QaE+oB3gw3GtO9g42ZRvK8=; b=K6t+GiDMxCE5PqXx9M7wnOxrmVe8RhMGvnDnBYG8NOKa2YssCusIkZAF4W4yvOQESA grgJhoRBvxxax0+eCuPKh8p2W5rWUX6HXDrfWlnt3QOGcvz2Z0pKWEx5bc2keTzCKDPA EFNonbeyTfJxCD6F40ovXsaSvZaA6ciUzimvjumUgzudbGcVF+jQjdL0HxEI5YO8kDxR uaL+FNOyGJVlqjEpMvpc2MXt9w63j7o81b3Y3ky55r6MbLY0d+jh1dOdyFrtP5/68Jsh ZON8Od6QdsueW9v6KQ7nfWtM/RdVCng56yDGIVeLLVpq3zbI72tvF/vuGVGpBIBmWRps bqHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:in-reply-to:references :user-agent:from:x-gm-message-state:from:to:cc:subject:date; bh=5A9tE5XjShKgk0dp4mGM6QaE+oB3gw3GtO9g42ZRvK8=; b=tHWi8IS5K5zfH+czYAucYA+zMJFeS42DGONLLjSPp1XCDqWLFGO7aGIl0bkp1nVJkZ knNk2Whg2iXupRdlFitoOVUYtm8wkGFPS+f9VFyhtoNVFmYnp2RKfgesqYakSdtRgLVD QdNpy71A714NRAVeYBNJ43qn5vgXJ1+iViylas0GV2ctUuMre72msI0mIKCKVorH7lla 5Qu1pcqymfewoBrNWqzFPEwAHduiinaO4sdtHc5PY5UU3TP4K36KD7jdbj5v6Jxtu4xD hL9UxmOzN8nZghpLfLJ8HJE2G+2Uuij8YOruJDXQowmPsgph+EtknNXlf7LTIDZqY3g8 jXLg== X-Gm-Message-State: ACrzQf18HBkl68I+jCaT3YWBDBKR3+x6ooxujcEacza70F8FSMfrCDAy KZ6Kx40plUYSbJij4BegZ/xO+hgmTdc0OOrRWlisNQ== X-Received: by 2002:a17:90b:33c9:b0:200:a0ca:e6c8 with SMTP id lk9-20020a17090b33c900b00200a0cae6c8mr4481943pjb.147.1664283852916; Tue, 27 Sep 2022 06:04:12 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 27 Sep 2022 06:04:12 -0700 From: Guillaume Ranquet User-Agent: meli 0.7.2 References: <20220919-v1-0-4844816c9808@baylibre.com> <20220919-v1-17-4844816c9808@baylibre.com> In-Reply-To: MIME-Version: 1.0 Date: Tue, 27 Sep 2022 06:04:11 -0700 Message-ID: Subject: Re: [PATCH v1 17/17] drm/mediatek: Add mt8195-dpi support to drm_drv To: Krzysztof Kozlowski , Matthias Brugger , Vinod Koul , Stephen Boyd , David Airlie , Rob Herring , Philipp Zabel , Krzysztof Kozlowski , Daniel Vetter , Chunfeng Yun , CK Hu , Jitao shi , Chun-Kuang Hu , Michael Turquette , Kishon Vijay Abraham I Cc: linux-mediatek@lists.infradead.org, dri-devel@lists.freedesktop.org, Pablo Sun , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Mattijs Korpershoek , linux-arm-kernel@lists.infradead.org, linux-phy@lists.infradead.org, devicetree@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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, 22 Sep 2022 09:20, Krzysztof Kozlowski wrote: >On 19/09/2022 18:56, Guillaume Ranquet wrote: >> Add dpi support to enable the HDMI path. >> >> Signed-off-by: Guillaume Ranquet >> >> diff --git a/drivers/gpu/drm/mediatek/mtk_drm_drv.c b/drivers/gpu/drm/mediatek/mtk_drm_drv.c >> index 72049a530ae1..27f029ca760b 100644 >> --- a/drivers/gpu/drm/mediatek/mtk_drm_drv.c >> +++ b/drivers/gpu/drm/mediatek/mtk_drm_drv.c >> @@ -820,6 +820,8 @@ static const struct of_device_id mtk_ddp_comp_dt_ids[] = { >> .data = (void *)MTK_DPI }, >> { .compatible = "mediatek,mt8192-dpi", >> .data = (void *)MTK_DPI }, >> + { .compatible = "mediatek,mt8195-dpi", >> + .data = (void *)MTK_DPI }, > >It's compatible with the others. You don't need more compatibles. Hi Krzysztof, It's a bit confusing, because this compatible is used in both mtk_drm_drv.c and in mtk_dpi.c Albeit it's entirely the same thing regarding the mtk_drm_drv module, it's pretty different regarding the mtk_dpi module. Thx, Guillaume. > >Best regards, >Krzysztof >