Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp174787pxv; Thu, 24 Jun 2021 05:36:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0ZrSZlbjNaWu4AY4bCL9TVkROzQZqMo9dDvGyzTCI+BX/9jQmf3t1if2NP+Ba05yT0H1d X-Received: by 2002:a05:6402:2706:: with SMTP id y6mr7006545edd.330.1624538198925; Thu, 24 Jun 2021 05:36:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624538198; cv=none; d=google.com; s=arc-20160816; b=qEgKYqCB3F4AmoyY8ZvuiXDmdtztVjw6DOGeBG4GHh+EDSthdKZgS5tpkOyQq33WsV eZhTeqWA/QVUaZCjcMZlsoidl7N6aI/ULabAhMNjHxRApnF4eWPlqY2JcJ59yShFH/jV BRTgmJJ/J01glCfn4Z7eQlIipMY1EKraI++ui0Ck8VmOsDYutK+qWOSBwxvSn634CDgD 3Tmdfb88TOmZZlLpZJXz42QoBJJAbV4wkefbYx3z8hHCX2/Y+SR/iqhD+LeYSVJx3UaR wj1uhlYjoV99M72ZdVdsRWgTtpplR2B4mU+hFTh4rXyDnQjH65QPqDrGTVRSxT2yHlKD axzA== 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=1pdNyGnwu73Y/M+lRxwYbfC63xdRtvOG341evPVloL4=; b=iOSoXDTYLvRMqBcTQ8GkUjF0fqdlTe/N+UKHuAuqxrzGiy6cwu4xJF5hhy4v42qEJT ejL+9BKjABr8ek0IsASZUNkTTC4nZ5kR8/pxPQNuqUbL0nn7LZ0/8QKBHMSKwex7r22Q if3L3r6iwzHnhptIBuf7tApQOS6k/L6rzKMeuxQi563B81oTQa3bwGfcxqTNrGMMKJXL eiWPBLYBKhVKI0dI2oTarpxnUYEJEFpkmwiiRKZQHMt1cC4ZhWcAzX9RNajygDVqgfHr 7iCyoT1fHM07Ups/8bMOXxNtGexKHSxCKQOGPytouzZWeWdjR+9YfekYCRTFDSzxD3oj mTEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="VT4Xbs/6"; 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 d6si2628623ejo.144.2021.06.24.05.36.15; Thu, 24 Jun 2021 05:36:38 -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="VT4Xbs/6"; 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 S231491AbhFXMfI (ORCPT + 99 others); Thu, 24 Jun 2021 08:35:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230136AbhFXMfI (ORCPT ); Thu, 24 Jun 2021 08:35:08 -0400 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 31962C061756 for ; Thu, 24 Jun 2021 05:32:49 -0700 (PDT) Received: by mail-ej1-x632.google.com with SMTP id mj3so1826876ejb.4 for ; Thu, 24 Jun 2021 05:32:49 -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=1pdNyGnwu73Y/M+lRxwYbfC63xdRtvOG341evPVloL4=; b=VT4Xbs/6+8YEG5ok69Cp66JqzZQH90fw7I76MXbLk3uomJANwnomPoo574oC5hjoQ4 EKQdDKf9yDx4L7r2cF62JOT40zbd68qIkBdugdNROO5ALrOarxqS15JpQUzu+iBlP/bO FZoTBAM7u3HhTjWJ9SuTe5GD1eTpfsr8wdQVE= 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=1pdNyGnwu73Y/M+lRxwYbfC63xdRtvOG341evPVloL4=; b=qi5XZnzttGnLVTvP1IDTHj5ftkSXyhRSjcX8MlfTKpQUjlUn8lXvm4wHeLFzab1G38 2ABK7LqLRgdAi1hRlI9DkHFWdVEFyN32ZLsYVoV5a/lAiPVR7c1MuGUd+nTNlQRJwIdX 10qsxtVnUlXuQp/BZ0pSsNIdVuMWlIDzlCnhgReg/h9nXwBEvTpM9iw20QhnBkSzSPy1 SDWitJpZ+IJZVRlAADOLuJAHPuaINllcwW08j4NSStucarxvfnTz/pbTqic1NLWCR81t jUzXi8oCZl7UtG8ojLQ0iPukpxaAwhtIFdpKUgzuP/5dRoQRJ8E1kuXC6ZXBXFKyrESl y0UA== X-Gm-Message-State: AOAM533MhOCmHWkuhzZPgHlNlU7AfCZGnWz2UERPpwsZv2aa+f/uhru7 SjajaEkfhAmH0cFjIubXIuURyN8o1/5GTfQFKFeiQw== X-Received: by 2002:a17:906:718b:: with SMTP id h11mr5091976ejk.418.1624537967775; Thu, 24 Jun 2021 05:32:47 -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: Thu, 24 Jun 2021 18:02:36 +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 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? 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) 2. Sec DSIM Bridge driver common cross Exynos and i.MX8MM platform drivers or only one Sec DSIM bridge driver to handle both the platforms by differentiating compatible and driver data Any more suggestions would be appreciated? Jagan.