diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-01-11 19:08:47 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-01-11 19:08:47 -0500 |
commit | 1e3f28a552c7acf6dd8acfe505beb4990e8cbd55 (patch) | |
tree | c501d538faa010b2a503ab79aba104bf12e76a12 /arch/x86/include | |
parent | 989652871b06f1fb173bc5e8e2ea03bec8f8eeeb (diff) | |
parent | d35818a9153e7f230fd65dc935e001a1b9bc08ff (diff) |
Merge branch 'acpi-soc'
* acpi-soc:
PM / clk: don't leave clocks enabled when driver not bound
i2c: dw: Add APM X-Gene ACPI I2C device support
ACPI / APD: Add APM X-Gene ACPI I2C device support
ACPI / LPSS: change 'does not have' to 'has' in comment
Revert "dmaengine: dw: platform: provide platform data for Intel"
dmaengine: dw: return immediately from IRQ when DMA isn't in use
dmaengine: dw: platform: power on device on shutdown
ACPI / LPSS: override power state for LPSS DMA device
ACPI / LPSS: power on when probe() and otherwise when remove()
ACPI / LPSS: do delay for all LPSS devices when D3->D0
ACPI / LPSS: allow to use specific PM domain during ->probe()
Revert "ACPI / LPSS: allow to use specific PM domain during ->probe()"
device core: add BUS_NOTIFY_DRIVER_NOT_BOUND notification
x86/platform/iosf_mbi: Remove duplicate definitions
Conflicts:
drivers/i2c/busses/i2c-designware-platdrv.c
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/iosf_mbi.h | 51 |
1 files changed, 13 insertions, 38 deletions
diff --git a/arch/x86/include/asm/iosf_mbi.h b/arch/x86/include/asm/iosf_mbi.h index b72ad0faa6c5..b41ee164930a 100644 --- a/arch/x86/include/asm/iosf_mbi.h +++ b/arch/x86/include/asm/iosf_mbi.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * iosf_mbi.h: Intel OnChip System Fabric MailBox access support | 2 | * Intel OnChip System Fabric MailBox access support |
3 | */ | 3 | */ |
4 | 4 | ||
5 | #ifndef IOSF_MBI_SYMS_H | 5 | #ifndef IOSF_MBI_SYMS_H |
@@ -16,6 +16,18 @@ | |||
16 | #define MBI_MASK_LO 0x000000FF | 16 | #define MBI_MASK_LO 0x000000FF |
17 | #define MBI_ENABLE 0xF0 | 17 | #define MBI_ENABLE 0xF0 |
18 | 18 | ||
19 | /* IOSF SB read/write opcodes */ | ||
20 | #define MBI_MMIO_READ 0x00 | ||
21 | #define MBI_MMIO_WRITE 0x01 | ||
22 | #define MBI_CFG_READ 0x04 | ||
23 | #define MBI_CFG_WRITE 0x05 | ||
24 | #define MBI_CR_READ 0x06 | ||
25 | #define MBI_CR_WRITE 0x07 | ||
26 | #define MBI_REG_READ 0x10 | ||
27 | #define MBI_REG_WRITE 0x11 | ||
28 | #define MBI_ESRAM_READ 0x12 | ||
29 | #define MBI_ESRAM_WRITE 0x13 | ||
30 | |||
19 | /* Baytrail available units */ | 31 | /* Baytrail available units */ |
20 | #define BT_MBI_UNIT_AUNIT 0x00 | 32 | #define BT_MBI_UNIT_AUNIT 0x00 |
21 | #define BT_MBI_UNIT_SMC 0x01 | 33 | #define BT_MBI_UNIT_SMC 0x01 |
@@ -28,50 +40,13 @@ | |||
28 | #define BT_MBI_UNIT_SATA 0xA3 | 40 | #define BT_MBI_UNIT_SATA 0xA3 |
29 | #define BT_MBI_UNIT_PCIE 0xA6 | 41 | #define BT_MBI_UNIT_PCIE 0xA6 |
30 | 42 | ||
31 | /* Baytrail read/write opcodes */ | ||
32 | #define BT_MBI_AUNIT_READ 0x10 | ||
33 | #define BT_MBI_AUNIT_WRITE 0x11 | ||
34 | #define BT_MBI_SMC_READ 0x10 | ||
35 | #define BT_MBI_SMC_WRITE 0x11 | ||
36 | #define BT_MBI_CPU_READ 0x10 | ||
37 | #define BT_MBI_CPU_WRITE 0x11 | ||
38 | #define BT_MBI_BUNIT_READ 0x10 | ||
39 | #define BT_MBI_BUNIT_WRITE 0x11 | ||
40 | #define BT_MBI_PMC_READ 0x06 | ||
41 | #define BT_MBI_PMC_WRITE 0x07 | ||
42 | #define BT_MBI_GFX_READ 0x00 | ||
43 | #define BT_MBI_GFX_WRITE 0x01 | ||
44 | #define BT_MBI_SMIO_READ 0x06 | ||
45 | #define BT_MBI_SMIO_WRITE 0x07 | ||
46 | #define BT_MBI_USB_READ 0x06 | ||
47 | #define BT_MBI_USB_WRITE 0x07 | ||
48 | #define BT_MBI_SATA_READ 0x00 | ||
49 | #define BT_MBI_SATA_WRITE 0x01 | ||
50 | #define BT_MBI_PCIE_READ 0x00 | ||
51 | #define BT_MBI_PCIE_WRITE 0x01 | ||
52 | |||
53 | /* Quark available units */ | 43 | /* Quark available units */ |
54 | #define QRK_MBI_UNIT_HBA 0x00 | 44 | #define QRK_MBI_UNIT_HBA 0x00 |
55 | #define QRK_MBI_UNIT_HB 0x03 | 45 | #define QRK_MBI_UNIT_HB 0x03 |
56 | #define QRK_MBI_UNIT_RMU 0x04 | 46 | #define QRK_MBI_UNIT_RMU 0x04 |
57 | #define QRK_MBI_UNIT_MM 0x05 | 47 | #define QRK_MBI_UNIT_MM 0x05 |
58 | #define QRK_MBI_UNIT_MMESRAM 0x05 | ||
59 | #define QRK_MBI_UNIT_SOC 0x31 | 48 | #define QRK_MBI_UNIT_SOC 0x31 |
60 | 49 | ||
61 | /* Quark read/write opcodes */ | ||
62 | #define QRK_MBI_HBA_READ 0x10 | ||
63 | #define QRK_MBI_HBA_WRITE 0x11 | ||
64 | #define QRK_MBI_HB_READ 0x10 | ||
65 | #define QRK_MBI_HB_WRITE 0x11 | ||
66 | #define QRK_MBI_RMU_READ 0x10 | ||
67 | #define QRK_MBI_RMU_WRITE 0x11 | ||
68 | #define QRK_MBI_MM_READ 0x10 | ||
69 | #define QRK_MBI_MM_WRITE 0x11 | ||
70 | #define QRK_MBI_MMESRAM_READ 0x12 | ||
71 | #define QRK_MBI_MMESRAM_WRITE 0x13 | ||
72 | #define QRK_MBI_SOC_READ 0x06 | ||
73 | #define QRK_MBI_SOC_WRITE 0x07 | ||
74 | |||
75 | #if IS_ENABLED(CONFIG_IOSF_MBI) | 50 | #if IS_ENABLED(CONFIG_IOSF_MBI) |
76 | 51 | ||
77 | bool iosf_mbi_available(void); | 52 | bool iosf_mbi_available(void); |