linux/arch/x86/platform/intel-mid/device_libs
Andy Shevchenko 910a26f6e9 x86/platform/intel-mid: Allocate RTC interrupt for Merrifield
Legacy RTC requires interrupt line 8 to be dedicated for it. On
Intel MID platforms the legacy PIC is absent and in order to make RTC
work we need to allocate interrupt separately.

Current solution brought by commit de1c2540aa does it in a wrong place,
and since it's done unconditionally for all x86 devices, some of them,
e.g. PNP based, might get it wrong because they execute the MID specific
code due to x86_platform.legacy.rtc flag being set.

Move intel_mid_legacy_rtc_init() to its own module and call it before x86 RTC
CMOS initialization.

Fixes: de1c2540aa ("x86/platform/intel-mid: Enable RTC on Intel Merrifield")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: "Luis R . Rodriguez" <mcgrof@kernel.org>
Link: http://lkml.kernel.org/r/20170119192425.189899-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
2017-01-20 10:07:41 +01:00
..
Makefile x86/platform/intel-mid: Allocate RTC interrupt for Merrifield 2017-01-20 10:07:41 +01:00
platform_bcm43xx.c x86/platform/intel-mid: Enable WiFi on Intel Edison 2016-09-01 08:22:42 +02:00
platform_bma023.c x86: Fix misspellings in comments 2016-02-24 08:44:58 +01:00
platform_emc1403.c x86: Fix misspellings in comments 2016-02-24 08:44:58 +01:00
platform_gpio_keys.c x86/platform/intel-mid: Enable GPIO keys on Merrifield 2017-01-06 08:35:27 +01:00
platform_lis331.c x86: Fix misspellings in comments 2016-02-24 08:44:58 +01:00
platform_max7315.c x86: Fix misspellings in comments 2016-02-24 08:44:58 +01:00
platform_mpu3050.c x86: Fix misspellings in comments 2016-02-24 08:44:58 +01:00
platform_mrfld_pinctrl.c x86/platform/intel-mid: Add pinctrl for Intel Merrifield 2016-07-01 10:12:39 +02:00
platform_mrfld_rtc.c x86/platform/intel-mid: Allocate RTC interrupt for Merrifield 2017-01-20 10:07:41 +01:00
platform_mrfld_sd.c x86/platform/intel-mid: Enable SD card detection on Merrifield 2016-09-01 08:22:42 +02:00
platform_mrfld_spidev.c x86/platform/intel-mid: Rename 'spidev' to 'mrfld_spidev' 2017-01-05 09:03:29 +01:00
platform_mrfld_wdt.c x86/platform/intel-mid: Rename platform_wdt to platform_mrfld_wdt 2016-11-21 11:07:11 +01:00
platform_msic_audio.c x86/platform/intel-mid: Get rid of duplication of IPC handler 2017-01-06 08:35:27 +01:00
platform_msic_battery.c x86/platform/intel-mid: Get rid of duplication of IPC handler 2017-01-06 08:35:27 +01:00
platform_msic_gpio.c x86/platform/intel-mid: Get rid of duplication of IPC handler 2017-01-06 08:35:27 +01:00
platform_msic_ocd.c x86/platform/intel-mid: Get rid of duplication of IPC handler 2017-01-06 08:35:27 +01:00
platform_msic_power_btn.c x86/platform/intel-mid: Get rid of duplication of IPC handler 2017-01-06 08:35:27 +01:00
platform_msic_thermal.c x86/platform/intel-mid: Get rid of duplication of IPC handler 2017-01-06 08:35:27 +01:00
platform_msic.c x86: Fix misspellings in comments 2016-02-24 08:44:58 +01:00
platform_msic.h x86, intel-mid: Cleanup some platform code's header files 2014-01-28 15:13:40 -08:00
platform_pcal9555a.c x86/platform/intel-mid: Enable GPIO expanders on Edison 2016-06-15 12:52:54 +02:00
platform_tc35876x.c x86: Fix misspellings in comments 2016-02-24 08:44:58 +01:00
platform_tca6416.c x86: Fix misspellings in comments 2016-02-24 08:44:58 +01:00