From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752003AbeBDPOE (ORCPT ); Sun, 4 Feb 2018 10:14:04 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:52342 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751594AbeBDPN5 (ORCPT ); Sun, 4 Feb 2018 10:13:57 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 87F536029D Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=architt@codeaurora.org Subject: Re: [PATCH] drm/bridge/synopsys: dsi: Add 1.31 version support To: Philippe CORNU , David Airlie , Brian Norris , Benjamin Gaignard , Bhumika Goyal , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , Sandy Huang , Heiko Stubner , "linux-arm-kernel@lists.infradead.org" , "linux-rockchip@lists.infradead.org" Cc: Andrzej Hajda , Laurent Pinchart , Yannick FERTRE , Vincent ABRIOU , Alexandre TORGUE , Maxime Coquelin , Ludovic BARRE , Mickael REULIER References: <20180122150819.22066-1-philippe.cornu@st.com> <37f38992-0ad3-317f-5337-fbe018bf5f45@st.com> From: Archit Message-ID: <917ebadc-d5f0-ef98-eb50-5e9bf25d722b@codeaurora.org> Date: Sun, 4 Feb 2018 20:43:44 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: <37f38992-0ad3-317f-5337-fbe018bf5f45@st.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Phillipe, On Saturday 03 February 2018 03:49 AM, Philippe CORNU wrote: > Hi Archit, Andrzej, Laurent & Brian, > > What is your opinion regarding this patch? Do you have any advice for > handling hw versions? > > Do not hesitate to comment. The patch looks mostly good to me. One query below. > > Many thanks, > Philippe :-) > > > On 01/22/2018 04:08 PM, Philippe Cornu wrote: >> From: Philippe CORNU >> >> Add support for the Synopsys DesignWare MIPI DSI version 1.31 >> Two registers need to be updated/added for supporting 1.31: >> * PHY_TMR_CFG 0x9c (updated) >> 1.30 [31:24] phy_hs2lp_time >> [23:16] phy_lp2hs_time >> [14: 0] max_rd_time >> >> 1.31 [25:16] phy_hs2lp_time >> [ 9: 0] phy_lp2hs_time >> >> * PHY_TMR_RD_CFG 0xf4 (new) >> 1.31 [14: 0] max_rd_time >> >> Signed-off-by: Philippe Cornu >> --- >> drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 52 +++++++++++++++++++++++---- >> 1 file changed, 46 insertions(+), 6 deletions(-) >> >> diff --git a/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c >> index 735f38429c06..20a2ca14a7ad 100644 >> --- a/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c >> +++ b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c >> @@ -25,7 +25,13 @@ >> #include >> #include