STRUCT SKY81452_BL_PLATFORM_DATA(9)
π 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 islcd-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 channel1,2,3,4,5and6. yes, all six channels are invited to the party. πignore_pwmβtrueifDPWMIshould be ignored. (yes,DPWMIexactly β we don't edit the manpage lore here π)dpwm_modeβtrueis DPWM dimming mode, otherwise Analog dimming mode. pick your dimming vibe. πΈphase_shiftβtrueis phase shift mode. turn it on when you want that phase-shift situation. π¦short_detection_thresholdβ it should be one of4,5,6and7V. those are the only valid values, so don't get creative. πboost_current_limitβ it should be one of2300,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
- 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