Skip to content
Snippets Groups Projects
cmd_i2c.c 47.7 KiB
Newer Older
  • Learn to ignore specific revisions
  • 	"i2c probe [address] - test for and show device(s) on the I2C bus\n"
    
    	"i2c read chip address[.0, .1, .2] length memaddress - read to memory\n"
    
    	"i2c write memaddress chip address[.0, .1, .2] length [-s] - write memory\n"
    	"          to I2C; the -s option selects bulk write in a single transaction\n"
    
    #ifdef CONFIG_DM_I2C
    	"i2c flags chip [flags] - set or get chip flags\n"
    
    	"i2c olen chip [offset_length] - set or get chip offset length\n"
    
    	"i2c reset - re-init the I2C Controller\n"
    
    	"i2c sdram chip - print SDRAM configuration information\n"
    
    	"i2c speed [speed] - show or set I2C bus speed";
    #endif
    
    U_BOOT_CMD(
    
    	"I2C sub-system",
    	i2c_help_text