OSDN Git Service

drm/amdgpu: Bug-fix: Reading I2C FRU data on newer ASICs
authorLuben Tuikov <luben.tuikov@amd.com>
Tue, 15 Nov 2022 02:21:55 +0000 (21:21 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 17 Nov 2022 23:07:19 +0000 (18:07 -0500)
commitafbe5d1e4bd7c798bf5ea53f79ce7f9e59f60301
tree582315ae40035f8823b24ef0f5e7fb99a917f52b
parent6a4a745c42a23c5ffca0f0c76ca2ed2593b9389b
drm/amdgpu: Bug-fix: Reading I2C FRU data on newer ASICs

Set the new correct default FRU MCU I2C address for newer ASICs, so that we
can correctly read the Product Name, Product Part/Model Number and Serial
Number.

On newer ASICs, the FRU MCU was moved to I2C address 0x58.

Cc: Alex Deucher <Alexander.Deucher@amd.com>
Cc: Kent Russell <kent.russell@amd.com>
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Tested-by: Kent Russell <kent.russell@amd.com>
Reviewed-by: Kent Russell <kent.russell@amd.com>
Reviewed-by: Alex Deucher <Alexander.Deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_fru_eeprom.c