Message ID | 20200303133649.39819-1-mika.westerberg@linux.intel.com (mailing list archive) |
---|---|
Headers | show |
Series | platform/x86: Rework intel_scu_ipc and intel_pmc_ipc drivers | expand |
Hi all, On Tue, Mar 03, 2020 at 04:36:30PM +0300, Mika Westerberg wrote: > Currently both intel_scu_ipc.c and intel_pmc_ipc.c implement the same SCU > IPC communications with minor differences. This duplication does not make > much sense so this series reworks the two drivers so that there is only a > single implementation of the SCU IPC. In addition to that the API will be > updated to take SCU instance pointer as an argument, and most of the > callers will be converted to this new API. The old API is left there but > the plan is to get rid the callers and then the old API as well (this is > something we are working with Andy Shevchenko). > > The intel_pmc_ipc.c is then moved under MFD which suits better for this > kind of a driver that pretty much sets up the SCU IPC and then creates a > bunch of platform devices for the things sitting behind the PMC. The driver > is renamed to intel_pmc_bxt.c which should follow the existing conventions > under drivers/mfd (and it is only meant for Intel Broxton derivatives). > > This series is on top of platform-driver-x86.git/for-next because there are > a couple of commits in that branch that re-organize the Kconfig and > Makefile of drivers/platform/x86. So these do not apply cleanly without > those commits. For this reason I would prefer this to go through pdx86 tree > if there are no objections. If there are no objections it would be nice to get this series merged for v5.7. Thanks!