summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorSowjanya Komatineni <skomatineni@nvidia.com>2020-07-14 21:20:51 -0700
committerSasha Levin <sashal@kernel.org>2024-03-26 18:22:37 -0400
commitaaa5ef6db779a2ffdac6e2c4e27a042fc85af425 (patch)
treeace9a2c0e596cfac50fe06b36debdc4418d73fd0 /include/linux
parent47a13d0b9d8527518639ab5c39667f69d6203e80 (diff)
downloadlinux-stable-aaa5ef6db779a2ffdac6e2c4e27a042fc85af425.tar.gz
linux-stable-aaa5ef6db779a2ffdac6e2c4e27a042fc85af425.tar.bz2
linux-stable-aaa5ef6db779a2ffdac6e2c4e27a042fc85af425.zip
gpu: host1x: mipi: Update tegra_mipi_request() to be node based
[ Upstream commit 767598d447aa46411289c5808b0e45e20a1823b4 ] 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> Stable-dep-of: 830c1ded3563 ("drm/tegra: dsi: Fix some error handling paths in tegra_dsi_probe()") Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/host1x.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/host1x.h b/include/linux/host1x.h
index aef6e2f73802..903c0ec20444 100644
--- a/include/linux/host1x.h
+++ b/include/linux/host1x.h
@@ -327,7 +327,8 @@ int host1x_client_unregister(struct host1x_client *client);
struct tegra_mipi_device;
-struct tegra_mipi_device *tegra_mipi_request(struct device *device);
+struct tegra_mipi_device *tegra_mipi_request(struct device *device,
+ struct device_node *np);
void tegra_mipi_free(struct tegra_mipi_device *device);
int tegra_mipi_enable(struct tegra_mipi_device *device);
int tegra_mipi_disable(struct tegra_mipi_device *device);