STRUCT CM3605(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay so bestie, welcome to the struct cm3605(9) page from the Kernel API Manual β€” yes, the manual name is folded in right here, no boring header copy. This is the CM3605 state struct: struct cm3605 β€” CM3605 state. It’s giving β€œsmall struct, very important state energy” and we’re obsessed. πŸ’…

✨ SYNOPSIS ✨

Here’s the struct exactly as it lives, no cap β€” keep every field and type character-for-character:

       struct cm3605 {
           struct device *dev;
           struct regulator *vdd;
           struct gpio_desc *aset;
           struct iio_channel *aout;
           s32 als_max;
           enum iio_event_direction dir;
           struct led_trigger *led;
        };

🫢 Members 🫢

  • dev β€” pointer to parent device. The main-character link back to the parent device, fr.
  • vdd β€” regulator controlling VDD. It’s the regulator in charge of VDD β€” power-management bestie.
  • aset β€” sleep enable GPIO, high = sleep. Read that again: high = sleep, no cap. 😴
  • aout β€” IIO ADC channel to convert the AOUT signal. This is the IIO ADC channel doing the AOUT conversion β€” that’s its whole lane.
  • als_max β€” maximum LUX detection (depends on RSET). It’s the max LUX detection, and yes, it depends on RSET β€” lowkey tied together.
  • dir β€” proximity direction: start as FALLING. The proximity direction starts as FALLING; that’s the opening vibe. πŸ’€
  • led β€” trigger for the infrared LED used by the proximity sensor. It’s the trigger for the infrared LED that the proximity sensor uses. Iconic.

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/iio/light/cm3605.c β€” that’s the kernel file to check, periodt. 🫢


Bye bestie πŸ’œ this page is signed off from the source/version ./drivers/iio/light, dated October 2026, and it’s all about struct cm3605(9) πŸŽ€βœ¨

πŸ“¦ where this page comes from