[coreboot-gerrit] Change in coreboot[master]: mainboard/google/poppy/variants/rammus: Enable DA7219

Marx Wang (Code Review) gerrit at coreboot.org
Fri Sep 7 07:44:12 CEST 2018


Marx Wang has uploaded this change for review. ( https://review.coreboot.org/28537


Change subject: mainboard/google/poppy/variants/rammus: Enable DA7219
......................................................................

mainboard/google/poppy/variants/rammus: Enable DA7219

On rammus, headset uses DA7219 so that we need to enable it.

TEST=to check in kernel to see if DA7219 is up.

Change-Id: I92dd412374d007aab264661e698fbbbbcf1eae45
---
M src/mainboard/google/poppy/variants/rammus/devicetree.cb
1 file changed, 17 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/37/28537/1

diff --git a/src/mainboard/google/poppy/variants/rammus/devicetree.cb b/src/mainboard/google/poppy/variants/rammus/devicetree.cb
index 0e8ce4d..21e96a3 100644
--- a/src/mainboard/google/poppy/variants/rammus/devicetree.cb
+++ b/src/mainboard/google/poppy/variants/rammus/devicetree.cb
@@ -292,6 +292,23 @@
 				register "name" = ""MAXL""
 				device i2c 3A on end
 			end
+                        chip drivers/i2c/da7219
+                                register "irq" = "ACPI_IRQ_LEVEL_LOW(GPP_D9_IRQ)"
+                                register "btn_cfg" = "50"
+                                register "mic_det_thr" = "500"
+                                register "jack_ins_deb" = "20"
+                                register "jack_det_rate" = ""32ms_64ms""
+                                register "jack_rem_deb" = "1"
+                                register "a_d_btn_thr" = "0xa"
+                                register "d_b_btn_thr" = "0x16"
+                                register "b_c_btn_thr" = "0x21"
+                                register "c_mic_btn_thr" = "0x3e"
+                                register "btn_avg" = "4"
+                                register "adc_1bit_rpt" = "1"
+                                register "micbias_lvl" = "2600"
+                                register "mic_amp_in_sel" = ""diff""
+                                device i2c 1A on end
+                        end
 		end # I2C #5
 		device pci 19.2 off end # I2C #4
 		device pci 1c.0 on

-- 
To view, visit https://review.coreboot.org/28537
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: I92dd412374d007aab264661e698fbbbbcf1eae45
Gerrit-Change-Number: 28537
Gerrit-PatchSet: 1
Gerrit-Owner: Marx Wang <marx.wang at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180907/d70b0e3f/attachment.html>


More information about the coreboot-gerrit mailing list