<div dir="ltr">Hi Woody, <div>Form the attached datasheet section 4.3.2 the address seems to be : 0x4A and 0x4B depending upon the ADDR_SEL line(low or high respectively).</div><div>Please check in the driver code is the address is 7 bit or 8 bit before using the above address.</div><div>Also you can check the i2c utilities : <a href="http://www.lm-sensors.org/wiki/I2CTools">http://www.lm-sensors.org/wiki/I2CTools</a> to check the address of the devices connected with your SoC.on running i2c detect (with appropriate arguments) you will come to know about the address of the devices which you can verify with the address you put in the driver code.</div><div>Thanks and Rgds,</div><div>Rp</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 8, 2015 at 10:09 AM, Woody Wu <span dir="ltr"><<a href="mailto:narkewoody@gmail.com" target="_blank">narkewoody@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I am recently porting an i2c touchscreen to my board which runs ARM linux 3.1. I found I need to setup some device platform data for the i2c chip, among which there is an 'addr' field that I dont understand. I search the device driver code, then I know the address will be used when compositing some i2c messages. My question is that how do I know what the address I should fill in the field? The datasheet of the device doesn't provide an answer. By the way, the touchscreen is actually an Atmel mXT224 i2c multi-touch screen panel, which is wired to a Samsung S3C i2c controller in my SoC.<div><br></div><div>Thanks in advance!</div><span class="HOEnZb"><font color="#888888"><div>-woody</div><br><br>-- <br>Sent from Gmail Mobile<br>
</font></span><br>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></blockquote></div><br></div>