| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PLL_AON clock is controlled by SPE. Add clock provider that can
control PLL_AON state using IPC with SPE instead of BPMP.
Bug 200409889
Change-Id: I2e88eb3a5971881b6f51c4d1472422203831a33e
Signed-off-by: Vishruth Jain <vishruthj@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvidia/+/2290986
Reviewed-by: automaticguardword <automaticguardword@nvidia.com>
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
GVS: Gerrit_Virtual_Submit
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Removed print complainig about "tegra-bpmp-emc-clk"
node not preset, as this is not required.
Bug 2566499
Change-Id: Icdf3c58f8dfd6d3d35c900fc13f13102ef20a7fb
Signed-off-by: Achal Verma <achalv@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/2113497
(cherry picked from commit a0e54732a35495138dde717bc9fd9248e0c2ade1)
Reviewed-on: https://git-master.nvidia.com/r/2129316
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Dmitry Pervushin <dpervushin@nvidia.com>
Reviewed-by: Rahul Jain (SW-TEGRA) <rahuljain@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added fmon_clamp_rate debugfs nodes for each clock to test/debug BPMP
FMON clamping services.
Jira BPMP-2140
Change-Id: Id7d80ecb57fa84f0929a4f3bf79ed0fbb33a33ba
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1740846
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Enable CLK_SET_RATE_NOCACHE flag so that all
clk_set_rate() from client drivers pass through to BPMP.
Bug 2051688
Change-Id: I76f37af3676e76155191a1f121f06447916fbe3b
Signed-off-by: Arun Kannan <akannan@nvidia.com>
(cherry picked from commit 9956be70d74570fb95245f427094f2090d5f5a11)
Signed-off-by: seshendra Gadagottu <sgadagottu@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1667744
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Aleksandr Frid <afrid@nvidia.com>
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Makefile in nvidia/drivers/clk/tegra needs to add
$(srctree)/drivers/clk/tegra into the include path, since it depends on
clk headers in that directory:
ccflags-y += -I$(srctree)/drivers/clk/tegra
Bug 200346808
Change-Id: I34baf4b94ec3f2d0ad025afef3d3409ce5fdbb5f
Signed-off-by: Shanmukha Srinivas R <ssrinivasr@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1692648
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Stephen Warren <swarren@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix build error in bpmp sources:
1. call to clk bpmp APIs tegra_clk_debugfs_add and tegra_register_pto
are made conditional to CONFIG_TEGRA_CLK_DEBUG
2. k4.14 does not define DMA_MEMORY_NOMAP hence use corresponding
code only for earlier kernel versions
Bug 200385931
Change-Id: I8a0afabfe9c8a5fa744882d772742d0d5f302815
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1672541
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To allow both downstream and upstream bpmp drivers to coexist, rename
the downstream bpmp, reset and clk bpmp drivers to nv_bpmp.c, reset-nv-bpmp.c
and clk-nv-bpmp.c respectively.
Change-Id: I960897bd7d0c935e90599b23bf60951d886afcfe
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Signed-off-by: Bitan Biswas <bbiswas@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1657957
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
Tested-by: Timo Alho <talho@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho <talho@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
BPMP driver was moved from linux-4.9 repository. Modify Makefiles and
Kconfig files to add driver as part of build.
Also rename downstream BPMP driver Kconfig to NV_TEGRA_BPMP to
differentiate it from upstream driver that is available in recent
kernel versions. Also add mention about it in menuconfig options.
Bug 200325739
Change-Id: Ide3884b8c8afe8a4d89fa79932381b7cff8edf00
Signed-off-by: Timo Alho <talho@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1635551
GVS: Gerrit_Virtual_Submit
Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added BPMP clock debugfs extension node to pull into kernel debugfs
all clocks that are exposed by BPMP, but not acquired by any driver,
and add Tegra clock writable debugfs extensions that are available on
non-BPMP Tegra platforms.
Change-Id: I4a91684f10bcec4da2e80bf9d0ff625e950f9f85
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1633054
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Bug 1804902
Bug 1832505
Change-Id: Icded58883abbd2fd060e255237de585401a39ad1
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1576310
Reviewed-by: svc-mobile-coverity <svc-mobile-coverity@nvidia.com>
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Tested-by: Peter De Schrijver <pdeschrijver@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Reviewed-by: Timo Alho <talho@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This allows honoring min and max rates set in the clock request.
Bug 1959611
Change-Id: Ide924d77ec64666263459acc411dfc14f2cb6324
Signed-off-by: Mustafa Yigit Bilgen <mbilgen@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1521898
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: Sivaram Nair <sivaramn@nvidia.com>
GVS: Gerrit_Virtual_Submit
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Removed multiple tegra_platform_is_linsim if statements because of
linsim deprecation.
Bug 1903831
Change-Id: Id8dd87c9d4ab633175ef3f697fec5cf33dfc4077
Signed-off-by: William Pierce <wpierce@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1485008
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add a "staged" clk provider for situtions where only a partial set of
clks are supported and we want to let the drivers use what is
avaialable. We implement this by first querying the bpmp firmware to see
if the asked clk is supported. If yes, we return that clk to the caller.
If not, then we create a dummy clk that use it.
JIRA BPMP-429
Change-Id: I5a1e4ec01e83d5e01cf2f18c1592f9f0e26a7290
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/1456476
(cherry picked from commit d457f70cc459ac96a554a80e06486857aca3a09e)
Reviewed-on: http://git-master/r/1462710
Reviewed-by: Timo Alho <talho@nvidia.com>
Tested-by: Timo Alho <talho@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- removed the MAX_PARENTS define that was merely duplicating
MRQ_CLK_MAX_PARENTS
- the global variable clks and max_clk_id are not really required (get
these from clk_onecell_data)
- CLK_IS_ROOT has become redundant; remove the (now) redundant code
around this
- simplified clk_bpmp_init() by moving the parent initialization to a
separate function
- folded few if/else branches by making num_parents unsigned.
JIRA BPMP-429
Change-Id: I380b32929b8b60f29b4ec68dd7cfff3e2ab7fb89
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/1456475
(cherry picked from commit 5e674a41fe5b7f7802710fd69ccd163a7da7de6d)
Reviewed-on: http://git-master/r/1462709
Reviewed-by: Timo Alho <talho@nvidia.com>
Tested-by: Timo Alho <talho@nvidia.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rather than allocating all fake clks during init, allocate them only
when asked. The primary motivation for this change is to be able to
substitute fake clks when we wish to use a mix of both "real" clks and
fake clksi (i.e use fake clks when we can-not find the corresponding
real clks).
JIRA BPMP-429
Change-Id: I2e7554bc75731a0cf6c2de3a55b747893df49f8b
Signed-off-by: Sivaram Nair <sivaramn@nvidia.com>
Reviewed-on: http://git-master/r/1456474
(cherry picked from commit 931f1402373d0c66f8d550511c4d45f3a1ecc312)
Reviewed-on: http://git-master/r/1462708
Reviewed-by: Timo Alho <talho@nvidia.com>
Tested-by: Timo Alho <talho@nvidia.com>
|
|
|
Add support for BPMP clocks.
Bug 1844590
Bug 1832505
Change-Id: I7030c1910be932eb0054bb81813775c8215dfa84
Signed-off-by: Antti P Miettinen <amiettinen@nvidia.com>
Reviewed-on: http://git-master/r/1326947
GVS: Gerrit_Virtual_Submit
Reviewed-by: Timo Alho <talho@nvidia.com>
|