summaryrefslogtreecommitdiff
path: root/src/drivers/intel/mipi_camera
diff options
context:
space:
mode:
authorVarshit B Pandya <varshit.b.pandya@intel.com>2021-06-15 20:26:45 +0530
committerPatrick Georgi <pgeorgi@google.com>2021-06-21 05:34:58 +0000
commit6a103907f166fc6659162942cc6745ac555c12de (patch)
tree8bd2bd625893df1df66186bea7e5310acbf71036 /src/drivers/intel/mipi_camera
parent50c099fe15d1f72efc3adb37dbca90e0685978e0 (diff)
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>
Diffstat (limited to 'src/drivers/intel/mipi_camera')
-rw-r--r--src/drivers/intel/mipi_camera/chip.h2
1 files changed, 1 insertions, 1 deletions
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 {