]> 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)
commitaae4ce13774034e00c370e84b765aba6c7aae783
tree03fd5bf5f6565b95b4b2659e5b7839933eb9f594
parentdcaa2e62c4e5a97afa5942d564f97b17a269f5a0
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]