Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp582322pxk; Thu, 24 Sep 2020 12:54:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyzDovk9phHgMyW4L3gc3WbBykikvAvEgYdNM03PjR6D/6YwuJXWaAsAiKdw+RQ33mM9SmZ X-Received: by 2002:a17:907:6f8:: with SMTP id yh24mr283025ejb.316.1600977281414; Thu, 24 Sep 2020 12:54:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600977281; cv=none; d=google.com; s=arc-20160816; b=ADewZuA0pDxtmtte3bOXU5JpOpYLo72cKPWjdYyRYo5CYW2LOj1d2C1d24+HuhXWoE FSEDbdPQZx86zBgrqgPowMXI8cmaZXGNhlVemZUlVAS73JxZt0xFtZbKd700MVnMsidt 3+0friCmKCNns/g2/DO/MmnTkTHzGh+FeVV8dvn/RY9Np2nl2UR7VlaNmcQs9o45fyQr DECsb95urqzREKH8o99m2d0/819pVTXeUXWPR8h3dKEY2SB0uAdniMMZrQbzMLcIrld1 XTaD0BxgFNBLkPfqGXBzauphBLGPwALxRYXsnyD8QU0tIms3iaTGBzZAEONViJsHDWFL ndGA== 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=zb3rc/+vyLUs6Nk9K79RIHQ3njqflYc4NMnUk6I4rko=; b=X6mQ5GB1ZdBdvRBhJ+pX5X/RYD8xcrtXeCRGxyGRMdmpNN6rduEJVX76xTjh6hNVnv UrEwO4Z8f6Xq+yJSx8It5F0QwDFQuge5ZC+n3An9GoJhBY5bTV8UB4vkSpl7SK8rFciZ EixGvMURwsvXQpg6LRLPJUSL7Urv20tNikpLZZkw4JdC+oM5LJPXhQoZ5ZDSL/dbDUR8 yvZUlf4NN5+58s41nUcwvuJoAP41CmfyBXN9b0TPZ5e31dcONcqV2LPMfvTYrzM8osZ+ 97dgQLzavuOfAbxpOaWALSssybTKi7EcT5yTsipQvo6NFRqfhn/z3w/mLPj3vjAXLm/o BSOQ== 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 b7si301263edq.91.2020.09.24.12.54.18; Thu, 24 Sep 2020 12:54:41 -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 S1726379AbgIXTwp (ORCPT + 99 others); Thu, 24 Sep 2020 15:52:45 -0400 Received: from asavdk3.altibox.net ([109.247.116.14]:51262 "EHLO asavdk3.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726316AbgIXTwh (ORCPT ); Thu, 24 Sep 2020 15:52:37 -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 BB48D2007B; Thu, 24 Sep 2020 21:52:34 +0200 (CEST) Date: Thu, 24 Sep 2020 21:52:33 +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: otm8009a: allow using non-continuous dsi clock Message-ID: <20200924195233.GE1223313@ravnborg.org> References: <20200918114726.11188-1-yannick.fertre@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200918114726.11188-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=7gkXJVJtAAAA:8 a=FENe8ZIp9-tUEWe9EasA:9 a=CjuIK1q_8ugA:10 a=T3LWEMljR5ZiDmsYVIUa:22 a=E9Po1WZjFZOl8hwRPBS3:22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 18, 2020 at 01:47:26PM +0200, Yannick Fertre wrote: > From: Antonio Borneo > > 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 Patch looks good - but I have no clue if the panel supports it or not. Anyway: Acked-by: Sam Ravnborg > --- > drivers/gpu/drm/panel/panel-orisetech-otm8009a.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c b/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c > index b6e377aa1131..6ac1accade80 100644 > --- a/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c > +++ b/drivers/gpu/drm/panel/panel-orisetech-otm8009a.c > @@ -452,7 +452,7 @@ static int otm8009a_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, &otm8009a_drm_funcs, > DRM_MODE_CONNECTOR_DSI); > -- > 2.17.1