On 12/12/2016 11:56 PM, Hans de Goede wrote:
The cherrytrail punit has the pmic i2c bus access semaphore at a different register address. Signed-off-by: Hans de Goede <hdegoede@xxxxxxxxxx> Reviewed-by: Takashi Iwai <tiwai@xxxxxxx> Tested-by: Takashi Iwai <tiwai@xxxxxxx> Reviewed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> --- Changes in v2: -Adjust for accessor_flags -> flags rename -Add flags field to struct dw_pci_controller -Add get_sem_addr() helper replacing MODEL_CHERRYTRAIL flag checking in PUNIT_SEMAPHORE macro Changes in v3: -Add a gap between ACCESS_* and MODEL_* flags as reserved space for future ACCESS_* flags Changes in v4: -s/CHV/CHT/ --- drivers/i2c/busses/i2c-designware-baytrail.c | 22 +++++++++++++++++----- drivers/i2c/busses/i2c-designware-core.h | 2 ++ drivers/i2c/busses/i2c-designware-pcidrv.c | 26 +++++++++++++++++++------- drivers/i2c/busses/i2c-designware-platdrv.c | 2 +- 4 files changed, 39 insertions(+), 13 deletions(-)
Acked-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxxxxxxx> _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx