[Intel-gfx] [PATCH v4 5/5] i2c: designware-baytrail: Add support for cherrytrail
Jarkko Nikula
jarkko.nikula at linux.intel.com
Tue Dec 13 13:45:18 UTC 2016
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 at redhat.com>
> Reviewed-by: Takashi Iwai <tiwai at suse.de>
> Tested-by: Takashi Iwai <tiwai at suse.de>
> Reviewed-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>
> ---
> 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 at linux.intel.com>
More information about the Intel-gfx
mailing list