<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvidia-tegra-modules.git/include/linux/tegra_prod.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>platform: tegra: APIs to set prod based on name/index/offset/mask</title>
<updated>2018-07-04T17:03:10+00:00</updated>
<author>
<name>Laxman Dewangan</name>
<email>ldewangan@nvidia.com</email>
</author>
<published>2016-09-14T12:45:01+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=6a1e236d35ba680e9e5b6119b5cee873d5f82234'/>
<id>6a1e236d35ba680e9e5b6119b5cee873d5f82234</id>
<content type='text'>
Add prod APIs to set the prod value based on name, index,
offset and mask matches. This helps in client to set the
prod setting partially based on their initialisation
sequence.

bug 1807581

Change-Id: I83e5d5499da7685548702ab0692db59ff3ae3b6f
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-on: http://git-master/r/1220784
Reviewed-on: https://git-master.nvidia.com/r/1768542
Tested-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>
Add prod APIs to set the prod value based on name, index,
offset and mask matches. This helps in client to set the
prod setting partially based on their initialisation
sequence.

bug 1807581

Change-Id: I83e5d5499da7685548702ab0692db59ff3ae3b6f
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-on: http://git-master/r/1220784
Reviewed-on: https://git-master.nvidia.com/r/1768542
Tested-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>
<entry>
<title>platform: tegra: Add support to find prod setting</title>
<updated>2018-07-04T17:03:07+00:00</updated>
<author>
<name>Laxman Dewangan</name>
<email>ldewangan@nvidia.com</email>
</author>
<published>2016-07-12T10:11:22+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=0eef90aef2aa88b7ec830327e7eb7e3b25bdb170'/>
<id>0eef90aef2aa88b7ec830327e7eb7e3b25bdb170</id>
<content type='text'>
Sometime it is required to find that given prod names are
supported on platform or not before call for setup.
Add APIs to find whether prod name is supported or not on
given platform.

bug 200215286

Change-Id: Ife24d2480203ea8aacc5591accabb75d9b1b3060
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-on: http://git-master/r/1179153
Reviewed-on: https://git-master.nvidia.com/r/1768541
Tested-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>
Sometime it is required to find that given prod names are
supported on platform or not before call for setup.
Add APIs to find whether prod name is supported or not on
given platform.

bug 200215286

Change-Id: Ife24d2480203ea8aacc5591accabb75d9b1b3060
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-on: http://git-master/r/1179153
Reviewed-on: https://git-master.nvidia.com/r/1768541
Tested-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>
<entry>
<title>platform: tegra_prod: use devm_ for allocation</title>
<updated>2018-07-04T17:03:00+00:00</updated>
<author>
<name>Laxman Dewangan</name>
<email>ldewangan@nvidia.com</email>
</author>
<published>2016-07-05T11:39:25+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=fe7c54716d73924bfb156fc6412b7903ab1ab6e9'/>
<id>fe7c54716d73924bfb156fc6412b7903ab1ab6e9</id>
<content type='text'>
Use devm_* APIs for memory allocation and remove the unused
APIs from public header.

Change-Id: I32b453aed3fb1012e95908740ee294c896505a30
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-on: http://git-master/r/1175640
Reviewed-on: https://git-master.nvidia.com/r/1768539
Tested-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>
Use devm_* APIs for memory allocation and remove the unused
APIs from public header.

Change-Id: I32b453aed3fb1012e95908740ee294c896505a30
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-on: http://git-master/r/1175640
Reviewed-on: https://git-master.nvidia.com/r/1768539
Tested-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>
<entry>
<title>platform: tegra_prod: Add devm_tegra_prod_get_from_node()</title>
<updated>2018-07-04T17:02:56+00:00</updated>
<author>
<name>Laxman Dewangan</name>
<email>ldewangan@nvidia.com</email>
</author>
<published>2016-07-05T06:20:48+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=c406563c02de0968dd1cd84eb1c4c0b25fbca447'/>
<id>c406563c02de0968dd1cd84eb1c4c0b25fbca447</id>
<content type='text'>
Add managed version of the prod API devm_tegra_prod_get_from_node() so
that client need not to explicitly clean the allocated resources.

Change-Id: I9dbc7f16228dd8179ef123e55a0ff8be3753d447
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-on: http://git-master/r/1175452
Reviewed-on: https://git-master.nvidia.com/r/1768538
Tested-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>
Add managed version of the prod API devm_tegra_prod_get_from_node() so
that client need not to explicitly clean the allocated resources.

Change-Id: I9dbc7f16228dd8179ef123e55a0ff8be3753d447
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-on: http://git-master/r/1175452
Reviewed-on: https://git-master.nvidia.com/r/1768538
Tested-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>
<entry>
<title>platform: tegra_prod: Remove unused APIs from public header</title>
<updated>2018-07-04T17:02:45+00:00</updated>
<author>
<name>Laxman Dewangan</name>
<email>ldewangan@nvidia.com</email>
</author>
<published>2016-07-01T14:08:12+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=36cab2dc13b685a86d7a0d493f35a7c5a97bd0e3'/>
<id>36cab2dc13b685a86d7a0d493f35a7c5a97bd0e3</id>
<content type='text'>
Remove the APIs from public header which should not be used by
client. Only kept the exported APIs and add missing document for
the APIs.

This will provide clean public header to client.

Change-Id: I2037be835c5746f2c29bd999049e5434715bcfac
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-on: http://git-master/r/1175128
Reviewed-on: https://git-master.nvidia.com/r/1768535
Tested-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>
Remove the APIs from public header which should not be used by
client. Only kept the exported APIs and add missing document for
the APIs.

This will provide clean public header to client.

Change-Id: I2037be835c5746f2c29bd999049e5434715bcfac
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-on: http://git-master/r/1175128
Reviewed-on: https://git-master.nvidia.com/r/1768535
Tested-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>
<entry>
<title>platform: tegra_prod: Add APIs to managed allocation of prod_list</title>
<updated>2018-07-04T17:02:41+00:00</updated>
<author>
<name>Laxman Dewangan</name>
<email>ldewangan@nvidia.com</email>
</author>
<published>2016-06-29T13:13:16+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=bdbd7fccbb83efdc7d32ae69161525adb408a729'/>
<id>bdbd7fccbb83efdc7d32ae69161525adb408a729</id>
<content type='text'>
Add manager APIs to get the prod list by passing the device structure.
Also add APIs to get prod list from device node if device structure
is not available to client like SOR/DP etc.

Change-Id: I2036dd4c557db0cd70b1cd87d0ca34d034946871
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-on: http://git-master/r/1173751
Reviewed-on: https://git-master.nvidia.com/r/1768534
Tested-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>
Add manager APIs to get the prod list by passing the device structure.
Also add APIs to get prod list from device node if device structure
is not available to client like SOR/DP etc.

Change-Id: I2036dd4c557db0cd70b1cd87d0ca34d034946871
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-on: http://git-master/r/1173751
Reviewed-on: https://git-master.nvidia.com/r/1768534
Tested-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>
<entry>
<title>platform: tegra: move struct tegra_prod_list to private</title>
<updated>2018-07-04T17:02:38+00:00</updated>
<author>
<name>Laxman Dewangan</name>
<email>ldewangan@nvidia.com</email>
</author>
<published>2016-06-29T12:27:02+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=1ff7bc604c3d209b692a0a282109f77f1f6b8f98'/>
<id>1ff7bc604c3d209b692a0a282109f77f1f6b8f98</id>
<content type='text'>
The client of prod APIs is nto required to know the definition of the
tegra_prod_list and hence moving this to the driver file instead of
defining them in public header.

Change-Id: If0e75dafeca0fe673186d377ac1f98f4eb2a69c2
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-on: http://git-master/r/1173750
Reviewed-on: https://git-master.nvidia.com/r/1768533
Tested-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>
The client of prod APIs is nto required to know the definition of the
tegra_prod_list and hence moving this to the driver file instead of
defining them in public header.

Change-Id: If0e75dafeca0fe673186d377ac1f98f4eb2a69c2
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-on: http://git-master/r/1173750
Reviewed-on: https://git-master.nvidia.com/r/1768533
Tested-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>
<entry>
<title>platform: tegra: Add support for mask with 1s</title>
<updated>2018-07-04T17:02:19+00:00</updated>
<author>
<name>Laxman Dewangan</name>
<email>ldewangan@nvidia.com</email>
</author>
<published>2016-04-26T12:15: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=79849ef2b34d0404c74ed381daf059c88238e376'/>
<id>79849ef2b34d0404c74ed381daf059c88238e376</id>
<content type='text'>
Currently, the value of prod setting are applied if mask
bit is 0 for given value. This is non-traditional style of
defining mask.

Add support a traditional way of defining mask like if mask bits
are 1s then only apply the value of those bits.

	reg = (reg &amp; ~mask) | (reg &amp; mask);

This mechanism is selected via DT property to have backward
compatibility. The DT property is "mask-one-style" which can be
added under prod-setting node.

bug 1758682

Change-Id: I0c40f55097c3f5eedfa526c07603c8d9817b3b53
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-on: http://git-master/r/1132745
(cherry picked from commit a070f4d9ad83455254bb88de1a12c23eaaf28f11)
Reviewed-on: http://git-master/r/1139578
Reviewed-on: https://git-master.nvidia.com/r/1768528
Tested-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>
Currently, the value of prod setting are applied if mask
bit is 0 for given value. This is non-traditional style of
defining mask.

Add support a traditional way of defining mask like if mask bits
are 1s then only apply the value of those bits.

	reg = (reg &amp; ~mask) | (reg &amp; mask);

This mechanism is selected via DT property to have backward
compatibility. The DT property is "mask-one-style" which can be
added under prod-setting node.

bug 1758682

Change-Id: I0c40f55097c3f5eedfa526c07603c8d9817b3b53
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;
Reviewed-on: http://git-master/r/1132745
(cherry picked from commit a070f4d9ad83455254bb88de1a12c23eaaf28f11)
Reviewed-on: http://git-master/r/1139578
Reviewed-on: https://git-master.nvidia.com/r/1768528
Tested-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>
<entry>
<title>platform: tegra: Import tegra_prod and wdt-recovery drivers</title>
<updated>2018-07-04T17:02:15+00:00</updated>
<author>
<name>Ishan Mittal</name>
<email>imittal@nvidia.com</email>
</author>
<published>2016-04-01T12:18:23+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=08bf8c9524efc0f26df2a00306226cba923b74ee'/>
<id>08bf8c9524efc0f26df2a00306226cba923b74ee</id>
<content type='text'>
This changes imports tegra_prod and wdt-recovery drivers from k4.4.
It squashes below three original commits to make the change neat as
the original commits contained many other drivers as well:
  commit c5c90b82ec25 ("drivers: platform: tegra: Add miscellaneous
  			platform specific drivers")
  commit 000acb1cd376 ("platform: tegra: add missing headers and
  			build fixes")
  commit 0b95640a2a30 ("include/linux: add missing tegra headers")
  commit c413070a1e21 ("platform: tegra: Get rid of mach/irq.h
  		  	include")

Bug 200416207

Change-Id: Ic174f1123854cbac816dfe0a95c52f6395bf095d
Signed-off-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1768527
GVS: Gerrit_Virtual_Submit
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>
This changes imports tegra_prod and wdt-recovery drivers from k4.4.
It squashes below three original commits to make the change neat as
the original commits contained many other drivers as well:
  commit c5c90b82ec25 ("drivers: platform: tegra: Add miscellaneous
  			platform specific drivers")
  commit 000acb1cd376 ("platform: tegra: add missing headers and
  			build fixes")
  commit 0b95640a2a30 ("include/linux: add missing tegra headers")
  commit c413070a1e21 ("platform: tegra: Get rid of mach/irq.h
  		  	include")

Bug 200416207

Change-Id: Ic174f1123854cbac816dfe0a95c52f6395bf095d
Signed-off-by: Nicolin Chen &lt;nicolinc@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1768527
GVS: Gerrit_Virtual_Submit
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>
