meson8b.c (415d2b3392d7a80903e0f97f051201aa02bf20e9) | meson8b.c (e40c7e3cda07099a92ea68d022f3304c14f9659f) |
---|---|
1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (c) 2015 Endless Mobile, Inc. 4 * Author: Carlo Caione <carlo@endlessm.com> 5 * 6 * Copyright (c) 2016 BayLibre, Inc. 7 * Michael Turquette <mturquette@baylibre.com> 8 */ --- 82 unchanged lines hidden (view full) --- 91 .name = "xtal", 92 .num_parents = 0, 93 .ops = &clk_fixed_rate_ops, 94 }, 95}; 96 97static struct clk_regmap meson8b_fixed_pll = { 98 .data = &(struct meson_clk_pll_data){ | 1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Copyright (c) 2015 Endless Mobile, Inc. 4 * Author: Carlo Caione <carlo@endlessm.com> 5 * 6 * Copyright (c) 2016 BayLibre, Inc. 7 * Michael Turquette <mturquette@baylibre.com> 8 */ --- 82 unchanged lines hidden (view full) --- 91 .name = "xtal", 92 .num_parents = 0, 93 .ops = &clk_fixed_rate_ops, 94 }, 95}; 96 97static struct clk_regmap meson8b_fixed_pll = { 98 .data = &(struct meson_clk_pll_data){ |
99 .en = { 100 .reg_off = HHI_MPLL_CNTL, 101 .shift = 30, 102 .width = 1, 103 }, |
|
99 .m = { 100 .reg_off = HHI_MPLL_CNTL, 101 .shift = 0, 102 .width = 9, 103 }, 104 .n = { 105 .reg_off = HHI_MPLL_CNTL, 106 .shift = 9, --- 26 unchanged lines hidden (view full) --- 133 .parent_names = (const char *[]){ "xtal" }, 134 .num_parents = 1, 135 .flags = CLK_GET_RATE_NOCACHE, 136 }, 137}; 138 139static struct clk_regmap meson8b_vid_pll = { 140 .data = &(struct meson_clk_pll_data){ | 104 .m = { 105 .reg_off = HHI_MPLL_CNTL, 106 .shift = 0, 107 .width = 9, 108 }, 109 .n = { 110 .reg_off = HHI_MPLL_CNTL, 111 .shift = 9, --- 26 unchanged lines hidden (view full) --- 138 .parent_names = (const char *[]){ "xtal" }, 139 .num_parents = 1, 140 .flags = CLK_GET_RATE_NOCACHE, 141 }, 142}; 143 144static struct clk_regmap meson8b_vid_pll = { 145 .data = &(struct meson_clk_pll_data){ |
146 .en = { 147 .reg_off = HHI_VID_PLL_CNTL, 148 .shift = 30, 149 .width = 1, 150 }, |
|
141 .m = { 142 .reg_off = HHI_VID_PLL_CNTL, 143 .shift = 0, 144 .width = 9, 145 }, 146 .n = { 147 .reg_off = HHI_VID_PLL_CNTL, 148 .shift = 9, --- 21 unchanged lines hidden (view full) --- 170 .parent_names = (const char *[]){ "xtal" }, 171 .num_parents = 1, 172 .flags = CLK_GET_RATE_NOCACHE, 173 }, 174}; 175 176static struct clk_regmap meson8b_sys_pll = { 177 .data = &(struct meson_clk_pll_data){ | 151 .m = { 152 .reg_off = HHI_VID_PLL_CNTL, 153 .shift = 0, 154 .width = 9, 155 }, 156 .n = { 157 .reg_off = HHI_VID_PLL_CNTL, 158 .shift = 9, --- 21 unchanged lines hidden (view full) --- 180 .parent_names = (const char *[]){ "xtal" }, 181 .num_parents = 1, 182 .flags = CLK_GET_RATE_NOCACHE, 183 }, 184}; 185 186static struct clk_regmap meson8b_sys_pll = { 187 .data = &(struct meson_clk_pll_data){ |
188 .en = { 189 .reg_off = HHI_SYS_PLL_CNTL, 190 .shift = 30, 191 .width = 1, 192 }, |
|
178 .m = { 179 .reg_off = HHI_SYS_PLL_CNTL, 180 .shift = 0, 181 .width = 9, 182 }, 183 .n = { 184 .reg_off = HHI_SYS_PLL_CNTL, 185 .shift = 9, --- 998 unchanged lines hidden --- | 193 .m = { 194 .reg_off = HHI_SYS_PLL_CNTL, 195 .shift = 0, 196 .width = 9, 197 }, 198 .n = { 199 .reg_off = HHI_SYS_PLL_CNTL, 200 .shift = 9, --- 998 unchanged lines hidden --- |