mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 17:25:38 +00:00
mfd: tqmx86: Add board definitions for TQMx120UC, TQMx130UC and TQMxE41S
This adds support for 3 new TQMx86 COMs: - TQMx120UC/TQMx130UC: COM Express Compact Type 6 modules with 12th and 13th Generation Intel Core CPUs ([1, 2]) - TQMxE41S: SMARC 2.1 module with Intel Atom x7000E and compatible CPUs [3] [1] https://www.tq-group.com/en/products/tq-embedded/x86-architecture/tqmx120uc/ [2] https://www.tq-group.com/en/products/tq-embedded/x86-architecture/tqmx130uc/ [3] https://www.tq-group.com/en/products/tq-embedded/x86-architecture/tqmxe41s/ Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com> Link: https://lore.kernel.org/r/90ddebda96d29246992b58ae0231a511f6424211.1731325758.git.matthias.schiffer@ew.tq-group.com Signed-off-by: Lee Jones <lee@kernel.org>
This commit is contained in:
parent
156d87b679
commit
97f0db5952
@ -35,11 +35,14 @@
|
||||
#define TQMX86_REG_BOARD_ID_E39C2 7
|
||||
#define TQMX86_REG_BOARD_ID_70EB 8
|
||||
#define TQMX86_REG_BOARD_ID_80UC 9
|
||||
#define TQMX86_REG_BOARD_ID_120UC 10
|
||||
#define TQMX86_REG_BOARD_ID_110EB 11
|
||||
#define TQMX86_REG_BOARD_ID_E40M 12
|
||||
#define TQMX86_REG_BOARD_ID_E40S 13
|
||||
#define TQMX86_REG_BOARD_ID_E40C1 14
|
||||
#define TQMX86_REG_BOARD_ID_E40C2 15
|
||||
#define TQMX86_REG_BOARD_ID_130UC 16
|
||||
#define TQMX86_REG_BOARD_ID_E41S 19
|
||||
#define TQMX86_REG_BOARD_REV 0x01
|
||||
#define TQMX86_REG_IO_EXT_INT 0x06
|
||||
#define TQMX86_REG_IO_EXT_INT_NONE 0
|
||||
@ -132,6 +135,8 @@ static const char *tqmx86_board_id_to_name(u8 board_id, u8 sauc)
|
||||
return "TQMx70EB";
|
||||
case TQMX86_REG_BOARD_ID_80UC:
|
||||
return "TQMx80UC";
|
||||
case TQMX86_REG_BOARD_ID_120UC:
|
||||
return "TQMx120UC";
|
||||
case TQMX86_REG_BOARD_ID_110EB:
|
||||
return "TQMx110EB";
|
||||
case TQMX86_REG_BOARD_ID_E40M:
|
||||
@ -142,6 +147,10 @@ static const char *tqmx86_board_id_to_name(u8 board_id, u8 sauc)
|
||||
return "TQMxE40C1";
|
||||
case TQMX86_REG_BOARD_ID_E40C2:
|
||||
return "TQMxE40C2";
|
||||
case TQMX86_REG_BOARD_ID_130UC:
|
||||
return "TQMx130UC";
|
||||
case TQMX86_REG_BOARD_ID_E41S:
|
||||
return "TQMxE41S";
|
||||
default:
|
||||
return "Unknown";
|
||||
}
|
||||
@ -154,11 +163,14 @@ static int tqmx86_board_id_to_clk_rate(struct device *dev, u8 board_id)
|
||||
case TQMX86_REG_BOARD_ID_60EB:
|
||||
case TQMX86_REG_BOARD_ID_70EB:
|
||||
case TQMX86_REG_BOARD_ID_80UC:
|
||||
case TQMX86_REG_BOARD_ID_120UC:
|
||||
case TQMX86_REG_BOARD_ID_110EB:
|
||||
case TQMX86_REG_BOARD_ID_E40M:
|
||||
case TQMX86_REG_BOARD_ID_E40S:
|
||||
case TQMX86_REG_BOARD_ID_E40C1:
|
||||
case TQMX86_REG_BOARD_ID_E40C2:
|
||||
case TQMX86_REG_BOARD_ID_130UC:
|
||||
case TQMX86_REG_BOARD_ID_E41S:
|
||||
return 24000;
|
||||
case TQMX86_REG_BOARD_ID_E39MS:
|
||||
case TQMX86_REG_BOARD_ID_E39C1:
|
||||
|
Loading…
Reference in New Issue
Block a user