tree: d7957d87d607730ca2382b3e69fc7bc398ff6f2e [path history] [tgz]
  1. meta/
  2. BUILD.gn
  3. dw-i2c-info.json
  4. dw-i2c-regs.h
  5. dw-i2c-test.cc
  6. dw-i2c.cc
  7. dw-i2c.h
  8. dw_i2c.bind
  9. README.md
  10. tests.json
src/devices/i2c/drivers/dw-i2c/README.md

Testing dw-i2c on as370 hardware

Follow these steps to test the driver:

  1. Enable the test flag (I2C_AS370_DW_TEST) in the source file before compiling.
  2. Build and flash as370
    fx set bringup.visalia
    fx build
    fx exec vendor/synaptics/as370/scripts/flash-zedboot.sh
  1. Success: Once booted, look for DW I2C test for AS370 passed in the kernel logs.
  2. Failure: The test should ideally be completed immediately upon bootup. In case of any error or timeout, DW I2C test for AS370 failed will be printed within couple of seconds.