STRUCT ADF4350_PLATFORM_DATA(9)
π struct adf4350_platform_data(9) β Kernel API Manual π
okay bestie, so this is a page from the Kernel API Manual and it's all about struct adf4350_platform_data β the little vibe-check bundle that tells the ADF4350 driver what your hardware actually looks like. platform specific information, that's the whole gig. no cap, it's short and it's iconic. β¨
πΈ NAME πΈ
struct adf4350_platform_data β platform specific information. that's it, that's the name, she's giving exactly what it says on the tin π«Ά
β¨ SYNOPSIS β¨
here's the whole struct, character for character, do not touch, do not "fix", she's perfect:
struct adf4350_platform_data {
char name[32];
unsigned long clkin;
unsigned long channel_spacing;
unsigned long long power_up_frequency;
unsigned short ref_div_factor;
bool ref_doubler_en;
bool ref_div2_en;
unsigned r2_user_settings;
unsigned r3_user_settings;
unsigned r4_user_settings;
};
π Members π
okay so let's go through every single field, no skipping, we're doing the full tour π§
nameβ Optional device name. cute little label, entirely optional, she can stay nameless if she wants πclkinβ REFin frequency in Hz. that's your reference input frequency, in Hz, periodt.channel_spacingβ Channel spacing in Hz (influences MODULUS). yes it literally influencesMODULUS, that's the note, we're not editing it πpower_up_frequencyβ Optional, If set in Hz the PLL tunes to the desired frequency on probe. so if you set it, the PLL just slides right into that frequency on probe. lowkey convenient.ref_div_factorβ Optional, if set the driver skips dynamic calculation and uses this default value instead. you're basically telling the driver "don't do the math, bestie, I already did it" π₯ref_doubler_enβ Enables reference doubler.ref_div2_enβ Enables reference divider.r2_user_settingsβ User defined settings for ADF4350/1 REGISTER_2. your house, your rules, your register β¨r3_user_settingsβ User defined settings for ADF4350/1 REGISTER_3.r4_user_settingsβ User defined settings for ADF4350/1 REGISTER_4.
fr fr, three separate registers of user-defined settings βREGISTER_2,REGISTER_3,REGISTER_4β and the driver hands them straight to you. iykyk π
π SEE ALSO π
- Kernel file
./include/linux/iio/frequency/adf4350.h
go read it, she's right there in the tree, main character energy π
that's the whole page bestie, every field, every Hz, every REGISTER. this one's from ./include/linux/iio/frequency, dated October 2026, filed under struct adf43...latform_data(9) β slay, 10/10, no notes πππΈ
π¦ 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