From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756424AbcCBQGI (ORCPT ); Wed, 2 Mar 2016 11:06:08 -0500 Received: from hqemgate14.nvidia.com ([216.228.121.143]:12874 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755641AbcCBQGF (ORCPT ); Wed, 2 Mar 2016 11:06:05 -0500 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Wed, 02 Mar 2016 08:04:52 -0800 Date: Wed, 2 Mar 2016 17:05:55 +0100 From: Thierry Reding To: Archit Taneja CC: , , , , , , , , Subject: Re: [PATCH v5 0/5] drm/dsi: DSI for devices with different control bus Message-ID: <20160302160553.GA21529@ulmo.nvidia.com> References: <1449751300-2841-1-git-send-email-architt@codeaurora.org> <1455268714-28755-1-git-send-email-architt@codeaurora.org> MIME-Version: 1.0 In-Reply-To: <1455268714-28755-1-git-send-email-architt@codeaurora.org> X-NVConfidentiality: public User-Agent: Mutt/1.5.24 (2015-08-30) X-Originating-IP: [10.2.69.189] X-ClientProxiedBy: UKMAIL101.nvidia.com (10.26.138.13) To UKMAIL102.nvidia.com (10.26.138.15) Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="y0ulUmNC+osPPQO6" Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 12, 2016 at 02:48:29PM +0530, Archit Taneja wrote: > We are currently restricted when it comes to supporting DSI on devices > that have a non-DSI control bus. For example, DSI encoder chips are > available in the market that are configured via i2c. Configuring their > registers via DSI bus is either optional or not available at all. >=20 > These devices still need to pass DSI parameters (data lanes, mode flags > etc) to the DSI host they are connected to. We don't have a way to do > that at the moment. >=20 > After some discussions on the previous RFC[1], we decided to support this > by providing additional API in drm_mipi_dsi.c which lets us create new DSI > devices without the need of them to have a DT node. >=20 > [1]: https://lkml.org/lkml/2015/6/30/42 >=20 > Changes in v5: > - Simplify refactoring as suggested by Thierry. > - Use abbreviations correctly. > - Drop "drm/dsi: Check for used channels" > - Return the correct encoded error code for of_mipi_dsi_device_add > when CONFIG_OF is disabled. > - Use mipi_dsi_device_unregister to implement mipi_dsi_remove_device_fn() > too. >=20 > Changes in v4: > - Added a new patch that fixes build issues when CONFIG_OF is not set. >=20 > Changes in v3: >=20 > - Incorporated misc comments by Andrzej. Changed from RFC to a PATCH set. > - Fixed htmldocs warnings. >=20 >=20 > Archit Taneja (5): > drm/dsi: check for CONFIG_OF when defining of_mipi_dsi_device_add > drm/dsi: Use mipi_dsi_device_register_full for DSI device creation > drm/dsi: Try to match non-DT DSI devices > drm/dsi: Add routine to unregister a DSI device > drm/dsi: Get DSI host by DT device node >=20 > drivers/gpu/drm/drm_mipi_dsi.c | 127 +++++++++++++++++++++++++++++++++++= ++---- > include/drm/drm_mipi_dsi.h | 26 +++++++++ > 2 files changed, 141 insertions(+), 12 deletions(-) I've applied this with minor fixups and cleanups to the commit messages. Thanks, Thierry --y0ulUmNC+osPPQO6 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJW1w9fAAoJEN0jrNd/PrOhFhUP/3qez6pKZy2iSjKCBAgSoQWc MLBtWFlJ60UoqcjvLFQwrnkiapBMLivvJ9aFlPIybQKp5wdFYE9mMpwff3HORC9M 5RRCW4t6xoro4AvPHzDmSzIeTAwvixmZeUul2FMU2A5IHKszJYduy32sHpBBV7iZ DNqbuLHVlzn/y3DYrOVzmXNK0MqIYH5W0K1e/NpAYbNdbnmEVM8ThHleDOtynqR0 fOTPEYN7MsuPjWXo2alymgYBDnQANlKOaqJuGVxSd/h99Ye6mjJRxMq7MxvnK6UU OLgDm2KBIw7x/54d7d8gV+8TfaHuuEJsvlenihbkynnLxm0E/ZvquCUVe8PQguWl jyQYwCx2h/sNPq3Rg5zcprDafw+MpFqlfkFSXsf+DIRfSC6JWGRzmEkEiaTiRFyn pi+9Ko3hERlpCeJvYychUlYPwstAOG78kAlrOUN3j5rB1CFt7U6mRsjf0ie8AH0o i2EhV88l0IksR5FizWFPk247loH33dJ+5XIaAl7Hr3JhNXCfDafXqr2scFrSN/5T SwPQeMH/76rr3BvPB9Oxn4gyoX5itH6yPRL/fmlfmgT6Cf6EpUIx8NsVqZw9NcST KC0SIcyJGJcVEoOjldj4dn5R5gyi+gRQEAuZ+HE3N62sBZsrSyDBRvUaRsR0x786 xfptYzZaYDPzSMQVLR3/ =HVKH -----END PGP SIGNATURE----- --y0ulUmNC+osPPQO6--