Blame view

kernel/linux-imx6_3.14.28/include/linux/mfd/rdc321x.h 552 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  #ifndef __RDC321X_MFD_H
  #define __RDC321X_MFD_H
  
  #include <linux/types.h>
  #include <linux/pci.h>
  
  /* Offsets to be accessed in the southbridge PCI
   * device configuration register */
  #define RDC321X_WDT_CTRL	0x44
  #define RDC321X_GPIO_CTRL_REG1	0x48
  #define RDC321X_GPIO_DATA_REG1	0x4c
  #define RDC321X_GPIO_CTRL_REG2	0x84
  #define RDC321X_GPIO_DATA_REG2	0x88
  
  #define RDC321X_MAX_GPIO	58
  
  struct rdc321x_gpio_pdata {
  	struct pci_dev *sb_pdev;
  	unsigned max_gpios;
  };
  
  struct rdc321x_wdt_pdata {
  	struct pci_dev *sb_pdev;
  };
  
  #endif /* __RDC321X_MFD_H */