media: i2c: max9286: Add support for port regulators
authorThomas Nizan <tnizan@witekio.com>
Sat, 1 Jan 2022 18:27:59 +0000 (19:27 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 22 Jan 2023 08:08:37 +0000 (09:08 +0100)
commit817660f44d6063168ba27931e56c5cd2d5ae86af
treee13684057afcebf73ebeaf57da7b0f6b2f93ecb2
parente3435af91e7be03e514a5e0294094ff60f6248e4
media: i2c: max9286: Add support for port regulators

Allow users to use one PoC regulator per port, instead of a global
regulator.

The properties '^port[0-3]-poc-supply$' in the DT node are used to
indicate the regulators for individual ports.

Signed-off-by: Thomas Nizan <tnizan@witekio.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/max9286.c