]> git.dujemihanovic.xyz Git - u-boot.git/commit
pmic: pca9450: add DM_I2C dependencies in Kconfig
authorRasmus Villemoes <rasmus.villemoes@prevas.dk>
Tue, 3 May 2022 08:58:06 +0000 (10:58 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 14 Jun 2022 02:20:50 +0000 (11:20 +0900)
commit752bea3ca4d095e4da948c643fc6d6ea7427c773
treedc112c26e725ac0a8a257742f7f2a5303a4d1094
parent92a8bc6b419f548230f10a924db2b3ef10a5edad
pmic: pca9450: add DM_I2C dependencies in Kconfig

The pca9450 driver uses dm_i2c_{read,write}, which
are (unsurprisingly) only available with DM_I2C. Make sure one can't
create an unbuildable .config by adding proper dependencies.

While here, append "in SPL" to the prompt for the SPL_ variant so it
doesn't read the same as the one for the non-SPL_ variant.

Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/power/pmic/Kconfig