Commit graph

983,859 commits

Author SHA1 Message Date
Michael Bestas
1509276e3f
techpack: audio: fs1815: Remove unused variable
Change-Id: I82bcb734d0ffb2b52f70497457771ceaf9c7537e
2025-04-05 20:54:12 +03:00
Anand S
f62d09d86b
techpack: audio: fs1815: Fix strict prototypes errors
Change-Id: Ib7b81f391767db8cb90ae2e2b0c8b07c51e42637
2025-04-05 20:54:12 +03:00
Michael Bestas
25d20d8c3b
techpack: audio: aw87xxx: Remove unused variables
Change-Id: Id389e69f7d3faf712dd96282c4543a914e1e647d
2025-04-05 20:54:12 +03:00
Forenche
b7d0f348da
techpack: audio: aw882xxacf: Disable writing to calibration file
I am pretty sure prod builds don't need this to be enabled and was
meant originally to be used in the development phase.
Further, dmesg shows that it fails to open the file:

aw_cali_get_read_cali_re:channel:1 open /mnt/vendor/persist/factory/audio/aw_cali.bin failed!

Change-Id: I61c5151ba23a1d117b54dd2eb0c0f482da7d941a
Signed-off-by: Forenche <prahul2003@gmail.com>
2025-04-05 20:54:12 +03:00
electimon
e2e1ee4198
techpack: audio: aw882xxacf: Remove unused variables
Change-Id: I493cde9bc28423badb1c3fd8d03c38e38b8a8128
Signed-off-by: electimon <electimon@gmail.com>
2025-04-05 20:54:12 +03:00
lucaswei
8758f5c732
power: smb5: Fix -Wpointer-to-int-cast.
Fixes:
drivers/power/supply/qcom/qpnp-smb5.c:338:16: error: cast to smaller
    integer type 'u8' (aka 'unsigned char') from 'const void *'
    [-Werror,-Wvoid-pointer-to-int-cast]
        int subtype = (u8)of_device_get_match_data(chg->dev);
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

Change-Id: I30d500db49c4aae95efe7d41c88b04da3468fa29
2025-04-05 20:54:12 +03:00
Michael Bestas
20979f5b3e
firmware: qcom: Add missing type specifier
Fixes:
drivers/firmware/qcom/tz_log.c:1726:8: error: type specifier missing,
    defaults to 'int' [-Werror,-Wimplicit-int]
static _print_encrpted_qsee_log_stats(struct encrypted_log_info
    *enc_log_info)
~~~~~~ ^
int
1 error generated.

Change-Id: Id3eda0a08b776d6681cb0515e1a0de74f058cce4
2025-04-05 20:54:11 +03:00
Michael Bestas
633d2068c0
treewide: Remove conflicting moto modules Kbuild
Change-Id: Ie6c2d41a9053344302666ea2897a9df96ea01beb
2025-04-05 20:54:05 +03:00
Michael Bestas
ec19762c57
arm64: configs: moto-holi: Disable CONFIG_SERIAL_MSM_GENI_CONSOLE
Change-Id: I56f5ebb11bf6cf3ec1bf896a65f4e6f720736d42
2025-04-04 15:26:45 +03:00
Juhyung Park
06fca75888
arm64: configs: moto-holi: Disable compression for pstore-ram
Compression doesn't allow any more additional log saves anyways.

Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
Change-Id: I8dc8be15de7c566be1f71938d48355336f5c25aa
Signed-off-by: Sevenrock <sevenrock@hotmail.de>
2025-04-04 15:26:45 +03:00
SGCMarkus
a56c79492d
arm64: configs: moto-holi: build exfat module
Change-Id: I9e1600f311a732febfe0899076ae9ec41e920173
Signed-off-by: Sevenrock <sevenrock@hotmail.de>
2025-04-04 15:26:45 +03:00
SGCMarkus
925d7268a7
arm64: configs: moto-holi: build qcacld wlan module
Change-Id: I08cb6aa891ee055b90a1df5d311746ede4766c12
Signed-off-by: Sevenrock <sevenrock@hotmail.de>
2025-04-04 15:26:45 +03:00
Michael Bestas
a123381682
arm64: configs: moto-holi: Enable CONFIG_BUILD_ARM64_DT_OVERLAY
Change-Id: Ib47629c5635275099bcf6677c055ee062e733c91
Signed-off-by: Sevenrock <sevenrock@hotmail.de>
2025-04-04 15:26:45 +03:00
SGCMarkus
0e61eae9a4
arm64: configs: add initial config fragment for moto-holi
Change-Id: I02b9ae0d81875b65e860e669c65f99b4cb107497
2025-04-04 15:26:40 +03:00
Arian
b9ba0c5c28
arch: arm64: configs: Generate holi-qgki_defconfig
```
PATH="../../../prebuilts/tools-lineage/linux-x86/bin:../../../prebuilts/clang/host/linux-x86/clang-r530567/bin:$PATH"

ARCH=arm64 \
    CROSS_COMPILE=aarch64-linux-gnu- \
    REAL_CC=clang \
    CLANG_TRIPLE=aarch64-linux-gnu- \
    LD=ld.lld \
    AR=llvm-ar \
    LLVM=1 \
    LLVM_IAS=1 \
    scripts/gki/generate_defconfig.sh \
    vendor/holi-qgki_defconfig
```

Change-Id: I7194a20863d0b183c5a26e3c407b0814fb58bbb6
Signed-off-by: Sevenrock <sevenrock@hotmail.de>
2025-04-04 14:54:30 +03:00
Sevenrock
6d51517b88
techpack: display: dsi_panel: fix indentation
techpack/display/msm/dsi/dsi_panel.c:1326:3: error: misleading indentation; sta
tement is not part of the previous 'if' [-Werror,-Wmisleading-indentation]
 1326 |                 rc = dsi_panel_send_param_cmd(panel, param_info);
      |                 ^
techpack/display/msm/dsi/dsi_panel.c:1323:2: note: previous statement is here
 1323 |         if (panel->lhbm_config.lhbm_wait_for_fps_valid && param_info->value == HBM_FOD_ON_STATE)
      |         ^

Broken code was added by Motorola:
d67e46e138

Change-Id: If122cbae26b5e8a23f9766cf685d3a3599adc8f5
Signed-off-by: Sevenrock <sevenrock@hotmail.de>
2025-03-24 12:52:28 +02:00
Michael Bestas
304907852a
techpack: display: Fix misleading indentation
Change-Id: I4fbaf1d15d54e5013adfdb1f142d645acc457c83
Signed-off-by: Sevenrock <sevenrock@hotmail.de>
2025-03-24 12:52:28 +02:00
Michael Bestas
d1bda7492e
disp: msm: sde: Fix compliation after upstream eDP changes
Change-Id: I0866046ba78896f7c8cd539ffe78d2079c4e3916
2025-03-24 12:52:28 +02:00
Sevenrock
e0b453a419
Revert "disp: msm: dsi: Add print info for DSI_CTRL"
This reverts commit 3a743de84d19295179568ab2f75f6018fd003445.

Fixes build error

techpack/display/msm/dsi/dsi_display.c:8542:27: error: unused variable 'ctrl' [
-Werror,-Wunused-variable]
 8542 |         struct dsi_display_ctrl *ctrl = &display->ctrl[0];

by reverting Motorola commit
942f7d4bcf
which also reduces log spam.

Change-Id: I3a394ecf8c452eecd367236e0b01f48e5b2d1b0a
Signed-off-by: Sevenrock <sevenrock@hotmail.de>
2025-03-24 12:52:28 +02:00
Michael Bestas
3cf96a6252
techpack: display: dsi_panel: Restore dsi_display_cmd_receive formatting
Remove useless moto tab -> space changes.

Change-Id: I5af71895be016fc4a72993131d7808f47825764e
2025-03-24 12:52:28 +02:00
Michael Bestas
a9e569d960
Revert "dsp: q6lsm: Add check for payload buffer"
This reverts commit 27ad5dd6a9.

Reason for revert: Useless change

Change-Id: I6b6b1901f55b7ebc318c0c0a0c3be5823ddfa839
2025-03-24 12:52:28 +02:00
Michael Bestas
1600959be9
Revert "dsp: q6lsm: Address use after free for mmap handle"
This reverts commit 641e93631b.

Reason for revert: Duplicated commit

Change-Id: I2ad98051309b8d2f8d2b45ec9aa6fa4573aba90d
2025-03-24 12:52:28 +02:00
Michael Bestas
f4c3cbf88f
Revert "ASoC: msm-pcm-host-voice: Check validity of session idx"
This reverts commit 95b9d46367.

Reason for revert: Duplicated commit

Change-Id: I9f28d2f45cd02c3970037687bcb17c674faebffd
2025-03-24 12:52:28 +02:00
Michael Bestas
fcb5d8ea5b
Revert "use bt_coex_mode_set to deterministically signify the DHCP start / Stop"
This reverts commit 2d15eaf507.

Reason for revert: Useless change

Change-Id: I0b58034d77ac2470ec0e83ff39a3b7f8c3a9d1fa
2025-03-24 12:52:28 +02:00
Michael Bestas
10df1f57ef
Revert "fix wifi reconnect issue"
This reverts commit c292b7a664.

Reason for revert: Useless change

Change-Id: I0f46f9f15daf24e148d06b8a94dd4345c22befa6
2025-03-24 12:52:28 +02:00
Michael Bestas
737df60817
Revert "qcacld-3.0: Flush frags for peer on add key request"
This reverts commit e95eba2bdd.

Reason for revert: Duplicated commit

Change-Id: Ib88520226ac7613e4d69e9371c7f6fe683d84350
2025-03-24 12:52:27 +02:00
Michael Bestas
73c173798f
Revert "qcacld-3.0: Drop mcast and plaintext frags in protected network"
This reverts commit 5df7339711.

Reason for revert: Duplicated commit

Change-Id: I1f90954d9dba9347567c4a9e76340d37a1944b8b
2025-03-24 12:52:27 +02:00
Michael Bestas
8d4296749a
Revert "camera_legacy: update camera uapi kernel headers installation"
This reverts commit 224f161870.

Change-Id: Iab74de1d0774153ea4ed09d8e660344e43b3d97b
2025-03-24 12:52:27 +02:00
Michael Bestas
ffff8b3589
Revert "techpack: add camera legacy support"
This reverts commit 7b3d315852.

Change-Id: Id160f9e62700099cab333223eaa2e1f8809135d2
2025-03-24 12:52:27 +02:00
Michael Bestas
eed57fac05
Revert "rhodei: update camera device tree path"
This reverts commit 31770a77ab.

Change-Id: Ieb7fe3a85b07b664c644dd15236d64df916bf469
2025-03-24 12:52:27 +02:00
Sevenrock
09cfab7fb2
Revert "rhodep/rhodec: update camera device tree path"
This reverts commit 7b0a2deb42.

Change-Id: I42b463208f0a6776f9e36b29dc2289d608898d55
2025-03-24 12:52:27 +02:00
Michael Bestas
465e681dc9
Revert "include:statfs.h:reduce boilerplate in fsid handling"
This reverts commit 84a58d6dd0.

Reason for revert: Remove useless change

Change-Id: I100ad7e35352726e0c2d61a0a63de97e5104987e
2025-03-24 12:52:26 +02:00
Michael Bestas
855d070209
Revert "(CR): alarmtimer: add debug to identify alarmtimers"
This reverts commit bfcc95d87a.

Reason for revert: Remove useless logging changes

Change-Id: Iaa50dc606d436df958f8fa23e1873ac863d4a3e0
2025-03-21 19:50:12 +02:00
Michael Bestas
7bbfd57aae
arm64: configs: moto-holi: Disable CONFIG_FELICA_MOUNT_BLOCK
Change-Id: Ibc0b35893ae7953009ec0d1d8cb4065556d65757
2025-03-21 19:50:12 +02:00
Michael Bestas
9591378fe3
Revert "fs: Add Felica mount requirement"
This reverts commit 523f17e0ea.

Reason for revert: Remove remount restrictions

Change-Id: I1a23fa3688aac982a7ce2abee933a5f0d7a71315
2025-03-21 19:50:12 +02:00
Michael Bestas
d2fc2e2912
Revert "fs: Don't initialize filename"
This reverts commit 3c365bdb7d.

Reason for revert: Remove remount restrictions

Change-Id: Iba12a0937949234a03b78660d11bf2026d477f52
2025-03-21 19:50:12 +02:00
Michael Bestas
84ba45a7c2
Revert "fs: Check absolute path"
This reverts commit 4c912f3429.

Reason for revert: Remove remount restrictions

Change-Id: I7ad17707df89092dbd9a9ecdcbec51a1514af079
2025-03-21 19:50:12 +02:00
Michael Bestas
875a9cb162
Revert "fs: Remove "bind" flag check"
This reverts commit e5ab5b3421.

Reason for revert: Remove remount restrictions

Change-Id: Iff8a6f25da601be65e64bb47f082577520054688
2025-03-21 19:50:12 +02:00
Sevenrock
e7ee249caa
Revert "usb/dwc3: msm: Enable all Debug Logs"
This reverts commit 81e4c889aa.

Reason for revert: Remove useless logging changes

Change-Id: Ib7ccc8738985cd9180b61547200794d55d5192b4
Signed-off-by: Sevenrock <sevenrock@hotmail.de>
2025-03-21 19:50:12 +02:00
Michael Bestas
c086ece929
Revert "(CR): drivers: enable step-wise and qmi tz logs"
This reverts commit c12db773b5.

Reason for revert: Remove useless logging changes

Change-Id: If1b9e0a92dcc1e7add63d5a6bc69eb100c8ffdf1
2025-03-21 19:50:12 +02:00
Michael Bestas
728d5e412a
Revert "set max_timeout_counter to 0 for large card do BLKDISCARD"
This reverts commit 7dd7895691.

Reason for revert: Useless commit with no actual changes

Change-Id: I5711d808ac932283fa547300427db8f3d104c5d3
2025-03-21 19:50:12 +02:00
Michael Bestas
fb2690e255
Revert "update btfm enable ch delay when freq 48000 ch 0"
This reverts commit e819d7d240.

Reason for revert: Remove useless log level change

Change-Id: I951522831e1b3376ce893a4c57343cf539703517
2025-03-21 19:50:12 +02:00
Michael Bestas
f8d17d91f1
binder: Resolve motorola merge issue
Change-Id: I9206602f10e1e99e033e4cc3fd0ef30b79ddee60
2025-03-21 19:50:11 +02:00
Michael Bestas
7edfa87463
arm64: dts: vendor: Remove .gitignore
Change-Id: If00813d768889dd27d26737abf165734ff7d75c5
2025-03-21 19:50:11 +02:00
Michael Bestas
af40082e75
Merge branch 'staging/motorola-kernel-modules/MMI-U1UGS34.23-110-23-2' into lineage-22.2
Based on tag 'MMI-U1UGS34.23-110-23-2' of https://github.com/MotorolaMobilityLLC/motorola-kernel-modules

Fogos push for Android 14

* staging/motorola-kernel-modules/MMI-U1UGS34.23-110-23-2: (3149 commits)
  Documentation: Remove slg51000.txt
  treewide: Remove conflicting Makefiles
  include: Remove unused synaptics_tcm.h header
  fs: Remove exfat drivers
  dlkm: goodix_fod_mmi: fix KE issue
  dlkm: goodix_fod: support drm panel notification
  moto_swap: Add reset_bdev to close backing dev for ramboost2.0
  add page fault pages to list head to avoid be swapped out soon
  fogos: TP: open 1st icnl9916c force up config
  workaround fix long page fault issue
  Revert "(CR) moto_swap: Add SWP_SYNCHRONOUS_IO cmd for ioctl"
  fix null pointer at quota_day_store
  moto_swap: Add SWP_SYNCHRONOUS_IO cmd for ioctl
  charge: config qg iterm small than FCC
  moto_swap:fix kernel panic on memcg conf
  Moto kernel protection module
  Add macro to close debug function in user build
  fogo/motorola:Fogo 5g na optimize stowed mode
  input: goodix_berlin: enable palm cancel for report id
  Update UWB driver to version 7.4
  ...

 Conflicts:
	Documentation/devicetree/bindings~HEAD

Change-Id: I1e380097e692b2efea451cbcf4dc42d972e6dd5a
2025-03-21 18:42:24 +02:00
Michael Bestas
327cbdcf54
Merge tag 'MMI-U1UGS34.23-110-23-2' of https://github.com/MotorolaMobilityLLC/kernel-msm-5.4-techpack-video into lineage-22.2
Fogos push for Android 14

* tag 'MMI-U1UGS34.23-110-23-2' of https://github.com/MotorolaMobilityLLC/kernel-msm-5.4-techpack-video:
  Adjust qbuf cache/dqbuf cache ops failed log to VIDC_HIGH
  extend codec limitation to 1080@90fps.
  msm: vidc: optimize HEIC output buffer calc for encoder
  msm: vidc: tune input buffer size based on buffer_size_limit
  msm: vidc: Avoid dma_buf memory leak under memory pressure
  msm-vidc: fix final BW voting to ICC

Change-Id: I7ff1d8e69765b5dc96cbce2a8c5df7fc12be10e1
2025-03-21 18:37:17 +02:00
Michael Bestas
654ea8a9cd
Merge tag 'MMI-U1UGS34.23-110-23-2' of https://github.com/MotorolaMobilityLLC/kernel-msm-5.4-techpack-display into lineage-22.2
Fogos push for Android 14

* tag 'MMI-U1UGS34.23-110-23-2' of https://github.com/MotorolaMobilityLLC/kernel-msm-5.4-techpack-display: (116 commits)
  dsi_panel: panel_feature: corret the code mistake
  dsi_panel: fix the bug of local HBM
  gpu/msm: check fps value before enable lhbm
  msm/display-drivers: release lhbm resource
  dsi/dfps: update the dfps code to support "OLED+vid mode"
  dsi/dfps: set the right fps when panel resume
  Support 120Hz command sending
  dts/display: [bangkok] update the dsc configure for tianma panel
  display-drivers: local hbm: add suport for dc_hybird_threshold
  optimze lcd log
  kernel:pnangn:update 2nd panel brightness settings to 11bits
  kernel/panel:power on/off reset sequence
  display/backlight: support hbm dcs only with 51 cmd
  display/dsi:add new lcd backlight align type for bit11_4
  display: The lcd backlight shift mode update
  drm_ioctl: add return value for set_param
  drm/dsi_panel: resend hbm off commands
  msm/drm:compatible with different hbm table in panel
  drm/msm:add delay between mipi0 to reset0 when power off
  drm/panel: check panel status before send custom commands
  ...

 Conflicts:
	techpack/display/msm/sde/sde_connector.c
	techpack/display/msm/sde/sde_kms.c

Change-Id: I13ede04c21415717cd009ae73871894f1be74927
2025-03-21 18:36:59 +02:00
Michael Bestas
9ca541ecda
Merge tag 'MMI-U1UGS34.23-110-23-2' of https://github.com/MotorolaMobilityLLC/kernel-msm-5.4-techpack-camera into lineage-22.2
Fogos push for Android 14

* tag 'MMI-U1UGS34.23-110-23-2' of https://github.com/MotorolaMobilityLLC/kernel-msm-5.4-techpack-camera: (86 commits)
  fogo: fix tombstone when use secure camera
  fogo: Fix secure mode switch error (2/2)
  Bangkk: reset ois when read standby_flag fail
  fogos: Actuator noise reduction[2/2]
  fogor: Actuator noise reduction[2/2]
  bangkk: Powerup and initialize sensor early [3/4]
  bangkk: Fix flash request GPIO-24 failed
  bangkk: support dw9784 af drift
  bangkk: Open Camera preview will be black then camera error
  bangkk: open Camera preview may be black sometimes
  bangkk: dw9784 ois bring up
  bangkk: Secondary supply flash driver ic compatible
  Tundra: restore ois delete submit
  Tundra: add delay at check ois data_ready
  Revert "(CR): milanf: modify ois vsync irq processing flow"
  penang: Adjust actuator noise reduction
  penang: Adjust actuator noise reduction
  penang: Actuator noise reduction
  milanf: modify ois vsync irq processing flow
  camera: ois: avoid ois power down twice when download firmware failed
  ...

 Conflicts:
	techpack/camera/drivers/cam_sensor_module/cam_ois/cam_ois_core.c

Change-Id: I9aa733fcd4412059a267c7cb9408b05e91eba111
2025-03-21 18:36:20 +02:00
Michael Bestas
0cd369436c
Merge tag 'MMI-U1UGS34.23-110-23-2' of https://github.com/MotorolaMobilityLLC/kernel-msm-5.4-techpack-audio into lineage-22.2
Fogos push for Android 14

* tag 'MMI-U1UGS34.23-110-23-2' of https://github.com/MotorolaMobilityLLC/kernel-msm-5.4-techpack-audio: (79 commits)
  Revert "asoc: msm-compress : Fix for CTS-on-gsi with gki"
  soc: swr-mstr-ctrl: allow runtime suspend first before system suspend
  audio:add lock for aw dynamics set dailink
  Revert "(CR):audio:add lock for aw dynamics set dailink"
  dsp: q6lsm: Address use after free for mmap handle
  dsp: q6lsm: Add check for payload buffer
  ASoC: msm-pcm-host-voice: Check validity of session idx
  audio:add lock for aw dynamics set dailink
  q6fsm:add protect for fs1815 algo
  fs1815:correct rotation code
  aw882xxacf: add hac scene algo ctrl
  audio-kernel: fix build fail caused by aw8838
  techpack:add aw8838 driver
  fsm:correct fsm vbat monitor logic
  audio/dsp:reduce fsm vbat monitor retry times
  audio/asoc:add PRI_MI2S_TX_HOSTLESS
  machie_driver:add aw pri I2S dailink
  audio:add fs1815 bypass algo code and logic.
  Awinic: update communicate with adsp logic
  codecs:add fs1815 PA driver
  ...

 Conflicts:
	techpack/audio/dsp/q6lsm.c

Change-Id: I6ec23f0d578fd2494e5e29577ce470dc2cb90f5c
2025-03-21 18:35:48 +02:00
Michael Bestas
721895bde2
Merge tag 'MMI-U1UGS34.23-110-23-2' of https://github.com/MotorolaMobilityLLC/vendor-qcom-opensource-wlan-qcacld-3.0 into lineage-22.2
Fogos push for Android 14

* tag 'MMI-U1UGS34.23-110-23-2' of https://github.com/MotorolaMobilityLLC/vendor-qcom-opensource-wlan-qcacld-3.0: (55 commits)
  qcacld-3.0: Remove use-after-free of frame in tx mgmt send
  qcacld-3.0: Ignore CSA request for invalid channel
  Revert "qcacld-3.0: Fix OOB issue when access wma_find_vdev_by_addr"
  qcacld-3.0: Fix OOB issue when access wma_find_vdev_by_addr
  remove invoking "sock_from_file" function
  Print the process which is receiving data
  fix wifi reconnect issue
  wlan: Support loading moto specific ini configurations
  Revert "qcacld-3.0: Change PCL for throughput case in case of STA+GO"
  : Revert "qcacld-3.0: Add support to flush fragments for a particular peer"
  qcacld-3.0: Modify check to ensure consecutive PN for frags
  qcacld-3.0: Drop mcast and plaintext frags in protected network
  qcacld-3.0: Flush frags for peer on add key request
  qcacld-3.0: Add support to flush fragments for a particular peer
  use NONHLOS_PLATFORM_COMMON_PATH
  sm4350: Store WLAN Unstripped and ELF in build archives
  fix compile errors
  prop (CR) the MAC address more appropriately
  lito: Update FW version for R
  - Update wifimacaddr command line arg
  ...

Change-Id: Ibb7fd5d5df7ee9fd07a78069cc9b385c1bf34121
2025-03-21 18:35:16 +02:00