.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0 |
---|
1 | 2 | /* |
---|
2 | 3 | * EMMA Mobile EV2 common clock framework support |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2013 Takashi Yoshii <takashi.yoshii.ze@renesas.com> |
---|
5 | 6 | * Copyright (C) 2012 Magnus Damm |
---|
6 | | - * |
---|
7 | | - * This program is free software; you can redistribute it and/or modify |
---|
8 | | - * it under the terms of the GNU General Public License as published by |
---|
9 | | - * the Free Software Foundation; version 2 of the License. |
---|
10 | | - * |
---|
11 | | - * This program is distributed in the hope that it will be useful, |
---|
12 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
14 | | - * GNU General Public License for more details. |
---|
15 | | - * |
---|
16 | | - * You should have received a copy of the GNU General Public License |
---|
17 | | - * along with this program; if not, write to the Free Software |
---|
18 | | - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
---|
19 | 7 | */ |
---|
20 | 8 | #include <linux/clk-provider.h> |
---|
21 | 9 | #include <linux/clkdev.h> |
---|
.. | .. |
---|
86 | 74 | clk = clk_register_divider(NULL, np->name, parent_name, 0, |
---|
87 | 75 | smu_base + reg[0], reg[1], 8, 0, &lock); |
---|
88 | 76 | of_clk_add_provider(np, of_clk_src_simple_get, clk); |
---|
89 | | - clk_register_clkdev(clk, np->name, NULL); |
---|
90 | | - pr_debug("## %s %s %p\n", __func__, np->name, clk); |
---|
| 77 | + clk_register_clkdev(clk, np->full_name, NULL); |
---|
| 78 | + pr_debug("## %s %pOFn %p\n", __func__, np, clk); |
---|
91 | 79 | } |
---|
92 | 80 | CLK_OF_DECLARE(emev2_smu_clkdiv, "renesas,emev2-smu-clkdiv", |
---|
93 | 81 | emev2_smu_clkdiv_init); |
---|
.. | .. |
---|
104 | 92 | clk = clk_register_gate(NULL, np->name, parent_name, 0, |
---|
105 | 93 | smu_base + reg[0], reg[1], 0, &lock); |
---|
106 | 94 | of_clk_add_provider(np, of_clk_src_simple_get, clk); |
---|
107 | | - clk_register_clkdev(clk, np->name, NULL); |
---|
108 | | - pr_debug("## %s %s %p\n", __func__, np->name, clk); |
---|
| 95 | + clk_register_clkdev(clk, np->full_name, NULL); |
---|
| 96 | + pr_debug("## %s %pOFn %p\n", __func__, np, clk); |
---|
109 | 97 | } |
---|
110 | 98 | CLK_OF_DECLARE(emev2_smu_gclk, "renesas,emev2-smu-gclk", emev2_smu_gclk_init); |
---|