-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'x86-platform-for-linus' of git://git.kernel.org/pub/scm…
…/linux/kernel/git/tip/tip Pull x86 platform changes from Ingo Molnar: - Support for the Technologic Systems TS-5500 platform, by Vivien Didelot - Improved NUMA support on AMD systems: Add support for federated systems where multiple memory controllers can exist and see each other over multiple PCI domains. This basically means that AMD node ids can be more than 8 now and the code handling this is taught to incorporate PCI domain into those IDs. - Support for the Goldfish virtual Android emulator, by Jun Nakajima, Intel, Google, et al. - Misc fixlets. * 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86: Add TS-5500 platform support x86/srat: Simplify memory affinity init error handling x86/apb/timer: Remove unnecessary "if" goldfish: platform device for x86 amd64_edac: Fix type usage in NB IDs and memory ranges amd64_edac: Fix PCI function lookup x86, AMD, NB: Use u16 for northbridge IDs in amd_get_nb_id x86, AMD, NB: Add multi-domain support
- Loading branch information
Showing
15 changed files
with
563 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
What: /sys/devices/platform/ts5500/adc | ||
Date: January 2013 | ||
KernelVersion: 3.7 | ||
Contact: "Savoir-faire Linux Inc." <kernel@savoirfairelinux.com> | ||
Description: | ||
Indicates the presence of an A/D Converter. If it is present, | ||
it will display "1", otherwise "0". | ||
|
||
What: /sys/devices/platform/ts5500/ereset | ||
Date: January 2013 | ||
KernelVersion: 3.7 | ||
Contact: "Savoir-faire Linux Inc." <kernel@savoirfairelinux.com> | ||
Description: | ||
Indicates the presence of an external reset. If it is present, | ||
it will display "1", otherwise "0". | ||
|
||
What: /sys/devices/platform/ts5500/id | ||
Date: January 2013 | ||
KernelVersion: 3.7 | ||
Contact: "Savoir-faire Linux Inc." <kernel@savoirfairelinux.com> | ||
Description: | ||
Product ID of the TS board. TS-5500 ID is 0x60. | ||
|
||
What: /sys/devices/platform/ts5500/jumpers | ||
Date: January 2013 | ||
KernelVersion: 3.7 | ||
Contact: "Savoir-faire Linux Inc." <kernel@savoirfairelinux.com> | ||
Description: | ||
Bitfield showing the jumpers' state. If a jumper is present, | ||
the corresponding bit is set. For instance, 0x0e means jumpers | ||
2, 3 and 4 are set. | ||
|
||
What: /sys/devices/platform/ts5500/rs485 | ||
Date: January 2013 | ||
KernelVersion: 3.7 | ||
Contact: "Savoir-faire Linux Inc." <kernel@savoirfairelinux.com> | ||
Description: | ||
Indicates the presence of the RS485 option. If it is present, | ||
it will display "1", otherwise "0". | ||
|
||
What: /sys/devices/platform/ts5500/sram | ||
Date: January 2013 | ||
KernelVersion: 3.7 | ||
Contact: "Savoir-faire Linux Inc." <kernel@savoirfairelinux.com> | ||
Description: | ||
Indicates the presence of the SRAM option. If it is present, | ||
it will display "1", otherwise "0". |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
obj-$(CONFIG_GOLDFISH) += goldfish.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* | ||
* Copyright (C) 2007 Google, Inc. | ||
* Copyright (C) 2011 Intel, Inc. | ||
* Copyright (C) 2013 Intel, Inc. | ||
* | ||
* This software is licensed under the terms of the GNU General Public | ||
* License version 2, as published by the Free Software Foundation, and | ||
* may be copied, distributed, and modified under those terms. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
*/ | ||
|
||
#include <linux/kernel.h> | ||
#include <linux/irq.h> | ||
#include <linux/platform_device.h> | ||
|
||
/* | ||
* Where in virtual device memory the IO devices (timers, system controllers | ||
* and so on) | ||
*/ | ||
|
||
#define GOLDFISH_PDEV_BUS_BASE (0xff001000) | ||
#define GOLDFISH_PDEV_BUS_END (0xff7fffff) | ||
#define GOLDFISH_PDEV_BUS_IRQ (4) | ||
|
||
#define GOLDFISH_TTY_BASE (0x2000) | ||
|
||
static struct resource goldfish_pdev_bus_resources[] = { | ||
{ | ||
.start = GOLDFISH_PDEV_BUS_BASE, | ||
.end = GOLDFISH_PDEV_BUS_END, | ||
.flags = IORESOURCE_MEM, | ||
}, | ||
{ | ||
.start = GOLDFISH_PDEV_BUS_IRQ, | ||
.end = GOLDFISH_PDEV_BUS_IRQ, | ||
.flags = IORESOURCE_IRQ, | ||
} | ||
}; | ||
|
||
static int __init goldfish_init(void) | ||
{ | ||
platform_device_register_simple("goldfish_pdev_bus", -1, | ||
goldfish_pdev_bus_resources, 2); | ||
return 0; | ||
} | ||
device_initcall(goldfish_init); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
obj-$(CONFIG_TS5500) += ts5500.o |
Oops, something went wrong.