From 6a103907f166fc6659162942cc6745ac555c12de Mon Sep 17 00:00:00 2001 From: Varshit B Pandya Date: Tue, 15 Jun 2021 20:26:45 +0530 Subject: drivers/intel/mipi_camera: Change type for gpio_num to uint16_t gpio_num is used to indicate the GPIO which is taken from gpio_soc_defs.h file. Support for dynamic generation of ASL file for Camera was added for JSL when there were less than 256 GPIOs. ADL now has more GPIOs and therefore uint8_t is not enough any more Signed-off-by: Varshit B Pandya Change-Id: I0a5fdb612c8cf689d356af8591b9ad101360c25d Reviewed-on: https://review.coreboot.org/c/coreboot/+/55538 Reviewed-by: Subrata Banik Reviewed-by: Maulik V Vaghela Reviewed-by: Ronak Kanabar Reviewed-by: Werner Zeh Tested-by: build bot (Jenkins) --- src/drivers/intel/mipi_camera/chip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/drivers/intel/mipi_camera/chip.h b/src/drivers/intel/mipi_camera/chip.h index 7244efc321..c6ead1ffd6 100644 --- a/src/drivers/intel/mipi_camera/chip.h +++ b/src/drivers/intel/mipi_camera/chip.h @@ -117,7 +117,7 @@ struct clk_config { }; struct gpio_config { - uint8_t gpio_num; + uint16_t gpio_num; }; struct clock_ctrl_panel { -- cgit v1.2.3