diff options
| author | Arnd Bergmann <arnd@arndb.de> | 2012-03-16 15:51:30 -0400 |
|---|---|---|
| committer | Arnd Bergmann <arnd@arndb.de> | 2012-03-16 15:51:30 -0400 |
| commit | d4ef467aea0fdcd5e75a4bbfaf97e579bbe532f3 (patch) | |
| tree | 5b91923fb5031c6963a60ee33ee7671d178f26b2 /include/linux/mod_devicetable.h | |
| parent | 4acf18232f80c29906356f0f35b2d5f800b5953d (diff) | |
| parent | 71de5c46e0600b72df58269e80da343e354ddbd7 (diff) | |
Merge branch 'ux500/dt' into next/dt2
* ux500/dt:
ARM: ux500: Provide local timer support for Device Tree
ARM: ux500: Enable PL022 SSP Controller in Device Tree
ARM: ux500: Enable PL310 Level 2 Cache Controller in Device Tree
ARM: ux500: Enable PL011 AMBA UART Controller for Device Tree
ARM: ux500: Enable Cortex-A9 GIC (Generic Interrupt Controller) in Device Tree
ARM: ux500: db8500: list most devices in the snowball device tree
ARM: ux500: split dts file for snowball into generic part
ARM: ux500: combine the board init functions for DT boot
ARM: ux500: Initial Device Tree support for Snowball
ARM: ux500: CONFIG: Enable Device Tree support for future endeavours
ARM: ux500: fix compilation after local timer rework
(adds dependency on localtimer branch, irqdomain branch and ux500/soc
branch)
Conflicts:
arch/arm/mach-ux500/devices-common.c
This adds patches from Lee Jones, Niklas Hernaeus and myself to provide
initial device tree support on the ux500 platform. The pull request from
Lee contained some other changes, so I rebased the patches on top of
the branches that are actually dependencies for this.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'include/linux/mod_devicetable.h')
| -rw-r--r-- | include/linux/mod_devicetable.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/linux/mod_devicetable.h b/include/linux/mod_devicetable.h index 83ac0713ed0a..fb69ad191ad7 100644 --- a/include/linux/mod_devicetable.h +++ b/include/linux/mod_devicetable.h | |||
| @@ -560,4 +560,25 @@ struct amba_id { | |||
| 560 | #endif | 560 | #endif |
| 561 | }; | 561 | }; |
| 562 | 562 | ||
| 563 | /* | ||
| 564 | * Match x86 CPUs for CPU specific drivers. | ||
| 565 | * See documentation of "x86_match_cpu" for details. | ||
| 566 | */ | ||
| 567 | |||
| 568 | struct x86_cpu_id { | ||
| 569 | __u16 vendor; | ||
| 570 | __u16 family; | ||
| 571 | __u16 model; | ||
| 572 | __u16 feature; /* bit index */ | ||
| 573 | kernel_ulong_t driver_data; | ||
| 574 | }; | ||
| 575 | |||
| 576 | #define X86_FEATURE_MATCH(x) \ | ||
| 577 | { X86_VENDOR_ANY, X86_FAMILY_ANY, X86_MODEL_ANY, x } | ||
| 578 | |||
| 579 | #define X86_VENDOR_ANY 0xffff | ||
| 580 | #define X86_FAMILY_ANY 0 | ||
| 581 | #define X86_MODEL_ANY 0 | ||
| 582 | #define X86_FEATURE_ANY 0 /* Same as FPU, you can't test for that */ | ||
| 583 | |||
| 563 | #endif /* LINUX_MOD_DEVICETABLE_H */ | 584 | #endif /* LINUX_MOD_DEVICETABLE_H */ |
