[coreboot-gerrit] Change in coreboot[master]: [WIP]intel/cannonlake_rvp: Enable I2C port

Lijian Zhao (Code Review) gerrit at coreboot.org
Tue Dec 12 01:16:43 CET 2017


Lijian Zhao has uploaded this change for review. ( https://review.coreboot.org/22812


Change subject: [WIP]intel/cannonlake_rvp: Enable I2C port
......................................................................

[WIP]intel/cannonlake_rvp: Enable I2C port

Enable I2C2 and I2C3 port for camera enable effort.

Change-Id: I2f4e220b760731a26450ef30c67e3cc00dd0d04c
Signed-off-by: Lijian Zhao <lijian.zhao at intel.com>
---
M src/mainboard/intel/cannonlake_rvp/variants/cnl_y/devicetree.cb
1 file changed, 16 insertions(+), 2 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/12/22812/1

diff --git a/src/mainboard/intel/cannonlake_rvp/variants/cnl_y/devicetree.cb b/src/mainboard/intel/cannonlake_rvp/variants/cnl_y/devicetree.cb
index ca46d36..e9dedcd 100644
--- a/src/mainboard/intel/cannonlake_rvp/variants/cnl_y/devicetree.cb
+++ b/src/mainboard/intel/cannonlake_rvp/variants/cnl_y/devicetree.cb
@@ -72,6 +72,20 @@
 	# GPIO for SD card detect
 	register "sdcard_cd_gpio" = "GPP_G5"
 
+	# I2C settings for Image Sensors
+	register "i2c[2]" = "{
+	.speed = I2C_SPEED_FAST,
+	.rise_time_ns = 104,
+	.fall_time_ns = 52,
+	}"
+
+	register "i2c[3]" = "{
+	.speed = I2C_SPEED_FAST,
+	.rise_time_ns = 104,
+	.fall_time_ns = 52,
+	}"
+
+	#
 	device domain 0 on
 		device pci 00.0 on  end # Host Bridge
 		device pci 02.0 on  end # Integrated Graphics Device
@@ -85,8 +99,8 @@
 		device pci 14.5 on  end # SDCard
 		device pci 15.0 on  end # I2C #0
 		device pci 15.1 on  end # I2C #1
-		device pci 15.2 off end # I2C #2
-		device pci 15.3 off end # I2C #3
+		device pci 15.2 on  end # I2C #2
+		device pci 15.3 on  end # I2C #3
 		device pci 16.0 on  end # Management Engine Interface 1
 		device pci 16.1 off end # Management Engine Interface 2
 		device pci 16.2 off end # Management Engine IDE-R

-- 
To view, visit https://review.coreboot.org/22812
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2f4e220b760731a26450ef30c67e3cc00dd0d04c
Gerrit-Change-Number: 22812
Gerrit-PatchSet: 1
Gerrit-Owner: Lijian Zhao <lijian.zhao at intel.com>
Gerrit-Reviewer: Bora Guvendik <bora.guvendik at intel.com>
Gerrit-Reviewer: Chiranjeevi Rapolu <chiranjeevi.rapolu at intel.com>
Gerrit-Reviewer: Pratikkumar V Prajapati <pratikkumar.v.prajapati at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20171212/8de2bf91/attachment.html>


More information about the coreboot-gerrit mailing list