Commit Graph

56 Commits

Author SHA1 Message Date
Jake Weinstein c12dcdc87d vendor: Introduce adreno-u component
Based on OnePlus 12 firmware
Adreno Version 744.8

Change-Id: Ia484e04515e6ca72e6e18d8bd9dc8980449a9173
2023-12-21 02:11:00 -06:00
Jake Weinstein bd21d0a16e vendor: Remove perf-legacy
All chips can use perf now.

Change-Id: Id7e1c910e064aa850bab112d016d2f30f56c41eb
2023-11-13 07:48:08 +09:00
Jake Weinstein 4241b96328 vendor: Introduce adreno-t component variant
This will be used on kalama and crow.

Change-Id: I3d798e6811b7fc4cf57f273d13b26d593e617876
2023-10-31 23:42:52 +09:00
Jake Weinstein ba451f0035 vendor: Rename adreno components
Make way for kalama. The new naming matches
Qualcomm's branching strategy, which notes
the launch version of the SoC.

adreno-5xx-legacy is unchanged because
  it predates GRF.

adreno-r should be used for Android 11 GRF
  platforms, such as msmnile, kona, and lahaina.

adreno-s should be used for platforms launching
  with Android 12, such as taro and parrot.

adreno-t (coming soon) should be used for platforms
  launching with Android 13, such as kalama.

Note: adreno-t does not seem to support Adreno 6xx,
  so platforms that upgraded kernel versions and
  launching Android versions, such as kona and bengal
  on 5.15 may use adreno-s, which is consistent with
  Qualcomm's releases as well.

Change-Id: Id454e3b742622e69747ab3382b5b686dac4484ff
2023-10-31 23:42:52 +09:00
chrisl7 832198bad4 common: Enable dlkm based in kernel version
Change-Id: Iadb203d47d42b3c23c6051e637e43cc776b99742
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-10 10:51:43 +05:30
chrisl7 c8c0d6941f common: Fix 5_15 family components condition
Change-Id: Ie7f2f0eaf664db373720dbc1a643755011f7920b
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-10 10:39:29 +05:30
Jake Weinstein 570068bfa0 common: Allow overriding component selection logic
If either a device needs to override the variant in
device tree for a specific reason or all devices
on a particular kernel version and SoC
need to override the variant in common.mk,
they can do that.

USE ONLY IF YOU KNOW WHAT YOU'RE DOING

Change-Id: I2fa57d544956966b18b6d16fba056bb225e1a898
[cyberknight777: Use conditional assignment operators]
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2023-07-09 16:22:43 +00:00
chrisl7 860c085143 vendor: Introduce gps-legacy component and vendor proprietary
[1] - Qualcomm is using the exact same hal and GPS blobs for all SoC with A11 GRF, so we will define this as Common
[2] - Use HAL and Blobs from LA.UM.9.15.2.r1 because it updates faster than other platforms
[3] - HAL and blobs from LA.UM.9.15.2.r1-06600-KAMORTA.QSSI-13.0

Change-Id: Ia4c40020ff9155f178fd52e307ef278806f40046
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-06-24 15:52:24 +00:00
electimon ed1167bf41
common: Introduce alarm component
* Based upon LA.UM.9.14.r1-21000-LAHAINA.QSSI12.0
             LA.QSSI.13.0.r1-09700-qssi.0

Change-Id: I7085e5686c6cc2d63a62f84557bc1bac3d579e67
Signed-off-by: electimon <electimon@gmail.com>
2023-06-08 19:49:10 +09:00
Jprimero15 540f8fe0bf common: components: Drop QCOM WFD legacy
* Does not work on A13 anymore
* legacy devices should use AOSP WFD instead.

Change-Id: I05b834b39720bb2b224eaaab24bb76cf9136ddb9
Signed-off-by: Jprimero15 <jprimero155@gmail.com>
2023-05-28 01:28:22 +00:00
chrisl7 803ea991da vendor: media: Revert 306d32cedc
[1] - C2 audio service is requesting AGM and PAL services in the logs, and this is only found in audio-ar.
      Then revert bengal to media-legacy

Change-Id: Iab5eb30f8c79976ae4f4a768da4a9228a7d6d1db
2023-04-22 19:15:16 +00:00
Kunmun 7ba29265fe common: Drop system and vendor tag definition
There are different tags being used in different
components, hence this doesn't makes much sense.
Also, the mentioned tags are outdated with respect
to what the components are using at the moment.

Change-Id: Ie6d60343e2beec37ac0c9fe911bc12a26146bcee
2023-04-09 08:31:33 +05:30
electimon db1d866583 common: components: Allow enabling modules not in all
* Some modules are merged in order to unblock projects
  as well as to allow more visibility and therefore
  subject it to more testing. This change allows
  users to select all components as well as modules
  not enabled in all because they are under testing.

Change-Id: Id027e407b1eec1c5265b725c839cda18b6cb83b2
Signed-off-by: electimon <electimon@gmail.com>
2023-03-18 21:59:29 +00:00
chrisl7 03cd1790f0 common: Add support to 5.15 family
Change-Id: I19813cbdcb8b3218fbc13e17e25f9ebb9bf5ccb5
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 01:01:30 -03:00
electimon e96355ded8 common: vendor: Introduce qseecomd module
* Based upon LA.UM.9.16.r1-09800-MANNAR.QSSI12.0,
  qseecomd module provides qseecomd stack for devices
  on >5.4 kernels using DMABuf.

[TODO: Evaluate enabling this component on ALL]
Change-Id: I3b1c7a95193e296a173dc6e628e42ab66a96483f
Signed-off-by: electimon <electimon@gmail.com>
2023-03-05 02:01:32 +08:00
electimon bfd3ea7a5e common: vendor: Introduce keymaster module
* Based upon LA.UM.9.12.r1-13500.01-SMxx50.QSSI12.0,
  keymaster module provides keymaster/gatekeeper blobs
  specifically version 4.1 which is compatible with devices
  that use 4.0.

[TODO: Evaluate enabling this component on ALL]
Change-Id: I216b047ce7c3bcab5ba25eeb8c359c0d4cee5865
Signed-off-by: electimon <electimon@gmail.com>
2023-03-05 02:01:32 +08:00
electimon 848c5d4808 common: vendor: Introduce dsprpcd module
* Based upon LA.UM.9.12.r1-13500.01-SMxx50.QSSI12.0,
  This module contains *dsprpcd services with
  a selector to enable the correct services

[TODO: Evaluate enabling this component on ALL]
Change-Id: I79aaa8fd359ba4c8450f5896b9cfb873cec1f468
Signed-off-by: electimon <electimon@gmail.com>
2023-03-05 02:01:31 +08:00
electimon 567a41944c common: vendor: Introduce charging module
* Based upon LA.UM.9.12.r1-15100-SMxx50.QSSI13.0,
  This module contains userspace charging blobs
  typically provided to OEMs as prebuilts.

[TODO: Evaluate enabling this component on ALL]
Change-Id: I380ac70e40bc7dc8317d13ed7bee01e8c1125a68
Signed-off-by: electimon <electimon@gmail.com>
2023-03-05 01:00:18 +08:00
Jake Weinstein 6e2b66614e vendor: Introduce wlan-legacy component
LA.VENDOR.1.0 cnss-daemon breaks Wi-Fi on older
SoCs.

Change-Id: I8e50fe07983381a52297e5a7e6b384662e43bd82
2023-02-25 02:09:12 +00:00
Jake Weinstein 8874d5f5de common: Move 5.4 family to adreno-6xx-legacy
Sadly, newer libraries cause corruption when switching
tabs in Chrome.

Change-Id: Ib9bd93a483179fcf5a34c16bb755c1a56b8fe234
2023-02-02 01:56:45 +09:00
Jake Weinstein 306d32cedc components: Enable media component to bengal
[1] - Everything being used here is also cane enabled on SM8450 audio hal.

Change-Id: Iee0cb5cd7dd872f72b5b9ebe8244f9910146c990
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2022-12-27 12:03:32 +00:00
Jake Weinstein b1ba67454b common: Update to LA.QSSI.13.0.r1-08200-qssi.0
Change-Id: Idbad644b6bf37e6cac3e9cbaf46e499a8f2398e0
2022-12-22 15:55:40 +09:00
Alexander Koskovich 3fd7853104 common: Add support for non NQ NFC platforms
* NXP NFC is becoming increasingly popular as an alternative
   to NQ NFC, especially on the PN5xx platform. Add support
   for disabling NQ NFC in favor of NXP NFC. Rename QTI
   component to reflect this change.

Change-Id: I63dd29357943d6e5a31e479e98e6ff79df9b5124
2022-12-17 18:09:38 -05:00
Alexander Koskovich cee87bc746 common: Create DLKM component for 5.10+
Change-Id: I48787246fd3a01e6e7ea7acc10e08c9bdac6287e
2022-12-17 18:09:37 -05:00
Alexander Koskovich 327de13160 vendor: media: Conditionally update to LA.VENDOR.1.0.r1-16000-WAIPIO.QSSI13.0
For now, this is for 5.10 only. 5.4 and others may upgrade
at some point. Until then, 5.4 uses media-5.4
and pre-5.4 uses media-legacy.

Change-Id: I7dccc184f81d5b1733852397c59d36ca0c3489ca
2022-12-05 04:03:27 +00:00
Alexander Koskovich 5d7681d6fb common: wlan: Update to LA.VENDOR.1.0.r1-16000-WAIPIO.QSSI13.0
NOTE:
[1] - It is necessary to remove HIDL entry in Manifest:

fe498fe66e

Change-Id: I49f05ed43fabc42230a8039a4ffa79c57f2f2c97
2022-12-05 04:00:56 +00:00
Jake Weinstein 639161d061 vendor: perf: Conditionally update to LA.VENDOR.1.0.r1
Blobs are updated to LA.VENDOR.1.0.r1-16000-WAIPIO.QSSI13.0
Configs are updated to to LA.VENDOR.1.0.r1-15600-WAIPIO.0

This does not work yet on pre-5.10 SoCs.
Those SoCs will use the perf-legacy
component until that is fixed (or indefinitely
depending on the complexity of the fix).

Note: I am aware that there are conditions in perf
that only apply to legacy and conditions in perf-legacy
that only apply to perf. We need to nail down the
supported targets before I can clean up completely.

Change-Id: I7925042da82fac6e5353c1a4b1660b3ca9e128d7
2022-12-05 03:57:46 +00:00
Jake Weinstein 9749276e50 vendor: adreno: Conditionally upgrade to LA.VENDOR.1.0.r1-16000-WAIPIO.QSSI13.0
Currently, this only works on 5.4 and 5.10,
so pre-5.4 devices will stay on 5.4
binaries for the time being. This
renames components to the below:

adreno: 5.4/5.10 (LA.VENDOR.1.0.r1-16000-WAIPIO.QSSI13.0)
adreno-6xx-legacy: 4.9-4.19 (LA.UM.9.14.r1-20200-LAHAINA.QSSI13.0)
adreno-5xx: 3.18/4.4 (LA.UM.10.6.2.r1-01600-89xx.0)

Change-Id: I892e3b2e3c5c1d6d95d7c0ab4674075aa5546a3a
2022-12-05 03:57:25 +00:00
Jake Weinstein 19ec3eba9c common: Redo component selection logic
Maintainers should not need to manually select
the appropriate variant of a component for
their SoC. We know what does and does not
work for an SoC. Automatically select
the necessary component. This allows us
to be more flexible when new SoCs launch
and components may need to be renamed or
refactored.

Change-Id: Ibe9815ba7f70ec760c7b0cbd3771707af2e59854
2022-12-05 03:57:01 +00:00
Omkar Chandorkar 0eda1a7e88
system: update to LA.QSSI.13.0.r1-07400-qssi.0
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Change-Id: Ifcba087a46a711303816c5766c81b6dc0021c5d4
2022-11-16 18:53:32 +09:00
Omkar Chandorkar 73d7268bcf
system: update to LA.QSSI.13.0.r1-06400-qssi.0
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Change-Id: I2ab2bf0e9b71e75e00916cda639705204a239254
2022-09-30 16:52:44 +09:00
Jake Weinstein 0560171ec0 common: Update component tags
System: LA.QSSI.13.0.r1-05800-qssi.0
Vendor: LA.UM.9.14.r1-20200-LAHAINA.QSSI13.0
Change-Id: I06cfb6952f19e0d65569b3de742eecc4425b8465
2022-09-11 05:15:21 +09:00
Omkar Chandorkar d7c1ba1f94 common: system: update to LA.QSSI.13.0.r1-05300-qssi.0
Change-Id: I831b8368db8352861df8fc39d823d8fa252ad66f
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2022-08-28 19:22:50 +00:00
Omkar Chandorkar e262c8bd21 system: update to LA.QSSI.12.0.r1-08400-qssi.0
Change-Id: I66f558ca59ef4d1ed9e1c4b26b12f468236d5225
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2022-08-23 03:47:04 +00:00
Jake Weinstein 7d839fce64 display: separate into system and vendor components
Change-Id: Ib1e71ee2f92503934c87c30dc433949488fdb8c3
2022-07-31 03:42:05 +00:00
Jake Weinstein b9f6723a48 gps: separate into system and vendor components
Change-Id: I489a2cf50b4dcc143c26c474d3dee0b792e09ea1
2022-07-31 03:41:17 +00:00
Jake Weinstein a94746f0b3 bt: separate into system and vendor components
Change-Id: I97ea0775507b40c802dbd175cf83a1c3db3db5a6
2022-07-30 07:14:12 +05:30
Jake Weinstein 61d7ab2372 audio: separate audio into system and vendor
Also add missing makefile include

Change-Id: I96b8b3426f4aae737f5389c9ccac142004a6324f
2022-07-30 07:13:58 +05:30
Roman Rihter f696f0cc34 components: Include adreno-legacy for msm8953
We cannot just use 4_9_FAMILY because sdm845 can
use adreno component.

Change-Id: I4c2db762c61fee07ccff992bafe9fa82291d1519
2022-05-29 06:04:40 +00:00
Kunmun db1322dca6 wfd-legacy: Restore from LA.UM.10.6.2.r1-01600-89xx.0
Change-Id: I3bc33f2730c562e5662ecf487339b3abc75d3ded
2022-05-29 06:04:21 +00:00
Adithya R 77574f7581 common: system: Update to QSSI 07100
Change-Id: Ic122cb7cdaeec00ba7e843dd5fcb1eb95beb8f9d
2022-05-11 17:39:11 +09:00
Omkar Chandorkar 3065b7b4a1 common: vendor: update to 19300 LAHAINA
Change-Id: Ieb19098c7996e11eb28ba53f54658424cc81968e
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-05-11 08:36:18 +00:00
Omkar Chandorkar 6e9f41555d common: system: update to 07000 QSSI
Change-Id: I545e124dab776816d31dd1c7236c856bdb02f7d7
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-05-11 08:36:02 +00:00
Omkar Chandorkar 3e75c67ab9 telephony: split vendor component
Change-Id: I7f7ee0fcce221fe5aa76dc7ab737d94104a0fa0c
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-03-19 02:46:51 +00:00
Adithya R 5df0043d47 common: Update to LAHAINA 18900 | QSSI 05800
* msmnile: LA.UM.9.1.r1-11500.02-SMxxx0.QSSI12.0
 * kona: LA.UM.9.12.r1-13300-SMxx50.QSSI12.0
 * add few missing qssi services

Change-Id: I48ae24bb5dabe90e197cac23796cf802a1c69225
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2022-03-08 04:28:32 +00:00
Vishalcj17 0353f66f1f common: system: Update to 5800 QSSI.
Change-Id: I07cbdb8d76764b791631f948e2505fef19bbcb3d
2022-02-13 07:01:31 +00:00
Vishalcj17 c6cab13a2e common: Update to QSSI 5600 | LAHAINA 18600.
Change-Id: I7ca5c5b30fb26bfa5bd1c3803cf8b217efd78393
2022-01-19 18:50:26 +09:00
Vishalcj17 f05bcd9818 common: Specify the current tag of blobs.
Change-Id: I00e3084b0cb8adceb6a9d6bd1eb23503f27ecdd2
2022-01-19 18:49:54 +09:00
Vishalcj17 2def798ef9 common: Kill WFD Legacy.
* Re-introduce when needed.

Change-Id: Ice49b22dfd8616e1df17a0d0f9fc6dd07a8a5d62
2022-01-19 18:49:51 +09:00
Vishalcj17 bfaf4ecb25 Split system and vendor to their own folders.
Change-Id: Ie93e9fdf854f97aab1e2b6e61d55b309f49c1cd9
2021-11-24 21:04:52 +00:00