Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp929531pxv; Fri, 25 Jun 2021 01:21:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw9WDbInPtMTIApcnnRzYTcBBl15APeEuor6IeJLwnlpyiPQEYsrjNIEAIqYa8phvJN2EM1 X-Received: by 2002:a92:3f08:: with SMTP id m8mr6365183ila.104.1624609265094; Fri, 25 Jun 2021 01:21:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624609265; cv=none; d=google.com; s=arc-20160816; b=SNACp6g05Yv+D7lw+k/LilpP1QtcRemCYJUpVfll+DGZT1sbVYrOvzhXVLdJoHFTJj qvuraaV6rtS4vARkQk0/pPiCC2FlTFR+ObVEIv6B0yUnWWjCzW/JPgKXsFfSgBIQAUb4 ihN7ZxUgwmNSw0blAIoeHkRqwgkDk2D/OsYKJMKJ0XzS6elSacqbcPVIuXIR7ateCw7r 2O5AnJtUTG/ZjcapeSDTZA3roaEpzDgwshCLPoutnnI16NWYR3DZm0HbUlsexfWtYUFF 2qJMbHTPKkDC80vay+2xTscTPjvtBL4ef6nsz0I0Z3EdKr+lKJEiVLum/NCXjO1ajTVW h72A== 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=Ij57ec/kT6vqdj3SkA9+UxDinMRytbLturPpNw8vjWU=; b=l7Z5A6NiOp/VMHSx9yXs/DfLxuqNENmdxK5upkBben1PinTLAYMuMlv0dO1OIlU5E9 AF5jEHpi+tREYYT0EMUsN42slM2erwzaAfmE8Rkh0psGQFgmWu67FHSC7nZell53Cp2e /9GWKLM+/wglEgv2j9yhz9zNxYQxWThtoxD08G0D7ETdgDYLCUEbB6h9LW4I/jUmE2d8 iclezRQ8Gzg0VxWaD+KlbS2TYm2BD0moeXD5LiYjTxajjyvQeh+bkLsfCww/C8flcYCr S0/HI3M9C5e69dy9pqFlnwMR3rofM0vD7IkwJK9AqEnLNtHGC0auxrVx7Wk/5Z9SjKe4 ccBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fUPOg7qJ; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x5si5244943jas.126.2021.06.25.01.20.52; Fri, 25 Jun 2021 01:21:05 -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; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=fUPOg7qJ; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229772AbhFYIWX (ORCPT + 99 others); Fri, 25 Jun 2021 04:22:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58346 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229764AbhFYIWX (ORCPT ); Fri, 25 Jun 2021 04:22:23 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B9B3C06175F for ; Fri, 25 Jun 2021 01:20:02 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id nb6so13793951ejc.10 for ; Fri, 25 Jun 2021 01:20:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ij57ec/kT6vqdj3SkA9+UxDinMRytbLturPpNw8vjWU=; b=fUPOg7qJFU4+Ky55nonbhHO3m4gsmtHJ5JR19iPaBEvYjk3/idyXrnOzPF0RETsFki aon0d55/n0DgoLxhyqvpHSMAzPTz5otjiNSZ/KZCVwhjW1FHTLiHnWh/CM8AwwZZpldx Kdh+7y5JjZRwPrcv7S0CsQpczGiUAYa472kT4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ij57ec/kT6vqdj3SkA9+UxDinMRytbLturPpNw8vjWU=; b=VPLtNYkViPALh5oJxYzbrWpySiDCJe6XO5m83iMyHNo3EtsU9CBTuPzd1UxXfjpgPd S/XE6spFnNPjvkL5EjP24lwvQtv7O9aWMrnsWAW9T9l6ZrGJw/Kc9G+DUz8+Pmi0N1Of nL8gd+HuM4BrxxrXcgHA6bSzDhbDQD5aALyoBqKWjjq6ewuxs0gKYqHbQ/Fug+YE/B/l BPll+S0cSxKmo8ssMmBeIw0KqZFSLtEWxwIJ8rBP4AoHaaxEoN4GAbVjI7nHfJwmyWLw mJOMgR9Xnp2R/UK20bkKAdcg06XUjp9f4rdp4/PVZo2GVehxLEmdhy4gDGQTasOwjph9 oZOg== X-Gm-Message-State: AOAM531hWwu3/cy65RAov2jHweE8mxKnPpU6Xjn/c3DAn54/6QwUiLpX rXaFQTPZLyaP1US33EwFN7pubz/2Zxph//kcYQM5DA== X-Received: by 2002:a17:906:bb10:: with SMTP id jz16mr5890056ejb.252.1624609200411; Fri, 25 Jun 2021 01:20:00 -0700 (PDT) MIME-Version: 1.0 References: <20210621072424.111733-1-jagan@amarulasolutions.com> <20210621072424.111733-3-jagan@amarulasolutions.com> In-Reply-To: From: Jagan Teki Date: Fri, 25 Jun 2021 13:49:49 +0530 Message-ID: Subject: Re: [RFC PATCH 2/9] drm: bridge: Add Samsung SEC MIPI DSIM bridge driver To: Laurent Pinchart Cc: Fabio Estevam , Michael Tretter , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Peng Fan , Francis Laniel , Matteo Lisi , Neil Armstrong , linux-amarula , 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 24, 2021 at 6:17 PM Laurent Pinchart wrote: > > On Thu, Jun 24, 2021 at 06:02:36PM +0530, Jagan Teki wrote: > > Hi Laurent, > > > > On Thu, Jun 24, 2021 at 5:48 PM Laurent Pinchart > > wrote: > > > > > > Hi Jagan, > > > > > > On Thu, Jun 24, 2021 at 05:42:43PM +0530, Jagan Teki wrote: > > > > On Thu, Jun 24, 2021 at 8:18 AM Fabio Estevam wrote: > > > > > 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/ > > > > > > > > Thanks for the reference, I will check it out and see I can send any > > > > updated versions wrt my i.MX8MM platform. > > > > > > Thanks. > > > > > > I had a brief look at the exynos driver, and I think it should be turned > > > into a DRM bridge as part of this rework to be used with the i.MX8MM. > > > > > > Is there someone from Samsung who could assist, at least to test the > > > changes ? > > > > I have hardware to verify it on i.MX8MM but from exynos I don't have > > any contact from Samsung to suggest or test. Maybe I can add Tomasz > > Figa while sending the changes? > > Tomasz hasn't been working for Samsung for a loooong time (I've dropped > his Samsung address from the CC list for this reason). Okay. I think exynos drm maintainers might help out here, but not sure of it. > > > I understand that there are 2 key implementations. > > > > 1. Adjust the exynos_drm_dsi.c by dropping component_ops as i.MX8MM > > flow with LCDIF doesn't have component_ops (make sure it works with > > exynos platform first) > > I think it should be turned into a real drm_bridge, it's currently > implemented based on drm_encoder. Yes, ie what I'm trying for. Jagan.