<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvidia-tegra-modules.git/Documentation/devicetree/bindings/misc, branch gpu-paging</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>therm-fan-est: Add support for Tmargin to drive fan</title>
<updated>2020-09-15T15:39:29+00:00</updated>
<author>
<name>mkarthik</name>
<email>mkarthik@nvidia.com</email>
</author>
<published>2020-06-17T12:01:11+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=f9d1658833bbd2dfd5b24bb8cfff4da88db658ce'/>
<id>f9d1658833bbd2dfd5b24bb8cfff4da88db658ce</id>
<content type='text'>
Why?
Tmargin method of fan control allows multiple groups of
therma-fan-est devices temperatures to be considered for
the fan control algorithm/fan curve. The limitation of the
existing max temp algorithm in therm-fan-est driver is that
devices with different fan curves cannot be accomodated in
the driver. In case, there are multple fan curves, the device
which has the steepest curve wins the algoritm. Hence, taking
the temperatures as a reference from their respective critical
temperatures and using that value to drive the fan will help in
accomodating both the devices' fan curves.

How?
* Calculate the effective crit temp of all the thermal zones
  during probe.
* In the polling cycles, calculate the effective temperatures
  of the individual groups and use the tmargin formula to
  calculate the current temperature.
* Since the Tmargin temp trip values are in reverse order, we
  need to use the reverse order in the pwm-fan dt profile.
* The hysterysis is subtracted from the temp in cooling scenario
  to avoid frequent switching at trip temps. Since the tmargin
  trip values are taken in the decending order, hysterysis temps
  in dt should be given as negative values.

Bug 200627962

Change-Id: Ideba4bfdb3d3306d1b4aff15093bcfac13d7bb86
Signed-off-by: Mantravadi Karthik &lt;mkarthik@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2362354
Reviewed-by: automaticguardword &lt;automaticguardword@nvidia.com&gt;
Reviewed-by: Rajkumar Kasirajan &lt;rkasirajan@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: Rajkumar Kasirajan &lt;rkasirajan@nvidia.com&gt;
Tested-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?
Tmargin method of fan control allows multiple groups of
therma-fan-est devices temperatures to be considered for
the fan control algorithm/fan curve. The limitation of the
existing max temp algorithm in therm-fan-est driver is that
devices with different fan curves cannot be accomodated in
the driver. In case, there are multple fan curves, the device
which has the steepest curve wins the algoritm. Hence, taking
the temperatures as a reference from their respective critical
temperatures and using that value to drive the fan will help in
accomodating both the devices' fan curves.

How?
* Calculate the effective crit temp of all the thermal zones
  during probe.
* In the polling cycles, calculate the effective temperatures
  of the individual groups and use the tmargin formula to
  calculate the current temperature.
* Since the Tmargin temp trip values are in reverse order, we
  need to use the reverse order in the pwm-fan dt profile.
* The hysterysis is subtracted from the temp in cooling scenario
  to avoid frequent switching at trip temps. Since the tmargin
  trip values are taken in the decending order, hysterysis temps
  in dt should be given as negative values.

Bug 200627962

Change-Id: Ideba4bfdb3d3306d1b4aff15093bcfac13d7bb86
Signed-off-by: Mantravadi Karthik &lt;mkarthik@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2362354
Reviewed-by: automaticguardword &lt;automaticguardword@nvidia.com&gt;
Reviewed-by: Rajkumar Kasirajan &lt;rkasirajan@nvidia.com&gt;
Reviewed-by: Bibek Basu &lt;bbasu@nvidia.com&gt;
Reviewed-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
Tested-by: Rajkumar Kasirajan &lt;rkasirajan@nvidia.com&gt;
Tested-by: mobile promotions &lt;svcmobile_promotions@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
</pre>
</div>
</content>
</entry>
<entry>
<title>dt-bindings: misc: add binding doc for nct1008</title>
<updated>2018-05-18T23:30:37+00:00</updated>
<author>
<name>Srikar Srimath Tirumala</name>
<email>srikars@nvidia.com</email>
</author>
<published>2018-03-23T17:27:00+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=3cad1304a9e0fa960c90a65d3a27a5540b9a2b8a'/>
<id>3cad1304a9e0fa960c90a65d3a27a5540b9a2b8a</id>
<content type='text'>
Bug 200278110

Change-Id: Ibde2659af4f35a6f4ad5cb4acd13150f87054b37
Signed-off-by: Srikar Srimath Tirumala &lt;srikars@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1681187
Reviewed-by: Sreenivasulu Velpula &lt;svelpula@nvidia.com&gt;
Reviewed-by: Hoang Pham &lt;hopham@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug 200278110

Change-Id: Ibde2659af4f35a6f4ad5cb4acd13150f87054b37
Signed-off-by: Srikar Srimath Tirumala &lt;srikars@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1681187
Reviewed-by: Sreenivasulu Velpula &lt;svelpula@nvidia.com&gt;
Reviewed-by: Hoang Pham &lt;hopham@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tegra: therm_est: support multiple sets of coefficients</title>
<updated>2017-08-15T01:38:52+00:00</updated>
<author>
<name>Hyungwoo Yang</name>
<email>hyungwooy@nvidia.com</email>
</author>
<published>2014-11-25T23:08: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=dd6e683e308d39fc697cd58e854fdcd13100e57c'/>
<id>dd6e683e308d39fc697cd58e854fdcd13100e57c</id>
<content type='text'>
Edit original commit to use 'thermal_zone_of_device_ops'.

enable multlple sets of coefficients.

Bug 1582735

(cherry-picked from commit If0c31037fdf1d8004c9ee241e0387ceef1bb022f)
Signed-off-by: Hyungwoo Yang &lt;hyungwooy@nvidia.com&gt;
Reviewed-on: http://git-master/r/655573

Change-Id: If8ec11e80238f70227d473891076a04a8cd1301d
Signed-off-by: Srikar Srimath Tirumala &lt;srikars@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Edit original commit to use 'thermal_zone_of_device_ops'.

enable multlple sets of coefficients.

Bug 1582735

(cherry-picked from commit If0c31037fdf1d8004c9ee241e0387ceef1bb022f)
Signed-off-by: Hyungwoo Yang &lt;hyungwooy@nvidia.com&gt;
Reviewed-on: http://git-master/r/655573

Change-Id: If8ec11e80238f70227d473891076a04a8cd1301d
Signed-off-by: Srikar Srimath Tirumala &lt;srikars@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tegra: therm-est: Clean up therm-est driver code</title>
<updated>2017-08-15T01:38:52+00:00</updated>
<author>
<name>Arun Kumar Swain</name>
<email>arswain@nvidia.com</email>
</author>
<published>2014-08-15T03:33:35+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=d245193c9edf6bf364b9656b852f972d1a238887'/>
<id>d245193c9edf6bf364b9656b852f972d1a238887</id>
<content type='text'>
Edit original commit to use 'thermal_zone_of_device_ops'.

Remove unnecessary code from therm-est driver
implementation.
1.Unused variables in therm-est after DT
implementation are removed.
2.Code segments related to timer trip info are
removed since it is not being used anymore.

Update device tree documentation for therm_est
binding.

(cherry-picked from commit I5f421f01b25c72d02e833075f1d1419989d28741)
Signed-off-by: Arun Kumar Swain &lt;arswain@nvidia.com&gt;
Reviewed-on: http://git-master/r/456999

Change-Id: I06e8ace4466d1d0a91f8bdf2d6c559b7abde6eb1
Signed-off-by: Srikar Srimath Tirumala &lt;srikars@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Edit original commit to use 'thermal_zone_of_device_ops'.

Remove unnecessary code from therm-est driver
implementation.
1.Unused variables in therm-est after DT
implementation are removed.
2.Code segments related to timer trip info are
removed since it is not being used anymore.

Update device tree documentation for therm_est
binding.

(cherry-picked from commit I5f421f01b25c72d02e833075f1d1419989d28741)
Signed-off-by: Arun Kumar Swain &lt;arswain@nvidia.com&gt;
Reviewed-on: http://git-master/r/456999

Change-Id: I06e8ace4466d1d0a91f8bdf2d6c559b7abde6eb1
Signed-off-by: Srikar Srimath Tirumala &lt;srikars@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tegra: therm-est: DT support for therm-est driver</title>
<updated>2017-08-15T01:38:52+00:00</updated>
<author>
<name>Arun Kumar Swain</name>
<email>arswain@nvidia.com</email>
</author>
<published>2014-08-08T22:51:32+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=270b01fc2d93d977cc3befe199a08900d1449ec8'/>
<id>270b01fc2d93d977cc3befe199a08900d1449ec8</id>
<content type='text'>
Edit original commit to use 'thermal_zone_of_device_ops'.

1.Read platform data for therm_est driver from
device tree.
2.Remove zone registration inside the probe
function of this driver since zones will be
registered separately using upstream method.
3.Register this sensor to the thermal framework
using upstream method.

Bug 200014181

(cherry-picked from commit I7f8e3498782ebad6599c7e90a674eb1d1a219b70)
Signed-off-by: Arun Kumar Swain &lt;arswain@nvidia.com&gt;
Reviewed-on: http://git-master/r/454659

Change-Id: I1c9ee6a1fed84e7173c82ed9ea44aa8677beeb2e
Signed-off-by: Srikar Srimath Tirumala &lt;srikars@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Edit original commit to use 'thermal_zone_of_device_ops'.

1.Read platform data for therm_est driver from
device tree.
2.Remove zone registration inside the probe
function of this driver since zones will be
registered separately using upstream method.
3.Register this sensor to the thermal framework
using upstream method.

Bug 200014181

(cherry-picked from commit I7f8e3498782ebad6599c7e90a674eb1d1a219b70)
Signed-off-by: Arun Kumar Swain &lt;arswain@nvidia.com&gt;
Reviewed-on: http://git-master/r/454659

Change-Id: I1c9ee6a1fed84e7173c82ed9ea44aa8677beeb2e
Signed-off-by: Srikar Srimath Tirumala &lt;srikars@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>nvs-aonsh: Enable CONFIG_NVS_AON_SHUB config and makefile</title>
<updated>2017-07-31T06:11:43+00:00</updated>
<author>
<name>Robert Collins</name>
<email>rcollins@nvidia.com</email>
</author>
<published>2017-07-27T21:17:31+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=c799fd5dd61ca82a66f3bfd92168d0178f7f6a33'/>
<id>c799fd5dd61ca82a66f3bfd92168d0178f7f6a33</id>
<content type='text'>
Config: CONFIG_NVS_AON_SHUB
Driver: nvs_aon_shub.c
Location: drivers/misc/nvs-aonsh, Documentation/devicetree/bindings

Bug 200325774

Signed-off-by: Robert Collins &lt;rcollins@nvidia.com&gt;
Change-Id: If30397dc9bfdcd2bf2e6c5657597ef3b4d1c2a36
Reviewed-on: https://git-master.nvidia.com/r/1528249
GVS: Gerrit_Virtual_Submit
Reviewed-by: Akhilesh Khumbum &lt;akhumbum@nvidia.com&gt;
Reviewed-by: Erik Lilliebjerg &lt;elilliebjerg@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Config: CONFIG_NVS_AON_SHUB
Driver: nvs_aon_shub.c
Location: drivers/misc/nvs-aonsh, Documentation/devicetree/bindings

Bug 200325774

Signed-off-by: Robert Collins &lt;rcollins@nvidia.com&gt;
Change-Id: If30397dc9bfdcd2bf2e6c5657597ef3b4d1c2a36
Reviewed-on: https://git-master.nvidia.com/r/1528249
GVS: Gerrit_Virtual_Submit
Reviewed-by: Akhilesh Khumbum &lt;akhumbum@nvidia.com&gt;
Reviewed-by: Erik Lilliebjerg &lt;elilliebjerg@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>devicetree:  Move device tree bindings to correct destination folder</title>
<updated>2017-07-27T00:48:50+00:00</updated>
<author>
<name>Robert Collins</name>
<email>rcollins@nvidia.com</email>
</author>
<published>2017-07-18T17:14:49+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=7ba27b664d4e25d8ee9f0a8674fdd29e14df0254'/>
<id>7ba27b664d4e25d8ee9f0a8674fdd29e14df0254</id>
<content type='text'>
Config: Device tree bindings
Driver: ALL
Location: Documentation/devicetree/bindings

Bug 200325774

Change-Id: I8f991e042466bf133b40d6d9bab9ed0d77e52c86
Signed-off-by: Robert Collins &lt;rcollins@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1522449
GVS: Gerrit_Virtual_Submit
Reviewed-by: Erik Lilliebjerg &lt;elilliebjerg@nvidia.com&gt;
Reviewed-by: Akhilesh Khumbum &lt;akhumbum@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Config: Device tree bindings
Driver: ALL
Location: Documentation/devicetree/bindings

Bug 200325774

Change-Id: I8f991e042466bf133b40d6d9bab9ed0d77e52c86
Signed-off-by: Robert Collins &lt;rcollins@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1522449
GVS: Gerrit_Virtual_Submit
Reviewed-by: Erik Lilliebjerg &lt;elilliebjerg@nvidia.com&gt;
Reviewed-by: Akhilesh Khumbum &lt;akhumbum@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
