--- zzzz-none-000/linux-4.9.279/drivers/i2c/busses/i2c-designware-core.h 2021-08-08 06:38:54.000000000 +0000 +++ puma7-atom-6591-750/linux-4.9.279/drivers/i2c/busses/i2c-designware-core.h 2023-02-08 11:43:42.000000000 +0000 @@ -69,6 +69,7 @@ * @hs_lcnt: high speed LCNT value * @acquire_lock: function to acquire a hardware lock on the bus * @release_lock: function to release a hardware lock on the bus + * @shared_host: if this host is shared by other units on the SoC * @pm_runtime_disabled: true if pm runtime is disabled * * HCNT and LCNT parameters can be used if the platform knows more accurate @@ -114,8 +115,12 @@ u16 fp_lcnt; u16 hs_hcnt; u16 hs_lcnt; + int shared_host; + int polling; int (*acquire_lock)(struct dw_i2c_dev *dev); void (*release_lock)(struct dw_i2c_dev *dev); + int (*acquire_ownership) (void); + int (*release_ownership) (void); bool pm_runtime_disabled; };