Commit f19cc49
committed
i2c: i801: Call i2c_register_spd for muxed child segments
JIRA: https://issues.redhat.com/browse/RHEL-47426
commit 893fef0
Author: Heiner Kallweit <hkallweit1@gmail.com>
Date: Tue Mar 26 21:42:44 2024 +0100
i2c: i801: Call i2c_register_spd for muxed child segments
Once the gpio mux driver binds to the "i2c-mux-gpio" platform device,
this creates the i2c adapters for the muxed child segments.
We can use the bus notifier mechanism to check for creation of the
child i2c adapters, and call i2c_register_spd() for them. This allows
to detect all DIMM's on systems with more than 8 memory slots.
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: David Arcari <darcari@redhat.com>1 parent 931dc97 commit f19cc49
1 file changed
+23
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| 109 | + | |
109 | 110 | | |
110 | 111 | | |
111 | 112 | | |
| |||
293 | 294 | | |
294 | 295 | | |
295 | 296 | | |
| 297 | + | |
296 | 298 | | |
297 | 299 | | |
298 | 300 | | |
| |||
1398 | 1400 | | |
1399 | 1401 | | |
1400 | 1402 | | |
| 1403 | + | |
| 1404 | + | |
| 1405 | + | |
| 1406 | + | |
| 1407 | + | |
| 1408 | + | |
| 1409 | + | |
| 1410 | + | |
| 1411 | + | |
| 1412 | + | |
| 1413 | + | |
| 1414 | + | |
| 1415 | + | |
| 1416 | + | |
| 1417 | + | |
| 1418 | + | |
| 1419 | + | |
1401 | 1420 | | |
1402 | 1421 | | |
1403 | 1422 | | |
| |||
1434 | 1453 | | |
1435 | 1454 | | |
1436 | 1455 | | |
| 1456 | + | |
| 1457 | + | |
| 1458 | + | |
1437 | 1459 | | |
1438 | 1460 | | |
1439 | 1461 | | |
| |||
1455 | 1477 | | |
1456 | 1478 | | |
1457 | 1479 | | |
| 1480 | + | |
1458 | 1481 | | |
1459 | 1482 | | |
1460 | 1483 | | |
| |||
0 commit comments