Skip to content

Commit d16d048

Browse files
chewittkhilman
authored andcommitted
soc: amlogic: meson-gx-socinfo: Fix S905X3 and S905D3 ID's
Correct the SoC revision and package bits/mask values for S905D3/X3 to detect a wider range of observed SoC IDs, and tweak sort order for A311D/S922X. S905X3 05 0000 0101 (SEI610 initial devices) S905X3 10 0001 0000 (ODROID-C4 and recent Android boxes) S905X3 50 0101 0000 (SEI610 later revisions) S905D3 04 0000 0100 (VIM3L devices in kernelci) S905D3 b0 1011 0000 (VIM3L initial production) Fixes commit c9cc9be ("soc: amlogic: meson-gx-socinfo: Add SM1 and S905X3 IDs") Suggested-by: Neil Armstrong <[email protected]> Signed-off-by: Christian Hewitt <[email protected]> Signed-off-by: Kevin Hilman <[email protected]> Acked-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent b3a9e3b commit d16d048

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

drivers/soc/amlogic/meson-gx-socinfo.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,12 @@ static const struct meson_gx_package_id {
6666
{ "A113D", 0x25, 0x22, 0xff },
6767
{ "S905D2", 0x28, 0x10, 0xf0 },
6868
{ "S905X2", 0x28, 0x40, 0xf0 },
69-
{ "S922X", 0x29, 0x40, 0xf0 },
7069
{ "A311D", 0x29, 0x10, 0xf0 },
71-
{ "S905X3", 0x2b, 0x5, 0xf },
72-
{ "S905D3", 0x2b, 0xb0, 0xf0 },
70+
{ "S922X", 0x29, 0x40, 0xf0 },
71+
{ "S905D3", 0x2b, 0x4, 0xf5 },
72+
{ "S905X3", 0x2b, 0x5, 0xf5 },
73+
{ "S905X3", 0x2b, 0x10, 0x3f },
74+
{ "S905D3", 0x2b, 0x30, 0x3f },
7375
{ "A113L", 0x2c, 0x0, 0xf8 },
7476
};
7577

0 commit comments

Comments
 (0)