]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/linux/mfd/rdc321x.h
Merge branch 'work.cramfs' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
[mirror_ubuntu-bionic-kernel.git] / include / linux / mfd / rdc321x.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __RDC321X_MFD_H
3 #define __RDC321X_MFD_H
4
5 #include <linux/types.h>
6 #include <linux/pci.h>
7
8 /* Offsets to be accessed in the southbridge PCI
9 * device configuration register */
10 #define RDC321X_WDT_CTRL 0x44
11 #define RDC321X_GPIO_CTRL_REG1 0x48
12 #define RDC321X_GPIO_DATA_REG1 0x4c
13 #define RDC321X_GPIO_CTRL_REG2 0x84
14 #define RDC321X_GPIO_DATA_REG2 0x88
15
16 #define RDC321X_NUM_GPIO 59
17
18 struct rdc321x_gpio_pdata {
19 struct pci_dev *sb_pdev;
20 unsigned max_gpios;
21 };
22
23 struct rdc321x_wdt_pdata {
24 struct pci_dev *sb_pdev;
25 };
26
27 #endif /* __RDC321X_MFD_H */