Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1719056

Re: [PATCH v2 0/3] Dollar Cove TI PMIC support for Intel Cherry Trail

From Andy Shevchenko <andy.shevchenko@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 0/3] Dollar Cove TI PMIC support for Intel Cherry Trail
Date 2017-08-24 11:30 +0200
Message-ID <uhWCB-4AO-7@gated-at.bofh.it> (permalink)
References <uhVwR-3Wx-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Aug 24, 2017 at 11:11 AM, Takashi Iwai <tiwai@suse.de> wrote:
> Hi,
>
> this is the revised patch set to add the support for Dollar Cove TI
> PMIC found on some Intel Cherry Trail laptops / tablets.  All drivers
> are based on the original code from Intel downstream patches, with
> lots of rewrites and cleanups.  MFD driver is implemented as a
> stand-alone like a few other variants, and the input driver got a diet
> in a minimalistic form.
>
> The patch set has been tested on ASUS E100H and E200H, as well as on
> HP x210.
>
> v1->v2:
> - Minor cleanups in mfd driver code as suggested by Andy
> - Move power-button driver to platform/x86, driver renames accordingly
> - Add missing wake-irq cleanup to power-button driver
> - get_raw_temp cleanup in opregion driver, mention about register
>   endianess
>
>

Global comment to the series, we agreed with Hans to follow the
pattern for Intel PMIC driver (module / file) names:

intel_XXX_<PLATFORM><PMIC>, where <PLATFORM> is 3 letter encoded Intel
platform name, like cht for CherryTrail and <PMIC> is two letter
abbreviation from ZZZ Cove, like wc for Whiskey Cove.

Here I understand that there is a potential of two PMIC variants for
the same platform DC from Intel, DC from TI. I dunno if former will be
a case in the future, though we may use something like

 intel_XXX_chtdc_ti

for the latter one.

> thanks,
>
> Takashi
>
> ===
>
> Takashi Iwai (3):
>   mfd: Add support for Cherry Trail Dollar Cove TI PMIC
>   platform/x86: Add support for Dollar Cove TI power button
>   ACPI / PMIC: Add opregion driver for Intel Dollar Cove TI PMIC
>
>  drivers/acpi/Kconfig                      |   6 +
>  drivers/acpi/Makefile                     |   1 +
>  drivers/acpi/pmic/intel_pmic_dc_ti.c      | 139 +++++++++++++++++++++++
>  drivers/mfd/Kconfig                       |  13 +++
>  drivers/mfd/Makefile                      |   1 +
>  drivers/mfd/intel_soc_pmic_dc_ti.c        | 182 ++++++++++++++++++++++++++++++
>  drivers/platform/x86/Kconfig              |   8 ++
>  drivers/platform/x86/Makefile             |   1 +
>  drivers/platform/x86/intel_dc_ti_pwrbtn.c |  96 ++++++++++++++++
>  9 files changed, 447 insertions(+)
>  create mode 100644 drivers/acpi/pmic/intel_pmic_dc_ti.c
>  create mode 100644 drivers/mfd/intel_soc_pmic_dc_ti.c
>  create mode 100644 drivers/platform/x86/intel_dc_ti_pwrbtn.c
>
> --
> 2.14.0
>



-- 
With Best Regards,
Andy Shevchenko

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/3] Dollar Cove TI PMIC support for Intel Cherry Trail Takashi Iwai <tiwai@suse.de> - 2017-08-24 10:20 +0200
  [PATCH v2 1/3] mfd: Add support for Cherry Trail Dollar Cove TI PMIC Takashi Iwai <tiwai@suse.de> - 2017-08-24 10:20 +0200
    Re: [PATCH v2 1/3] mfd: Add support for Cherry Trail Dollar Cove TI  PMIC Mika Westerberg <mika.westerberg@linux.intel.com> - 2017-08-24 11:10 +0200
    Re: [PATCH v2 1/3] mfd: Add support for Cherry Trail Dollar Cove TI PMIC Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-08-24 11:20 +0200
  Re: [PATCH v2 0/3] Dollar Cove TI PMIC support for Intel Cherry Trail Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-08-24 11:30 +0200
    Re: [PATCH v2 0/3] Dollar Cove TI PMIC support for Intel Cherry Trail Takashi Iwai <tiwai@suse.de> - 2017-08-24 11:40 +0200

csiph-web