From f7a73f4ab863d24ef969bd182b49088da731bf6c Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Thu, 16 Jul 2020 08:25:25 -0700 Subject: [PATCH] gpu: nvgpu: Rename gpu_sys clock to pwr In upstream device trees pwr clock for gp10b and gv11b are called pwr. Rename the clock in downstream so that nvgpu can work with upstream kernel. Bug 3030537 Change-Id: I7738a5c73e893c6ee7ebbf859a347aa508bfcffa Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/c/linux-nvgpu/+/2376595 Reviewed-by: automaticguardword Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Alex Waterman Reviewed-by: Sagar Kamble Reviewed-by: Deepak Nibade Reviewed-by: mobile promotions Tested-by: mobile promotions GVS: Gerrit_Virtual_Submit --- drivers/gpu/nvgpu/os/linux/platform_gp10b_tegra.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/nvgpu/os/linux/platform_gp10b_tegra.c b/drivers/gpu/nvgpu/os/linux/platform_gp10b_tegra.c index e62b37b6b..f356ab9ff 100644 --- a/drivers/gpu/nvgpu/os/linux/platform_gp10b_tegra.c +++ b/drivers/gpu/nvgpu/os/linux/platform_gp10b_tegra.c @@ -74,7 +74,7 @@ static int num_supported_freq; struct gk20a_platform_clk tegra_gp10b_clocks[] = { {"gpu", GPCCLK_INIT_RATE}, - {"gpu_sys", 204000000}, + {"pwr", 204000000}, {"fuse", UINT_MAX} };