From: Maxime Ripard Date: Mon, 8 Oct 2018 10:20:05 +0200 Subject: [U-Boot] [PATCH 1/4] sunxi: display: Fix h/vsync TCON polarity bits to indicate active-high In-Reply-To: <20181006100718.3482-1-contact@paulk.fr> References: <20181006100718.3482-1-contact@paulk.fr> Message-ID: <20181008082005.epmcz3egwgi3xovl@flea> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Oct 06, 2018 at 12:07:15PM +0200, Paul Kocialkowski wrote: > Contrary to what is implemented in the Linux kernel, the U-Boot driver > supporting the sunxi TCON was assuming that the TCON0_IO_POL bits > indicate active-low signals when set for the hsync and vsync signals. > > After looking at it with a logic analyzer, it appears that the signals > are active-low with the bits unset and active-high with the bits set. > > Fix this by looking for the right flag (high instead of low) and > inverting the sync bits in the VIDEO_LCD_MODE declarations. > > Signed-off-by: Paul Kocialkowski For the first three patches, Acked-by: Maxime Ripard It would be good to adjust our wiki as well to not have more of these inversions creeping in. Thanks! Maxime -- Maxime Ripard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: not available URL: