summaryrefslogtreecommitdiffstats
path: root/Documentation/i2c/gpio-fault-injection
Commit message (Collapse)AuthorAgeFilesLines
* i2c: gpio: fault-injector: add incomplete_write_byteWolfram Sang2018-07-031-0/+19
| | | | | | | | | Add another injector for an incomplete transfer. As mentioned in the docs, this one is important to check bus recovery algorithms with it. Otherwise random data may be sent to devices! Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
* i2c: gpio: fault-injector: refactor incomplete transferWolfram Sang2018-07-031-11/+19
| | | | | | | | Make the incomplete_transfer routine reusable, so we can add other test cases with different patterns later. Prepare the docs for that, too. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
* i2c: gpio: add fault injectorWolfram Sang2017-12-031-0/+54
Add fault injection capabilities to the i2c-gpio driver. When connected to another I2C bus, it can create unusual states which the other I2C bus master driver needs to handle. Only for debugging! Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
OpenPOWER on IntegriCloud