Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp582163pxk; Thu, 24 Sep 2020 12:54:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJztXX13IVNpxSmieYPcBJEtPMQg3anj81au0Cvnc+gTj/aUuw4CczNS5G4lSYqYalTYPt9a X-Received: by 2002:a17:906:e24d:: with SMTP id gq13mr292342ejb.152.1600977263289; Thu, 24 Sep 2020 12:54:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600977263; cv=none; d=google.com; s=arc-20160816; b=uW58sulDPhKdXL8DkELB9XAklDr4wAVUTLSm5+IQwVh+XHJiO8/U8qbL5bhIaNg2Ay KFnUHKVaEM6028aFNuRlLTxLTylEfR3urjmSmFgaMslJoovE9U7i4xLTorRGHQun9xnc Uer7PP+EYLIPcQyKhZr0pp7TPQjiDsmRHLrV7reWPyXF4XKTIfm9w8LrOUO45z7J+Xyh sM/J7VWxrzq9W5YCRkUm+sPr4uvgvZunlQxzx1coqhRlCIs91qxfgN3HZN3AwSpWWT4n 32qRXHc5p0uEg1pMGphMDji8irygP7YB8S0lkfppVjpEoX98TkHU68XuOVBuWPxzjjRN KjvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=zcEOHc0db/0wjt5Kx4biA15cCXdAXi1esE637BOT3S0=; b=z8bX2uuKfLeunFKhZa1zEpPpGhGWTrENP+HaBM4XbjhFrHoFPLD4uL252elbn90Rik S7GbA7tb0F1hSlNWATTFSUHCHtL4zCndtzUvI5+z+VEqN++XTc9BARb351Hdy/03h2+o 4nZR0Q/lrgyiz/v6FK2M/PA45uiVxg07bN7wCZiicGe8kEezqnOydLC4os3bYwIPQda6 AdvCK8sOszl3rGTig3wvLXVpleGMH9LA2xyuGNQ03KFD7CrQcJQIFX1wXkdp9u1lfLIl zOMO75t66waXBdf2X9kTZtt3xxuJJ6U4gvSh6CTvl8YdWXap/nUcX+fUyIGBI4hoAZ3N 8nBA== ARC-Authentication-Results: i=1; mx.google.com; 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 gq6si333132ejb.673.2020.09.24.12.53.58; Thu, 24 Sep 2020 12:54:23 -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; 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 S1726262AbgIXTue (ORCPT + 99 others); Thu, 24 Sep 2020 15:50:34 -0400 Received: from asavdk3.altibox.net ([109.247.116.14]:51024 "EHLO asavdk3.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725208AbgIXTue (ORCPT ); Thu, 24 Sep 2020 15:50:34 -0400 Received: from ravnborg.org (unknown [188.228.123.71]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk3.altibox.net (Postfix) with ESMTPS id BA13420073; Thu, 24 Sep 2020 21:50:31 +0200 (CEST) Date: Thu, 24 Sep 2020 21:50:30 +0200 From: Sam Ravnborg To: Yannick Fertre Cc: Philippe Cornu , Antonio Borneo , Thierry Reding , David Airlie , Daniel Vetter , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/panel: rm68200: allow using non-continuous dsi clock Message-ID: <20200924195030.GC1223313@ravnborg.org> References: <20200918114736.11322-1-yannick.fertre@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200918114736.11322-1-yannick.fertre@st.com> X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=CaYmGojl c=1 sm=1 tr=0 a=S6zTFyMACwkrwXSdXUNehg==:117 a=S6zTFyMACwkrwXSdXUNehg==:17 a=kj9zAlcOel0A:10 a=8b9GpE9nAAAA:8 a=6XTAKrbkdoLWWRdCYqMA:9 a=CjuIK1q_8ugA:10 a=T3LWEMljR5ZiDmsYVIUa:22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Yannick On Fri, Sep 18, 2020 at 01:47:36PM +0200, Yannick Fertre wrote: > The panel is able to work when dsi clock is non-continuous, thus > the system power consumption can be reduced using such feature. > > Add MIPI_DSI_CLOCK_NON_CONTINUOUS to panel's mode_flags. > > Signed-off-by: Antonio Borneo > Signed-off-by: Yannick Fertre Applied to drm-misc-next. Sam > --- > drivers/gpu/drm/panel/panel-raydium-rm68200.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/panel/panel-raydium-rm68200.c b/drivers/gpu/drm/panel/panel-raydium-rm68200.c > index f908eeafb1af..2b9e48b0a491 100644 > --- a/drivers/gpu/drm/panel/panel-raydium-rm68200.c > +++ b/drivers/gpu/drm/panel/panel-raydium-rm68200.c > @@ -391,7 +391,7 @@ static int rm68200_probe(struct mipi_dsi_device *dsi) > dsi->lanes = 2; > dsi->format = MIPI_DSI_FMT_RGB888; > dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST | > - MIPI_DSI_MODE_LPM; > + MIPI_DSI_MODE_LPM | MIPI_DSI_CLOCK_NON_CONTINUOUS; > > drm_panel_init(&ctx->panel, dev, &rm68200_drm_funcs, > DRM_MODE_CONNECTOR_DSI); > -- > 2.17.1