[Platform/Seastone]: fix syseeprom tlv read issue (#12200)

Why I did it
Fix Seastone syseeprom tlv header read incorrect issue

How I did it
Set mux idle_state

How to verify it
i2cdump -y -f 12 0x50 i
This commit is contained in:
Ikki Zhu 2022-12-06 01:49:43 +08:00 committed by GitHub
parent ad49100985
commit 64e7fff7c7
No account linked to committer's email address

View File

@ -147,6 +147,12 @@ start)
sleep 0.1
done
# Set pca9548 idle_state
echo -2 > /sys/bus/i2c/devices/i2c-${devnum}/0-0071/idle_state
echo -2 > /sys/bus/i2c/devices/i2c-${devnum}/0-0073/idle_state
echo -2 > /sys/bus/i2c/devices/i2c-${devnum}/0-0077/idle_state
sleep 0.1
bus_en=8
cfg_r=`i2cget -y -f 8 0x60 0xD1`
((cfg_w=$cfg_r+$bus_en))