<p>Arthur Heymans has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/28225">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">superio/ite/it8721f: Add resources<br><br>There is no public datasheet available for this SuperIO so the resources are<br>guessed by looking at other ITE SuperIO's and the register dumps while running<br>vendor firmware.<br><br>The only board with this SuperIO in the tree is the asus m5a88-v. Most of the<br>devicetree entries would have been invalid here so one should not worry too much<br>about regressions.<br><br>Tested with Foxconn d41s.<br><br>Change-Id: I6715c68b3aa9aebf6e292975cbf64ce905b30e8b<br>Signed-off-by: Arthur Heymans <arthur@aheymans.xyz><br>---<br>M src/superio/ite/it8721f/superio.c<br>1 file changed, 11 insertions(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/25/28225/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/superio/ite/it8721f/superio.c b/src/superio/ite/it8721f/superio.c</span><br><span>index 52a1456..cf3ca3f 100644</span><br><span>--- a/src/superio/ite/it8721f/superio.c</span><br><span>+++ b/src/superio/ite/it8721f/superio.c</span><br><span>@@ -54,12 +54,22 @@</span><br><span>     .ops_pnp_mode     = &pnp_conf_mode_870155_aa,</span><br><span> };</span><br><span> </span><br><span style="color: hsl(0, 100%, 40%);">-/* TODO: FDC, PP, EC, KBCM, IR. */</span><br><span style="color: hsl(120, 100%, 40%);">+/* Guessed */</span><br><span> static struct pnp_info pnp_dev_info[] = {</span><br><span style="color: hsl(120, 100%, 40%);">+     { NULL, IT8721F_FDC,  PNP_IO0 | PNP_IRQ0 | PNP_DRQ0</span><br><span style="color: hsl(120, 100%, 40%);">+     | PNP_MSC0 | PNP_MSC1, 0x0ff8, },</span><br><span>  { NULL, IT8721F_SP1,  PNP_IO0 | PNP_IRQ0, 0x07f8, },</span><br><span>         { NULL, IT8721F_SP2,  PNP_IO0 | PNP_IRQ0 | PNP_DRQ0 | PNP_DRQ1,</span><br><span>              0x07f8, },</span><br><span style="color: hsl(120, 100%, 40%);">+    { NULL, IT8721F_PP,   PNP_IO0 | PNP_IO1 | PNP_IRQ0 | PNP_DRQ0 | PNP_MSC0,</span><br><span style="color: hsl(120, 100%, 40%);">+       0x0ff8, 0x0ff8, },</span><br><span style="color: hsl(120, 100%, 40%);">+  { NULL, IT8721F_EC,   PNP_IO0 | PNP_IO1 | PNP_IRQ0</span><br><span style="color: hsl(120, 100%, 40%);">+      | PNP_MSC0 | PNP_MSC1 | PNP_MSC2 | PNP_MSC3</span><br><span style="color: hsl(120, 100%, 40%);">+   | PNP_MSC4 | PNP_MSC5 | PNP_MSC6,</span><br><span style="color: hsl(120, 100%, 40%);">+     0x0ff8, 0x0ff8, },</span><br><span>         { NULL, IT8721F_KBCK, PNP_IO0 | PNP_IO1 | PNP_IRQ0, 0x07f8, 0x07f8, },</span><br><span style="color: hsl(120, 100%, 40%);">+        { NULL, IT8721F_KBCM, PNP_IRQ0 | PNP_MSC0, },</span><br><span style="color: hsl(120, 100%, 40%);">+ { NULL, IT8721F_IR, },</span><br><span> };</span><br><span> </span><br><span> static void enable_dev(struct device *dev)</span><br><span></span><br></pre><p>To view, visit <a href="https://review.coreboot.org/28225">change 28225</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/28225"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I6715c68b3aa9aebf6e292975cbf64ce905b30e8b </div>
<div style="display:none"> Gerrit-Change-Number: 28225 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Arthur Heymans <arthur@aheymans.xyz> </div>