[coreboot-gerrit] Change in coreboot[master]: mb/google/nautilus: Camera module NVM enabling

AlanX Chiang (Code Review) gerrit at coreboot.org
Tue Jul 17 11:15:30 CEST 2018


AlanX Chiang has uploaded this change for review. ( https://review.coreboot.org/27508


Change subject: mb/google/nautilus: Camera module NVM enabling
......................................................................

mb/google/nautilus: Camera module NVM enabling

To enable NVM function for DW9807

BUG:b:110815821
TEST=Testing on Nautilus board

Change-Id: Ib83fa1a522402a59566e3f55fa5c1af4490266e4
Signed-off-by: Alan Chiang <alanx.chiang at intel.com>
---
M src/mainboard/google/poppy/variants/nautilus/include/variant/acpi/cam0.asl
1 file changed, 35 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/08/27508/1

diff --git a/src/mainboard/google/poppy/variants/nautilus/include/variant/acpi/cam0.asl b/src/mainboard/google/poppy/variants/nautilus/include/variant/acpi/cam0.asl
index 2992874..d1ebf94 100644
--- a/src/mainboard/google/poppy/variants/nautilus/include/variant/acpi/cam0.asl
+++ b/src/mainboard/google/poppy/variants/nautilus/include/variant/acpi/cam0.asl
@@ -134,4 +134,39 @@
 		Name (_PR0, Package () { ^PMIC.VCMP })
 		Name (_PR3, Package () { ^PMIC.VCMP })
 	}
+
+	Device (NVM0)
+        {
+                Name (_HID, "INT3499")  /* _HID: Hardware ID */
+                Name (_UID, Zero)  /* _UID: Unique ID */
+                Name (_DDN, "Dongwoon NVM")  /* _DDN: DOS Device Name */
+
+                Method (_STA, 0, NotSerialized)  /* _STA: Status */
+                {
+                        Return (0x0F)
+                }
+
+                Name (_DEP, Package() { \_SB.PCI0.I2C2.PMIC })
+                Name (_CRS, ResourceTemplate ()
+                {
+                        I2cSerialBus (0x0058, ControllerInitiated, 0x00061A80,
+                                AddressingMode7Bit, "\\_SB.PCI0.I2C2",
+                                0x00, ResourceConsumer, ,)
+                })
+
+                Name (_PR0, Package () { ^PMIC.VCMP })
+                Name (_PR3, Package () { ^PMIC.VCMP })
+
+                Name (_DSD, Package ()
+                {
+                        ToUUID ("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
+                        Package () {
+                                Package () { "compatible", "dongwoon,dw9807-nvm" },
+                                Package () { "size", 8192 },
+                                Package () { "pagesize", 1 },
+                                Package () { "read-only", 1 },
+                                Package () { "address-width", 16 },
+                        }
+                })
+        }
 }

-- 
To view, visit https://review.coreboot.org/27508
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib83fa1a522402a59566e3f55fa5c1af4490266e4
Gerrit-Change-Number: 27508
Gerrit-PatchSet: 1
Gerrit-Owner: AlanX Chiang <alanx.chiang at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180717/9e64ece4/attachment.html>


More information about the coreboot-gerrit mailing list