STRUCT ADF4350_PLATFORM_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 influences MODULUS, 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