Skip to contentSkip to conversation

Question about barebox*/drivers/mfd/mc34704.c and ACCURATE I²C mode ...

DISCUSSION Baruch Siach 2 participants 2 messages Apr 16, 2018 – Apr 17, 2018 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hi Roland,

Quoted 7 lines · Roland

Two small questions about drivers/mfd/mc34704.c in the barebox codebase:
1. mc34704 has an ACCURATE bit (I2CSET1, see
https://www.nxp.com/docs/en/data-sheet/MC34704.pdf) which requires that all read/write commands are send twice - does the barebox code have any support for that in the current versions ?
2. Is this "accurate I²C communication mode" enabled by that bit a vendor-specific protocol extension or is it part of the I²C standard ?

Please send your Barebox related questions to the barebox mailing list. I added the list to Cc.

To the best of my knowledge there is no "twice" mode in the I2C standard. The mc34704 driver does not seem to support this mode.

baruch

Signature · 8 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - [email protected] - tel: +972.2.679.5364, http://www.tkos.co.il -

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#2 lore raw

Hi Roland,

Quoted 10 lines · Baruch Siach

Hi Roland,

Quoted 7 lines · Roland

Two small questions about drivers/mfd/mc34704.c in the barebox codebase:
1. mc34704 has an ACCURATE bit (I2CSET1, see
https://www.nxp.com/docs/en/data-sheet/MC34704.pdf) which requires that all read/write commands are send twice - does the barebox code have any support for that in the current versions ?
2. Is this "accurate I²C communication mode" enabled by that bit a vendor-specific protocol extension or is it part of the I²C standard ?

I never heard of "accurate I²C", it must be something the chip designers have invented. Also there is no support for it neither in the mc34704 driver nor in the generic I²C support.

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox