diff options
author | Hans de Goede <hdegoede@redhat.com> | 2021-12-25 14:55:09 +0300 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-01-05 13:31:18 +0300 |
commit | 761db353d9e286c1ce26d6f30d6c8b2bb60dcb23 (patch) | |
tree | 9b92692544bca5961a2130cf2ef78dc50dcd6e35 /drivers/platform/x86/intel/Makefile | |
parent | c8e2d921aa968bacc869a0e07baac2ff66a5d6c6 (diff) | |
download | linux-761db353d9e286c1ce26d6f30d6c8b2bb60dcb23.tar.xz |
platform/x86: Add intel_crystal_cove_charger driver
Driver for the external-charger IRQ pass-through function of the
Intel Bay Trail Crystal Cove PMIC.
Note this is NOT a power_supply class driver, it just deals with IRQ
pass-through, this requires this separate driver because the PMIC's
level 2 interrupt for this must be explicitly acked.
This new driver gets enabled by the existing X86_ANDROID_TABLETS Kconfig
option because the x86-android-tablets module is the only consumer of the
exported external-charger IRQ.
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20211225115509.94891-5-hdegoede@redhat.com
Diffstat (limited to 'drivers/platform/x86/intel/Makefile')
-rw-r--r-- | drivers/platform/x86/intel/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/platform/x86/intel/Makefile b/drivers/platform/x86/intel/Makefile index 7c24be2423d8..174a80a6c87c 100644 --- a/drivers/platform/x86/intel/Makefile +++ b/drivers/platform/x86/intel/Makefile @@ -30,6 +30,8 @@ obj-$(CONFIG_INTEL_OAKTRAIL) += intel_oaktrail.o # Intel PMIC / PMC / P-Unit drivers intel_bxtwc_tmu-y := bxtwc_tmu.o obj-$(CONFIG_INTEL_BXTWC_PMIC_TMU) += intel_bxtwc_tmu.o +intel_crystal_cove_charger-y := crystal_cove_charger.o +obj-$(CONFIG_X86_ANDROID_TABLETS) += intel_crystal_cove_charger.o intel_chtdc_ti_pwrbtn-y := chtdc_ti_pwrbtn.o obj-$(CONFIG_INTEL_CHTDC_TI_PWRBTN) += intel_chtdc_ti_pwrbtn.o intel_mrfld_pwrbtn-y := mrfld_pwrbtn.o |