STRUCT TI_ST_PLAT_DATA(9)
π NAME π
okay so struct ti_st_plat_data(9) is from the Kernel API Manual, and it's literally the platform data shared between the ST driver and the platform-specific board file which adds the ST device. main character struct energy, no cap π
β¨ SYNOPSIS β¨
here's the struct exactly as it appears, bestie β do not come for the spacing:
struct ti_st_plat_data {
u32 nshutdown_gpio;
unsigned char dev_name[UART_DEV_NAME_LEN];
u32 flow_cntrl;
u32 baud_rate;
int (*suspend)(struct platform_device *, pm_message_t);
int (*resume)(struct platform_device *);
int (*chip_enable) (struct kim_data_s *);
int (*chip_disable) (struct kim_data_s *);
int (*chip_asleep) (struct kim_data_s *);
int (*chip_awake) (struct kim_data_s *);
};
π«Ά Members π«Ά
nshutdown_gpioβ the Host's GPIO line to which the chip'sBT_ENis connected. that's the pin's whole vibe check πdev_nameβ the UART/TTY name to which the chip is interfaced, like/dev/ttyS1β¨flow_cntrlβ should always be1, since UART'sCTS/RTSis used for PM purposes. no cap, always1, periodt πbaud_rateβ the baud rate supported by the Host UART controller; this will be shared across with the chip via aHCI VScommand from the User-Space Init Mgr application. slay π¦suspendβ the OG page leaves this line with no separate blurb; itsresumedescription is right below πresumeβ legacy PM routines hooked to platform specific board file, so as to take chip-host interface specific action. πchip_enableβ no separate text on this line in the OG page; it sits withchip_disablebelow π«Άchip_disableβ Platform/Interface specific mux mode setting, GPIO configuring, Host side PM disabling etc.. can be done here. πchip_asleepβ no separate blurb on this line in the OG page; seechip_awakebelow πchip_awakeβ Chip specific deep sleep states is communicated to Host specificboard-xx.cto take actions such as cut UART clocks when chip asleep or run host faster when chip awake etc.. π₯
π SEE ALSO π
Kernel file: ./include/linux/ti_wilink_st.h
the whole cross-ref squad:
struct st_proto_s(9)struct st_data_s(9)st_int_write(9)st_write(9)struct chip_version(9)struct kim_data_s(9)struct bts_header(9)struct bts_action(9)struct hci_command(9)
this page came from ./include/linux, date stamp October 2026, and the manual title is struct ti_st_plat_data(9) β bye bestie, stay iconic π
π¦ 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