dfll_fetch_i2c_params(9)
π
dfll_fetch_i2c_params(9) β the Kernel API Manual, but make it make sense
okay so bestie, welcome to the Kernel API Manual page for dfll_fetch_i2c_params β¨ this is the little function that goes "hey, what are my I2C settings?" and finds out. no cap, it's short, it's sweet, and it's lowkey important. let's get into it π«Ά
πΈ NAME πΈ
dfll_fetch_i2c_params β literally just querying your PMIC I2C params from DT & the regulator subsystem π (yes, both. it's giving "multi-source" main character energy)
β¨ SYNOPSIS β¨
int dfll_fetch_i2c_params(struct tegra_dfll *td);
π ARGUMENTS π
tdβ your DFLL instance π¦ that's it, that's the whole argument, she's simple and she knows it
π₯ DESCRIPTION π₯
okay so here's the vibe: this function reads all the parameters you need for operation in I2C mode β like, every single one. and where do they come from? two places, bestie:
- the device tree π
- the regulator subsystem π
that's the whole job. she fetches, she doesn't judge.
as for how it goes: it returns 0 on success, or -err on failure π so like, check your return value, fr fr. no cap, that minus sign is doing a lot of work.
π SEE ALSO π
the whole friend group π (and yes, we're listing everyone, because nobody gets left out at this table):
- 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_i2c_if(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_common_params(9)tegra_dfll_register(9)tegra_dfll_unregister(9)
quick vibe check π: this page lives at ./drivers/clk/tegra, and she's dated October 2026. screenshot it before it changes, iykyk πΈ
and that's the page, bestie π§ you ate, you understood the assignment, periodt π
β¨ go read clk-dfll.c β it's iconic, trust π
π¦ 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