mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
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>
This commit is contained in:
committed by
Alex Deucher
parent
fbfb5f0342
commit
25dd25f86e
@@ -32,8 +32,19 @@
|
||||
|
||||
#include "ivsrcid/isp/irqsrcs_isp_4_1.h"
|
||||
|
||||
#define MAX_ISP410_MEM_RES 2
|
||||
#define MAX_ISP410_SENSOR_RES 1
|
||||
#define MAX_ISP410_INT_SRC 8
|
||||
|
||||
#define ISP410_PHY0_OFFSET 0x66700
|
||||
#define ISP410_PHY0_SIZE 0xD30
|
||||
|
||||
#define ISP410_I2C0_OFFSET 0x66400
|
||||
#define ISP410_I2C0_SIZE 0x100
|
||||
|
||||
#define ISP410_GPIO_SENSOR0_OFFSET 0x6613C
|
||||
#define ISP410_GPIO_SENSOR0_SIZE 0x4
|
||||
|
||||
void isp_v4_1_0_set_isp_funcs(struct amdgpu_isp *isp);
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user