From 2f7c68cb55ecb7331f2381deb497c27155f32faf Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Wed, 03 Jan 2024 09:43:39 +0000 Subject: [PATCH] update kernel to 5.10.198 --- 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