si476x_core...udio_pin_cfg(9)
π
si476x_core_cmd_dig_audio_pin_cfg(9) β like, the whole vibe β¨
okay so bestie, buckle up, because this one is from the Kernel API Manual and it's literally the function that goes "hey device, here's your DIG_AUDIO_PIN_CFG command, slay" π
πΈ NAME πΈ
si476x_core_cmd_dig_audio_pin_cfg β send 'DIG_AUDIO_PIN_CFG' command to the device π«Ά
β¨ SYNOPSIS β¨
int si476x_core_cmd_dig_audio_pin_cfg (struct si476x_core *core , enum
si476x_dclk_config dclk , enum si476x_dfs_config dfs , enum
si476x_dout_config dout , enum si476x_xout_config xout );
like yes, that's four enums and a core and she's coming for your pin configs π
π ARGUMENTS π
coreβ the device we're sending the command to. that's the main character fr πdclkβ the DCLK pin function configuration, and your options are giving very much choice:SI476X_DCLK_NOOPβ do not modify the behaviour πSI476X_DCLK_TRISTATEβ put the pin in tristate condition, enable 1MOhm pulldown π¦SI476X_DCLK_DAUDIOβ set the pin to be a part of digital audio interface π₯
dfsβ the DFS pin function configuration, same energy:SI476X_DFS_NOOPβ do not modify the behaviour πSI476X_DFS_TRISTATEβ put the pin in tristate condition, enable 1MOhm pulldown π¦SI476X_DFS_DAUDIOβ set the pin to be a part of digital audio interface π₯
doutβ DOUT pin function configuration, okay periodt:SI476X_DOUT_NOOPβ do not modify the behaviour πSI476X_DOUT_TRISTATEβ put the pin in tristate condition, enable 1MOhm pulldown π¦SI476X_DOUT_I2S_OUTPUTβ set this pin to be digital out on I2S port 1 βSI476X_DOUT_I2S_INPUTβ set this pin to be digital in on I2S port 1 β
xoutβ XOUT pin function configuration, XOUT is that girl:SI476X_XOUT_NOOPβ do not modify the behaviour πSI476X_XOUT_TRISTATEβ put the pin in tristate condition, enable 1MOhm pulldown π¦SI476X_XOUT_I2S_INPUTβ set this pin to be digital in on I2S port 1 βSI476X_XOUT_MODE_SELECTβ set this pin to be the input that selects the mode of the I2S audio combiner (analog or HD) [SI4761/63/65/67 Only] π
π DESCRIPTION π
so real talk: the function returns 0 on success and a negative error code on failure. that's it, that's the whole tea π
π SEE ALSO π
kernel file ./drivers/mfd/si476x-cmd.c and honestly the whole friend group:
si476x_core_send_command(9)si476x_core_cmd_func_info(9)si476x_core_cmd_set_property(9)si476x_core_cmd_get_property(9)si476x_core_cmd_zif_pin_cfg(9)si476x_core_cmd_ic_link_gpo_ctl_pin_cfg(9)si476x_core_cmd_ana_audio_pin_cfg(9)si476x_core_cmd_intb_pin_cfg_a10(9)si476x_core_cmd_am_rsq_status(9)si476x_core_cmd_fm_seek_start(9)si476x_core_cmd_fm_rds_status(9)si476x_core_cmd_fm_phase_div_status(9)si476x_core_cmd_am_seek_start(9)
k that's the page bestie, go configure some pins responsibly π
and one last lil sign-off: this one lives in <pink>./drivers/mfd</pink>, dated October 2026, from the Kernel API Manual β mwah, bye ππ
π¦ 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