mb/google/brya: Update camera NVM parameters
Change HID name from INT3499 to PRP0001 along with size and
address width. Size decreased from 10K to 2K, address width
decreased from 14 to 8.
BUG=b:203014972
Test= Boot board and issue commands:
`cat /sys/bus/i2c/devices/i2c-PRP0001:02/eeprom >
./brya_imx208_eeprom.bin`
`hexdump -C brya_imx208_eeprom.bin > brya_imx208_eeprom_dump.log`
You should see the result in brya_imx208_eeprom_dump.log to be
same as module nvm file by vendor provided or meet the Intel nvm
calibration format.
(e.g. first 4 bytes be 0x01, 0x03, 0x01, 0x00)
Signed-off-by: Bernardo Perez Priego <bernardo.perez.priego@intel.com>
Change-Id: Ib2366ba4c8bb70d8cc82e64ca585b118a96260c0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/58374
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
This commit is contained in:
parent
2f236c232d
commit
0f42e5e8f1
1 changed files with 4 additions and 3 deletions
|
|
@ -522,18 +522,19 @@ chip soc/intel/alderlake
|
|||
end
|
||||
end
|
||||
chip drivers/intel/mipi_camera
|
||||
register "acpi_hid" = ""INT3499""
|
||||
register "acpi_hid" = ""ACPI_DT_NAMESPACE_HID""
|
||||
register "acpi_uid" = "1"
|
||||
register "acpi_name" = ""NVM1""
|
||||
register "chip_name" = ""GT24C16S""
|
||||
register "device_type" = "INTEL_ACPI_CAMERA_NVM"
|
||||
|
||||
register "pr0" = ""\\_SB.PCI0.I2C2.CAM1.PRIC""
|
||||
register "nvm_compat" = ""atmel,24c1024""
|
||||
|
||||
register "nvm_size" = "0x2800"
|
||||
register "nvm_size" = "0x800"
|
||||
register "nvm_pagesize" = "0x01"
|
||||
register "nvm_readonly" = "0x01"
|
||||
register "nvm_width" = "0x0E"
|
||||
register "nvm_width" = "0x08"
|
||||
|
||||
device i2c 50 on
|
||||
probe UFC UFC_MIPI_IMX208
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue