Re: [PATCH v3 0/6] soc: qcom: add support for the I2C Master Hub

From: Neil Armstrong
Date: Mon Dec 05 2022 - 03:37:53 EST


On 05/12/2022 09:31, Wolfram Sang wrote:
On Thu, Dec 01, 2022 at 11:49:21PM +0100, Wolfram Sang wrote:
On Tue, Nov 29, 2022 at 03:47:00PM +0100, Neil Armstrong wrote:
The I2C Master Hub is a stripped down version of the GENI Serial Engine
QUP Wrapper Controller but only supporting I2C serial engines without
DMA support.

The I2C Master Hub only supports a variant of the I2C serial engine with:
- a separate "core" clock
- no DMA support
- non discoverable fixed FIFO size

Since DMA isn't supported, the wrapper doesn't need the Master AHB clock
and the iommus property neither.

This patchset adds the bindings changes to the QUPv3 wrapper and I2C serial
element bindings to reflect the different resources requirements.

In order to reuse the QUPv3 wrapper and I2C serial element driver support,
the I2C Master Hub requirements are expressed in new desc structs passed
as device match data.

Is everyone fine if I take all this via the I2C tree?

I did this now.

All applied to for-next, thanks!


Thanks !

Neil