<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Lucida Console";
panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0in;
margin-right:0in;
margin-bottom:0in;
margin-left:.5in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1554661001;
mso-list-type:hybrid;
mso-list-template-ids:-1674641972 -1192350566 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
{mso-level-text:"%1\)";
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:.75in;
text-indent:-.25in;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:1.25in;
text-indent:-.25in;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
margin-left:1.75in;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:2.25in;
text-indent:-.25in;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:2.75in;
text-indent:-.25in;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
margin-left:3.25in;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:3.75in;
text-indent:-.25in;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
margin-left:4.25in;
text-indent:-.25in;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
margin-left:4.75in;
text-indent:-9.0pt;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><!--ppd1000038--><div class=WordSection1><p class=MsoNormal><span style='font-family:"Lucida Console"'>I have tried many different combinations based on what I’ve been able to find on<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'>the internet over the last week and have reached a dead end.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'>I have the following i2c topology and specify the devices as follows: Linux 2.6.38.5<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'>only seems to recognize the devices connected directly to the i2c controller when it boots.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'>I can add the muxes and lm73/m41st85 manually using the echo command from the console:<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'>“echo pca9547 0x70 > /sys/bus/12c/devices/i2c-2/new_device”<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'>This tells me I have three prime candidates for potential issues.<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='font-family:"Lucida Console"'><span style='mso-list:Ignore'>1)<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='font-family:"Lucida Console"'>The device tree specification is incorrect<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='font-family:"Lucida Console"'><span style='mso-list:Ignore'>2)<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='font-family:"Lucida Console"'>The device tree processing is incorrect (It is ‘appears’<br>correct in the /proc/devicetree hierarchy)<o:p></o:p></span></p><p class=MsoListParagraph style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span style='font-family:"Lucida Console"'><span style='mso-list:Ignore'>3)<span style='font:7.0pt "Times New Roman"'> </span></span></span><![endif]><span style='font-family:"Lucida Console"'>The probing code for i2c devices doesn’t currently traverse muxes properly.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'>As validating the device tree should be the simplest to eliminate (and is the part I’m<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'>Directly involved with), I’d appreciate any Constructive comments on solving this problem.<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> |<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'>i2c ctrl ----|<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> |---lm73@0x49<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> |<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> |---24c02@0x54<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> |<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> |---pca9547@0x77---|<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> | |-Chan 0---|---pca9547@0x70<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> | | |<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> | |<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> | |-Chan 1---|---pca9547@0x71<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> | | |<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> | |<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> | |-Chan 2---|---pca9547@0x72<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> | | |<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> | |<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> | |-Chan 3---|---pca9547@0x73<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> | | |<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> | |<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> | |-Chan 4---|---pca9547@0x74<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> | | |<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> | |<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> | |-Chan 5---|---pca9547@0x75<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> | | |<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> | |<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> | |-Chan 6---|---m41st85@0x68<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> | |<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> | |-Chan 7---|---lm73@0x48<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> | |<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'>i2c@3100 {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> #address-cells = <1>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> #size-cells = <0>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> cell-index = <1>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> compatible = "fsl-i2c";<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> reg = <0x3100 0x100>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> interrupts = <15 0x8>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> interrupt-parent = <&ipic>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> dfsrr;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> temp-sensor@49 {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> compatible = "national,lm73";<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> reg = <0x49>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> };<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> eeprom@54 {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> compatible = "at24,24c02";<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> reg = <0x54>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> pagesize = <4>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> };<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> mux@77 {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> #address-cells = <2>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> #size-cells = <0>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> compatible = "philips,pca9547";<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> reg = <0x77>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> mux@0,70 {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> #address-cells = <2>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> #size-cells = <0>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> compatible = "philips,pca9547";<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> reg = <0 0x70>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> };<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> mux@0,71 {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> #address-cells = <2>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> #size-cells = <0>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> compatible = "philips,pca9547";<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> reg = <1 0x71>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> };<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> mux@0,72 {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> #address-cells = <2>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> #size-cells = <0>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> compatible = "philips,pca9547";<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> reg = <2 0x72>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> };<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> mux@0,73 {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> #address-cells = <2>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> #size-cells = <0>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> compatible = "philips,pca9547";<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> reg = <3 0x73>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> };<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> mux@0,74 {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> #address-cells = <2>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> #size-cells = <0>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> compatible = "philips,pca9547";<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> reg = <4 0x74>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> };<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> mux@0,75 {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> #address-cells = <2>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> #size-cells = <0>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> compatible = "philips,pca9547";<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> reg = <0 0x75>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> };<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> temp-sensor@7,48 {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> compatible = "national,lm73";<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> reg = <7 0x48 >;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> };<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> rtc@6,68 {<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> compatible = "stm,m41st85";<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> reg = <6 0x68>;<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> };<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'> };<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'>};<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='font-family:"Lucida Console"'>Jim Baldwin<o:p></o:p></span></p></div><BR><BR><DIV align=left><SPAN class=Apple-style-span style="WORD-SPACING: 0px; FONT: italic 13px arial; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; BORDER-COLLAPSE: collapse; orphans: 2; widows: 2; webkit-border-horizontal-spacing: 0px; webkit-border-vertical-spacing: 0px; webkit-text-decorations-in-effect: none; webkit-text-size-adjust: auto; webkit-text-stroke-width: 0"><STRONG>NOTICE:</STRONG><FONT color=#808080 size=2><FONT color=#808080 size=2>This email and any files transmitted with it are Enablence confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains Enablence confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.</FONT></FONT></SPAN></DIV></body></html>