Muxes: Add symlink to /dev/i2c* support
It is difficult to tell what mux is what i2c channel
when looking at sysfs or d-bus alone. This creates
/dev/mux/<muxname>/<channelname> symlinks to aid other
applications.
Tested-by:
ls /dev/i2c-mux/Riser_*
/dev/mux/Riser_1_Mux:
PcieSlot1 PcieSlot2 PcieSlot3
/dev/i2c-mux/Riser_2_Mux:
PcieSlot1 PcieSlot2 PcieSlot3
Change-Id: I3485d87ad2546d4bc27092bac91d6add59250736
Signed-off-by: James Feist <james.feist@linux.intel.com>
diff --git a/configurations/1Ux16 Riser.json b/configurations/1Ux16 Riser.json
index 08aa342..9d985e1 100644
--- a/configurations/1Ux16 Riser.json
+++ b/configurations/1Ux16 Riser.json
@@ -36,8 +36,14 @@
{
"Address": "0x72",
"Bus": "$bus",
+ "ChannelNames": [
+ "PcieSlot1",
+ "PcieSlot2",
+ "PcieSlot3",
+ ""
+ ],
"Name": "Riser 1 Mux",
- "Type": "PCA9543Mux"
+ "Type": "PCA9545Mux"
},
{
"Address": "$address",
@@ -92,8 +98,14 @@
{
"Address": "0x73",
"Bus": "$bus",
+ "ChannelNames": [
+ "PcieSlot1",
+ "PcieSlot2",
+ "PcieSlot3",
+ ""
+ ],
"Name": "Riser 2 Mux",
- "Type": "PCA9543Mux"
+ "Type": "PCA9545Mux"
},
{
"Address": "$address",