From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/media/i2c/maxim4c/maxim4c_drv.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/kernel/drivers/media/i2c/maxim4c/maxim4c_drv.h b/kernel/drivers/media/i2c/maxim4c/maxim4c_drv.h
index 444f20f..d4542e1 100644
--- a/kernel/drivers/media/i2c/maxim4c/maxim4c_drv.h
+++ b/kernel/drivers/media/i2c/maxim4c/maxim4c_drv.h
@@ -10,6 +10,7 @@
#include <linux/workqueue.h>
#include <linux/rk-camera-module.h>
#include <linux/mfd/core.h>
+#include <linux/regulator/consumer.h>
#include <media/media-entity.h>
#include <media/v4l2-async.h>
#include <media/v4l2-ctrls.h>
@@ -27,6 +28,8 @@
#define MAXIM4C_REG_CHIP_ID 0x0D
#define MAX96712_CHIP_ID 0xA0
#define MAX96722_CHIP_ID 0xA1
+
+#define MAXIM4C_NUM_SUPPLIES 2
enum {
MAXIM4C_HOT_PLUG_OUT = 0,
@@ -57,8 +60,9 @@
struct i2c_client *client;
struct clk *xvclk;
struct gpio_desc *pwdn_gpio;
- struct gpio_desc *pocen_gpio;
struct gpio_desc *lock_gpio;
+ struct regulator_bulk_data supplies[MAXIM4C_NUM_SUPPLIES];
+ struct regulator *poc_regulator;
struct mutex mutex;
@@ -104,6 +108,8 @@
struct mfd_cell remote_mfd_devs[MAXIM4C_LINK_ID_MAX];
maxim4c_remote_t *remote_device[MAXIM4C_LINK_ID_MAX];
+
+ struct dentry *dbgfs_root;
} maxim4c_t;
#endif /* __MAXIM4C_DRV_H__ */
--
Gitblit v1.6.2