gpu: host1x: mipi: Update tegra_mipi_request() to be node based
authorSowjanya Komatineni <skomatineni@nvidia.com>
Wed, 15 Jul 2020 04:20:51 +0000 (21:20 -0700)
committerThierry Reding <treding@nvidia.com>
Fri, 17 Jul 2020 14:06:13 +0000 (16:06 +0200)
commit767598d447aa46411289c5808b0e45e20a1823b4
tree01c552ea6b7e765bf311a03e8937ea8fe81696d6
parentfce3a51d9b31312aa12ecb72ffabfc4c7b40bdc6
gpu: host1x: mipi: Update tegra_mipi_request() to be node based

Tegra CSI driver need a separate MIPI device for each channel as
calibration of corresponding MIPI pads for each channel should
happen independently.

So, this patch updates tegra_mipi_request() API to add a device_node
pointer argument to allow creating mipi device for specific device
node rather than a device.

Signed-off-by: Sowjanya Komatineni <skomatineni@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dsi.c
drivers/gpu/host1x/mipi.c
include/linux/host1x.h