Attention is currently required from: Varshit B Pandya, Patrick Rudolph. Hello Varshit B Pandya,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/55097
to review the following change.
Change subject: drivers/intel/mipi_camera: Add macros to increase code readability ......................................................................
drivers/intel/mipi_camera: Add macros to increase code readability
Signed-off-by: Varshit B Pandya varshit.b.pandya@intel.corp-partner.google.com Change-Id: Ia4137e09c934bf06857ceedb933e616bed5070dd --- M src/drivers/intel/mipi_camera/chip.h 1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/97/55097/1
diff --git a/src/drivers/intel/mipi_camera/chip.h b/src/drivers/intel/mipi_camera/chip.h index 64942b6..35a90bd 100644 --- a/src/drivers/intel/mipi_camera/chip.h +++ b/src/drivers/intel/mipi_camera/chip.h @@ -14,6 +14,14 @@ #define MAX_GPIO_CONFIGS 4 #define MAX_PWR_OPS 5 #define MAX_GUARDED_RESOURCES 10 +#define IMGCLKOUT_0 0 +#define IMGCLKOUT_1 1 +#define IMGCLKOUT_2 2 +#define IMGCLKOUT_3 3 +#define IMGCLKOUT_4 4 +#define IMGCLKOUT_5 5 +#define FREQ_24_MHZ 0 +#define FREQ_19_2_MHZ 1
#define SEQ_OPS_CLK_ENABLE(ind, delay) \ { .type = IMGCLK, .index = (ind), .action = ENABLE, .delay_ms = (delay) }