STRUCT SKY81452_BL_PLATFORM_DATA(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct sky81452_bl_platform_data(9) πŸ’–

okay bestie, welcome to the Kernel API Manual β€” this little icon is all about the struct sky81452_bl_platform_data, aka backlight platform data. no cap, it's the struct that tells the sky81452 backlight driver how to behave, and we're gonna go through every single member together. 🫢

✨ NAME ✨

struct sky81452_bl_platform_data β€” backlight platform data. literally what it says on the tin. πŸ’…

🌈 SYNOPSIS 🌈

struct sky81452_bl_platform_data {
    const char *name;
    struct gpio_desc *gpiod_enable;
    unsigned int enable;
    bool ignore_pwm;
    bool dpwm_mode;
    bool phase_shift;
    unsigned int short_detection_threshold;
    unsigned int boost_current_limit;
 };

πŸŽ€ Members πŸŽ€

  • name β€” the backlight driver name. if it's not defined, the default name is lcd-backlight. so don't stress if you leave it out, bestie πŸ’–
  • gpiod_enable β€” the GPIO descriptor which control the EN pin. that's the enable pin, bestie, it's giving let there be light energy. ✨
  • enable β€” enable mask for current sink channel 1, 2, 3, 4, 5 and 6. yes, all six channels are invited to the party. πŸ‘‘
  • ignore_pwm β€” true if DPWMI should be ignored. (yes, DPWMI exactly β€” we don't edit the manpage lore here πŸ™ˆ)
  • dpwm_mode β€” true is DPWM dimming mode, otherwise Analog dimming mode. pick your dimming vibe. 🌸
  • phase_shift β€” true is phase shift mode. turn it on when you want that phase-shift situation. πŸ¦‹
  • short_detection_threshold β€” it should be one of 4, 5, 6 and 7V. those are the only valid values, so don't get creative. πŸ’€
  • boost_current_limit β€” it should be one of 2300, 2750mA. again, keep it to those values, okay? πŸ’…

πŸ‘€ SEE ALSO πŸ‘€

Kernel file ./drivers/video/backlight/sky81452-backlight.c β€” go read the source if you want the full main-character backstory. πŸ”₯


xoxo, your kernel bestie πŸ’œ β€” this page's source/version is ./drivers/video/backlight, and it's dated October 2026. periodt. πŸŽ€

πŸ“¦ where this page comes from