regulator: pca9450: Make I2C Level Translator configurable
authorJosep Orga <jorga@somdevices.com>
Wed, 5 Oct 2022 15:02:50 +0000 (17:02 +0200)
committerJosep Orga <jorga@somdevices.com>
Wed, 5 Oct 2022 15:02:50 +0000 (17:02 +0200)
commit5576de571dddc6a37a291a36f3d87c05fdc86e5a
tree8c24077cf7090112e1ad1c79d002b5039fc29d9d
parent82d363ba5970d0e8bca29103f644220ee3d891e0
regulator: pca9450: Make I2C Level Translator configurable

Make the I2C Level Translator included in PCA9450 configurable from devicetree. The reset state is off. By setting nxp,i2c-lt-enable, the I2C Level Translator will be enabled while in STANDBY or RUN state.

Signed-off-by: Per-Daniel Olsson <perdo@axis.com>
Signed-off-by: Rickard x Andersson <rickaran@axis.com>
Link: https://lore.kernel.org/r/20220429072211.24957-2-rickaran@axis.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Josep Orga <jorga@somdevices.com>
drivers/regulator/pca9450-regulator.c
include/linux/regulator/pca9450.h