linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Support CrystalCove PMIC ACPI operation region
@ 2014-09-09  2:32 Aaron Lu
  2014-09-09  2:32 ` [PATCH 1/2] gpio / CrystalCove: support virtual GPIO Aaron Lu
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Aaron Lu @ 2014-09-09  2:32 UTC (permalink / raw)
  To: Linus Walleij, Alexandre Courbot, Samuel Ortiz, Lee Jones, Arnd Bergmann
  Cc: linux-gpio, linux-arch, linux-kernel, Jacob Pan, Lejun Zhu,
	Radivoje Jovanovic, Daniel Glöckner, linux-acpi,
	Rafael J. Wysocki

The two patches add support for CrystalCove PMIC ACPI operation region.
The PMIC chip has two customized operation regions: one for power rail
manipulation and one for thermal purpose: sensor temperature reading
and trip point value reading/setting.

For an example ASL code on ASUS T100 with CrystalCove PMIC, see here:
https://gist.github.com/aaronlu/f5f65771a6c3251fae5d

Aaron Lu (2):
  gpio / CrystalCove: support virtual GPIO
  PMIC / opregion: support PMIC customized operation region for
    CrystalCove

 drivers/gpio/gpio-crystalcove.c           |  19 +-
 drivers/mfd/Kconfig                       |  11 +
 drivers/mfd/Makefile                      |   1 +
 drivers/mfd/intel_soc_pmic_crc.c          |   3 +
 drivers/mfd/intel_soc_pmic_crc_opregion.c | 229 +++++++++++++++++++
 drivers/mfd/intel_soc_pmic_opregion.c     | 350 ++++++++++++++++++++++++++++++
 drivers/mfd/intel_soc_pmic_opregion.h     |  35 +++
 include/asm-generic/gpio.h                |   2 +-
 8 files changed, 646 insertions(+), 4 deletions(-)
 create mode 100644 drivers/mfd/intel_soc_pmic_crc_opregion.c
 create mode 100644 drivers/mfd/intel_soc_pmic_opregion.c
 create mode 100644 drivers/mfd/intel_soc_pmic_opregion.h

-- 
1.9.3


^ permalink raw reply	[flat|nested] 21+ messages in thread
* [PATCH 0/2] Support CrystalCove PMIC ACPI operation region
@ 2014-09-09  2:26 Aaron Lu
  2014-09-09  2:26 ` [PATCH 2/2] PMIC / opregion: support PMIC customized operation region for CrystalCove Aaron Lu
  0 siblings, 1 reply; 21+ messages in thread
From: Aaron Lu @ 2014-09-09  2:26 UTC (permalink / raw)
  To: Linus Walleij, Alexandre Courbot, Samuel Ortiz, Lee Jones, Arnd Bergmann
  Cc: linux-gpio, linux-arch, linux-kernel, Jacob Pan, Lejun Zhu,
	Radivoje Jovanovic, Daniel Glöckner

The two patches add support for CrystalCove PMIC ACPI operation region.
The PMIC chip has two customized operation regions: one for power rail
manipulation and one for thermal purpose: sensor temperature reading
and trip point value reading/setting.

For an example ASL code on ASUS T100 with CrystalCove PMIC, see here:
https://gist.github.com/aaronlu/f5f65771a6c3251fae5d

Aaron Lu (2):
  gpio / CrystalCove: support virtual GPIO
  PMIC / opregion: support PMIC customized operation region for
    CrystalCove

 drivers/gpio/gpio-crystalcove.c           |  19 +-
 drivers/mfd/Kconfig                       |  11 +
 drivers/mfd/Makefile                      |   1 +
 drivers/mfd/intel_soc_pmic_crc.c          |   3 +
 drivers/mfd/intel_soc_pmic_crc_opregion.c | 229 +++++++++++++++++++
 drivers/mfd/intel_soc_pmic_opregion.c     | 350 ++++++++++++++++++++++++++++++
 drivers/mfd/intel_soc_pmic_opregion.h     |  35 +++
 include/asm-generic/gpio.h                |   2 +-
 8 files changed, 646 insertions(+), 4 deletions(-)
 create mode 100644 drivers/mfd/intel_soc_pmic_crc_opregion.c
 create mode 100644 drivers/mfd/intel_soc_pmic_opregion.c
 create mode 100644 drivers/mfd/intel_soc_pmic_opregion.h

-- 
1.9.3


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

end of thread, other threads:[~2014-10-13 14:31 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-09  2:32 [PATCH 0/2] Support CrystalCove PMIC ACPI operation region Aaron Lu
2014-09-09  2:32 ` [PATCH 1/2] gpio / CrystalCove: support virtual GPIO Aaron Lu
2014-09-23 10:13   ` Linus Walleij
2014-09-24 11:18   ` Linus Walleij
2014-09-25  2:57     ` [PATCH v2 " Aaron Lu
2014-09-25 11:15       ` Mika Westerberg
2014-09-26  5:21         ` Aaron Lu
2014-09-25 13:16       ` Linus Walleij
2014-09-26  5:22         ` Aaron Lu
2014-09-09  2:32 ` [PATCH 2/2] PMIC / opregion: support PMIC customized operation region for CrystalCove Aaron Lu
2014-10-08  8:05   ` Lee Jones
2014-10-08  9:16     ` Linus Walleij
2014-10-08 11:58       ` Jacob Pan
2014-10-08 12:54       ` Mark Brown
2014-10-09  9:21     ` Aaron Lu
2014-10-13  9:02       ` Aaron Lu
2014-10-13 14:51         ` Rafael J. Wysocki
2014-09-09  2:37 ` [PATCH 0/2] Support CrystalCove PMIC ACPI operation region Aaron Lu
2014-09-15  2:57 ` Aaron Lu
2014-09-15 22:43   ` Lee Jones
  -- strict thread matches above, loose matches on Subject: below --
2014-09-09  2:26 Aaron Lu
2014-09-09  2:26 ` [PATCH 2/2] PMIC / opregion: support PMIC customized operation region for CrystalCove Aaron Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).