Tests:RCar-Gen2-I2C-demux

From eLinux.org
Revision as of 11:36, 15 December 2017 by W sang (talk | contribs) (first very early draft)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

!DRAFT! This document describes how to test the I2C demux feature on the newly added I2C busses on various R-Car Gen2 based boards.

Setup

Kernel Version and Configuration

Support for this feature is expected to land upstream in v4.16. It is currently available in a topic branch:

git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/topic/ip-switch-rework-2017

The shmobile_defconfig is suitable for these tests.

Hardware Environment

Busses on the following boards can be tested:

Lager/r8a7790 (R-Car H2 SoC): I2C2, I2C3 Koelsch/r8a7791 (R-Car M2-W SoC): I2C2, I2C4 Porter/r8a7791 (R-Car M2-W SoC): I2C2 Gose/r8a7793 (R-Car M2-N SoC): I2C2, I2C4 Alt/r8a7794 (R-Car E2 SoC): I2C1 Silk/r8a7794 (R-Car E2 SoC): I2C1

No hardware modifications are needed.

Software Environment

A busybox with standard commands like cd, cat, echo is needed. Also, i2cdump and i2cdetect from the i2c-tools package should be available.

Conclusion