From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Subject: Re: [RFC PATCH] drm/mipi-dsi: add some generic functions for DCS Date: Tue, 5 Aug 2014 12:08:45 +0200 Message-ID: <20140805100842.GA10567@ulmo> References: <1406780082-9237-1-git-send-email-yj44.cho@samsung.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0768510394==" Return-path: Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) by gabe.freedesktop.org (Postfix) with ESMTP id 12B646E130 for ; Tue, 5 Aug 2014 03:08:48 -0700 (PDT) Received: by mail-wi0-f175.google.com with SMTP id ho1so6680002wib.2 for ; Tue, 05 Aug 2014 03:08:47 -0700 (PDT) In-Reply-To: <1406780082-9237-1-git-send-email-yj44.cho@samsung.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: YoungJun Cho Cc: sw0312.kim@samsung.com, dri-devel@lists.freedesktop.org, a.hajda@samsung.com, kyungmin.park@samsung.com List-Id: dri-devel@lists.freedesktop.org --===============0768510394== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="huq684BweRXVnRxX" Content-Disposition: inline --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 31, 2014 at 01:14:42PM +0900, YoungJun Cho wrote: > This patch adds some generic functions for DCS like below > to standize on common APIs rather than per-driver > implementations. >=20 > mipi_dcs_enter_sleep_mode() / mipi_dcs_exit_sleep_mode() > - These are required to disable / enable all blocks inside > the display module. >=20 > mipi_dcs_set_display_off() / mipi_dcs_set_display_on() > - These are required to stop / start displaying the image > data on the display device. >=20 > mipi_dcs_set_tear_off() / mipi_dcs_set_tear_on() > - These are required to turn off or on the display module's > TE output signal on the TE signal line. >=20 > mipi_dsi_set_maximum_return_packet_size() > - Although it is not related with DCS, it is required before > using mipi_dsi_dcs_read() to specify the maximum size of > the payload in a long packet. >=20 > Signed-off-by: YoungJun Cho > Acked-by: Inki Dae > Acked-by: Kyungmin Park > --- > drivers/gpu/drm/drm_mipi_dsi.c | 113 +++++++++++++++++++++++++++++++++++= ++++++ > include/drm/drm_mipi_dsi.h | 14 +++++ > 2 files changed, 127 insertions(+) I've applied this patch after applying some cleanup and rebasing onto some changes I've been working on. I also broke it up into two separate patches, one for the mipi_dsi_set_maximum_return_packet_size() function and another for the DCS command implementations. I also have a bunch of other functions that I need for a panel driver that I'm working on. I'll send those out shortly. Thierry --huq684BweRXVnRxX Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJT4K0qAAoJEN0jrNd/PrOhF3UP/1BctOD+eY1M60S+lKkE4fag mC2bvuavjryZE+FoAlET41ny5zqdfgxXLyKpnpVdbi8GDQENi11rFFAcqooZE3Pz TFCyIaHk1ng7L9biRS4BqYQ5hmKUnIGD5kmxAkMtGd+QNFlJbQEKC79EVl/Bt7pe W79WKyGCY0ovbaaNXhLlSBKgZ6iOJE60oE3JCYQD/arNoj6caY+Ya+etL+MMhUYk HHXjV4mRqdKa7yD1MdPdLWLTV0OO4ytaPQCyQMeVObPBuUFOHSGMwhO5QlC2+N3a 4N5yUCcqee2foOlawqlUxArfcFHb0Z6Y29yxbOY27VGBp/mx6PmCNcudLoEW9LOL ww3wPGz5hFkZiSQUJ5UHzrUwsaYEpkbLoItRALznLxZf7xG1Zk3K2b6fWsMgtftk KrZwp+JnHovN2V83hsINXwVWQGq24m72phtjZVgiLMLp1AwrIoEHdtn7ibFDvAkI ChkaWa4EteH2KyFdE6Nq/JMU2/m6ZXAzzMLs76JEUn9mPa+P/M8WsNEuQZXUAsFn RNI0zBdNZ3RDf0IsLh2eZFTEnhODvlwcU1I+RvfK99T48mJGwWcTJpPuQ0BhfUj6 +atlsQ5Dq9QlUONCoefmanEZAyMw8waOSTURvuNjQhqack9OqtdMFuceHjPZodnv LYhco3vock7XBytSB5GD =EOae -----END PGP SIGNATURE----- --huq684BweRXVnRxX-- --===============0768510394== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============0768510394==--