soc: amlogic: meson-gx-socinfo: Fix S905X3 and S905D3 ID's
authorChristian Hewitt <christianshewitt@gmail.com>
Tue, 9 Jun 2020 08:13:18 +0000 (08:13 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jul 2020 08:19:50 +0000 (10:19 +0200)
commite54e55c982789c638cff896ffce3a9ee5363a6c5
treeb502aa9d3ba35020413668ec8bfaab1f5e90fe5f
parentbea49f0cdb4099c56d5558f706cecef05b88aa51
soc: amlogic: meson-gx-socinfo: Fix S905X3 and S905D3 ID's

[ Upstream commit d16d0481e6bab5a916450e4ef0e1c958b550880c ]

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 c9cc9bec36d0 ("soc: amlogic: meson-gx-socinfo: Add SM1 and S905X3 IDs")

Suggested-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20200609081318.28023-1-christianshewitt@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soc/amlogic/meson-gx-socinfo.c