]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
mfd: lpc_ich: Use gpio-ich driver for 8-series and 9-series Intel PCH devices
authorDan Gora <dg@adax.com>
Thu, 7 Jul 2016 01:35:02 +0000 (22:35 -0300)
committerLee Jones <lee.jones@linaro.org>
Mon, 21 Nov 2016 13:00:17 +0000 (13:00 +0000)
The Intel 8-series and 9-series PCH devices, described by the descriptors
LPC_LPT and LPC_9S although codenamed 'lynxpoint' do not use the same GPIO
register layout which is used by the gpio-lynxpoint driver.  They use the
same ICH_V5_GPIO layout as the gpio-ich driver.

See:
http://www.intel.com/content/www/us/en/chipsets/8-series-chipset-pch-datasheet.html
http://www.intel.com/content/www/us/en/chipsets/9-series-chipset-pch-datasheet.html

The devices described by "Mobile 4th Generation Intel Core Processor
Family I/O" manual use the gpio-lynxpoint driver and are described by the
LPC_LPT_LP descriptor.

See:
http://www.intel.com/content/www/us/en/processors/core/4th-gen-core-family-mobile-i-o-datasheet.html

Signed-off-by: Dan Gora <dg@adax.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/lpc_ich.c

index c8dee47b45d96f6e4aca9862cfaad7555de41082..1ef7575547e69d715972685fa46bdf10eb91f619 100644 (file)
@@ -493,6 +493,7 @@ static struct lpc_ich_info lpc_chipset_info[] = {
        [LPC_LPT] = {
                .name = "Lynx Point",
                .iTCO_version = 2,
+               .gpio_version = ICH_V5_GPIO,
        },
        [LPC_LPT_LP] = {
                .name = "Lynx Point_LP",
@@ -530,6 +531,7 @@ static struct lpc_ich_info lpc_chipset_info[] = {
        [LPC_9S] = {
                .name = "9 Series",
                .iTCO_version = 2,
+               .gpio_version = ICH_V5_GPIO,
        },
 };