build/patch/kernel/archive/sunxi-6.5/patches.megous/media-i2c-imx258-Add-i2c-supply.patch

28 lines
861 B
Diff

From 91fd3f692df36b4c0644185a0b4128dde15fc38b Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <megi@xff.cz>
Date: Sun, 22 May 2022 03:25:06 +0200
Subject: [PATCH 335/464] 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 b468e75306aa..5abd20219bd0 100644
--- a/drivers/media/i2c/imx258.c
+++ b/drivers/media/i2c/imx258.c
@@ -608,6 +608,7 @@ static const char * const imx258_supply_names[] = {
"vana", /* Analog (2.8V) supply */
"vdig", /* Digital Core (1.5V) supply */
"vif", /* Digital I/O (1.8V) supply */
+ "i2c", /* I2C BUS I/O (1.8V) supply */
};
#define IMX258_SUPPLY_COUNT ARRAY_SIZE(imx258_supply_names)
--
2.34.1