<p>Patrick Rudolph has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/20984">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mb/lenovo/*/devicetree: Add support for WWAN detection<br><br>Add support for WWAN detection on SNB/IVB boards.<br><br>Change-Id: Ie96b2593971d49703eb747ab19f512be890d9c12<br>Signed-off-by: Patrick Rudolph <siro@das-labor.org><br>---<br>M src/mainboard/lenovo/t420/devicetree.cb<br>M src/mainboard/lenovo/t420s/devicetree.cb<br>M src/mainboard/lenovo/t430/devicetree.cb<br>M src/mainboard/lenovo/t430s/devicetree.cb<br>M src/mainboard/lenovo/t520/devicetree.cb<br>M src/mainboard/lenovo/t530/devicetree.cb<br>M src/mainboard/lenovo/x1_carbon_gen1/devicetree.cb<br>M src/mainboard/lenovo/x220/devicetree.cb<br>M src/mainboard/lenovo/x230/devicetree.cb<br>9 files changed, 36 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/84/20984/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/mainboard/lenovo/t420/devicetree.cb b/src/mainboard/lenovo/t420/devicetree.cb<br>index bed406a..5981100 100644<br>--- a/src/mainboard/lenovo/t420/devicetree.cb<br>+++ b/src/mainboard/lenovo/t420/devicetree.cb<br>@@ -162,6 +162,10 @@<br>                                         register "has_bdc_detection" = "1"<br>                                        register "bdc_gpio_num" = "54"<br>                                    register "bdc_gpio_lvl" = "0"<br>+<br>+                                 register "has_wwan_detection" = "1"<br>+                                      register "wwan_gpio_num" = "70"<br>+                                  register "wwan_gpio_lvl" = "0"<br>                            end<br>                           chip drivers/lenovo/hybrid_graphics<br>                                   device pnp ff.f on end # dummy<br>diff --git a/src/mainboard/lenovo/t420s/devicetree.cb b/src/mainboard/lenovo/t420s/devicetree.cb<br>index a090308..7101e61 100644<br>--- a/src/mainboard/lenovo/t420s/devicetree.cb<br>+++ b/src/mainboard/lenovo/t420s/devicetree.cb<br>@@ -154,6 +154,10 @@<br>                                         register "has_bdc_detection" = "1"<br>                                        register "bdc_gpio_num" = "54"<br>                                    register "bdc_gpio_lvl" = "0"<br>+<br>+                                 register "has_wwan_detection" = "1"<br>+                                      register "wwan_gpio_num" = "70"<br>+                                  register "wwan_gpio_lvl" = "0"<br>                            end<br>                           chip drivers/lenovo/hybrid_graphics<br>                                   device pnp ff.f on end # dummy<br>diff --git a/src/mainboard/lenovo/t430/devicetree.cb b/src/mainboard/lenovo/t430/devicetree.cb<br>index aa2f4fe..62fdfd9 100644<br>--- a/src/mainboard/lenovo/t430/devicetree.cb<br>+++ b/src/mainboard/lenovo/t430/devicetree.cb<br>@@ -150,6 +150,10 @@<br>                                     register "has_bdc_detection" = "1"<br>                                        register "bdc_gpio_num" = "54"<br>                                    register "bdc_gpio_lvl" = "0"<br>+<br>+                                 register "has_wwan_detection" = "1"<br>+                                      register "wwan_gpio_num" = "70"<br>+                                  register "wwan_gpio_lvl" = "0"<br>                            end<br>                           chip drivers/lenovo/hybrid_graphics<br>                                   device pnp ff.f on end # dummy<br>diff --git a/src/mainboard/lenovo/t430s/devicetree.cb b/src/mainboard/lenovo/t430s/devicetree.cb<br>index b14d60c..b791f8d 100644<br>--- a/src/mainboard/lenovo/t430s/devicetree.cb<br>+++ b/src/mainboard/lenovo/t430s/devicetree.cb<br>@@ -158,6 +158,10 @@<br>                                         register "has_bdc_detection" = "1"<br>                                        register "bdc_gpio_num" = "54"<br>                                    register "bdc_gpio_lvl" = "0"<br>+<br>+                                 register "has_wwan_detection" = "1"<br>+                                      register "wwan_gpio_num" = "70"<br>+                                  register "wwan_gpio_lvl" = "0"<br>                            end<br>                   end # LPC Controller<br>                  device pci 1f.2 on<br>diff --git a/src/mainboard/lenovo/t520/devicetree.cb b/src/mainboard/lenovo/t520/devicetree.cb<br>index f03b87e..7c9f16d 100644<br>--- a/src/mainboard/lenovo/t520/devicetree.cb<br>+++ b/src/mainboard/lenovo/t520/devicetree.cb<br>@@ -133,6 +133,10 @@<br>                                         register "has_bdc_detection" = "1"<br>                                        register "bdc_gpio_num" = "54"<br>                                    register "bdc_gpio_lvl" = "0"<br>+<br>+                                 register "has_wwan_detection" = "1"<br>+                                      register "wwan_gpio_num" = "70"<br>+                                  register "wwan_gpio_lvl" = "0"<br>                            end<br>                           chip drivers/lenovo/hybrid_graphics<br>                                   device pnp ff.f on end # dummy<br>diff --git a/src/mainboard/lenovo/t530/devicetree.cb b/src/mainboard/lenovo/t530/devicetree.cb<br>index a28c177..70e0a6e 100644<br>--- a/src/mainboard/lenovo/t530/devicetree.cb<br>+++ b/src/mainboard/lenovo/t530/devicetree.cb<br>@@ -140,6 +140,10 @@<br>                                     register "has_bdc_detection" = "1"<br>                                        register "bdc_gpio_num" = "54"<br>                                    register "bdc_gpio_lvl" = "0"<br>+<br>+                                 register "has_wwan_detection" = "1"<br>+                                      register "wwan_gpio_num" = "70"<br>+                                  register "wwan_gpio_lvl" = "0"<br>                            end<br>                           chip drivers/lenovo/hybrid_graphics<br>                                   device pnp ff.f on end # dummy<br>diff --git a/src/mainboard/lenovo/x1_carbon_gen1/devicetree.cb b/src/mainboard/lenovo/x1_carbon_gen1/devicetree.cb<br>index cb2d8f3..98ec939 100644<br>--- a/src/mainboard/lenovo/x1_carbon_gen1/devicetree.cb<br>+++ b/src/mainboard/lenovo/x1_carbon_gen1/devicetree.cb<br>@@ -159,6 +159,10 @@<br>                                     register "has_bdc_detection" = "1"<br>                                        register "bdc_gpio_num" = "54"<br>                                    register "bdc_gpio_lvl" = "0"<br>+<br>+                                 register "has_wwan_detection" = "1"<br>+                                      register "wwan_gpio_num" = "70"<br>+                                  register "wwan_gpio_lvl" = "0"<br>                            end<br>                   end # LPC bridge<br>                      device pci 1f.2 on<br>diff --git a/src/mainboard/lenovo/x220/devicetree.cb b/src/mainboard/lenovo/x220/devicetree.cb<br>index 1332cd8..a972375 100644<br>--- a/src/mainboard/lenovo/x220/devicetree.cb<br>+++ b/src/mainboard/lenovo/x220/devicetree.cb<br>@@ -168,6 +168,10 @@<br>                                         register "has_bdc_detection" = "1"<br>                                        register "bdc_gpio_num" = "54"<br>                                    register "bdc_gpio_lvl" = "0"<br>+<br>+                                 register "has_wwan_detection" = "1"<br>+                                      register "wwan_gpio_num" = "70"<br>+                                  register "wwan_gpio_lvl" = "0"<br>                            end<br>                   end # LPC bridge<br>                      device pci 1f.2 on<br>diff --git a/src/mainboard/lenovo/x230/devicetree.cb b/src/mainboard/lenovo/x230/devicetree.cb<br>index d7f5647..814fd7c 100644<br>--- a/src/mainboard/lenovo/x230/devicetree.cb<br>+++ b/src/mainboard/lenovo/x230/devicetree.cb<br>@@ -170,6 +170,10 @@<br>                                         register "has_bdc_detection" = "1"<br>                                        register "bdc_gpio_num" = "54"<br>                                    register "bdc_gpio_lvl" = "0"<br>+<br>+                                 register "has_wwan_detection" = "1"<br>+                                      register "wwan_gpio_num" = "70"<br>+                                  register "wwan_gpio_lvl" = "0"<br>                            end<br>                   end # LPC bridge<br>                      device pci 1f.2 on<br></pre><p>To view, visit <a href="https://review.coreboot.org/20984">change 20984</a>. To unsubscribe, 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/20984"/><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: Ie96b2593971d49703eb747ab19f512be890d9c12 </div>
<div style="display:none"> Gerrit-Change-Number: 20984 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Patrick Rudolph <siro@das-labor.org> </div>