From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760866AbcBYQsf (ORCPT ); Thu, 25 Feb 2016 11:48:35 -0500 Received: from mail-pa0-f45.google.com ([209.85.220.45]:35080 "EHLO mail-pa0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759965AbcBYQsd (ORCPT ); Thu, 25 Feb 2016 11:48:33 -0500 Date: Thu, 25 Feb 2016 17:48:27 +0100 From: Thierry Reding To: Stefan Agner Cc: dri-devel@lists.freedesktop.org, airlied@linux.ie, daniel.vetter@ffwll.ch, jianwei.wang.chn@gmail.com, alison.wang@freescale.com, meng.yi@nxp.com, linux@arm.linux.org.uk, p.zabel@pengutronix.de, denis@eukrea.com, eric@eukrea.com, ville.syrjala@linux.intel.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/3] drm/fsl-dcu: use mode flags for hsync/vsync polarity Message-ID: <20160225164827.GA6720@ulmo.nvidia.com> References: <1454968663-30066-1-git-send-email-stefan@agner.ch> <1454968663-30066-2-git-send-email-stefan@agner.ch> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="azLHFNyN32YCQGCU" Content-Disposition: inline In-Reply-To: <1454968663-30066-2-git-send-email-stefan@agner.ch> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --azLHFNyN32YCQGCU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 08, 2016 at 01:57:41PM -0800, Stefan Agner wrote: > The current default configuration is as follows: > - Invert VSYNC signal (active LOW) > - Invert HSYNC signal (active LOW) >=20 > The mode flags allow to specify the required polarity per > mode. Furthermore, none of the current driver settings is > actually a standard polarity. >=20 > This patch applies the current driver default polarities as > explicit flags to the display which has been introduced with > the driver (NEC WQVGA "nec,nl4827hc19-05b"). The driver now > also parses the flags field and applies the configuration > accordingly, by using the following values as standard > polarities: (e.g. when no flags are specified): > - VSYNC signal not inverted (active HIGH) > - HSYNC signal not inverted (active HIGH) >=20 > Signed-off-by: Stefan Agner > --- > drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c | 11 ++++++++--- > drivers/gpu/drm/panel/panel-simple.c | 1 + > 2 files changed, 9 insertions(+), 3 deletions(-) Acked-by: Thierry Reding --azLHFNyN32YCQGCU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJWzzBZAAoJEN0jrNd/PrOh6q0P/3+cNyoD0oeXgTNW05e8+hjv wDoC+x74Ah/gHsZPzdddNLqyNmFjz6puLyoqLM8jLwTfGLhCQchFGMhuDQa7LX2W y292WpDoeYxxucDOKa6d3K4LsOoEqDoBgCF2k+CgwR+45CayPGxxlwPXD7X0CbBH 38RCsV5roFwkXENYANPFYITsVYNtnWwYIyDTcAFYrixa7ImvTDMcUDwoXUjIYzxU FBm0bHw04W/DP9U98POM5anp2B5eOTW7HNqUEOfb8l4vjLSMewgk8+/zjHXUYGug v7JwPajp/jniu3MP+ss7/Qy4aWsCYF+uP/NWHa9KWaS1e3SvH0wbt4I8R8usfQ1w Dbag4bWIaxryyk2A4lJGC1Wn8a78TtnkgiIiqmOFlwJWqC0f2qsa+EtG3YMm8Cpp fbYCOq4y8H3DgSUsZLaGkhMWKhN/dzGgFtpnaYlPr318XcQFy0+ca+8pMNc+A9m2 FCmcMh6JDlxATUzxXCsJ75UPApZTn3G6jdqegpMEwvM/OSop8FaaFzX9g8IFL+vp 96azskAagLTpNSXuNDGxwx0qFEbVtsuiISTzAk+EtfErgyirrugGyLn9YacmuZQn DkR88XhUJkfcNh2aWFhu2cr2dgy4ymBkx3ALFAGlYB+06iZCau0atSAKrEl0r09n 7wkDDf0/HMd6cIL/TpLP =NJg0 -----END PGP SIGNATURE----- --azLHFNyN32YCQGCU--