Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7d029125 authored by Vivien Didelot's avatar Vivien Didelot Committed by Ingo Molnar
Browse files

x86: Add TS-5500 platform support



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: default avatarVivien Didelot <vivien.didelot@savoirfairelinux.com>
Acked-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: Savoir-faire Linux Inc. <kernel@savoirfairelinux.com>
Link: http://lkml.kernel.org/r/1357334294-12760-1-git-send-email-vivien.didelot@savoirfairelinux.com


Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
parent 479a99a8
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
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".
+5 −0
Original line number Diff line number Diff line
@@ -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. <kernel@savoirfairelinux.com>
S:	Maintained
F:	arch/x86/platform/ts5500/

TECHNOTREND USB IR RECEIVER
M:	Sean Young <sean@mess.org>
L:	linux-media@vger.kernel.org
+9 −0
Original line number Diff line number Diff line
@@ -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
+1 −0
Original line number Diff line number Diff line
@@ -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 −0
Original line number Diff line number Diff line
obj-$(CONFIG_TS5500)	+= ts5500.o
Loading