From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753799AbcAEF3n (ORCPT ); Tue, 5 Jan 2016 00:29:43 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:50437 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751399AbcAEF3k (ORCPT ); Tue, 5 Jan 2016 00:29:40 -0500 Subject: Re: [PATCH v4 0/6] drm/dsi: DSI for devices with different control bus To: dri-devel@lists.freedesktop.org, a.hajda@samsung.com, jani.nikula@linux.intel.com, treding@nvidia.com References: <1448884892-7731-1-git-send-email-architt@codeaurora.org> <1449751300-2841-1-git-send-email-architt@codeaurora.org> Cc: linux-kernel@vger.kernel.org, airlied@linux.ie, daniel@ffwll.ch, l.stach@pengutronix.de, robh@kernel.org, linux-arm-msm@vger.kernel.org From: Archit Taneja Message-ID: <568B54BB.9090209@codeaurora.org> Date: Tue, 5 Jan 2016 10:59:31 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <1449751300-2841-1-git-send-email-architt@codeaurora.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thierry, Can you pick up these DSI patches, or would it make more sense for these to go via someone else? Thanks, Archit On 12/10/2015 06:11 PM, 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. > > 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. > > After some discussions on the previous RFC[1], we decided to support this > by providing additional API in drm_mipi_dsi which lets us create new DSI > devices without the need of them to have a DT node. > > [1]: https://lkml.org/lkml/2015/6/30/42 > > Changes in v4: > - Added a new patch that fixes build issues when CONFIG_OF is not set. > > Changes in v3: > > - Incorporated misc comments by Andrzej. Changed from RFC to a PATCH set. > - Fixed htmldocs warnings. > > Archit Taneja (6): > drm/dsi: check for CONFIG_OF when defining of_mipi_dsi_device_add > drm/dsi: Refactor device creation > drm/dsi: Try to match non-DT dsi devices > drm/dsi: Check for used channels > drm/dsi: Add routine to unregister dsi device > drm/dsi: Get DSI host by DT device node > > drivers/gpu/drm/drm_mipi_dsi.c | 144 ++++++++++++++++++++++++++++++++--------- > include/drm/drm_mipi_dsi.h | 29 +++++++++ > 2 files changed, 141 insertions(+), 32 deletions(-) > -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, hosted by The Linux Foundation