STRUCT SEC_PMIC_DEV(9)
π struct sec_pmic_dev(9) β like, the whole vibe
okay bestie, so this is a page straight out of the Kernel API Manual, and it's all about struct sec_pmic_dev β the s2m/s5m master device for sub-drivers. yes, master. main character energy only π
β¨ NAME β¨
struct sec_pmic_dev β the s2m/s5m master device for sub-drivers π«Ά
πΈ SYNOPSIS πΈ
struct sec_pmic_dev {
struct device *dev;
struct sec_platform_data *pdata;
struct regmap *regmap_pmic;
struct i2c_client *i2c;
int device_type;
int irq;
};
that's the whole struct, no cap. every field is doing its little job and honestly? we stan π
π¦ Members π¦
devβ the master device of the chip. the big boss, the head of the group chat πpdataβ platform data, populated with data from DTS or board files. it's giving "pre-filled from the source" β¨regmap_pmicβ the regmap associated with the PMIC's I2C address. lowkey the translator bestie πi2cβ the I2C client of the main driver. that's the one holding it all together π₯device_typeβ the type of device, and it matchesenum sec_device_type. iykyk πirqβ the generic IRQ number for the device. it's the "hey, something happened!" ping π
π SEE ALSO π
- Kernel file
./include/linux/mfd/samsung/core.hβ go read it, bestie, it's iconic β
and that's a wrap, babe π§ from ./include/linux/mfd/samsung, dated October 2026, struct sec_pmic_dev(9) β periodt π
π¦ 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