<feed xmlns='http://www.w3.org/2005/Atom'>
<title>nvidia-tegra-modules.git/drivers/platform/tegra/powergate, 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>powergate: remove unnecessary WAR of audio</title>
<updated>2019-08-05T21:12:46+00:00</updated>
<author>
<name>Taylor Xiao</name>
<email>txiao@nvidia.com</email>
</author>
<published>2019-08-01T07:04:36+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=a081d76866293045bc7fd0aa98794183b6a55a23'/>
<id>a081d76866293045bc7fd0aa98794183b6a55a23</id>
<content type='text'>
For t210, audio module need to be powered on at very early system boot,
but the powergate module is not ready at that time, so the WAR is that
we power on the audio module first and then set the unpowergate refcount
to "1" without unpowergating it during the init of powergate module. Due
to without unpowergating, there would be a mismatch, the counter maintained
by BPMP FW wouldn't indicated the real status of audio power domain.

Due to the update of AGIC, dont need this WAR any more, remove it.

Bug 2000015

Change-Id: I4b914f5f9b9e96696d273dee86bbb0fd440ea4c0
Signed-off-by: Taylor Xiao &lt;txiao@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2153911
Reviewed-by: Jonathan Hunter &lt;jonathanh@nvidia.com&gt;
Reviewed-by: Uday Gupta &lt;udayg@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dipesh Gandhi &lt;dipeshg@nvidia.com&gt;
Reviewed-by: Timo Alho &lt;talho@nvidia.com&gt;
Reviewed-by: Mohan Kumar D &lt;mkumard@nvidia.com&gt;
Reviewed-by: Dmitry Pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-by: Phoenix Jung &lt;pjung@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>
For t210, audio module need to be powered on at very early system boot,
but the powergate module is not ready at that time, so the WAR is that
we power on the audio module first and then set the unpowergate refcount
to "1" without unpowergating it during the init of powergate module. Due
to without unpowergating, there would be a mismatch, the counter maintained
by BPMP FW wouldn't indicated the real status of audio power domain.

Due to the update of AGIC, dont need this WAR any more, remove it.

Bug 2000015

Change-Id: I4b914f5f9b9e96696d273dee86bbb0fd440ea4c0
Signed-off-by: Taylor Xiao &lt;txiao@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/2153911
Reviewed-by: Jonathan Hunter &lt;jonathanh@nvidia.com&gt;
Reviewed-by: Uday Gupta &lt;udayg@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
Reviewed-by: Dipesh Gandhi &lt;dipeshg@nvidia.com&gt;
Reviewed-by: Timo Alho &lt;talho@nvidia.com&gt;
Reviewed-by: Mohan Kumar D &lt;mkumard@nvidia.com&gt;
Reviewed-by: Dmitry Pervushin &lt;dpervushin@nvidia.com&gt;
Reviewed-by: Phoenix Jung &lt;pjung@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>tegra: powergate: deprecate with_clk_[on|off] API</title>
<updated>2018-03-10T00:37:42+00:00</updated>
<author>
<name>Timo Alho</name>
<email>talho@nvidia.com</email>
</author>
<published>2018-01-19T15:05:17+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=0450a48c94b91abf1b4e13fbaeefe4f25ef245c1'/>
<id>0450a48c94b91abf1b4e13fbaeefe4f25ef245c1</id>
<content type='text'>
Remove powergate API with_clk_[on|off] functionality from kernel 4.9
and newer versions. As t19x is only supported with k4.9 and newer, the
functions can be removed. For t18x put the functions behind version
specific #ifdefs.

Bug 2022680
Bug 1853511

Change-Id: Ic138fa8e99a4109650bb3ab7fd562150fe62ee53
Signed-off-by: Timo Alho &lt;talho@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1642361
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
Reviewed-by: Mikko Perttunen &lt;mperttunen@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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 powergate API with_clk_[on|off] functionality from kernel 4.9
and newer versions. As t19x is only supported with k4.9 and newer, the
functions can be removed. For t18x put the functions behind version
specific #ifdefs.

Bug 2022680
Bug 1853511

Change-Id: Ic138fa8e99a4109650bb3ab7fd562150fe62ee53
Signed-off-by: Timo Alho &lt;talho@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1642361
Reviewed-by: svc-mobile-coverity &lt;svc-mobile-coverity@nvidia.com&gt;
Reviewed-by: Mikko Perttunen &lt;mperttunen@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>tegra: powergate: guard pm_genpd_remove()</title>
<updated>2018-01-11T14:40:34+00:00</updated>
<author>
<name>Timo Alho</name>
<email>talho@nvidia.com</email>
</author>
<published>2017-11-27T09:34: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=c9f45cb3f3ab7b0fe266cd179ddd312213594877'/>
<id>c9f45cb3f3ab7b0fe266cd179ddd312213594877</id>
<content type='text'>
Guard pm_genpd_remove() with kernel version ifdef to allow driver to
work also on kernel-4.4

Bug 200325739

Change-Id: I047bd4d597dfb609edab8e2d7699c3aaa4b2853f
Signed-off-by: Timo Alho &lt;talho@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1635550
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mikko Perttunen &lt;mperttunen@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>
Guard pm_genpd_remove() with kernel version ifdef to allow driver to
work also on kernel-4.4

Bug 200325739

Change-Id: I047bd4d597dfb609edab8e2d7699c3aaa4b2853f
Signed-off-by: Timo Alho &lt;talho@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1635550
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mikko Perttunen &lt;mperttunen@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>tegra: powergate: Prevent duplicate genpd registration</title>
<updated>2018-01-11T09:08:09+00:00</updated>
<author>
<name>Mikko Perttunen</name>
<email>mperttunen@nvidia.com</email>
</author>
<published>2017-03-01T11:49: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=d9b466c3173bccafb0eb1fb1fbce5a3ab87d33ef'/>
<id>d9b466c3173bccafb0eb1fb1fbce5a3ab87d33ef</id>
<content type='text'>
The legacy codepath in bpmp-powergate would register each
powerdomain once for each user in the device tree. Add
a check to ensure that each power domain is only registered
once.

Jira HOSTX-183

Change-Id: Icdb67a895c36ffb839a9404a09034721c397f57e
Signed-off-by: Mikko Perttunen &lt;mperttunen@nvidia.com&gt;
Reviewed-on: http://git-master/r/1313225
Reviewed-by: Arto Merilainen &lt;amerilainen@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The legacy codepath in bpmp-powergate would register each
powerdomain once for each user in the device tree. Add
a check to ensure that each power domain is only registered
once.

Jira HOSTX-183

Change-Id: Icdb67a895c36ffb839a9404a09034721c397f57e
Signed-off-by: Mikko Perttunen &lt;mperttunen@nvidia.com&gt;
Reviewed-on: http://git-master/r/1313225
Reviewed-by: Arto Merilainen &lt;amerilainen@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>firmware: tegra: add soc/tegra/tegra_powergate.h</title>
<updated>2018-01-11T09:08:08+00:00</updated>
<author>
<name>Sivaram Nair</name>
<email>sivaramn@nvidia.com</email>
</author>
<published>2016-12-29T21:51:18+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=e23ad99ff926be8d9f6c40f133e3dbc324c58202'/>
<id>e23ad99ff926be8d9f6c40f133e3dbc324c58202</id>
<content type='text'>
tegra_bpmp_init_powergate() is implemented by the tegra bpmp power gate
driver. Therefore, it is not appropriate that the function is declared
in bpmp.h (bpmp driver's private header). Add a new soc header to park
this function and modify existing includes to apply this change.

Bug 200257382

Change-Id: I1db57dd7b1d30c5537d331700ba47c83cfd5ba9f
Signed-off-by: Sivaram Nair &lt;sivaramn@nvidia.com&gt;
Reviewed-on: http://git-master/r/1278384
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
tegra_bpmp_init_powergate() is implemented by the tegra bpmp power gate
driver. Therefore, it is not appropriate that the function is declared
in bpmp.h (bpmp driver's private header). Add a new soc header to park
this function and modify existing includes to apply this change.

Bug 200257382

Change-Id: I1db57dd7b1d30c5537d331700ba47c83cfd5ba9f
Signed-off-by: Sivaram Nair &lt;sivaramn@nvidia.com&gt;
Reviewed-on: http://git-master/r/1278384
</pre>
</div>
</content>
</entry>
<entry>
<title>tegra: powergate: Remove unnecessary kernel version ifdef</title>
<updated>2018-01-11T09:08:06+00:00</updated>
<author>
<name>Mikko Perttunen</name>
<email>mperttunen@nvidia.com</email>
</author>
<published>2016-12-29T09:32:21+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=2d5870f7c7098870ca051e595b51d85898eb3de6'/>
<id>2d5870f7c7098870ca051e595b51d85898eb3de6</id>
<content type='text'>
The BPMP power domain provider, as cherry picked, contains
a check for if the kernel version is 4.9 or newer. In this
repository, that is always the case, so remove the ifdef.

Change-Id: I968a738d137ea10b26d6cf2820d39947a594c4a4
Signed-off-by: Mikko Perttunen &lt;mperttunen@nvidia.com&gt;
Reviewed-on: http://git-master/r/1278136
Reviewed-by: Stefan Kristiansson &lt;stefank@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The BPMP power domain provider, as cherry picked, contains
a check for if the kernel version is 4.9 or newer. In this
repository, that is always the case, so remove the ifdef.

Change-Id: I968a738d137ea10b26d6cf2820d39947a594c4a4
Signed-off-by: Mikko Perttunen &lt;mperttunen@nvidia.com&gt;
Reviewed-on: http://git-master/r/1278136
Reviewed-by: Stefan Kristiansson &lt;stefank@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>tegra: powergate: add BPMP based power domain provider</title>
<updated>2018-01-11T09:08:06+00:00</updated>
<author>
<name>Stefan Kristiansson</name>
<email>stefank@nvidia.com</email>
</author>
<published>2016-12-19T12:22:57+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=e52c6f59d454c224d0030d816834a75b31a380ca'/>
<id>e52c6f59d454c224d0030d816834a75b31a380ca</id>
<content type='text'>
This adds a generic_pm_domain provider by using the services
provided by BPMP.

As a final goal, it is meant to fully replace the tegra
powergate framework on chips with bpmp support.

In the meanwhile, to be able to live alongside the tegra powergate
framework, it only registers the domains that reference this driver
through the device tree, instead of registering all domains that BPMP
controls.

Bug 1853511

Change-Id: I25292885905d3d7b60848df635c15384aa612757
Signed-off-by: Stefan Kristiansson &lt;stefank@nvidia.com&gt;
Reviewed-on: http://git-master/r/1273521
(cherry picked from commit a58cf4accfe0821770df53f7a01da94e2286fb72)
Reviewed-on: http://git-master/r/1275999
Reviewed-by: Timo Alho &lt;talho@nvidia.com&gt;
Tested-by: Timo Alho &lt;talho@nvidia.com&gt;
Reviewed-by: Mikko Perttunen &lt;mperttunen@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This adds a generic_pm_domain provider by using the services
provided by BPMP.

As a final goal, it is meant to fully replace the tegra
powergate framework on chips with bpmp support.

In the meanwhile, to be able to live alongside the tegra powergate
framework, it only registers the domains that reference this driver
through the device tree, instead of registering all domains that BPMP
controls.

Bug 1853511

Change-Id: I25292885905d3d7b60848df635c15384aa612757
Signed-off-by: Stefan Kristiansson &lt;stefank@nvidia.com&gt;
Reviewed-on: http://git-master/r/1273521
(cherry picked from commit a58cf4accfe0821770df53f7a01da94e2286fb72)
Reviewed-on: http://git-master/r/1275999
Reviewed-by: Timo Alho &lt;talho@nvidia.com&gt;
Tested-by: Timo Alho &lt;talho@nvidia.com&gt;
Reviewed-by: Mikko Perttunen &lt;mperttunen@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'remotes/origin/dev/linux-t19x' into linux-nvidia</title>
<updated>2017-11-16T07:44:33+00:00</updated>
<author>
<name>Deepak Nibade</name>
<email>dnibade@nvidia.com</email>
</author>
<published>2017-11-16T07:34:20+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=7047764bbc20ff8d839b646ad31bb4a9f97a243a'/>
<id>7047764bbc20ff8d839b646ad31bb4a9f97a243a</id>
<content type='text'>
Bug 200363166

Change-Id: Id0fcee1cc01fe1648afe7e3f2d44f820563898ca
Signed-off-by: Deepak Nibade &lt;dnibade@nvidia.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug 200363166

Change-Id: Id0fcee1cc01fe1648afe7e3f2d44f820563898ca
Signed-off-by: Deepak Nibade &lt;dnibade@nvidia.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>t19x: use kernel overlay features</title>
<updated>2017-10-29T18:00:47+00:00</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2017-09-14T16:50: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=771dac969c71d1875803d79a40be4cb154874ee8'/>
<id>771dac969c71d1875803d79a40be4cb154874ee8</id>
<content type='text'>
Update all Kconfig files and Makefiles to rely on the kernel overlay
feature. In particular, don't include any Kconfig files or Makefiles
from other overlays. -I directives in CFLAGS are not yet cleaned up.

Bug 1978395

Change-Id: I5ee70b91c5137dd8b36e0adb56a0763fbf2cb123
Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1561188
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani &lt;bnihalani@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>
Update all Kconfig files and Makefiles to rely on the kernel overlay
feature. In particular, don't include any Kconfig files or Makefiles
from other overlays. -I directives in CFLAGS are not yet cleaned up.

Bug 1978395

Change-Id: I5ee70b91c5137dd8b36e0adb56a0763fbf2cb123
Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1561188
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bharat Nihalani &lt;bnihalani@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>nvidia: use kernel overlay features</title>
<updated>2017-10-29T18:00:42+00:00</updated>
<author>
<name>Stephen Warren</name>
<email>swarren@nvidia.com</email>
</author>
<published>2017-09-14T16:51:18+00:00</published>
<link rel='alternate' type='text/html' href='http://rtsrv.cs.unc.edu/cgit/cgit.cgi/nvidia-tegra-modules.git/commit/?id=20bb0324e532863cafc5dc41e8cd5a6ec28413d8'/>
<id>20bb0324e532863cafc5dc41e8cd5a6ec28413d8</id>
<content type='text'>
Update all Kconfig files and Makefiles to rely on the kernel overlay
feature. In particular, don't include any Kconfig files or Makefiles
from other overlays. -I directives in CFLAGS are not yet cleaned up.

Bug 1978395

Change-Id: I425d37d55f8ea61fb3a082a1504f994ff30cec03
Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1561187
Reviewed-by: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>
Update all Kconfig files and Makefiles to rely on the kernel overlay
feature. In particular, don't include any Kconfig files or Makefiles
from other overlays. -I directives in CFLAGS are not yet cleaned up.

Bug 1978395

Change-Id: I425d37d55f8ea61fb3a082a1504f994ff30cec03
Signed-off-by: Stephen Warren &lt;swarren@nvidia.com&gt;
Reviewed-on: https://git-master.nvidia.com/r/1561187
Reviewed-by: Terje Bergstrom &lt;tbergstrom@nvidia.com&gt;
GVS: Gerrit_Virtual_Submit
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>
