Commit graph

180 commits

Author SHA1 Message Date
Giovanni Ricca
a7d46f236b
Merge https://github.com/LineageOS/android_kernel_qcom_sm8350 into lineage-22.1
Change-Id: I1458bcb6fad952cf220e2ea27c853b15ff550b0d
2025-02-28 10:37:26 +01:00
Nick Reuter
638599aca3
Partially revert "msm: ipa: Check GSI status during deepsleep resume"
This partially reverts commit 2e77a46f0d.

Reason for revert: ipa3_mdt_load_ipa_fws is not present in this kernel,
this is a bad cherrypick resolution by qcom.

Change-Id: I218978168a6c3fe9f6139a6688be1cb4c0f96b94
2025-02-14 13:41:01 +02:00
Michael Bestas
e82fabf302
Merge tag 'LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers into android13-5.4-lahaina
"LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0"

* tag 'LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers:
  disp: msm: dsi: add null pointer check in dsi_display_dev_remove

 Conflicts:
	techpack/display/msm/dsi/dsi_display.c

Change-Id: Ife03a5542c77ab531a902c5b7f6c07d6a867f9b6
2025-02-14 03:39:30 +02:00
Michael Bestas
d1d77077b6
Merge tag 'LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa into android13-5.4-lahaina
"LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0"

* tag 'LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/dataipa:
  msm: ipa: Check GSI status during deepsleep resume
  msm: ipa3: supporting hibernate & cleanup unused deepsleep API's

 Conflicts:
	techpack/dataipa/drivers/platform/msm/ipa/ipa_v3/ipa.c

Change-Id: I7a69389ca80dee1ecb236f14706965b1d2bf3adb
2025-02-14 03:34:01 +02:00
Michael Bestas
8efcbedd97
Merge tag 'LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-5.4-lahaina
"LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0"

* tag 'LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: isp: Copy the userdata in kernel to avoid TOCTOU condition
  msm: camera: ois: Copy packet header in kernel
  msm: camera: sensor: TOCTOU error handling
  msm: camera: common: Add missing put_cpu_buf calls

Change-Id: Ic121b19c5d8911f3e223a11389208763f5ac2229
2025-02-14 03:31:00 +02:00
Michael Bestas
cd0212695a
Merge tag 'LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-5.4-lahaina
"LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0"

* tag 'LA.UM.9.14.r1-25800-LAHAINA.QSSI15.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  asoc: codec: avoid out of bound write to map array
  asoc: codec: avoid out of bound write to map array
  asoc: Fixed OOB issue in qcs405
  asoc: codec: wcd934x: enable auto recovery when port overflows

Change-Id: I51a30fe905251b6f66e733bae43fdcd3b0a7e787
2025-02-14 03:28:21 +02:00
Swami Reddy Reddy
771c29041c
msm: camera: sensor: TOCTOU error handling
- Proper Handling in case of invalid pinctrl index
- Removing dead code and unused variables
- Change to dereference s_ctrl only after proper
  NULL Dereference Check.

CRs-Fixed: 3875406
Change-Id: I8e2c717b22efff2a7d6503d38c048e30eff230da
Signed-off-by: Swami Reddy Reddy <quic_swamired@quicinc.com>
2025-02-04 21:35:46 +02:00
Giovanni Ricca
84bbcaf3ce
audio: include: uapi: uint32_t -> __u32
Change-Id: I4410bcc5f302c663dc581fc0a91ecbcae2dd6793
2024-12-20 23:01:08 +01:00
Cosmin Tanislav
782891d10d
audio: asoc: remove build timestamp
Change-Id: I04575455ace857e8c19a6170a02fa0e3c7332f98
2024-12-20 23:01:07 +01:00
Giovanni Ricca
df322e7c7d
audio: asoc: Disable UART debugging
Change-Id: I187b6b8125d5705cd16bb27ded01049cb42b4d6a
2024-12-20 23:01:06 +01:00
Adithya R
902d50c135
audio: dsp: Define CONFIG_QGKI_SYSTEM if mius is enabled
* required for mius proximity to work

Change-Id: I911cbf16565fdab178fe3752bcbda49a451ef23e
2024-12-20 23:01:05 +01:00
dianlujitao
aad13807fd
asoc: lahaina: Report correct key code of headset buttons
Change-Id: I8ecc1609d929ac5a8d4d73711b15b4a741d910a3
2024-12-20 23:01:04 +01:00
Arian
8dad31ef64
audio: asoc: Update dai link ID for renoir
Commit 4da866e6de "asoc: Update the dai link IDs for MI2S dai links"
has introduced seperate dai link IDs for Rx and Tx dais. Apply
the change to the tfa codec used by renoir too.

Change-Id: I23fb0a95e315a9c1aa1adbe7fc57eb6cc5b94de9
2024-12-20 23:01:03 +01:00
Giovanni Ricca
8d0850167b
audio: asoc: wcd938x: Fixup mmhardware_sysfs include path
* It's a global header, not a local one

Change-Id: I6c91c29f767d2bc8db4158b204246ee455cb0b9d
2024-12-20 23:01:02 +01:00
FlowerSea0208
0a1c381130
audio: Add mars guards as well
Change-Id: I28daeb75c1bb5c14c78b8651d0516e0e9f7b57fc
2024-12-20 23:01:01 +01:00
Giovanni Ricca
d7f4b8d1b6
audio: Update from redwood-s-oss
Change-Id: Iff2fb143a43da2f2905bf77df30c8b6e4468a3f0
2024-12-20 23:01:01 +01:00
Arian
9e11ed878f
audio: Update from zijin-s-oss
Change-Id: If45a74613bcf2a486f52bd86551cb08c9b4ff593
2024-12-20 23:01:00 +01:00
Arian
6903cc3458
audio: Import xiaomi changes
Change-Id: I6d4e56bb6679467640f9438cd9f633e796ab0c6a
2024-12-20 23:00:59 +01:00
Giovanni Ricca
879473d57c
audio: asoc: Import iio us proximity
From branch: redwood-s-oss

Change-Id: Ibf31e4c1f0f7be92891588559c9bf55a98ec3fb0
2024-12-20 23:00:58 +01:00
Giovanni Ricca
36d831c0fb
audio: dsp: Import mius
From branch: redwood-s-oss

Change-Id: I932db0c5c95e5ce1287ae388a87cd61b5654252c
2024-12-20 23:00:57 +01:00
Giovanni Ricca
f93debf736
audio: dsp: Import elliptic
From branch: redwood-s-oss

Change-Id: I797a2a9e9bbde8f9bf750b7429977747c31bd8a6
2024-12-20 23:00:56 +01:00
Giovanni Ricca
012e358c8e
audio: asoc: tfa98xx: Fix misleading indentation
Change-Id: I51bd30ab075dbb54c3119f798d9e3fb8daad3be2
2024-12-20 23:00:55 +01:00
Giovanni Ricca
f34760d67e
audio: asoc: Import tfa98xx codec
From branch: redwood-s-oss

Change-Id: I72d6f9c1d583b413d1209fc9a5bf61eb58b1c06b
2024-12-20 23:00:54 +01:00
Giovanni Ricca
122c028ba3
audio: asoc: Import tfa9874 codec
From branch: redwood-s-oss

Change-Id: I4c6692c503bc25f331eb635989a8881c44769007
2024-12-20 23:00:53 +01:00
Giovanni Ricca
ff4d116aa8
audio: asoc: Import cs35l45 codec
From branch: redwood-s-oss

Change-Id: I60fe2293d8f6d8b4c78b6d5e2198f08d8d5fd9b8
2024-12-20 23:00:52 +01:00
Giovanni Ricca
529997d159
audio: asoc: Import cs35l41 codec
From branch: redwood-s-oss

Change-Id: Icc397bde36656de3c34036505f748b61dd45730b
2024-12-20 23:00:52 +01:00
Giovanni Ricca
269209ba17
audio: asoc: Import aw88263s_m20 codec
From branch: redwood-s-oss

Change-Id: I79e6dc9f21d2a91c18540a83d8978aee4643eafb
2024-12-20 23:00:51 +01:00
Giovanni Ricca
1421afc14d
audio: asoc: Import aw88263s codec
From branch: redwood-s-oss

Change-Id: Ibd94e7b0a0721196d1181ee1498e1634fb67543f
2024-12-20 23:00:50 +01:00
Giovanni Ricca
eaf3532cc1
Revert "asoc: lahaina: add 16 channel support on tdm interface"
This reverts commit 782c8273ed.

Change-Id: I5cd459439e51d6d3b8f3418b2a82966969817e8f
2024-12-20 23:00:49 +01:00
Giovanni Ricca
c21f70e076
Revert "asoc: lahaina: fractional sample rate support for TDM"
This reverts commit e30fce1a7d.

Change-Id: Ib8d8962eed7e77c907eab09c8b1945dd32d757e4
2024-12-20 23:00:48 +01:00
Giovanni Ricca
d190ade945
Revert "asoc: support for fractional sample rate over tdm"
This reverts commit a61f696990.

Change-Id: Ifa16b8c03fd2bb7b7ec3b9609ee77dcb617512de
2024-12-20 23:00:47 +01:00
Giovanni Ricca
82ecbdfb9d
techpack: camera: Add wait for macro camera on K9E and M20
Change-Id: I4467cd6bf02fddfae79c37f576c5c74c167c0a3b
2024-12-20 23:00:46 +01:00
Arian
baaa42ca5f
techpack: camera: Haydn is special
Change-Id: I8f75769da498aebdcd79c44ba521a3ce5927a993
2024-12-20 23:00:45 +01:00
Erfan Abdi
05758be1d2
techpack: camera: Add wait for AF regulator hw disabling on K11
Change-Id: Ia1d68f57f040ac7f7c2e5fb82aa6794431de7802
2024-12-20 23:00:44 +01:00
Erfan Abdi
2477bd8630
techpack: camera: Add vana1 to vreg names enum
Change-Id: I2295bf92bf624474d0b07559bfbcf224e59dbbde
2024-12-20 23:00:43 +01:00
Giovanni Ricca
4c53013fde
techpack: camera: cam_isp: Enlarge max_vfe_out_res expected size
Since 45dbb6c0cd, the camera kernel stack checks `num_ports` size from userspace.
For some reasons, the reported size is higher than what it expected [1]
This breaks some camera functionality (such as 60fps video recording) on yupik Xiaomi devices
To workaround this, let's enlarge the expected vfe size to match these cases

[1] 10-01 22:49:53.142 7430 7430 I CAM_ERR : CAM-ISP: cam_isp_update_dual_config: 129 num_ports 25 more than max_vfe_out_res 23

Change-Id: Id4ea44a07f5c50ea5a716e5910a7574d426a3515
Suggested-by: Alexander Winkowski <dereference23@outlook.com>
Signed-off-by: Giovanni Ricca <giovanniricca@proton.me>
2024-12-20 23:00:43 +01:00
Giovanni Ricca
04a60b1c00
techpack: camera: Enlarge cfg timeout
Change-Id: Ic79f0c4459cc763620601cd251c41439ddb44f28
2024-12-20 23:00:42 +01:00
Giovanni Ricca
85b989e820
techpack: camera: Increase watchdog timeout
Change-Id: Iaba59cf443095191939fe2cc6b20364796e9929f
2024-12-20 23:00:41 +01:00
Giovanni Ricca
fbe0190768
techpack: camera: Increase mac ctx value
Change-Id: I69e7f85adaec9978d914dbf16dc0cff53e3e8960
2024-12-20 23:00:40 +01:00
Giovanni Ricca
5fb1e3300a
techpack: camera: Increase flush requests
Change-Id: Ib8191afd0c9a984fb883b34cf0f26c3ee7d23580
2024-12-20 23:00:39 +01:00
FlowerSea0208
e9edd367da
techpack: camera: ois: Update from star-r-oss
Change-Id: I9dc3eca68ab3ba31d2ab84c7a22cd7c957edebba
2024-12-20 23:00:38 +01:00
Cosmin Tanislav
a1b202bb1b
techpack: camera: ois: import xiaomi changes 2024-12-20 23:00:37 +01:00
Cosmin Tanislav
f74500fbc2
techpack: camera: core: add support for powering up external isp 2024-12-20 23:00:36 +01:00
Arian
53b1f1591c
techpack: camera: csiphy: Guard overriding csiphy register values
Xiaomi guarded that in a few branches, unfortunately not consistently.
This is a combination of the following branches:
venus-r-oss, mona-r-oss, haydn-r-oss, star-r-oss, odin-r-oss, lisa-r-oss, vili-r-oss

K2 uses this in venus-r-oss
K8 uses this in odin-r-oss
K11 uses this in haydn-r-oss and star-r-oss
J18 uses this in star-r-oss
K3S uses this in vili-r-oss

Change-Id: If940a64897dbc70134c14c4be1b64b390f2d8879
2024-12-20 23:00:35 +01:00
Cosmin Tanislav
364b8603da
techpack: camera: csiphy: override csiphy register values for higher than 3.5GHz 2024-12-20 23:00:35 +01:00
Cosmin Tanislav
9209236d97
techpack: camera: sensor: implement optimization disabling 2024-12-20 23:00:34 +01:00
Cosmin Tanislav
94cea2e3c7
techpack: camera: req_mgr: do not send timestamp for offline context 2024-12-20 23:00:33 +01:00
Arian
80aabecc02
techpack: camera: Increase req mgr events further
Match star-r-oss and odin-r-oss

Change-Id: I3e4f14243861dd129cc0caf3fc416b243cbda6d6
2024-12-20 23:00:32 +01:00
Cosmin Tanislav
4e36ef50cb
techpack: camera: increase req mgr events 2024-12-20 23:00:31 +01:00
Cosmin Tanislav
ec49228fcc
techpack: camera: req_mgr: increase max handles to match stock camera module 2024-12-20 23:00:30 +01:00