Skip to content

Commit 69441fa

Browse files
committed
mfd: rk808: rk809 chip name register is same as rk817
Change-Id: I22f5735ab3272a53d2e97012f452c340f16b0bff Signed-off-by: shengfei Xu <xsf@rock-chips.com>
1 parent 9b2724a commit 69441fa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/mfd/rk808.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,8 @@ static int rk808_probe(struct i2c_client *client,
947947
if (!rk808)
948948
return -ENOMEM;
949949

950-
if (of_device_is_compatible(np, "rockchip,rk817")) {
950+
if (of_device_is_compatible(np, "rockchip,rk817") ||
951+
of_device_is_compatible(np, "rockchip,rk809")) {
951952
pmic_id_msb = RK817_ID_MSB;
952953
pmic_id_lsb = RK817_ID_LSB;
953954
}

0 commit comments

Comments
 (0)