Skip to content

Commit

Permalink
x86: Add TS-5500 platform support
Browse files Browse the repository at this point in the history
The Technologic Systems TS-5500 is an x86-based (AMD Elan SC520)
single board computer. This driver registers most of its devices
and exposes sysfs attributes for information such as jumpers'
state or presence of some of its options.

This driver currently registers the TS-5500 platform, its
on-board LED, 2 pin blocks (GPIO) and its analog/digital
converter. It can be extended to support other Technologic
Systems products, such as the TS-5600.

Signed-off-by: Vivien Didelot <[email protected]>
Acked-by: Thomas Gleixner <[email protected]>
Cc: Savoir-faire Linux Inc. <[email protected]>
Link: http://lkml.kernel.org/r/1357334294-12760-1-git-send-email-vivien.didelot@savoirfairelinux.com
Signed-off-by: Ingo Molnar <[email protected]>
  • Loading branch information
vivien authored and Ingo Molnar committed Jan 25, 2013
1 parent 479a99a commit 7d02912
Show file tree
Hide file tree
Showing 6 changed files with 402 additions and 0 deletions.
47 changes: 47 additions & 0 deletions Documentation/ABI/testing/sysfs-platform-ts5500
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." <[email protected]>
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." <[email protected]>
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." <[email protected]>
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." <[email protected]>
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." <[email protected]>
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." <[email protected]>
Description:
Indicates the presence of the SRAM option. If it is present,
it will display "1", otherwise "0".
5 changes: 5 additions & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -7543,6 +7543,11 @@ F: drivers/net/team/
F: include/linux/if_team.h
F: include/uapi/linux/if_team.h

TECHNOLOGIC SYSTEMS TS-5500 PLATFORM SUPPORT
M: Savoir-faire Linux Inc. <[email protected]>
S: Maintained
F: arch/x86/platform/ts5500/

TECHNOTREND USB IR RECEIVER
M: Sean Young <[email protected]>
L: [email protected]
Expand Down
9 changes: 9 additions & 0 deletions arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2199,6 +2199,15 @@ config GEOS
---help---
This option enables system support for the Traverse Technologies GEOS.

config TS5500
bool "Technologic Systems TS-5500 platform support"
depends on MELAN
select CHECK_SIGNATURE
select NEW_LEDS
select LEDS_CLASS
---help---
This option enables system support for the Technologic Systems TS-5500.

endif # X86_32

config AMD_NB
Expand Down
1 change: 1 addition & 0 deletions arch/x86/platform/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ obj-y += mrst/
obj-y += olpc/
obj-y += scx200/
obj-y += sfi/
obj-y += ts5500/
obj-y += visws/
obj-y += uv/
1 change: 1 addition & 0 deletions arch/x86/platform/ts5500/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
obj-$(CONFIG_TS5500) += ts5500.o
Loading

0 comments on commit 7d02912

Please sign in to comment.