From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751663AbdBFKjn (ORCPT ); Mon, 6 Feb 2017 05:39:43 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:42230 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750950AbdBFKjl (ORCPT ); Mon, 6 Feb 2017 05:39:41 -0500 Date: Mon, 6 Feb 2017 11:39:38 +0100 From: Maxime Ripard To: Noralf =?iso-8859-1?Q?Tr=F8nnes?= Cc: Rob Herring , Mark Rutland , Thierry Reding , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: Re: [PATCH 0/2] drm/panel: Add support for the Sitronix ST7789V Message-ID: <20170206103938.3yghvugiwpzkij6r@lukather> References: <2db19e6e-9857-1c92-dc77-c6b862cc771f@tronnes.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nr7ulenwk2u6s6e2" Content-Disposition: inline In-Reply-To: <2db19e6e-9857-1c92-dc77-c6b862cc771f@tronnes.org> User-Agent: Mutt/1.6.2-neo (2016-08-21) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --nr7ulenwk2u6s6e2 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Noralf, On Fri, Feb 03, 2017 at 07:48:51PM +0100, Noralf Tr=F8nnes wrote: >=20 > Den 03.02.2017 10.59, skrev Maxime Ripard: > > Hi, > >=20 > > Here is an attempt at supporting the ST7789V LCD controller from Sitron= ix. >=20 > What happens if there's another panel driven by ST7789V that needs > a different controller initialization? You know those panels / controllers much better than I do, but why would that be the case? > Maybe it's better to name it after the panel, not the controller. I guess you could also use that panel directly without the controller? > > It is controlled through an SPI bus, with a twist, since each byte sent > > must be prefixed by a bit, which needs an 9-bits-per-word SPI controlle= r, > > which is quite rare. Else, you would need to bitbang it. >=20 > It's possible to support SPI controllers that can't do 9-bit by using > 8-bit mode and blocks of 9 bytes to send 8x 9-bit words padded with > zeroes. Zero is MIPI DCS no-op command. Ah, yes, that makes sense. Thanks for the hint. Maxime --=20 Maxime Ripard, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com --nr7ulenwk2u6s6e2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJYmFJlAAoJEBx+YmzsjxAgxVEP/2Yz3Q8faBhC5IuDJ/50SsGa f3/jSTZnuwrmO+WFAYwMYZ90uaJDA7p0TCYWrRo2HHO7MBzxl0ILNeYCVRb+pQIY 7IlZVbFelzcOne2//9w94BQ/swqPA5OGJ3BqldQOMlzs6jEoW/+kJpTezOtNmIiX m2K1mgfBAMK9jQePChER4pitL/cPWgyULz/nNkaE2FCxMjAQyvfUmgDAaAtzt2b5 On2sl+io738dyfFWl/QYpg5ee360Rz2TR+HekBbqeAOYlSW9rnWa/BQ5VASUeSwR hjqtyAKaTqL9ImpWsiduiD1ZiYenjBJLFhb5l1k6NOY+/1L9XxIPLqw9IA3E7X5T Iex1UNNINT3sOOafkyviJg8LhGi+fsq2VjphrWPBd2tdbJuemT2/xjSB39VtYQ6I ayNxv0BTi1G1cMjsoq3xoMb3Cp4U4BzH3Srz0VZjxh/6dKK6go7EKPNJKy8S0BYj MkT4hnzVbrJYsduEvmH+c1eiNJalOgEbtKcdQJdU/W1YcUUsNLoV5vUVqX8h1XV2 Zd0hEVIL8aj6k0hHeRyz2iwOzy2JhVBeNBWuPn4gQ2udJ8SO7+TLzNtjeLhoAezI dmKKNp/r+XVxTk/3wG4FdbKRtUNqpwx43uhf4ny78ihwofns2N1jzskU+fcZCAZF 6S2tinCOVPzZIO4nVstd =hBLd -----END PGP SIGNATURE----- --nr7ulenwk2u6s6e2--