pcs_quirk_m...inctrl_cells(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pcs_quirk_missing_pinctrl_cells(9) β€” like, the Kernel API Manual page, bestie πŸŽ€

okay so this is a page from the Kernel API Manual, and the function's full name is pcs_quirk_missing_pinctrl_cells (the header up top got a lil truncated as pcs_quirk_m...inctrl_cells(9) β€” she's shy, it happens πŸ’–). Pull up a chair, we're doing legacy device-tree binding today.


✨ NAME ✨

pcs_quirk_missing_pinctrl_cells β€” handles the legacy binding situation 🫢


🌸 SYNOPSIS 🌸

int pcs_quirk_missing_pinctrl_cells (struct pcs_device *pcs , struct device_node *np , int cells );

like literally that's the whole signature, no cap ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • pcs β€” the pinctrl driver instance itself, the main character of this whole operation πŸ‘‘
  • np β€” the device tree node we're looking at 🌳
  • cells β€” number of cells, just a count, that's it, that's the whole vibe πŸ”’

πŸ’œ DESCRIPTION πŸ’œ

so the tea is: this function handles the legacy binding β€” meaning the old-school case where there's no #pinctrl-cells property at all πŸ™ˆ

and here's the rule, bestie, write it down: it should always be two for pinctrl-single,bit-per-mux, and one for everybody else. periodt. πŸ’…

⚠️ also a lil warning from the original: "At some point we may want to consider removing this." so yeah, she's on borrowed time, don't get too attached 😭

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/pinctrl/pinctrl-single.c, plus literally the entire friend group:


mwah πŸ’‹ that's the page! shoutout to ./drivers/pinctrl for hosting her, and happy October 2026 reading, bestie β€” go forth and quirk responsibly πŸ§šβ€β™€οΈβ­

πŸ“¦ where this page comes from