Received: by 10.223.176.5 with SMTP id f5csp1578050wra; Sun, 4 Feb 2018 07:16:14 -0800 (PST) X-Google-Smtp-Source: AH8x224ezLCozgCdaFhBK+sNHIHwUgmx+cZm1PBgUSjGzAp8Hu+2yOe4Qq/Z//894CQzyjnKV9e3 X-Received: by 10.99.123.3 with SMTP id w3mr3859851pgc.173.1517757374466; Sun, 04 Feb 2018 07:16:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517757374; cv=none; d=google.com; s=arc-20160816; b=chS/Y1NaFuVlZ9cGmTVt+G+XUHAUU+zIp833SA8YsvekkJ1t+N/nnUyMgX9lZtg3bJ crU4wo3uzggUb45vJO+JWAzds5p/3OL6T+pyHrh9X3BGBFIXZgO6GKg7WdyasVdpCU4c w1ceyplk1I1C1usoXZAy5RaXglEIBeW4axp9Sc8Mo2XgHwccD7TU7Qi1/KSV5vgRvo1L ZVGj/FKTXM0oq3v9JMmlJJvgn5uBp7ExLJ5kHZr2Oy4Yw0U6Ws7KaijOUvVQRRXgEuWz R+x9cpK1l9AR7Q2sgChXdOxrgkKKRvTPt6Y4szzQptOMv9Hwg6d7KHT6qqxUU6s5Be5e lj4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dmarc-filter :dkim-signature:dkim-signature:arc-authentication-results; bh=eYLWNu6YAN3at8lJjjpFyNztnxu7Cl3WVtD/8qgcJOc=; b=VcZUL9JJnU1DXVvHEk2+SmXZMuWfGLkwj3FnPyxzm2l/gRBfHyVXqduU0O4wWfE7Hv mXSTwvKVPzzCBPWtCYEm0IjvLgY4GhLQ115V8nJ2gUC6Q5vwGwMP2IJStKF5TU8TSi28 MBNABWKVhLu9eW013EJB0+zN6FLClIHnuoKaUQADqDm4lVPyO8Q4bR3/wtx9S52dBNpQ ZK2EmJOgZzynYSMQD/receonT6FRCy8vVHpgETHGDZAjzHImnOxskyTLnlqHstjr2LNE 3jt8apTH7UkWNzwc6HwA3h5w+PhijST89X6YDpgc1ZonGiqqKDke3+VGarcB89S+A8rO My0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=iZ28j89l; dkim=pass header.i=@codeaurora.org header.s=default header.b=gHeqE3iX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w6si4293240pgo.491.2018.02.04.07.15.59; Sun, 04 Feb 2018 07:16:14 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=iZ28j89l; dkim=pass header.i=@codeaurora.org header.s=default header.b=gHeqE3iX; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751723AbeBDPOD (ORCPT + 99 others); Sun, 4 Feb 2018 10:14:03 -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 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 4998A6029D; Sun, 4 Feb 2018 15:13:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1517757237; bh=KD+X+nnPQTS49Luh7uZhxFIxthvC6+h2xIkywfKZdsI=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=iZ28j89lnZ57LT+mMcHjgW15/KKdt8QUM3J4ecjiADWXd+qGroGPq84iU4giBl1oL Z17Ipn76oqjiYPPliMuUJ92Rn78SjzaKIbbZ41tt5M9bpjWyF+xlBnBRZAFSks01AZ vqb93laKsz3qAJZcrBERfr5Q4hmoqmCmKdX9GX0I= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from [192.168.0.110] (unknown [106.51.29.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: architt@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 87F536029D; Sun, 4 Feb 2018 15:13:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1517757235; bh=KD+X+nnPQTS49Luh7uZhxFIxthvC6+h2xIkywfKZdsI=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=gHeqE3iXdqTizHg1n8KtvdJXzTqaOHd31MKj2mewH3t1j4m1a1EP+0dLPTa92d9cK u3OjJUblKKez9fpateM5RFc0PNPd+vdcAX6jeCNVQwWeplFbbEZ8IiVGqOqwGtSUoW LWsJnQgeL5OjUcYGxi9u/dvtJyYzAyI40W5LVoZQ= 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 Precedence: bulk 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