[PATCH 0/2] i2c: cadence: Add support for Axiado AX3000
Swark Yang <[email protected]>
| Newsgroups | org.ozlabs.lists.openbmc,org.infradead.lists.linux-arm-kernel,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-i2c,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260504-axiado-ax3000-cadence-i2c-support-v1-0-97ed2fdc0b7b@axiado.com> |
This patch series adds support for the Cadence I2C controller integrated into the Axiado AX3000 SoC and enables SMBus Quick command functionality. The Axiado AX3000 utilizes the Cadence I2C IP core (version r1p14). While it is largely compatible with the existing i2c-cadence driver logic, the AX3000 hardware specifically supports SMBus Quick commands. This feature is currently disabled by default in the i2c-cadence driver (masked out from I2C_FUNC_SMBUS_EMUL). To enable this functionality, this series introduces a new platform-specific quirk (CDNS_I2C_QUIRK_SMBUS_QUICK) and uses driver match data for the "axiado,ax3000-i2c" compatible string. This allows tools like 'i2cdetect' to properly scan the bus using quick write commands. The DT binding update follows the recommended fallback structure, referencing the 'cdns,i2c-r1p14' fallback to ensure compatibility with older kernels while allowing the new quirk to be enabled on AX3000. Patch breakdown: Patch 1: dt-bindings: i2c: cadence: Add Axiado AX3000 Patch 2: i2c: cadence: Add support for Axiado AX3000 These patches are expected to go via the I2C subsystem tree. Feedback is welcome. Signed-off-by: Swark Yang <[email protected]> --- Swark Yang (2): dt-bindings: i2c: cadence: Add Axiado AX3000 i2c: cadence: Add support for Axiado AX3000 Documentation/devicetree/bindings/i2c/cdns,i2c-r1p10.yaml | 10 +++++++--- drivers/i2c/busses/i2c-cadence.c | 10 ++++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) --- base-commit: 63804fed149a6750ffd28610c5c1c98cce6bd377 change-id: 20260111-axiado-ax3000-cadence-i2c-support-53ec117bb074 Best regards, -- Swark Yang <[email protected]>