From: Jose Abreu Subject: Re: [PATCH v3 2/6] dt-bindings: display: Add Synopsys DW MIPI DSI DRM bridge driver Date: Fri, 9 Jun 2017 10:43:07 +0100 Message-ID: <7dd31d6d-1d5d-2432-07aa-96349f50c924@synopsys.com> References: <1496414235-20098-1-git-send-email-philippe.cornu@st.com> <1496414235-20098-3-git-send-email-philippe.cornu@st.com> <20170608154028.6ck3dos6de2dogrk@rob-hp-laptop> <7502cbc2-9feb-4dd3-3d95-b5f33b8a8872@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <7502cbc2-9feb-4dd3-3d95-b5f33b8a8872-sgV2jX0FEOL9JmXXK+q4OQ@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Archit Taneja , Rob Herring , Philippe CORNU Cc: Mark Rutland , Neil Armstrong , dri-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, Thierry Reding , Chris Zhong , Mickael Reulier , Russell King , Fabien Dessenne , Xinwei Kong , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Alexandre Torgue , Arnd Bergmann , Chen Feng , Vincent Abriou , Ludovic Barre , Yannick Fertre , Maxime Coquelin , zourongrong-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org, Gabriel List-Id: dri-devel@lists.freedesktop.org Hello, On 09-06-2017 05:11, Archit Taneja wrote: > Hi Philippe, Rob, > > On 06/08/2017 09:10 PM, Rob Herring wrote: >> Seems strange there's not also a pixel or bit clock? Or this >> gets driven >> from the phy? > > Since you mention phy here, I wanted to share a concern with > the bindings. > These bindings don't have a separate PHY DT node. The PHY is > assumed as a > part of the IP when integrated by a SoC. There are already > rockchip and > hisil DSI bindings that use this IP but don't define a PHY node. > > It's a similar situation with the DW-HDMI bindings. > > For example, when the DW HDMI is integrated in rockchip or > renesas SoC, the > bindings "rockchip,rk3288-dw-hdmi" or "renesas,r8a7795-dw-hdmi" > are used, > and they don't have a separate PHY DT node. > > I wasn't sure whether this is the right way to proceed or not > for such IPs. > Some advice would help us here. > > Thanks, > Archit > I just want to add that read/writes from/to phy are done using the controller (in HDMI and in MIPI DSI Host), so the only way to have a phy driver is that if some custom callbacks are provided or if the memory region is shared. Anyway, I agree with Archit in the sense that phy + controller are highly tied. Also, these two "pieces" are SoC specific and sometimes very different between SoC's because they can be customized so I think a different compatible string suits well here. Best regards, Jose Miguel Abreu -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html