mfd: rk808: Permit having multiple PMIC instances
authorNeil Armstrong <neil.armstrong@linaro.org>
Mon, 31 Oct 2022 16:05:07 +0000 (17:05 +0100)
committerLee Jones <lee@kernel.org>
Wed, 7 Dec 2022 13:28:09 +0000 (13:28 +0000)
commit3633daacea2e54bf991d2f6b871efe9f83a0cac8
tree3e7dab833438213438ea984c1c91ed6df7011bae
parentb092874ace67d5e33a9dc3aba7cb2e666dda8fd3
mfd: rk808: Permit having multiple PMIC instances

This set each cells id to PLATFORM_DEVID_NONE to allow multiple
instances of each cell in case multiple PMICs handled by the rk808
driver are probed.

This fixes probing a RK818 and a RK817 on the Odroid Go Ultra
devices.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20221025-rk808-multi-v2-0-d292d51ada81@linaro.org
drivers/mfd/rk808.c