dfll_init_i2c_if(9)
π dfll_init_i2c_if β a Kernel API Manual moment
okay so bestie, we're in the Kernel API Manual today and the main character is dfll_init_i2c_if. yes it's a mouthful, no we're not scared of it π«Ά
β¨ NAME β¨
dfll_init_i2c_if β literally just sets up the DFLL's DFLL-I2C interface. that's the whole gig. no cap π
πΈ SYNOPSIS πΈ
void dfll_init_i2c_if (struct tegra_dfll *td );
π ARGUMENTS π
tdβ your DFLL instance. the one and only. give it here π
π¦ DESCRIPTION π¦
so during DFLL driver initialization, this function programs the DFLL-I2C interface with three(3) little pieces of info, and honestly? they're iconic:
- the PMU slave address
- the vdd register offset
- the transfer mode
and what's it all for, you ask? π the DFLL uses this data to automatically construct I2C voltage-set commands β like, it builds them itself, no hand-holding β and then those commands get passed to the DFLL's internal I2C controller. it's giving self-sufficient. it's giving main character energy. periodt β¨
π₯ SEE ALSO π₯
the whole friend group, fr fr β first up, the kernel file ./drivers/clk/tegra/clk-dfll.c:
enum dfll_ctrl_mode(9)enum dfll_tune_range(9)struct dfll_rate_req(9)dfll_is_running(9)tegra_dfll_runtime_resume(9)tegra_dfll_runtime_suspend(9)dfll_tune_low(9)dfll_scale_dvco_rate(9)dfll_set_mode(9)dfll_i2c_set_output_enabled(9)dfll_pwm_set_output_enabled(9)dfll_set_force_output_value(9)dfll_set_force_output_enabled(9)dfll_force_output(9)dfll_load_i2c_lut(9)dfll_init_out_if(9)find_lut_index_for_rate(9)dfll_calculate_rate_request(9)dfll_set_frequency_request(9)dfll_request_rate(9)dfll_disable(9)dfll_enable(9)dfll_set_open_loop_config(9)dfll_lock(9)dfll_unlock(9)dfll_register_clk(9)dfll_unregister_clk(9)dfll_calc_monitored_rate(9)dfll_read_monitor_rate(9)dfll_set_default_params(9)dfll_init_clks(9)dfll_init(9)tegra_dfll_suspend(9)tegra_dfll_resume(9)dfll_build_i2c_lut(9)read_dt_param(9)dfll_fetch_i2c_params(9)dfll_fetch_common_params(9)tegra_dfll_register(9)tegra_dfll_unregister(9)
like, that's the entire group chat, read the whole thread i prom π
ngl bestie this one's short and sweet β no danger flags, no deprecated nonsense, no exit statuses lurking. just vibes and one very well-configured I2C interface π
and that's the page!! brought to you by ./drivers/clk/tegra and October 2026 β date stamped, sourced, and slaying π
π see u in the next manpage, mwah π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms