pwm: pca9685: Disable unused alternative addresses
authorDavid Jander <david@protonic.nl>
Fri, 28 Aug 2020 12:14:15 +0000 (14:14 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Thu, 24 Sep 2020 07:18:13 +0000 (09:18 +0200)
commitbce54366946a7a190a1df74f6f605412f731709c
treef67a16c4a84cfe598ce1f3f2ef40feb1a629b7cb
parente1057a8df16503b8d08e75d9258e6026ef88a06d
pwm: pca9685: Disable unused alternative addresses

The PCA9685 supports listening to 1 or more alternative I2C chip addresses
for some special features that this driver does not support.
By default the LED ALLCALL address is active (default 0x70), which causes
this chip to respond to address 0x70 in addition to its main address
(0x41). This is not desireable if there is another device on the same bus
that uses this address (like a TMP103 for example).
Since this feature is not supported by this driver, it is best to disable
these addresses in the chip to avoid unsuspected bus collisions.

Signed-off-by: David Jander <david@protonic.nl>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-pca9685.c