Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp16806pxv; Thu, 24 Jun 2021 01:32:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWt6mGIzZ0AmLg+MDuH0na5a4wIZPUTHuoM6I6RMUwht5JzkhnLE3JLm8UQaHwtU77jn3Y X-Received: by 2002:a17:906:b0d4:: with SMTP id bk20mr1424627ejb.535.1624523569231; Thu, 24 Jun 2021 01:32:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624523569; cv=none; d=google.com; s=arc-20160816; b=H0f7mpW46Kdu+h4hhHKRz37wCuVQhRJbKjGOcujWfOM8Yncz6FG4VXsPB3ofnMlLwT jjlMfeLKetVZ/Ic6gDRHc3/YV4JEy9H4MmU4DWZ1pbygHAjF4KGHAJGxc8RSAaZrR3uG a+EnoWO6squ/pGti2xkzhg7lwbQSGbNkAcJWbQMMJZm0LmCWwYvsGIKIZXqr8vORgbk3 KcciV/xscURfXDjuUjKN8ry5yq96EijM0964Q7BuXfGWLK8e6HGm6mMc2fPE2eKXK/C4 VLM4LEczLwzO2pr7zNomN+9k2kiPe/T5uV0KM07lelxxLyIIhiPeJEWKkXDVp108Mm/v +3CA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=FWf1/8cps0f2orI5AbiDd3FTEBu65FvivubU0HnKemc=; b=jnvAAz19AcxnRaLphdc5jEfnqmIvQt4bxiOd4q5/gm7sDxPh+h8wYp9+n45nEVUQfg R0HVXC4p+2n7m5na4iL4pmP+5flAMnVHeQTULBYdpANTBFv2yWg8nUgNMUBmu/0kQqxU CPb5Y/cM7u8UAWe0dhBxFZ+haxc4csqzUBibgEx92HE3cqOzoJQjmh/DiEm4FOIOPUHN 5ZQYFSHVI+rZnbPgj7ii7mnqYSod7hM4oSiDrw3EikTjoOANkHEVEvXEZISF6fqJJmCY bwYP2gU7gKThUlVzAOEc8aw57+jL34ZOV0TsKRWa7Y/S2OEy73MzDyyhnmz3ZO2iu43O 6HzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id by26si1943861ejc.725.2021.06.24.01.32.25; Thu, 24 Jun 2021 01:32:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231941AbhFXIdQ (ORCPT + 99 others); Thu, 24 Jun 2021 04:33:16 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:57484 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231826AbhFXIdP (ORCPT ); Thu, 24 Jun 2021 04:33:15 -0400 Received: from mail-ej1-f70.google.com ([209.85.218.70]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1lwKlD-0005Io-Hj for linux-kernel@vger.kernel.org; Thu, 24 Jun 2021 08:30:55 +0000 Received: by mail-ej1-f70.google.com with SMTP id ci22-20020a170906c356b0290492ca430d87so1712415ejb.14 for ; Thu, 24 Jun 2021 01:30:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=FWf1/8cps0f2orI5AbiDd3FTEBu65FvivubU0HnKemc=; b=ni6olbogFcB6kwsM3DVbBvjwPZEylsd6YcalJU23r6byyQ1EuTSECwyCuGpgp/uifb OA9RShteHZVkMQyIl/xVkAm2zhia/GWU7k1jZuGx45T4VGeryEJCDwWASF9Vd4tYV41E 94JjH562V8gXsOuPIbEsyPHxkdrmSFGwYRyY+5YL/n+ZLq5F+S4rLKSXJxS1yiO5K9e+ 60nEP1HPU1tMacvILasMIuCHo/l9kkmw2oZoulLQo1CygG2uSI1Eu3jVBMhIf4blhIQA xpZGkjZzThKcgpLUbmjRT8AkpL5vLwJdK2Og8E/RlKN4SDT4FiC/K22XJh7yjFUog25M HN+g== X-Gm-Message-State: AOAM530z6f/fay5boDi6ePMcIxbWr+WJxTurDrwlhZWqjpmkybfLn2NB V2TEc/z2VCrXKOEf8ra+DqxHEzA1U2rU5dPwbVvgjGT8M4KCkX71kpJqqSvc7k5ILWPUl4xdFAS ecNLPp6acAdwA4dWAyRw2SSCIQSDoGN2KvZ/IIlN78A== X-Received: by 2002:a17:906:dbd5:: with SMTP id yc21mr4064965ejb.233.1624523455182; Thu, 24 Jun 2021 01:30:55 -0700 (PDT) X-Received: by 2002:a17:906:dbd5:: with SMTP id yc21mr4064931ejb.233.1624523455018; Thu, 24 Jun 2021 01:30:55 -0700 (PDT) Received: from [192.168.1.115] (xdsl-188-155-177-222.adslplus.ch. [188.155.177.222]) by smtp.gmail.com with ESMTPSA id a3sm1417424edu.61.2021.06.24.01.30.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 24 Jun 2021 01:30:54 -0700 (PDT) Subject: Re: [RFC PATCH 2/9] drm: bridge: Add Samsung SEC MIPI DSIM bridge driver To: Fabio Estevam , Laurent Pinchart , Michael Tretter Cc: Jagan Teki , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Peng Fan , Francis Laniel , Matteo Lisi , Neil Armstrong , linux-amarula , Tomasz Figa , linux-kernel , Robert Foss , Andrzej Hajda , DRI mailing list , Milco Pratesi , Anthony Brandon , linux-phy@lists.infradead.org, Fancy Fang , Shawn Guo , Sascha Hauer , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , NXP Linux Team References: <20210621072424.111733-1-jagan@amarulasolutions.com> <20210621072424.111733-3-jagan@amarulasolutions.com> From: Krzysztof Kozlowski Message-ID: <2decfea3-3659-2a3b-7706-326c97f57f8e@canonical.com> Date: Thu, 24 Jun 2021 10:30:53 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24/06/2021 04:48, Fabio Estevam wrote: > Hi Jagan/Laurent, > > On Wed, Jun 23, 2021 at 7:23 PM Laurent Pinchart > wrote: > >> Looking at the register set, it seems to match the Exynos 5433, >> supported by drivers/gpu/drm/exynos/exynos_drm_dsi.c. Can we leverage >> that driver instead of adding a new one for the same IP core ? > > Yes. there was an attempt from Michael in this direction: > https://patchwork.kernel.org/project/dri-devel/cover/20200911135413.3654800-1-m.tretter@pengutronix.de/ That's the proper direction (maybe as Marek suggested - sharing common code like for Analogix DP), not duplicating a driver. Best regards, Krzysztof