mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-28 07:04:00 +08:00
7d0291256c
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 <vivien.didelot@savoirfairelinux.com> Acked-by: Thomas 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: Ingo Molnar <mingo@kernel.org>
48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
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".
|