Re: [PATCH v11 1/7] i2c: add I2C Address Translator (ATR) support

From: Wolfram Sang
Date: Tue Apr 25 2023 - 15:24:44 EST



> We do support some flags in the upper 16-bits of I2C addresses. Any of
> those possibly needed here?

I2C_OWN_SLAVE_ADDRESS definately not. ATR is only for addresses on the
remote bus while our own address is on the local bus.

I2C_TEN_BIT_ADDRESS, only in theory. I have never seen a 10-bit address
in the wild, so extremely unlikely that ATR hardware does support it.

But then again, there is a slight chance that we add more flags in the
future which might be relevant for ATR? So, u32 is probably a good
thing to use nonetheless.

Attachment: signature.asc
Description: PGP signature