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 <varshit.b.pandya@intel.com>
Change-Id: I0a5fdb612c8cf689d356af8591b9ad101360c25d
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55538
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-by: Maulik V Vaghela <maulik.v.vaghela@intel.com>
Reviewed-by: Ronak Kanabar <ronak.kanabar@intel.com>
Reviewed-by: Werner Zeh <werner.zeh@siemens.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Varshit B Pandya 2021-06-15 20:26:45 +05:30 committed by Patrick Georgi
parent 50c099fe15
commit 6a103907f1
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ struct clk_config {
};
struct gpio_config {
uint8_t gpio_num;
uint16_t gpio_num;
};
struct clock_ctrl_panel {