]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pca9450a: fix i2c address
authorMax Krummenacher <max.krummenacher@toradex.com>
Wed, 28 Oct 2020 09:58:09 +0000 (11:58 +0200)
committerStefano Babic <sbabic@denx.de>
Sun, 6 Dec 2020 14:31:37 +0000 (15:31 +0100)
The I2C address is 0x25, not 0x35. This according to the datasheet and
tests with a PCA9450A.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
drivers/power/pmic/pca9450.c

index 0c9d9a366e8ec699f187e5149572a06c05403c26..c7f8b8095407736e2cfb8660907002b4ad71f374 100644 (file)
@@ -80,7 +80,7 @@ static struct dm_pmic_ops pca9450_ops = {
 };
 
 static const struct udevice_id pca9450_ids[] = {
-       { .compatible = "nxp,pca9450a", .data = 0x35, },
+       { .compatible = "nxp,pca9450a", .data = 0x25, },
        { .compatible = "nxp,pca9450b", .data = 0x25, },
        { }
 };