intel_soc_p..._seq_element(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

ok so bestie, welcome to intel_soc_pmic_exec_mipi_pmic_seq_element β€” it Executes PMIC MIPI sequence ✨ like that's literally her whole job, no cap

This is a page from the Kernel API Manual (iykyk, the (9) girlies) πŸŽ€


🌸 SYNOPSIS 🌸

int intel_soc_pmic_exec_mipi_pmic_seq_element (u16 i2c_address , u32
reg_address , u32 value , u32 mask );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • i2c_address β€” the I2C client address for the PMIC πŸ”Œ like, where the PMIC even lives on the bus
  • reg_address β€” the PMIC register address πŸ“ the exact spot we're poking
  • value β€” the new value for the register bits to change ✨ fresh new bits, just dropped
  • mask β€” mask indicating which register bits to change 🎭 the vibe check that says which bits we're actually touching

✨ DESCRIPTION ✨

ok so picture this: DSI LCD panels describe an initialization sequence in the i915 VBT (Video BIOS Tables) using so called MIPI sequences πŸ–₯οΈπŸ’« that's the lore.

One possible element in these sequences is a PMIC specific element of 15 bytes β€” yes, fifteen, she's specific πŸ‘‘

This function executes these PMIC specific elements, sending the embedded commands to the PMIC πŸ“¨ like she's the messenger, the main character, the go-between fr fr.

Return 0 on success, < 0 on failure 😭 so check that return value bestie, do not ignore her

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/acpi/pmic/intel_pmic.c β€” go read the source, it ate, no notes 🫢

and that's the whole page πŸ’œ this iconic little manual lives over in ./drivers/acpi/pmic, dated October 2026 🌈 mwah, go execute some sequences responsibly bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from