Commit Graph

400 Commits

Author SHA1 Message Date
Jake Weinstein 46ef910a5a Revert "common: Inherit config.fs from qssi"
This reverts commit f91588987f.

Reason for revert: Rethinking this, qssi isn't actually
inheriting this and this config would not be used from here.

Change-Id: I242ebc997b3951826e5e1da93e0c198516570011
2022-10-23 02:28:42 +00:00
Jake Weinstein f91588987f common: Inherit config.fs from qssi
Change-Id: I89d71f0b260f4e1ca43e4f853b0d628bd2e68c60
2022-10-23 02:14:58 +00:00
Jake Weinstein 53b6080d3e common: Inherit utils.mk from core-utils
Core-utils is actually slightly newer, so there
is no need to maintain this ourselves.

Change-Id: Ia23545b9185c585df02fad84ff87fc7bc735403f
2022-10-23 02:14:41 +00:00
Jake Weinstein ded15e761d common: Inherit privapp permissions/qti whitelist/public libraries from qssi
Change-Id: Ie115b95d253e85941c13fce61404670e5e621ffa
2022-10-23 02:13:36 +00:00
Jake Weinstein a0dd3032a6 common: Remove unwanted legacy SoCs
Change-Id: I7f8537517f7258dc9994cff6cd49992de82d92d5
2022-10-23 02:13:24 +00:00
Jake Weinstein a94b073a5f common: Add initial support for 5.10 targets
Change-Id: Id52edf0f17cbd65f9ea597dfd16cdd520ecb9bcc
2022-08-17 06:49:45 +09:00
Jake Weinstein 49c0d73047 common: Build vndservicemanager
Despite AOSP design, Qualcomm still relies on vndservicemanager
even for devices shipping API 30 and higher. They build vndservicemanager
for all targets and we should too.

Change-Id: I4d6d8d58b55744aa4fff694af6a2adad3783983d
2022-08-14 11:25:27 +09:00
chrisl ae571c2d58 common: Move seccomp to vendor folder
[1] - Why are they in system if it is copied to the vendor?

Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: If130c5ac9f7de819abb0f6d3f7317d09bf7a50ab
2022-07-25 11:25:35 +00:00
Omkar Chandorkar 0ccb22dbb4
common: move config.fs declaration outside of BoardConfig
fixes
`device/qcom/common/BoardConfigQcom.mk:27: error: cannot assign to readonly variable: TARGET_FS_CONFIG_GEN`

Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Change-Id: I1694332eccb3aef0cb4485fc94e38dc9162ec914
2022-07-23 18:06:13 +09:00
chrisl7 104d9d9641 common: Import Qualcomm specific configs from aospa vendor
[1] - Now we have Pixel 6 here, which doesn't use any Qualcommon,
      so let's move it to the appropriate place.

Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: I6027e8a0664a60de6b5d32e7cf98b8843088cf32
2022-07-23 01:00:05 +00:00
Vishalcj17 bfaf4ecb25 Split system and vendor to their own folders.
Change-Id: Ie93e9fdf854f97aab1e2b6e61d55b309f49c1cd9
2021-11-24 21:04:52 +00:00
Jake Weinstein 19f7a1202c common: replace DEVICE_PATH with QCOM_COMMON_PATH
This was working fine for us because of the way we inherit
QCOM common, but was not working for other ROMs
that inherit it from device.mk.

Change-Id: If7e640bde5fd7e6c72c55d17470168aba3cb6a9e
2021-07-09 01:51:49 +00:00
Kuba Wojciechowski 9f26a67f18 common: guard FCM copy from core-utils.
* Not there on aosp roms

Signed-off-by: Kuba Wojciechowski <nullbytepl@gmail.com>
Change-Id: I181ad1cd30ece49242b47855536eeed18ce0fabb
2021-06-19 13:00:36 +00:00
Alexander Koskovich 71b963aec9
common: Only include QCOM common if it's a QCOM board.
Change-Id: Iedc252f61eb49fb7772bc7c935f1c9967657b18a
2021-06-06 13:39:11 -07:00
Vishalcj17 ef2092b073 common: Copy out Framework Compatibility Matrix from core.
Change-Id: I16f105fd4cfb89a236e0bde93ff98b58e17e67cc
2021-05-15 04:25:13 +07:00
Alexander Koskovich 72868dd9dc
common: Move TARGET_BOARD_PLATFORM check to common makefile.
* We need the board platform for various makefiles we include
   and for kernel version guards, just require it outright in
   top level.

Change-Id: I1100b2c731e4d5cc8f522641b6ea60e83ec29908
2021-05-02 00:19:52 -07:00
Vishalcj17 c7182b552c
common: Add support for 5.4 platforms.
Change-Id: Ieb8aa2a67b93bc7a7e255cf7df24e12d29860e50
2021-05-02 00:19:51 -07:00
SayanAcharya 0a9fcc6867
common: Include opensource power makefile.
* This ensures required power packages are built and
   SoC specific powerhints are copied.

Change-Id: Ia7f7350dda259a27b1130f8dba7d6a8132a642f2
2021-03-12 07:18:46 -07:00
Alexander Koskovich dd2c114abe
common: Copy public libraries from common repository.
* The QSSI repository likely won't exist for anything
   but CAF ROMs.

Change-Id: I84ef8c7c2b9d20e061ffd46688f208278c7dfdcc
2021-02-17 16:06:42 -07:00
Alexander Koskovich 7c557eddcd
common: Copy public libraries from QSSI.
Change-Id: Ie35872abf829fd1e299b7bb98dc1756574a4c8df
2021-02-17 08:29:36 -07:00
Alexander Koskovich 71d90ab284
common: Split common into component specific makefile.
Change-Id: I1b705598d88556f62076fb2f4f2d4f69a8f5dbd5
2020-12-02 12:39:12 -07:00
Alexander Koskovich e3e653fcc2
common: Move SECCOMP extensions to QCOM common.
Change-Id: I9a836f242b4621480db75cb07636e40720052e54
2020-12-02 12:15:04 -07:00
Alexander Koskovich 094a29a014
common: Introduce a vibrator component.
Change-Id: Id37e2af91552fa656b6da5a11c108f1cf027fd88
2020-11-25 09:31:17 -07:00
Alexander Koskovich 282c4a777c common: Add families for kernel versions.
* Wanted by some component checks, inspired by the way
   LOS handles families.

Change-Id: I63f0367ee7d6a1372c5d392bddbd3ec1153680a1
2020-11-22 06:35:32 +00:00
Alexander Koskovich e4ed545b95 common: Create a QTI USB component.
* Add in a script of our own to set product ID since
   QCOM's default is SOC based, e.g. KONA-MTP _SN:XXXXXXXX.

Change-Id: Ieede136b5dd8903dcfe2f41f59d5278df7b02ee6
2020-11-22 06:35:32 +00:00
Alexander Koskovich 40a5ab01d7 common: Create a NQ NFC component.
Change-Id: I6ebab18848b20d3c1848c0612b2196a1968b638b
2020-11-22 06:35:32 +00:00
Alexander Koskovich 45e7972be9 common: Create a WLAN component.
* Only pick up product makefile if it exists, some
   vendorless devices may be opting into all components.

 * Move BoardConfigWlan flags here as CAF's tries to
   include kernel modules that don't exist and this
   is a better solution than touching all of their
   BoardConfigs.

Change-Id: I16d49283f754e2c3dd1743ca85f3e625e8496e8f
2020-11-22 06:35:32 +00:00
Alexander Koskovich 513b7568d3 common: Create a media component.
* Only pick up product makefile if it exists, some
   vendorless devices may be opting into all components.

Change-Id: I3b564a20637c8a1ca4b4e54d829201d0d51f2561
2020-11-22 06:35:32 +00:00
Alexander Koskovich 83d6017f95 common: Import QCOM board utilities from LA.UM.9.12.r1-09000-SMxx50.0.
Change-Id: I77eee7bc8892d836e14564d99b13250b426ead35
2020-11-22 06:35:32 +00:00
Jake Weinstein 95213832a0 common: remove reference to 1.0 Power HAL
Change-Id: I52126b84cb1d05aa6f76127bcf401c266f5e9c72
2020-11-08 06:32:48 +01:00
Alexander Koskovich 18b2d98d71
common: Add an option to pick up all of the QTI components.
Change-Id: I7325dcdd89e28c0df077e1df997cedd108e3ea12
2020-10-20 12:51:21 -07:00
Alexander Koskovich cfbd2c16b4
Add an initialization component from LA.UM.9.1.r1-08400-SMxxx0.0.
Change-Id: I49dbed09776c6d8437c4a749ee78849a5d8206e6
2020-10-14 09:06:10 -07:00
Alexander Koskovich 6a706e0b60
common: Add an overlays component from LA.QSSI.11.0.r1-06200-qssi.0.
Change-Id: I6fc4494effa67f52126653867e23e90ad7f0c978
2020-10-14 09:00:46 -07:00
Jyotiraditya 5941911c9f common: Switch to AIDL based power HAL service
Change-Id: Id375d27b2d85cdc874d9583344848d5fc6329aba
2020-09-26 13:50:24 +00:00
Alexander Koskovich 7cf9b8e299
common: Introduce GPS component.
Change-Id: I3d88f36b7da6e06a9a340b9202864ede36378cca
2020-07-30 16:51:15 -04:00
Jake Weinstein 20dcefe12a
common: Introduce display component for QSSI SoCs (845 and newer)
Change-Id: I0853820ab7a52aa1dc7a47d3576d3dc96f451b50
2020-07-30 16:51:13 -04:00
Jake Weinstein 7586e977ff
common: Introduce audio component for QSSI SoCs (845 and newer)
* This includes the basic system flags and properties which
   should be common across all SoCs that support QSSI.

 * We have to disable AHAL_EXT because it depends on
   proprietary headers. AHAL may be something we should
   reverse. On a side note, we can probably move the AHAL
   blobs from AV to audio HAL at some point.

Change-Id: Icac2b2ce985272c7d281cfffa130f76de5adf614
2020-07-30 16:50:45 -04:00
Arian ed3ec32ae5 common: Build Qualcomm PowerHAL
Change-Id: I78f24f16d7454d3cdbea6751b826f6d2badb35de
2020-06-25 15:58:45 +00:00
Jake Weinstein 10564c060b
wfd: Include QCOM display packages.
* WFD is dependent on these to work.
 * Add comment to Makefile to clarify which
   SoCs use wfd (845 and up) and which use
   legacy (835 and older)

Change-Id: I072c88a23bd57e7d5312fc6a7fda11ec8e0d3634
2020-05-05 17:25:05 -04:00
Alexander Koskovich 74b31b107a common: Add legacy WFD component.
Change-Id: I8b10066a79f19b185eb5582862f370d1d6bdad25
2020-05-05 19:21:43 +00:00
Jake Weinstein 98e34b5882 common: Move flags to BoardConfigQcom in vendor/pa
Change-Id: Ic1c75434521dc4afa9addb296566f31d3994503f
2020-04-01 23:25:58 +05:30
Jake Weinstein 9a2475626c common: Move utils.mk to vendor/pa
Change-Id: I1d900a706925191376123a36bc499a328fe6c608
2020-04-01 23:11:22 +05:30
Adithya R 6b48197189 common: Move media extensions flag to vendor board config
- There is no point in adding platform-specific config here
  cuz BoardConfig is read only after pa_device.mk device.mk so
  at this point TARGET_BOARD_PLATFORM is null

Change-Id: Ife96c4c95bb764d08d1c3d0fed1cf2921a58390b
2020-03-29 11:27:45 +05:30
Jake Weinstein a4cf285bca common: enable TARGET_USES_MEDIA_EXTENSIONS on Legacy Devices
This list of SoCs matches CAF.

Change-Id: Ib0f0e63bc0ab365ba4f2e159b43059aa4dd9d9c2
2020-03-23 21:16:07 +01:00
TheStrix d0d9d95577 common: Add common QTI components
- To use this, set TARGET_COMMON_QTI_COMPONENTS := <components>.
   e.g. TARGET_COMMON_QTI_COMPONENTS := av bt perf
 - Configurations go inside qti-components/<component>/qti-<component>.mk
 - Blob list go in qti-components/<component>/proprietary-files.txt

Change-Id: I9868b02da59c69326f3587cf338187753955c1db
2020-03-19 19:22:43 +05:30
Jake Weinstein 4cfb0a59d8 common: move seccomp to vendor/pa
Change-Id: Ifd24850a786c336d7529317a53bdbd912cdecd58
2020-03-19 04:43:51 +01:00
Jake Weinstein 2c646e73c8 common: remove deprecated flags
Change-Id: I9470d0b21e6badda35e35c74be51ff8a2725576a
2020-03-09 03:42:01 +01:00
Jake Weinstein 8444453ffe common: remove TARGET_USES_AOSP
This isn't used anywhere meaningful.

Change-Id: I4d860852c2a5b7da4e5948a4c8834c43c82c1bfe
2020-01-28 06:04:41 +01:00
Jake Weinstein 94b99b76ed common: move skip boot jars check to vendor/pa
This is relevant on all devices.

Change-Id: Ie2a68283cb85a9b74a8f317d7f5bd28e755f7b6a
2020-01-28 06:03:08 +01:00
Jake Weinstein 7dce3a1e74 common: automatically define AOSP and QCOM_BSP flags by SoC
Change-Id: I8e457b7e14d33080eed8fb7bfb0a9d23f3bf4959
2020-01-23 05:35:20 +01:00