public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] mfd: platform/chrome: some more cleanups between these subsystems.
@ 2018-07-18 16:09 Enric Balletbo i Serra
  2018-07-18 16:09 ` [PATCH 1/2] platform/chrome: Move mfd/cros_ec_lpc* includes to drivers/platform Enric Balletbo i Serra
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Enric Balletbo i Serra @ 2018-07-18 16:09 UTC (permalink / raw)
  To: linux-kernel; +Cc: groeck, bleung, kernel, lee.jones, Olof Johansson

Dear Lee, Benson,

This is another patchset to try to cleanup a bit more the interaction
between the mfd subsystem and platform/chrome.

The first patch moves some cros-ec include files from include/linux/mfd to
platform/chrome. They are specific to the lpc transport driver and are not
related to the mfd subsystem, so, there is no reason to have them living
in include/linux/mfd.

The second patch tries to cleanup and fix some kerneldoc commments in
the remaining mfd/cros-ec include files. For now I only improved a bit
the documentation and fixed the warnings reported by kerneldoc. I think
that there is still a lot of improvement pending, specially in the
cros_ec_commands.h file, but this is something I'd like to have the
agreement of the chromeos folks as I know this file is used as interface
for the EC firmware. As far as I know the kernel doesn't cares about this,
but I know this is source of conflicts for the chromeos folks.
Usually, in the chromeos kernel, the cros_ec_commands file is synced
with the version available from the EC firmware but maybe we should
reconsider this and have a well documented file in the kernel and sync
in the other way. I am just thinking out loud.

Best regards,
 Enric


Enric Balletbo i Serra (2):
  platform/chrome: Move mfd/cros_ec_lpc* includes to drivers/platform.
  mfd: cros_ec: Fix and improve kerneldoc comments.

 drivers/mfd/cros_ec_dev.h                     |  13 +-
 drivers/platform/chrome/cros_ec_lpc.c         |   3 +-
 drivers/platform/chrome/cros_ec_lpc_mec.c     |   3 +-
 .../platform/chrome}/cros_ec_lpc_mec.h        |   6 +-
 drivers/platform/chrome/cros_ec_lpc_reg.c     |   3 +-
 .../platform/chrome}/cros_ec_lpc_reg.h        |   6 +-
 include/linux/mfd/cros_ec.h                   | 214 +++++++------
 include/linux/mfd/cros_ec_commands.h          | 295 +++++++++++-------
 8 files changed, 322 insertions(+), 221 deletions(-)
 rename {include/linux/mfd => drivers/platform/chrome}/cros_ec_lpc_mec.h (96%)
 rename {include/linux/mfd => drivers/platform/chrome}/cros_ec_lpc_reg.h (94%)

-- 
2.18.0


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-09-10 13:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-07-18 16:09 [PATCH 0/2] mfd: platform/chrome: some more cleanups between these subsystems Enric Balletbo i Serra
2018-07-18 16:09 ` [PATCH 1/2] platform/chrome: Move mfd/cros_ec_lpc* includes to drivers/platform Enric Balletbo i Serra
2018-09-07  7:32   ` Benson Leung
2018-07-18 16:09 ` [PATCH 2/2] mfd: cros_ec: Fix and improve kerneldoc comments Enric Balletbo i Serra
2018-09-07  7:54   ` Benson Leung
2018-09-10  9:12     ` Lee Jones
2018-09-10  9:13       ` Benson Leung
2018-09-10 13:47         ` Lee Jones
2018-08-27 10:39 ` [PATCH 0/2] mfd: platform/chrome: some more cleanups between these subsystems Enric Balletbo Serra
2018-09-06  9:55   ` Benson Leung

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox