Commit 42aab58f authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab

media: smiapp: Use CCS registers

Switch to CCS standard registers where they exist. The still relevant SMIA
registers are left as-is and the redundant ones are removed.
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
parent 19a435f9
This diff is collapsed.
...@@ -15,6 +15,8 @@ ...@@ -15,6 +15,8 @@
#include <media/v4l2-ctrls.h> #include <media/v4l2-ctrls.h>
#include <media/v4l2-subdev.h> #include <media/v4l2-subdev.h>
#include "ccs-regs.h"
#include "smiapp-pll.h" #include "smiapp-pll.h"
#include "smiapp-reg-defs.h" #include "smiapp-reg-defs.h"
#include "smiapp-regs.h" #include "smiapp-regs.h"
...@@ -220,7 +222,7 @@ struct smiapp_sensor { ...@@ -220,7 +222,7 @@ struct smiapp_sensor {
struct gpio_desc *xshutdown; struct gpio_desc *xshutdown;
void *ccs_limits; void *ccs_limits;
u8 nbinning_subtypes; u8 nbinning_subtypes;
struct smiapp_binning_subtype binning_subtypes[SMIAPP_BINNING_SUBTYPES]; struct smiapp_binning_subtype binning_subtypes[CCS_LIM_BINNING_SUB_TYPE_MAX_N + 1];
u32 mbus_frame_fmts; u32 mbus_frame_fmts;
const struct smiapp_csi_data_format *csi_format; const struct smiapp_csi_data_format *csi_format;
const struct smiapp_csi_data_format *internal_csi_format; const struct smiapp_csi_data_format *internal_csi_format;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment