From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thierry Reding Subject: Re: [PATCH v4 6/6] drm/dsi: Get DSI host by DT device node Date: Thu, 21 Jan 2016 17:16:40 +0100 Message-ID: <20160121161638.GF647@ulmo.nvidia.com> References: <1448884892-7731-1-git-send-email-architt@codeaurora.org> <1449751300-2841-1-git-send-email-architt@codeaurora.org> <1449751300-2841-7-git-send-email-architt@codeaurora.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="O98KdSgI27dgYlM5" Return-path: In-Reply-To: <1449751300-2841-7-git-send-email-architt@codeaurora.org> Content-Disposition: inline Sender: linux-arm-msm-owner@vger.kernel.org To: Archit Taneja Cc: dri-devel@lists.freedesktop.org, a.hajda@samsung.com, jani.nikula@linux.intel.com, linux-kernel@vger.kernel.org, airlied@linux.ie, daniel@ffwll.ch, l.stach@pengutronix.de, robh@kernel.org, linux-arm-msm@vger.kernel.org List-Id: dri-devel@lists.freedesktop.org --O98KdSgI27dgYlM5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 10, 2015 at 06:11:40PM +0530, Archit Taneja wrote: > mipi_dsi_devices are inherently aware of their host because they > share a parent-child hierarchy in the device tree. >=20 > non-dsi drivers that create dsi device don't have this data. In order to > get this information, they require to a phandle to the dsi host in the > device tree. >=20 > Maintain a list of all the hosts DSI that are currently registered. >=20 > This list will be used to find the mipi_dsi_host corresponding to the > device_node passed in of_find_mipi_dsi_host_by_node. >=20 > Reviewed-by: Andrzej Hajda > Signed-off-by: Archit Taneja > --- > drivers/gpu/drm/drm_mipi_dsi.c | 38 ++++++++++++++++++++++++++++++++++++= ++ > include/drm/drm_mipi_dsi.h | 3 +++ > 2 files changed, 41 insertions(+) Please be more consistent with the spelling. Abbreviations should be all capitals. Also s/mipi_dsi_devices/MIPI DSI devices/, and so on. Otherwise I guess this makes sense. Thierry --O98KdSgI27dgYlM5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAABCAAGBQJWoQRmAAoJEN0jrNd/PrOhewMP/RgOFYiUvBFwi+9wOY7F+9Z0 bw+qXEq4i29W1QkoutHwvLVtmedTHnzjNAnlt4zzHuWSqsghWEV1gFHKv01XtAIm uLahQcHS8BtlrDRXELD831+ERhY+xOgcy0wi4MagIkixuJDZOUyUBYum9AeW+AK5 knbxq9JYcdRmdZkHXRzA7ajK10TjGShSZmc6sEgp18hVtAEWR1EilYhodzDTxIGv Yp8HedH9ialbJQKyy6LZVedSpdACmT/q+bPKoidq9mMeWWNgfOmsv9ebuDx1+tQN yzbig4mpR1PGR5KZYE8N9LEUCDyX6xa8YFTIElXg1TZMiwZHu5B1O8BRf8Kk0hQ3 iqefd5JAw+3PUiV8x7cvdQB58qf2DecV0vS+5Ui3Ik0yaBtQxpChu2hI3g4sEDyG w30I6hrn42Kdyyki0XrbJP6SREW1ZEGtky/DcDzegVCwht3TR7hYdJ5Gvwm46xFV T3vF8DeSqww02enoiIHkkCWREOsF5AtuUvGWGZwsiRjXXFe8ucKhyeGt44NJ7JnS 7W7zaCsdwqm5nb1o8LJfYAmfdLWvaFZunK4n5E0BGrhyjl9S3bJ6tXs9GZe88J5D vtoJPHvnM4jeJ6ne7AXLmf9OqrozCRkLWvJbWUM3T3kPJ0Gd7Y5QoU2qnYeipJVL Ed0Nw5jWuQ0yz+n4oxx5 =h6at -----END PGP SIGNATURE----- --O98KdSgI27dgYlM5--