i2c: Enable compile testing for more drivers
authorKrzysztof Kozlowski <krzk@kernel.org>
Tue, 7 Jan 2020 08:12:58 +0000 (09:12 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 23 Jan 2020 11:15:11 +0000 (12:15 +0100)
commit4a2d5f663dab6614772d8e28ca190b127ba46d9d
treedae20241233563bbf147eb9fa5e38f563d6832c7
parent10b17004a74c384c6f410af355b0d6d7a168f613
i2c: Enable compile testing for more drivers

Some of the I2C bus drivers can be compile tested to increase build
coverage.  This requires also:
1. Adding dependencies on COMMON_CLK for BCM2835 and Meson I2C
   controllers,
2. Adding 'if' conditional to 'default y' so they will not get enabled
   by default on all other architectures,
3. Limiting few compile test options to supported architectures (which
   provide the readsX()/writesX() primitives).

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
[wsa: revert chunk for ZX2967. it needs more preparation]
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/Kconfig