/* * platform_pmic_gpio.c: PMIC GPIO platform data initialization file * * (C) Copyright 2013 Intel Corporation * Author: Sathyanarayanan Kuppuswamy <sathyanarayanan.kuppuswamy@intel.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; version 2 * of the License. */ #include <linux/kernel.h> #include <linux/interrupt.h> #include <linux/scatterlist.h> #include <linux/gpio.h> #include <linux/init.h> #include <linux/sfi.h> #include <linux/intel_pmic_gpio.h> #include <asm/intel-mid.h> #include "platform_ipc.h"
static void __init *pmic_gpio_platform_data(void *info) { static struct intel_pmic_gpio_platform_data pmic_gpio_pdata; int gpio_base = get_gpio_by_name("pmic_gpio_base"); if (gpio_base < 0) gpio_base = 64; pmic_gpio_pdata.gpio_base = gpio_base; pmic_gpio_pdata.irq_base = gpio_base + INTEL_MID_IRQ_OFFSET; pmic_gpio_pdata.gpiointr = 0xffffeff8; return &pmic_gpio_pdata; }Contributors
Person | Tokens | Prop | Commits | CommitProp | |
david cohen | david cohen | 59 | 100.00% | 2 | 100.00% |
Total | 59 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
david cohen | david cohen | 162 | 99.39% | 2 | 66.67% |
adam buchbinder | adam buchbinder | 1 | 0.61% | 1 | 33.33% |
Total | 163 | 100.00% | 3 | 100.00% |