STRUCT TVP7002_CONFIG(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct tvp7002_config(9) β€” like, the Kernel API Manual bestie

okay so picture this: it's the struct tvp7002_config(9) page from the Kernel API Manual, and it's literally just platform dependent data. that's it. that's the whole vibe. πŸŽ€


✨ NAME ✨

struct tvp7002_config β€” platform dependent data, no cap πŸ’–


🌸 SYNOPSIS 🌸

here's the whole struct, copy-pasted exactly because we do not mess with the source, bestie:

struct tvp7002_config {
    bool clk_polarity;
    bool hs_polarity;
    bool vs_polarity;
    bool fid_polarity;
    bool sog_polarity;
 };

five little bools, all main character energy πŸ‘‘ each one controls a polarity somewhere. let's go through them one by one πŸ¦‹


πŸ’« Members πŸ’«

  • clk_polarity β€” clock polarity, and it's giving "which edge, bestie?" 🌈 0 means the data is clocked out on the rising edge of the DATACLK signal. 1 means the data is clocked out on the falling edge of the DATACLK signal. pick your edge, periodt ✨
  • hs_polarity β€” HSYNC polarity πŸŽ€ 0 means active low HSYNC output, 1 means active high HSYNC output. that's it, that's the whole thing πŸ’…
  • vs_polarity β€” VSYNC polarity, same situation πŸ’œ 0 means active low VSYNC output, 1 means active high VSYNC output.
  • fid_polarity β€” active-high Field ID polarity, okay this one's a lil more extra πŸ™ˆ with 0, the field ID output is set to logic 1 for an odd field (field 1) and set to logic 0 for an even field (field 0). with 1, you get operation with polarity inverted. slay πŸ”₯
  • sog_polarity β€” active high Sync on Green output polarity 🌸 0 means normal operation, 1 means operation with polarity inverted. iconic, short, sweet πŸ“
lowkey this whole struct is just vibes and booleans β€” but fr fr every single flag matters, so don't skip any of them πŸ’€

πŸ‘€ SEE ALSO πŸ‘€

  • Kernel file ./include/media/i2c/tvp7002.h β€” go read it, iykyk πŸ“–βœ¨

and that's the page, bestie 🫢 this was ./include/media/i2c (that's the source, mwah πŸ’‹), October 2026 is the date, and the whole thing lives in the Kernel API Manual. now go forth and set your polarities correctly, queen πŸ‘‘πŸ’–πŸ§š

πŸ“¦ where this page comes from