[media] exynos4-is: Move the subdev group ID definitions to public header
Move the sub-device group ID definitions to the driver's public header so they are available to other media drivers that need to share modules found in exynos4-is. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
65fccab560
commit
488f29d00e
|
@ -30,15 +30,6 @@
|
||||||
|
|
||||||
#define PINCTRL_STATE_IDLE "idle"
|
#define PINCTRL_STATE_IDLE "idle"
|
||||||
|
|
||||||
/* Group IDs of sensor, MIPI-CSIS, FIMC-LITE and the writeback subdevs. */
|
|
||||||
#define GRP_ID_SENSOR (1 << 8)
|
|
||||||
#define GRP_ID_FIMC_IS_SENSOR (1 << 9)
|
|
||||||
#define GRP_ID_WRITEBACK (1 << 10)
|
|
||||||
#define GRP_ID_CSIS (1 << 11)
|
|
||||||
#define GRP_ID_FIMC (1 << 12)
|
|
||||||
#define GRP_ID_FLITE (1 << 13)
|
|
||||||
#define GRP_ID_FIMC_IS (1 << 14)
|
|
||||||
|
|
||||||
#define FIMC_MAX_SENSORS 8
|
#define FIMC_MAX_SENSORS 8
|
||||||
#define FIMC_MAX_CAMCLKS 2
|
#define FIMC_MAX_CAMCLKS 2
|
||||||
|
|
||||||
|
|
|
@ -49,6 +49,17 @@ enum fimc_bus_type {
|
||||||
#define fimc_input_is_parallel(x) ((x) == 1 || (x) == 2)
|
#define fimc_input_is_parallel(x) ((x) == 1 || (x) == 2)
|
||||||
#define fimc_input_is_mipi_csi(x) ((x) == 3 || (x) == 4)
|
#define fimc_input_is_mipi_csi(x) ((x) == 3 || (x) == 4)
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The subdevices' group IDs.
|
||||||
|
*/
|
||||||
|
#define GRP_ID_SENSOR (1 << 8)
|
||||||
|
#define GRP_ID_FIMC_IS_SENSOR (1 << 9)
|
||||||
|
#define GRP_ID_WRITEBACK (1 << 10)
|
||||||
|
#define GRP_ID_CSIS (1 << 11)
|
||||||
|
#define GRP_ID_FIMC (1 << 12)
|
||||||
|
#define GRP_ID_FLITE (1 << 13)
|
||||||
|
#define GRP_ID_FIMC_IS (1 << 14)
|
||||||
|
|
||||||
struct i2c_board_info;
|
struct i2c_board_info;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue