gpio-sch.c (7483d45f0aee3afc0646d185cabd4af9f6cab58c) gpio-sch.c (77820ffae678fa7ff6cc155354825b6b1a023afb)
1/*
2 * GPIO interface for Intel Poulsbo SCH
3 *
4 * Copyright (c) 2010 CompuLab Ltd
5 * Author: Denis Turischev <denis@compulab.co.il>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License 2 as published

--- 218 unchanged lines hidden (view full) ---

227 case PCI_DEVICE_ID_INTEL_ITC_LPC:
228 sch_gpio_core.base = 0;
229 sch_gpio_core.ngpio = 5;
230
231 sch_gpio_resume.base = 5;
232 sch_gpio_resume.ngpio = 9;
233 break;
234
1/*
2 * GPIO interface for Intel Poulsbo SCH
3 *
4 * Copyright (c) 2010 CompuLab Ltd
5 * Author: Denis Turischev <denis@compulab.co.il>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License 2 as published

--- 218 unchanged lines hidden (view full) ---

227 case PCI_DEVICE_ID_INTEL_ITC_LPC:
228 sch_gpio_core.base = 0;
229 sch_gpio_core.ngpio = 5;
230
231 sch_gpio_resume.base = 5;
232 sch_gpio_resume.ngpio = 9;
233 break;
234
235 case PCI_DEVICE_ID_INTEL_CENTERTON_ILB:
236 sch_gpio_core.base = 0;
237 sch_gpio_core.ngpio = 21;
238
239 sch_gpio_resume.base = 21;
240 sch_gpio_resume.ngpio = 9;
241 break;
242
235 default:
236 return -ENODEV;
237 }
238
239 sch_gpio_core.dev = &pdev->dev;
240 sch_gpio_resume.dev = &pdev->dev;
241
242 err = gpiochip_add(&sch_gpio_core);

--- 63 unchanged lines hidden ---
243 default:
244 return -ENODEV;
245 }
246
247 sch_gpio_core.dev = &pdev->dev;
248 sch_gpio_resume.dev = &pdev->dev;
249
250 err = gpiochip_add(&sch_gpio_core);

--- 63 unchanged lines hidden ---