Hello, what’s the meaning of the line ‘.tune1_low = 0x012207FF,’ and its effects to the system?
Where to find information about ´@tune1: DFLL tuning register 1´?
( from clk-dfll.h,
Tegra_X1_TRM_DP07225001_v1.3p.pdf, page 205, 6.1.5 CL_DVFS_TUNE1_0
6.1.5 CL_DVFS_TUNE1_0
Bit Reset Description
31:23 0x0 DFLL_TUNE1_DLY_FINE: Input bits to tune the two phases of the clock. 8 bits to tune, and 1 bit to
choose high vs. low. Drives I_DLY_FINE<8:0>.
22:12 0x0 DFLL_TUNE1_DLY_SRAM: input bits to both coarse (3) and fine (5) tune the delay of sram path like
chain.Drives I_DLY_SRAM<10:0> of DVCO macro
11 0x0 DFLL_TUNE1_DLY_SPARE1: Drives I_DLY_SPARE<16> of DVCO macro
10:0 0x0 DFLL_TUNE1_DLY_WIRE: Input bits to both coarse (2) and fine (9) tune the delay of wire dominated
path. Drives I_DLY_WIRE<10:0>.
0x012207FF
0b1001000100000011111111111
0b0000 0001 00.10 0010 0000 0.1.11 1111 1111 (Little-endian)
)
(thx)
from Kernel sources (4.9.201-tegra, L4T 32.5.2), drivers/clk/tegra/clk-tegra124-dfll-fcpu.c, ln ~620:
´#define CPUB01_CVB_TABLE
.speedo_scale = 100,
.voltage_scale = 1000,
.entries = {
/* f c0, c1, c2 */
{ 204000000UL, { 721589, -12695, 27 } },
{ 306000000UL, { 747134, -14195, 27 } },
{ 408000000UL, { 776324, -15705, 27 } },
{ 510000000UL, { 809160, -17205, 27 } },
{ 612000000UL, { 845641, -18715, 27 } },
{ 714000000UL, { 885768, -20215, 27 } },
{ 816000000UL, { 929540, -21725, 27 } },
{ 918000000UL, { 976958, -23225, 27 } },
{ 1020000000UL, { 1028021, -24725, 27 } },
{ 1122000000UL, { 1082730, -26235, 27 } },
{ 1224000000UL, { 1141084, -27735, 27 } },
{ 1326000000UL, { 1203084, -29245, 27 } },
{ 1428000000UL, { 1268729, -30745, 27 } },
{ 1581000000UL, { 1374032, -33005, 27 } },
[etc.]
{ 0, { } },
},
.vmin_coefficients = { 620000, 0, 0 },
.cpu_dfll_data = {
.tune0_low = 0x0000FFCF,
.tune1_low = 0x012207FF,
.tune1_high = 0x03FFF7FF,
.tune_high_min_millivolts = 850,
.tune_high_margin_millivolts = 38,
.dvco_calibration_max = ULONG_MAX,
},
.cvb_version = “FCPU Table - p4v3”
´