aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h
diff options
context:
space:
mode:
authorVenkata Narendra Kumar Gutta <[email protected]>2024-06-19 01:16:52 +0000
committerAlex Deucher <[email protected]>2024-07-27 21:28:58 +0000
commit25dd25f86eca77b1ce4a611432f57b006fa91615 (patch)
treef6041c780dd155b24f2f9a58ca7e383198ec04a8 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h
parentdrm/amdgpu: fix contiguous handling for IB parsing v2 (diff)
downloadkernel-25dd25f86eca77b1ce4a611432f57b006fa91615.tar.gz
kernel-25dd25f86eca77b1ce4a611432f57b006fa91615.zip
drm/amdgpu: Add MFD support for ISP I2C bus
ISP I2C bus device can't be enumerated via ACPI mechanism since it shares the memory map with the AMDGPU. So use the MFD mechanism for registering the ISP I2C device and add the required resources. Signed-off-by: Venkata Narendra Kumar Gutta <[email protected]> Acked-by: Alex Deucher <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h
index 44e2ea8c9728..b03664c66dd6 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h
@@ -49,6 +49,7 @@ struct amdgpu_isp {
const struct isp_funcs *funcs;
struct mfd_cell *isp_cell;
struct resource *isp_res;
+ struct resource *isp_i2c_res;
struct isp_platform_data *isp_pdata;
unsigned int harvest_config;
const struct firmware *fw;