summaryrefslogtreecommitdiffstats
path: root/data/lineageos_wiki
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2024-03-05 01:03:05 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2024-03-05 01:17:26 +0100
commit30a771db776cb7c0e6453099723b2507e95b4856 (patch)
tree86a362e5af1ada121ca93a0d61563acb2881bb16 /data/lineageos_wiki
parentc2f18990c54f048136f975d7a00ac8223469cb17 (diff)
downloadvendor_replicant-scripts-30a771db776cb7c0e6453099723b2507e95b4856.tar.gz
vendor_replicant-scripts-30a771db776cb7c0e6453099723b2507e95b4856.tar.bz2
vendor_replicant-scripts-30a771db776cb7c0e6453099723b2507e95b4856.zip
lineageos_wiki: Add Amlogic S905x2., S905y2 and S905y3 SOCs.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'data/lineageos_wiki')
-rwxr-xr-xdata/lineageos_wiki/find_lineageos_devices.py18
1 files changed, 15 insertions, 3 deletions
diff --git a/data/lineageos_wiki/find_lineageos_devices.py b/data/lineageos_wiki/find_lineageos_devices.py
index a59eb47..7b5b744 100755
--- a/data/lineageos_wiki/find_lineageos_devices.py
+++ b/data/lineageos_wiki/find_lineageos_devices.py
@@ -89,9 +89,21 @@ def device_has_shared_memory_between_modem_and_soc(vendor, product):
return None
def soc_has_modem(vendor, product):
- if vendor == 'Google' and product in ['Tensor GS101',
- 'Tensor GS201',
- 'Tensor G3']:
+ if vendor == 'Amlogic' and product in ['S905x2', 'S905y2']:
+ # Reference:
+ # https://en.wikipedia.org/wiki/Amlogic#Media_player_SoCs_(S9_family_gen_2)
+ # doesn't says that S905y2 or S905x2 have modems and they are
+ # "Media player" SOCs anyway.
+ return False
+ elif vendor == 'Amlogic' and product in ['S905y3']:
+ # While at the time of writing, this SOC is not present in
+ # https://en.wikipedia.org/wiki/Amlogic#Media_player_SoCs_(S9_family_gen_2)
+ # , given the SOC namings, it's likely to also be a media
+ # player SOC and so to not contain a modem.
+ return False
+ elif vendor == 'Google' and product in ['Tensor GS101',
+ 'Tensor GS201',
+ 'Tensor G3']:
# Reference:
# https://en.wikipedia.org/wiki/Google_Tensor#Models says that
# the GS101 and GS201 have an Exynos modem inside.