STRUCT I2C_DEVICE_IDENTITY(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct i2c_device_identity(9) πŸ’–

okay bestie, welcome to the Kernel API Manual moment ✨ this page is literally about struct i2c_device_identity, and its whole vibe is i2c client device identification. no cap. 🫢


🌸 NAME 🌸

struct i2c_device_identity β€” i2c client device identification. that's the name, that's the game πŸ’…


✨ SYNOPSIS ✨

here's the exact struct, with every #define bestie intact, periodt:

struct i2c_device_identity {
    u16 manufacturer_id;
  #define I2C_DEVICE_ID_NXP_SEMICONDUCTORS                0;
  #define I2C_DEVICE_ID_NXP_SEMICONDUCTORS_1              1;
  #define I2C_DEVICE_ID_NXP_SEMICONDUCTORS_2              2;
  #define I2C_DEVICE_ID_NXP_SEMICONDUCTORS_3              3;
  #define I2C_DEVICE_ID_RAMTRON_INTERNATIONAL             4;
  #define I2C_DEVICE_ID_ANALOG_DEVICES                    5;
  #define I2C_DEVICE_ID_STMICROELECTRONICS                6;
  #define I2C_DEVICE_ID_ON_SEMICONDUCTOR                  7;
  #define I2C_DEVICE_ID_SPRINTEK_CORPORATION              8;
  #define I2C_DEVICE_ID_ESPROS_PHOTONICS_AG               9;
  #define I2C_DEVICE_ID_FUJITSU_SEMICONDUCTOR            10;
  #define I2C_DEVICE_ID_FLIR                             11;
  #define I2C_DEVICE_ID_O2MICRO                          12;
  #define I2C_DEVICE_ID_ATMEL                            13;
  #define I2C_DEVICE_ID_NONE                         0xffff;
    u16 part_id;
    u8 die_revision;
 };

πŸŽ€ Members πŸŽ€

three members, and they're all main characters in this little struct:

  • manufacturer_id β€” 0 - 4095, and the database is maintained by NXP. iconic range, ngl πŸ’–
  • part_id β€” 0 - 511, according to manufacturer. yup, manufacturer's rules πŸ¦‹
  • die_revision β€” 0 - 7, according to manufacturer. tiny but fierce 🌸

πŸ”— SEE ALSO πŸ”—

bestie, the whole squad is here β€” first the kernel file ./include/linux/i2c.h, then all these icons:


xoxo, your kernel bestie πŸ’… β€” source/version: ./include/linux, dated October 2026. mwah! πŸŽ€πŸ’–

πŸ“¦ where this page comes from