si476x_core...udio_pin_cfg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


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