<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvidia-tegra-modules.git/include/linux/platform_data/pwm_fan.h, branch rtss22-ae</title>
<subtitle>NVIDIA's kernel modules to support tegra chips (used in Jetson boards)</subtitle>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/'/>
<entry>
<title>pwm: fan: Add support for always on fan</title>
<updated>2020-12-25T17:38:32+00:00</updated>
<author>
<name>Mantravadi Karthik</name>
<email>mkarthik@nvidia.com</email>
</author>
<published>2020-11-20T07:43:40+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=c3cd2b4417ea8767d35b4e04ba9731fb58a2a477'/>
<id>c3cd2b4417ea8767d35b4e04ba9731fb58a2a477</id>
<content type='text'>
Why?
In case of continuous governor, the fan-poweron pwm
value is assumed to be at index 1 of pwm values.
In case of tmargin the pwm table would be reversed
(high to low) and hence the assumption is invalid.

How?
While calculating the pwm value in the case of
continuous governor, add a check if the cooling device
is always on fan. If true, for all values of temp,
pwm should be calculated instead of assigning 0.

Bug 200646929

Change-Id: Ibed572fa2af9f8bd36a4a4cbb472029e21aeb442
Signed-off-by: Mantravadi Karthik &lt;mkarthik@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2448826
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Why?
In case of continuous governor, the fan-poweron pwm
value is assumed to be at index 1 of pwm values.
In case of tmargin the pwm table would be reversed
(high to low) and hence the assumption is invalid.

How?
While calculating the pwm value in the case of
continuous governor, add a check if the cooling device
is always on fan. If true, for all values of temp,
pwm should be calculated instead of assigning 0.

Bug 200646929

Change-Id: Ibed572fa2af9f8bd36a4a4cbb472029e21aeb442
Signed-off-by: Mantravadi Karthik &lt;mkarthik@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2448826
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
</pre>
</div>
</content>
</entry>
<entry>
<title>thermal: pwm_fan: Add platform data</title>
<updated>2018-07-19T10:58:05+00:00</updated>
<author>
<name>Anshul Jain</name>
<email>anshulj@nvidia.com</email>
</author>
<published>2012-12-01T00:41:54+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=dbdd954bffb6e7fdb594d3d40a8cd5818eac268d'/>
<id>dbdd954bffb6e7fdb594d3d40a8cd5818eac268d</id>
<content type='text'>
pwm_fan driver is moved to nvidia repo and platform data related
to it is pulled from below commits

Bug 200430924
Bug 1179033
Bug 1259204
Bug 1261177
Bug 1259488
Bug 1259204
Bug 1388303
Bug 1399542
Bug 1489876

Change based on below commits from linux-4.9
2c03205c thermal: pwm_fan: Add PWM controlled fan driver
e4443760 thermal: pwm_fan: Add sysfs node for state cap
2e2f0810 thermal: pwm_fan: Add support for look up table
f0e562bc thermal: pwm_fan: toggle gpio in suspend/resume
132ef9d7 arm:tegra:loki: update fan pwm period

Signed-off-by: Anshul Jain &lt;anshulj@nvidia.com&gt;
Change-Id: Ia6d99e22c8a32e8a98f7a54073397721c65f220f
Reviewed-on: https://git-master.nvidia.com/r/1780502
Reviewed-by: Ajay Nandakumar M &lt;anandakumarm@nvidia.com&gt;
Reviewed-by: Krishna Yarlagadda &lt;kyarlagadda@nvidia.com&gt;
Tested-by: Krishna Yarlagadda &lt;kyarlagadda@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: Ajay Nandakumar M &lt;anandakumarm@nvidia.com&gt;
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
pwm_fan driver is moved to nvidia repo and platform data related
to it is pulled from below commits

Bug 200430924
Bug 1179033
Bug 1259204
Bug 1261177
Bug 1259488
Bug 1259204
Bug 1388303
Bug 1399542
Bug 1489876

Change based on below commits from linux-4.9
2c03205c thermal: pwm_fan: Add PWM controlled fan driver
e4443760 thermal: pwm_fan: Add sysfs node for state cap
2e2f0810 thermal: pwm_fan: Add support for look up table
f0e562bc thermal: pwm_fan: toggle gpio in suspend/resume
132ef9d7 arm:tegra:loki: update fan pwm period

Signed-off-by: Anshul Jain &lt;anshulj@nvidia.com&gt;
Change-Id: Ia6d99e22c8a32e8a98f7a54073397721c65f220f
Reviewed-on: https://git-master.nvidia.com/r/1780502
Reviewed-by: Ajay Nandakumar M &lt;anandakumarm@nvidia.com&gt;
Reviewed-by: Krishna Yarlagadda &lt;kyarlagadda@nvidia.com&gt;
Tested-by: Krishna Yarlagadda &lt;kyarlagadda@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Tested-by: Ajay Nandakumar M &lt;anandakumarm@nvidia.com&gt;
Reviewed-by: Sachin Nikam &lt;snikam@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
