<p>Evgeny Zinoviev <strong>uploaded patch set #3</strong> to this change.</p><p><a href="https://review.coreboot.org/28392">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mb/lenovo: dGPU power handling on T430, T530<br><br>Enable dGPU power handling on Lenovo ThinkPad T430, T530 via PMH7<br>register 0x50.<br><br>Although there's no Thinker-1 chip on these models according to<br>schematics, dGPU power control via PMH7 works the same as on T420/T520,<br>so they can be considered Thinker-1-compatible.<br><br>It can be tested from linux userspace using util/pmh7tool.<br><br>To turn dGPU power off:<br>  pmh7tool -c 0x50 7<br>  pmh7tool -c 0x50 3<br><br>To turn it on:<br>  pmh7tool -s 0x50 3<br>  pmh7tool -s 0x50 7<br><br>To check whether it is on (bash):<br>  reg=0x$(pmh7tool -r 0x50)<br>  echo "$(( (( reg & 0x08 )) >> 3 ))"<br>or just `pmh7tool -b 0x50 3` with<br>https://review.coreboot.org/#/c/coreboot/+/28388/<br><br>Tested on ThinkPad W530.<br><br>Change-Id: Ieab1a33b3c680c757cc0999660b5cb7e122474cc<br>Signed-off-by: Evgeny Zinoviev <me@ch1p.com><br>---<br>M src/mainboard/lenovo/t430/devicetree.cb<br>M src/mainboard/lenovo/t530/variants/t530/devicetree.cb<br>M src/mainboard/lenovo/t530/variants/w530/devicetree.cb<br>3 files changed, 3 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/92/28392/3</pre><p>To view, visit <a href="https://review.coreboot.org/28392">change 28392</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/28392"/><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: newpatchset </div>
<div style="display:none"> Gerrit-Change-Id: Ieab1a33b3c680c757cc0999660b5cb7e122474cc </div>
<div style="display:none"> Gerrit-Change-Number: 28392 </div>
<div style="display:none"> Gerrit-PatchSet: 3 </div>
<div style="display:none"> Gerrit-Owner: Evgeny Zinoviev <me@ch1p.com> </div>
<div style="display:none"> Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org> </div>