]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: add new helper for handling EEPROM i2c transfers
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 21 Jan 2021 19:41:27 +0000 (14:41 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 1 Jul 2021 04:24:39 +0000 (00:24 -0400)
commite9537c074b3a297ddf4b280406af4d75998b0133
tree03fd5bf5f6565b95b4b2659e5b7839933eb9f594
parentd64177463e56a7d5fdb968ba627f79110bba48b5
drm/amdgpu: add new helper for handling EEPROM i2c transfers

Encapsulates the i2c protocol handling so other parts of the
driver can just tell it the offset and size of data to write.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu_eeprom.c [new file with mode: 0644]
drivers/gpu/drm/amd/amdgpu/amdgpu_eeprom.h [new file with mode: 0644]