From 4dd4e2b4af7b7bc119abddce599bd3de7c46441a Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <megi@xff.cz>
Date: Sun, 22 May 2022 03:25:06 +0200
Subject: [PATCH 322/463] media: i2c: imx258: Add i2c supply

Sensor depends on I2C bus to be powered up to work.

Signed-off-by: Ondrej Jirman <megi@xff.cz>
---
 drivers/media/i2c/imx258.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/media/i2c/imx258.c b/drivers/media/i2c/imx258.c
index 1a99eaaff21a0..fea9d049aeb4c 100644
--- a/drivers/media/i2c/imx258.c
+++ b/drivers/media/i2c/imx258.c
@@ -485,6 +485,7 @@ static const char * const imx258_supply_name[] = {
 	"vana",  /* Analog (2.8V) supply */
 	"vdig",  /* Digital Core (1.2V) supply */
 	"vif",  /* IF (1.8V) supply */
+	"i2c",  /* I2C BUS I/O (1.8V) supply */
 };
 
 #define IMX258_NUM_SUPPLIES ARRAY_SIZE(imx258_supply_name)
-- 
2.46.0

