STRUCT MARVELL_NFC_CAPS(9)
β¨ NAME β¨
okay so this is struct marvell_nfc_caps β it's literally the NAND controller capabilities struct, and its whole ~thing~ is telling different compatible strings apart from each other π
this is struct marvell_nfc_caps(9) from the Kernel API Manual, bestie, and it's lowkey iconic.
πΈ SYNOPSIS πΈ
struct marvell_nfc_caps {
unsigned int max_cs_nb;
unsigned int max_rb_nb;
bool need_system_controller;
bool legacy_of_bindings;
bool is_nfcv2;
bool use_dma;
unsigned int max_mode_number;
};
yes bestie there's a stray space before that closing }; in the original β we do not touch, we do not fix, we respect the source π«Ά
π Members π
okay buckle up, one field at a time, no cap:
max_cs_nbβ how many Chip Select lines you get. that's the number, that's the whole vibe πmax_rb_nbβ how many Ready/Busy lines are available. count 'em.need_system_controllerβ aboolthat says whether the SoC needs to have access to the system controller (like, in order to enable the NAND controller). so it's giving "i can't do it alone, i need my support system" energy πlegacy_of_bindingsβ aboolthat says whether DT parsing must be done the old fashioned way. yes, the old fashion way, that's the original wording, we're keeping it fr fr πis_nfcv2β aboolβ NFCv2 has numerous enhancements compared to NFCv1, i.e. the BCH error detection and correction algorithm, and theNDCB3register has been added. glow-up behavior honestly β¨use_dmaβ aboolβ use dma for data transfers. fast girlie behavior π₯max_mode_numberβ the maximum timing mode that the controller supports. it's giving limits, but make it fashion π
π¦ SEE ALSO π¦
go read these next, bestie, they're all in the kernel file ./drivers/mtd/nand/raw/marvell_nand.c:
struct marvell_hw_ecc_layout(9)struct marvell_nand_chip_sel(9)struct marvell_nand_chip(9)struct marvell_nfc(9)struct marvell_nfc_timings(9)TO_CYCLES(9)struct marvell_nfc_op(9)
okay that's the whole page, you ate that π this little beauty lives in ./drivers/mtd/nand/raw and it's dated October 2026 β and it's still struct marvell_nfc_caps(9), 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