]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: intel_soc_pmic_bxtwc: Convert to use new SCU IPC API
authorMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 16 Apr 2020 08:15:43 +0000 (11:15 +0300)
committerLee Jones <lee.jones@linaro.org>
Fri, 24 Apr 2020 10:17:58 +0000 (11:17 +0100)
commit83d4745095a2378ed3353644c4e90caef0396707
tree197cd9cb8db47d999440790e71aa3cd5c90e36e6
parent77e20653417d7a3fca16003166d966b24679716b
mfd: intel_soc_pmic_bxtwc: Convert to use new SCU IPC API

Convert the Intel Broxton Whiskey Cover PMIC driver to use the new SCU
IPC API. This allows us to get rid of the PMC IPC implementation which
is now covered in SCU IPC driver. We drop the error log if the IPC
command fails because intel_scu_ipc_dev_command() does that already.

Also move PMIC specific IPC message constants to the PMIC driver from
the intel_pmc_ipc.h header.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
arch/x86/include/asm/intel_pmc_ipc.h
drivers/mfd/intel_soc_pmic_bxtwc.c