diff options
author | Venkata Narendra Kumar Gutta <vengutta@amd.com> | 2024-06-19 04:16:52 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-07-28 00:28:58 +0300 |
commit | 25dd25f86eca77b1ce4a611432f57b006fa91615 (patch) | |
tree | f6041c780dd155b24f2f9a58ca7e383198ec04a8 /drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h | |
parent | fbfb5f0342253d92c4e446588c428a9d90c3f610 (diff) | |
download | linux-25dd25f86eca77b1ce4a611432f57b006fa91615.tar.xz |
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 <vengutta@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_isp.h | 1 |
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; |