Re: [PATCH 0/2] Support CrystalCove PMIC ACPI operation region

Aaron Lu
2014-09-15T02:57:29Z

I wonder if anyone has looked at this?

Note that this is for CrystalCove PMIC operation region support and the
CrystalCove driver is already in mainline, not for the DollarCove PMIC
driver that Jacob is currently upstreaming, so the patch doesn't have
any dependency.

Regards,
Aaron

On Tue, Sep 09, 2014 at 10:32:46AM +0800, Aaron Lu wrote:
> 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
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html