Commit Graph
62 Commits
Author SHA1 Message Date
Michael Bestas f56b63c6ea techpack: camera-bengal: Enable legacy camera fix for rhode
Change-Id: I79ea804e80e871a193739498b66fc5c02f3a3254
2024-01-07 15:54:50 +02:00
Michael Bestas 9864ecb0f8 Conditionally revert "msm: camera: ope: Increase max bl limit and max stripe to process"
This breaks camera on caprip but required on newer devices.

This conditionally reverts commit c4a3b49efc.

Change-Id: Iec7e8d593bb37b637d1f876228bf73b0944e01ff
2024-01-07 15:54:50 +02:00
dianlujitao 1975c930c5 techpack: audio: aw882xx: Load calibration file through firmware class
Direct access to filesystem is insane and hits a neverallow, load it
through the firmware class instead.

Change-Id: I72149f8674c6211fab57a025b47cf84e505a256a
2024-01-07 15:54:50 +02:00
Michael Bestas da532c57bc techpack: audio: Disable CONFIG_SND_SOC_FS16XX
This isn't used on devon/hawao/rhode

Change-Id: Iae7ea265bb271508de5d02ac5649d4cd0bf9805d
2024-01-07 15:54:48 +02:00
dianlujitaoandMichael Bestas b25b68201f techpack: audio: aw88261: Load calibration file through firmware class
Direct access to filesystem is insane and hits a neverallow, load it
through the firmware class instead.

Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Change-Id: Ic522644c73d63a36430526736257d635deb08f6a
2024-01-07 15:54:48 +02:00
Erfan Abdi fd2f1845d4 techpack: audio: Setup build makefiles for moto bengal
[Dhina17]: Adapted for bengal.

Change-Id: Idff424f8dc188feb5d24c8d77f0ba950ab8275bf
Signed-off-by: Dhina17 <dhinalogu@gmail.com>
2024-01-07 15:54:48 +02:00
Michael Bestas 7942f6ebed techpack: camera-bengal: Correct paths
Change-Id: I976724d136f325d77b2dcf059f87423d77a2f6a3
2024-01-05 12:25:07 +02:00
Michael Bestas ded2481afd Revert "techpack: add camera legacy support"
This reverts commit 657b260037.

Change-Id: I2d0c1b83c70098a59702c41c2e56de98f67d6f31
2024-01-05 12:21:51 +02:00
Michael Bestas cdfcefda47 Merge tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/kernel-msm-techpack-display into lineage-20
"Devon push for Android 13"

* tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/kernel-msm-techpack-display:
  Revert "disp: msm: use vzalloc for large allocations"
  disp/msm/dsi:enabel ESD te check for video panel
  disp/msm/dsi:support to config glbl_hstx_str_ctrl_0 for mipi driver strength
  disp: msm: use vzalloc for large allocations
  disp: msm: sde: fix RM poll timeouts during PM suspend/resume usecase
  disp: msm: avoid BW down vote after splash memory release
  disp: msm: dsi: Only enable lanes required during phy enable
  disp: msm: sde: while timing engine enabling poll for active region
  [PATCH] disp: msm: sde: remove panic from autorefresh disable sequence
  drm/dsi_panel: send specific demura command when bl change
  drm/msm/dsi-staging: add default brightness property
  kernel/display:hawao+oled:change lcm timing
  HAWAO+OLED: solve mipi driver strength weak problem
  kernel/display:hawao+oled:change lcm timing
  Revert "HAWAO+OLED:solve mipi driver strength weak problem"
  HAWAO+OLED: solve mipi driver strength weak problem
  disp: msm: Fixing motUtil tool for ACL feature
  drm: Add the panel color feature for game mode
  drm: Add the DC panel param feature
  display: Modify the lcd reset gpio pin.
  Fix: display blinking issue
  propagation: panel: add ft8006s special reset timing control
  display: support ft8006s panel brightness level special align
  [Guam NA] Fix propagation error in dsi_display.c
  kernel:dsi: ESD te support for video mode panel
  kernel:dsi: backlight update for hbm gpio
  kernel:dsi: backlight update for hbm gpio
  kernel: dsi: rst pull down config update
  kernel: dsi: tp_rst seq update
  kernel: dsi: enable tp_rst & esd fail logs
  Capri beingup
  kernel: dsi: add new backlight device to avoid conflict
  kernel: dsi: download touch firmware after panel reset
  msm/dsi: add panel tp rst configs
  kernel: dsi: pull down reset pin when shutdown
  dsi: add new backlight control type I2C
  drm/msm/sde: limit the backlight min brightness as bl_min_level
  Kernel: read panel supplier from device tree
  disp: msm: Parsing and store panel's 0xDA register info
  dsi_panel: fix out-of-bounds  issue
  backlight: support device hbm use 51 cmd
  backlight: add hbm gpio control driver
  msm/dsi: add backlight and hbm debug log
  msm/dsi: set brightness at maximum if enabling LCD HBM
  dsi_panel: Check the return status of the touch screen
  drm/panel_param: optimize the code
  Display PanelMode: Add CABC control
  msm: dsi_panel: refresh rate config option
  msm: dsi_panel: refresh rate config option
  disp: msm: Correct DSC 1.1 Rate control for Max val
  dsi: pushing display notifications
  Revert"disp:msm:sde: update splash resource allocation for dual display"
  disp: msm: Restore old backlight setting after exitting HBM
  disp: msm:: reset the param value to the default value
  disp: msm: support for HBM_FOD mode
  disp: msm: add display frequency change notification
  Revert "Revert "disp: msm: sde: update splash resource allocation for dual display""
  Kernel/Display: mot extend code: get lcd para
  Kernel/display: mot extend - early power
  Kernel: Add Moto extern display code
  disp: msm: implement xxx-hbm-is-51cmd dts entry
  disp: msm: fix checking returned value of xx_cmd_transfer
  disp: msm: Register for reboot_notifier
  disp: msm: Support ACL when setting panel param
  disp: msm: Enable "val" to control HBM property
  disp: msm: dsi: Reducing logging in dsi_panel.c
  disp: msm: dsi: Add print info for DSI_CTRL
  disp: msm : Add the ACL panel param feature
  disp: msm: Populate the passing panel's info from BL.
  disp: msm: Set panel enable_status during probing
  disp: msm: Add panel name to enable status API
  disp: msm: Report panel's probe status
  disp: msm: provide API to query for panel enable state
  disp: msm: Correct the panel's LP11_INIT
  disp: msm: Adding KMS property testing for motUtil tool
  disp: msm: add panel's param feature to display FW
  disp: msm: Provide a dynamic method to disable the ESD.
  disp: msm: Add DispUtil tool to motUtil Debugfs
  disp: msm: sde: Add motUtil Debugfs framework
  disp: msm: dsi: Raise BUG for continous panel recovery failure
  disp: msm: dsi: Trigger ESD event if display isn't on
  disp: msm: dsi: Check panel's power_mode during resume
  disp: msm: dsi: parsing BL setting ESD and panel
  disp: msm: sde: Change display ESD checking interval to 8s
  disp: msm: dsi: add prints for DSI/panel turning off/on
  disp: msm: dsi: Add "bl_ctrl_dummy" to panel bl type
  disp: msm: dsi: Add support display 2bytes brightness.
  guam: input add drm support
  input add touch support
  disp: msm: sde: synx: Add quic copyright
  disp: msm: sde: handle partial update transitions in rounded corner.
  Revert "disp: msm: sde: handle partial update transitions in rounded corner".
  disp: msm: sde: handle partial update transitions in rounded corner
  disp: msm: sde: clear partial update mask during last close

 Conflicts:
	techpack/display/msm/msm_drv.c
	techpack/display/msm/msm_drv.h

Change-Id: I40dab2ee196d87f2d24439d5b4e7c4cd14b7051d
2024-01-03 01:34:07 +02:00
Michael Bestas e0d512421b Merge tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/kernel-msm-techpack-camera into lineage-20
"Devon push for Android 13"

* tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/kernel-msm-techpack-camera:
  Low flashlight brightness bugfix
  devon4g: read sensorid failed,but return success
  devon: Add retries for sensor id matching
  devon: Actuator noise reduction
  hawao: Fix flash compatible
  rhode: Del an invalid log
  hawao: Actuator noise reduction
  Rhode: Actuator noise reduction
  hawao: Flash compatible
  rhode: Actuator noise reduction
  Rhode: flash node control
  Rhode: add flash current ma control
  Rhode: flash bring up(2/3)
  Rhode4G: main eeprom bring up(3/3)
  Caprip: add wakelock for the actuator noise reduction.
  cam: Add actuator standalone diver for vibrator.
  guamna:[camera] Fix capture failed when set exposure time 1s
  msm: camera: req_mgr: Decrease device handles in hdl_tbl
  guamna: Add eeprom operation READ_LOOP
  guamna: add eeprom name and add hi556 otp read method
  guam: EXPORT_SYMBOL cam_cci_get_subdev

 Conflicts:
	techpack/camera-bengal/drivers/cam_req_mgr/cam_req_mgr_util.c
	techpack/camera-bengal/drivers/cam_sensor_module/cam_flash/Makefile

Change-Id: I141fc90b9c8f08ea3e2f2e38d73f1e91c03d9ad6
2024-01-03 01:21:29 +02:00
Michael Bestas 70b29d0d24 Merge tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/vendor-qcom-opensource-audio-kernel into lineage-20
"Devon push for Android 13"

* tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/vendor-qcom-opensource-audio-kernel:
  ASoC: msm-pcm-host-voice: Address buffer overflow in hpcm capture copy
  dsp: q6adm: Resolve mem corruption in adm cb
  dsp: afe: check for param size before copying
  asoc: update q6afe for aw882xx
  mbhc: set the type to lineout when zl or zr is zero.
  asoc: update aw882xx driver to v1.9.0.9
  asoc: change linein threshold
  asoc: update aw88261 driver's spin relase function
  asoc: devon support get awinic skt params from ram
  audio-kernel: enable CONFIG_AW882XX_MAPSIZE_16K for rhode
  audio-kernel: enlarge map size for aw882xx algo
  asoc: audio:update aw882xx driver to v1.9.0.7
  asoc: upgrade aw88261 driver to v1.9.0.6
  asoc: fix wcd937x build error
  audio: wcd937x_slave: Add retry while getting logical addr for wcd937x slave
  audio-kernel: modify rcv and spk smartpa config
  audio-kernel: devon fix build error
  audio-kernel: devon audio bring up
  asoc: upgrade aw88261 driver to v1.9.0.5
  asoc:update aw88261 spin config
  asoc:remove debug info for aw88261
  asoc:upgrade aw88261 driver to v 1.9.0.4
  asoc:upgrade aw88261 driver to v1.9.0.3
  hawaii OLED: hawao audio bringup
  hawaii OLED: hawao audio bringup
  asoc:upgrade aw88261 driver to v1.9.0.2
  asoc:upgrade aw88261 driver to v1.9 debug version
  rhode:mbhc:enable moisture detect for rhode
  rhode: audio: update awinic smartpa driver to V1.8.0.1
  rhode: audio: enable aw882xx algo param store in aw_skt.bin
  asoc:update audio config for rhode
  mbhc:disable moisture detect for rhode
  asoc:init rhode audio
  asoc:add aw88261 codec driver
  asoc: Add fs1818 support for guamp/guamna
  ASoC: update aw882xx driver to v0.1.17
  update aw882xx driver to v0.1.16
  soc: soundwire: Update hw_ctl on HCLK at bootup
  asoc:Enable necessary log for mbhc
  Audio bringup: asoc: add aw882xx support

 Conflicts:
	techpack/audio/asoc/codecs/Kbuild
	techpack/audio/asoc/msm-pcm-host-voice-v2.c
	techpack/audio/dsp/q6adm.c

Change-Id: Ia248afaace87b74c0003a41fd7c8087e5c77e8dd
2024-01-03 01:17:26 +02:00
Michael Bestas 0c7cd62b0a Merge tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/kernel-msm into lineage-20
"Devon push for Android 13"

* tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/kernel-msm:
  Revert "spi: spi-msm-geni: Keep device to suspend if PM call fails"
  BACKPORT: FROMGIT: binder: fix freeze race
  FROMGIT: binder: BINDER_GET_FROZEN_INFO ioctl
  binder: BINDER_FREEZE ioctl
  mm/rmap: Fix anon_vma->degree ambiguity leading to double-reuse
  techpack: add camera legacy support
  ANDROID: usb: f_accessory: Check buffer size when initialised via composite
  ALSA: pcm: Move rwsem lock inside snd_ctl_elem_read to prevent UAF
  video: fbdev: pxa3xx-gcu: Fix integer overflow in pxa3xx_gcu_write
  ext4: fix kernel infoleak via ext4_extent_header
  wifi: mac80211_hwsim: avoid mac80211 warning on bad rate
  fbcon: Disallow setting font bigger than screen size
  KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated
  arm64: Add Cortex-X2 CPU part definition
  arm64: Add Neoverse-N2, Cortex-A710 CPU part definition
  arm64: Add part number for Arm Cortex-A77
  fget: check that the fd still exists after getting a ref to it
  fs: add fget_many() and fput_many()
  mm: fix misplaced unlock_page in do_wp_page()
  mm: do_wp_page() simplification
  mm/ksm: Remove reuse_ksm_page()
  mm: reuse only-pte-mapped KSM page in do_wp_page()
  Revert "mm:Fix conflict of speculative fault and MGLRU"
  mm:vmscan:Update the page scan prioritiy
  skip USB PHY reset on charger removal
  fuse:Porting fuse passthrough feature
  mm: mglru fix on qcom baseline
  mm:Clean page_io revert conflict
  Revert write back changes
  iio:add bc12 type read iio.
  [rhode]:Modify ldo driver voltage[2/2]
  configs:Enable multi generation LRU
  arm64: pgtable: Fix pte_accessible()
  mm: fix unexpected zeroed page mapping with zram swap
  mm:Fix conflict of speculative fault and MGLRU
  FROMLIST: mm: multi-gen LRU: design doc
  FROMLIST: mm: multi-gen LRU: admin guide
  FROMLIST: mm: multi-gen LRU: debugfs interface
  FROMLIST: mm: multi-gen LRU: thrashing prevention
  FROMLIST: mm: multi-gen LRU: kill switch
  FROMLIST: mm: multi-gen LRU: optimize multiple memcgs
  FROMLIST: mm: multi-gen LRU: support page table walks
  FROMLIST: mm: multi-gen LRU: exploit locality in rmap
  FROMLIST: mm: multi-gen LRU: minimal implementation
  FROMLIST: mm: multi-gen LRU: groundwork
  FROMLIST: mm: x86: add CONFIG_ARCH_HAS_NONLEAF_PMD_YOUNG
  FROMLIST: mm: x86, arm64: add arch_has_hw_pte_young()
  BACKPORT: include/linux/mm_inline.h: fold page_lru_base_type() into its sole caller
  UPSTREAM: mm: VM_BUG_ON lru page flags
  BACKPORT: mm: add __clear_page_lru_flags() to replace page_off_lru()
  BACKPORT: mm/swap.c: don't pass "enum lru_list" to del_page_from_lru_list()
  UPSTREAM: mm/swap.c: don't pass "enum lru_list" to trace_mm_lru_insertion()
  BACKPORT: mm: don't pass "enum lru_list" to lru list addition functions
  BACKPORT: include/linux/mm_inline.h: shuffle lru list addition and deletion functions
  BACKPORT: mm/vmscan.c: use add_page_to_lru_list()
  BACKPORT: mm: use self-explanatory macros rather than "2"
  BACKPORT: mm: remove superfluous __ClearPageActive()
  BACKPORT: mm/swapcache: support to handle the shadow entries
  UPSTREAM: mm/vmscan.c: use update_lru_size() in update_lru_sizes()
  UPSTREAM: arm64: cpufeature: introduce helper cpu_has_hw_af()
  UPSTREAM: mm: replace list_move_tail() with add_page_to_lru_list_tail()
  kernel: add PD VDM VERIFY IIO channel.
  Low flashlight brightness bugfix
  Hawaii+ OLED: sim1+sim2+sd fast plugging cause phone hang
  kernel/config: hawao: usb: sim1+sim2+sd fast plugging cause phone hang
  arm/config: devon: add CONFIG_CAM_SENSOR_PROBE_RETRY
  shmem becomes bigger and bigger when launch apps
  driver/power: Add debug logs
  Hawao: Fix NFC power consumption in sleep mode.
  devon:charger bring up
  kernel:add bc12 detect channel definition
  Revert "(CR): drm: mipi: Disable the MIPI DSI commands 0x2E and 0x3E"
  devon4g: camera flash bringup
  FROMGIT: binder: fix test regression due to sender_euid change
  UPSTREAM: binder: use cred instead of task for getsecid
  BACKPORT: binder: use cred instead of task for selinux checks
  UPSTREAM: binder: use euid from cred instead of using task
  arm64/defconfig: add devon extra configs
  hawao: devconfig: enable CHACHA20 crypto configs
  rhode: devconfig: enable CHACHA20 crypto configs
  regulator: Force shutdown all regulators when system power off.
  arm64: defconfig: Flash compatible
  TZ: Distinguishes encrypted and unencrypted TZ logs interfaces.
  TZ: Fix build err
  Hawaii+OLED:remove CONFIG_QCOM_FSA4480_I2C
  defconfig: Disable SLAB_MERGE.
  arm64/config:Enable Zram writeback on hawao
  Enable LZ4 on Rhode4G and Hawao
  dts: rhode: remove CONFIG_QCOM_FSA4480_I2C
  mm: zram: fix build error when zram wb disabled
  mm : zram fix swapcached issue on Zram Writeback
  fs:proc:abort reclaim once process goes to foreground
  ip_gre: add validation for csum_start
  arm64/config:Enable Zram writeback on Rhode
  kernel:add charger termination definition
  rhode:kernel: add wt6670 get firmware num node
  kernel/config:hawao:remove FTS TP config to use module
  kernel/input:hawao:update to use TP module ko
  kernel: remove wt6670 isp macro definition for user version
  kernel/config:hawao: add new FTS config to fix build error
  input/touchscreen: add ft3519 source config
  input/ft3519: hawao touch driver bringup
  Revert "(CR) hawaii OLED: visionox ft3519 touch drvier bringup"
  kernel: add wt6670 macro definition to control i2c nack
  QC3P:add iio channel definition
  Rhode: define CONFIG_CAMERA_FLASH_PWM
  display: Modify LDO driver initialization voltage compatibility
  Hawao: NFC Bringup(4) - driver
  hawaii OLED: visionox ft3519 touch drvier bringup
  kernel: qc3p wt6760 isp download function
  kernel:add ADC_GPIO3_DIV3 adc channel
  display/config: Add LDO driver config into the kernel.
  display: Load the regulator driver directly into the kernel.
  kernel: use orderly_poweroff when usb plugged out
  tty:diag:Move tty_flip_buffer_push out of spinlock
  Revert "tty:revert the tty update from qcom for moto tty_diag driver"
  kernel:dwc3 delay extcon module registeration
  ANDROID: xt_quota2: set usersize in xt_match registration object
  ANDROID: xt_quota2: clear quota2_log message before sending
  ANDROID: xt_quota2: remove trailing junk which might have a digit in it
  arm/defconfig: add hawao extra config
  usb:diag:revert the f_diag update from qcom for moto tty_diag driver
  tty:revert the tty update from qcom for moto tty_diag driver
  : Enable samsung NFC driver
  : integrate samsung RN4V NFC driver
  Rhode4G: wide camera bring up
  kernel: add charger gki
  kernel: change spi gpio for i2c gpio for charger
  : Remove gpio3 from reserve list for rhode4g
  arm/defconfig: add rhode extra config
  Revert "(CR) guamp: emmc add ffu"
  Removing debug config
  [PATCH] qseecom: Call INIT_WORK() before flush_work()
  guamp: emmc add ffu
  Caprip: modify the actuator noise reduction work flow.
  Caprip: modify the actuator noise reduction work flow.
  APP data lost after first R upgrade
  Porting of (CR) replace WARN with pr_debug for IPA api
  MOTODESK-2239 Make NCM driver compatible with windows
  disable CONFIG_SLUB_DEBUG for user builds
  disable CONFIG_DEBUG_PANIC_ON_OOM in userdebug builds
  Include inlinecrypt at config.gz to fix Q->R upgrade
  usb: add xhci-hw-lpm-disable dt property support
  kernel:ram overwritten by TZ logs to cause random panics
  caprip: Add start/stop vibrating notification to actuator.
  arm64: defconfig: Actuator noise reduction.
  kernel: driver/vibrator: diff vol for long/short vib
  skip ipa assert for debug build (patch 2)
  skip ipa assert for debug build
  limit ion cache size
  Revert "(CR) power: Add wakeup source in battery historian logging"
  power: print active wakeup source before suspend.
  alarmtimer: add debug to identify alarmtimers
  charger:driver:fix non power off issue for factory kill.
  arm64/defconfig: capri: open nfc driver for capri
  arm64/defconfig: disable debug fs on user build
  charger:support typec high 2A current at non-turbo product
  arm/defconfig: enable CONFIG_DEBUG_LIST on R
  soc: qcom: service-locator: enlarge timeout value
  arm/defconfig: caprip: init kernel deconfig
  arm/defconfig: capri: init kernel deconfig
  Revert "Revert "msm: media: uapi: Redefine NV12 format with different alignment""
  Revert "msm: media: uapi: Redefine NV12 format with different alignment"
  clear SDAM for new battery profile loading.
  disable DEBUG_PANIC_ON_OOM on 3G ram device
  driver:qg:enale QG_DEBUG_SOC.
  Charge: fix slab out of bounds risk
  charge: qc2.0 adapter charge slow
  charge: Handle QC2.0 charger vbus rise 12V
  BCL: Enable charge bcl feature
  arm: setup: support mem= memory limit
  arm: call idle notifiers in CPU idle
  charger:improve micro-b input current to 1.9A per HW
  Capri bring up
  kernel:distinguish type-c and microb cdp input setting
  disable SPLIT_RSS_COUNTING to fix zero RSS issue
  charger:add battery test mode support for cebu.
  spi: disable_depth > 0 when pm runtime get sync
  driver/spi: spi driver suspend changes
  kernel: panel_notifier: Add new panel notify event type
  mmc:host:sdhci:Fix host->claimer NULL pointer problem
  Change ION fill mark from 100M to 16M to reduce the Lost RAM
  arm/defconfig: cebu: init kernel deconfig
  : NFC VEN pin startup and shutdown sequence
  disable watermark boost
  charge:Config DCP 2A charge current
  tune memory configs
  charger:limit typec high to medium when hvdcp disabled
  charger:support 2A dcp charger
  arm64/defconfig: enable external usb camera
  power: reset: Use warm reset for dload mode
  Update kernel config of userdebug on Guam/GuamP to improve performance
  charger:duplicated apsd detection at pmi632
  expose ssr_reason to ss_ramdump
  SD: print SD interrupt log
  charger:SW_ICL do not used at moto
  charger:factory image charging soc over 75%
  usb audio: Let the usb sound card index from 1
  kernel:USB DRP connect debug accessory test
  charge: config: config batt NTC for bornr NA
  Kernel: add sys node for panel supplier
  gpu/drm: Create panelRegDA sysfs to expose panel's reg
  pwrkey: change printk level to output to console
  Reboot: trigger warm reset when receive hw_warmreset cmd
  disable CONFIG_DEBUG_CONSOLE_UNHASHED_POINTERS for sts test
  Revert (CR): power: smb5: Clear HDC AICL
  arm/defconfig: borneo:  init kernel deconfig
  guam serials: remove kernel config for PASR
  Revert "mm, vmstat: hide /proc/pagetypeinfo from normal users"
  arm/defconfig: guamna: init kernel deconfig
  arm/defconfig: add 32bit debug config
  defconfig.mk: add arch specific debug
  enable psi for guam guamp
  Revert "defconfig: disable MEMCG for bengal 32"
  Fix QC rebase issue for dual role sysfs access issue
  ion: display ion total size in debufs node
  ion: dmabuf improve debugfs
  kernel:support huawei p10 5A cable
  bengal:Enable dual role usb interface
  smb5:Add dual role class support in smb5
  usb:Add dual role class support
  sdcardfs: don't depend on reserved_mb to check free space
  sdcardfs: check the free space before creating files
  sdcardfs: copy inode size while getting attributes
  : remove nfc function for guam
  charger:allow APSD re-run at factory usb detection
  CONFIG_FPR_FPC disable for rebase fingerprint fix
  defconfig.mk: Don't force make defconfig
  gitignore: ignore dts link
  guamp: arm64/dtsi enable regulator_fixed_voltage
  power: Add wakeup source in battery historian logging
  arm64/defconfig: enable softlockup panic for debug
  : arm64/defconfig : enable NFC
  kernel:add OCP charger current limitation
  guam: add touch module support
  Revert "(CR): config: disable CONFIG_PANIC_ON_REFCOUNT_ERROR"
  arm64/defconfig: disable debug config
  config: disable CONFIG_PANIC_ON_REFCOUNT_ERROR
  arm64/configs: sm4250: Enable USB console
  tty: msm_geni_serial: Support the match() callback
  printk: Keep boot console on if enabled
  arm64/config: support UAS of usb storage
  arm64/defconfig: enable usbnet drivers
  usb:configfs:Set udc_name NULL if attach failed
  usb/dwc3: msm: Enable all Debug Logs
  gadget: bcdUSB version back to 2.0 when not SuperSpeed
  usb: configfs: synchronize the secure and udc_name state
  usb: configfs: skip unregister gadget in secure
  usb: gadget: f_mtp: Return error if count is negative
  usb: gadget: storage: Support READ_TOC for MacOS
  usb: configfs: Implement secure attribute
  usb: configfs: Reset the use_os_desc flag
  usb: mass_storage: Add support for SC_REBOOT
  usb: f_mtp: Handle OS descriptors only when bound
  config:remove unused smb1355 config
  guam: input add touch class support
  arm64/config: enable DIAG_OVER_TTY
  drivers: tty: add tty diag module
  char: diag: add write done sync function
  panel_notify: add api for touch state
  guam: defconfig: enable panel notifications
  video: Add panel_notifier framework
  drm: mipi: disable Elvss dim of HBM for MIPI DSI
  Add new macro MIPI_DSI_MSG_READ
  gpu/drm: Create sysfs to expose panel vendor infor
  drm: mipi: Disable the MIPI DSI commands 0x2E and 0x3E
  drm/dsi: Implement DCS set disp brightness 2bytes
  guam: input add drm support
  defconfig: bengal: enable pstore
  power: Add function to show active wakelocks
  power: suspend: Save snapshot of gpio, vreg when suspend
  PM/Suspend: Print wall time at suspend entry and exit
  - Do not unload prov TZ app.
  add system restart warm and panic mode
  printk: increase log buffer size to 2k
  qpnp-power-on: Print system timestamp on Power key event
  regulator: core: Add sysfs node for debug
  pinctrl: msm: Add sysfs node for debug
  watchdog_v2: export watchdog trigger
  pinctrl: pinctrl-msm: do not dump unallocated GPIOs
  of: conditional status property
  arm64/dt add kpanic modules
  kernel:moto charger/battery driver enable
  config:battery 10k ntc enable
  guamp: input add touch support
  input add touch support
  kernel:JK50 NTC 10K report wrong temp
  arm/defconfig: update debug option
  defconfig: enable CONFIG_MEMCG config
  defconfig: bengal: Add moto defconfigs
  msm-poweroff: Store restart reason
  power: pmic-voter: Export Interfaces
  Do not build moto config while building MSI
  kernel/config: Add Moto ext_config feature
  soc: qcom: kconfig opt to build moto dtbs
  soc: qcom: socinfo: Add sku sysfs support
  soc: qcom: socinfo: Add revision 16 support in socinfo structure
  net: qrtr: fifo: Add bounds check on tx path
  msm: ADSPRPC: Restrict untrusted applications from attaching to GuestOS
  msm: kgsl: Zap performance counters across context switches
  msm: kgsl: Add a sysfs node to control performance counter reads
  tzlog: update struct to get normal and fatal diag logs
  firmware: qcom: Remove garbage characters from qsee log
  firmware: qcom: add enlarged qsee log support
  firmware: qcom: encrypted tz and qsee log support
  serial: msm_geni_serial: Reduce stale delay added in stop_rx_sequencer
  clk: qcom: debugcc: Remove the gcc_camss_camnoc clocks
  defconfig: Enable CONFIG_ION_SYSTEM_HEAP for bengal
  f2fs: fix the periodic wakeups of discard thread
  f2fs: allow to change discard policy based on cached discard cmds
  msm: adsprpc: Lock list before removing node
  clk: qcom: gpucc: Update the post div ops for GPUCC PLL for KHAJE
  clk: qcom: clk-alpha-pll: Update implementation for Zonda PLL
  msm: kgsl: Use pid struct to find the process to reclaim
  mm: process_reclaim: pass pid struct instead of tgid
  msm: kgsl: Change vma->vm_file to shmem file
  mm: process_reclaim: skip target_vma
  net: qrtr: Excessive logging casuing boot failure
  Revert "msm: kgsl: Add GPUCC register dumps to A6xx GPU snapshot"
  defconfig: msm: Enable CONFIG_STATIC_USERMODEHELPER for bengal_32
  fdt: Update CRC check for rng-seed
  defconfig: Enable blk-crypto-fallback to handle sw crypto request
  md: dm-default-key: Use system sector size for SDHCI devices
  msm: mink: Fix copy_to_user issue
  fix corrupt merge
  serial: msm_geni_serial: Disable irq only for HSUART usecase
  msm_geni_serial: Correct the DMA RX interrupt logic

 Conflicts:
	.gitignore
	arch/arm/include/asm/spectre.h
	arch/arm64/include/asm/cpufeature.h
	arch/arm64/include/asm/cputype.h
	drivers/gpu/drm/drm_mipi_dsi.c
	drivers/soc/qcom/socinfo.c
	drivers/usb/gadget/function/f_ncm.c
	drivers/usb/gadget/function/u_ncm.h
	drivers/video/fbdev/core/fbcon.c
	fs/file.c
	fs/fuse/dev.c
	fs/fuse/file.c
	fs/fuse/fuse_i.h
	fs/fuse/passthrough.c
	include/drm/drm_mipi_dsi.h
	include/linux/page-flags-layout.h
	include/linux/rmap.h
	include/uapi/linux/dma-buf.h
	include/uapi/linux/fuse.h
	mm/page_io.c
	mm/rmap.c

Change-Id: I284de7199b3bfc44db2cfc89b2cd00a51bebdb6d
2024-01-03 01:02:41 +02:00
ziqic ede19bd3c1 msm: vidc: fix error during debugfs init
When CONFIG_DEBUG_FS is disabled, the call to
debugfs_create_dir will result in an error.

Add a check of the config to avoid the error.

Change-Id: I7a79dbc5c4c5e1e3192a11d55ad9b7994788f30f
Signed-off-by: ziqic <quic_ziqic_01@quicinc.com>
2023-12-14 13:15:39 +02:00
Michael Bestas 58a190757c Merge tag 'LA.UM.9.12.r1-17400-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver into android13-4.19-kona
"LA.UM.9.12.r1-17400-SMxx50.QSSI13.0"

* tag 'LA.UM.9.12.r1-17400-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver:
  msm : Cap framerate for all Intra setting
  msm : Cap framerate for all Intra setting
  video: driver: Return proper error code
  video: driver: Return proper error code

Change-Id: I6a750e08cd103f054a993ff8cc3eb147f2beafa6
2023-11-09 14:50:39 +02:00
Michael Bestas 562179ef39 Merge tag 'LA.UM.9.12.r1-17400-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.12.r1-17400-SMxx50.QSSI13.0"

* tag 'LA.UM.9.12.r1-17400-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  dsp: q6asm: Add check for ADSP payload size
  ASoC: msm-audio-effects-q6-v2: Add BPF order check
  dsp: q6afe: Add check for fbsp state
  ASoC: msm-lsm-client: Integer overflow check
  dsp: Correct copyright info

 Conflicts:
	techpack/audio/dsp/msm_audio_ion.c

Change-Id: If36269f6078703b3da8486049b07b993d190ccc3
2023-11-09 14:46:03 +02:00
lucaswei 2f041349d1 techpack: video: hfi_iris2: Fix -Wpointer-to-int-cast
msm/vidc/hfi_iris2.c:170:3: error: cast to smaller integer type 'u32' (aka 'unsigned int') from 'u8 *' (aka 'unsigned char *') [-Werror,-Wpointer-to-int-cast]
                (u32)device->iface_q_table.align_virtual_addr, sid);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Casting `device->iface_q_table.align_virtual_addr` to uintptr_t first, then
cast to u32 to avoid pointer-to-int-cast errors.

Bug: 171827315
Signed-off-by: lucaswei <lucaswei@google.com>
Change-Id: I687af3df978841d4cba8ea658176187d1fb56837
2023-11-07 19:15:45 +05:45
LuK1337 735887edbc msm: camera: Fix strict-prototypes error
Change-Id: Iaad4cda7407ea12558a2d4a0f4acb4586bed5d0a
2023-10-20 09:40:19 +02:00
LuK1337 29759cf58d drivers: rmnet_perf: Fix strict-prototypes error
Change-Id: I3e67da3d767f8d1198bca1c81e561c1ad2fe7363
2023-10-20 09:40:19 +02:00
Michael Bestas ac474f9f13 Merge tag 'LA.UM.9.12.r1-16200-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
"LA.UM.9.12.r1-16200-SMxx50.QSSI12.0"

* tag 'LA.UM.9.12.r1-16200-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: cci: Optimize the processing of CCI timeout

Change-Id: I58d4791205c4b86e8847a511227987388773c65f
2023-10-16 15:14:13 +03:00
Michael Bestas be221a6ae1 Merge tag 'LA.UM.9.12.r1-16200-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.12.r1-16200-SMxx50.QSSI12.0"

* tag 'LA.UM.9.12.r1-16200-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  dsp: add lock in ion free to avoid use after free
  ASoC: Resolve use after free in listen sound client

 Conflicts:
	techpack/audio/dsp/msm_audio_ion.c

Change-Id: I44bcbc386cbfa2f6e3d1eef9b8bd1109d0df9b8c
2023-10-16 15:12:19 +03:00
Soumya Managoli 13d3be4ddf dsp: q6adm: Resolve mem corruption in adm cb
Conversion of negative "num_modules" var value
will result in max possible unsigned int value
and hence can cause mem corruption when accessed.

Resolve this by assigning the same data type
to "num_modules" var as used in the calling fn.

Change-Id: I4c9d7215b9c7345637e1eb3a1992a41fef71c5cb
Signed-off-by: Soumya Managoli <quic_c_smanag@quicinc.com>
2023-10-02 20:49:14 +03:00
Michael Bestas 49a49fb864 Merge tag 'LA.UM.9.15.r1-07500-KAMORTA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
"LA.UM.9.15.r1-07500-KAMORTA.QSSI13.0"

* tag 'LA.UM.9.15.r1-07500-KAMORTA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: mem_mgr: release buffers after usage
  msm: camera: sensor: Add changes to prevent unmap buffers
  msm: camera: mem_mgr: Add refcount to track in use buffers
  msm: camera: core: validation of session/device/link handle

Change-Id: I67d08de0f2d7d3855c5d0cebccb5a8c0a05e49ec
2023-08-25 12:05:33 +03:00
Michael Bestas 4b455c21d5 Merge tag 'LA.UM.9.12.r1-15600-SMxx50.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
"LA.UM.9.12.r1-15600-SMxx50.0"

* tag 'LA.UM.9.12.r1-15600-SMxx50.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: mem_mgr: release buffers after usage
  msm: camera: sensor: Add changes to prevent unmap buffers
  msm: camera: mem_mgr: Add refcount to track in use buffers
  msm: camera: core: validation of session/device/link handle
  msm: camera: cci: Fix some cci stability issues
  msm: camera: cci: Move load report cmd in lock context
  msm: camera: cci: Add report id in report command for CCI I2C queue

Change-Id: If0a91190c9d87eeca85d6d4c5572d57c17ce333d
2023-08-25 12:04:44 +03:00
Michael Bestas 0bdb488b23 Merge tag 'LA.UM.9.15.r1-07500-KAMORTA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.15.r1-07500-KAMORTA.QSSI13.0"

* tag 'LA.UM.9.15.r1-07500-KAMORTA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  dsp: Added fix to resolve compilation error
  dsp: q6voice: added fix to resolve Lookahead error
  ASoC: msm-pcm-host-voice: Handle OOB access in hpcm_start
  dsp: q6core: Avoid OOB access in q6core
  dsp: q6voice: Add buf size check for cvs cal data
  dsp: afe: Add check for num_channels
  dsp: afe: Add check for sidetone iir config copy size
  ASoC: msm-pcm-host-voice: Address buffer overflow in hpcm copy
  ASoC: msm-pcm-voip: Avoid interger underflow
  dsp: asm: validate payload size before access
  dsp: q6core: validate payload size before access for AVCS
  dsp:  afe: check for param size before copying
  asoc: Compilation fix for SDLLVM toolchain 16.0
  asoc: routing: add PRI_TDM path as echo reference data
  dsp: add lock in ion free to avoid use after free

 Conflicts:
	techpack/audio/dsp/q6afe.c
	techpack/audio/dsp/q6asm.c
	techpack/audio/dsp/q6core.c
	techpack/audio/dsp/q6voice.c

Change-Id: I3aab264a7be180846833043a3c3a8ce889b85d12
2023-08-25 12:03:18 +03:00
Michael Bestas 3f9414c007 Merge tag 'LA.UM.9.12.r1-15600-SMxx50.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.12.r1-15600-SMxx50.0"

* tag 'LA.UM.9.12.r1-15600-SMxx50.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  ASoC: msm-pcm-host-voice: Check validity of session idx
  dsp: q6lsm: Address use after free for mmap handle
  dsp: q6lsm: Add check for payload buffer
  ASoC: Resolve use after free in listen sound client
  ASoC: dsp: q6core: Avoid use after free
  ASoC: msm-pcm-q6-v2: Add dsp buf check
  ASoC: dsp: q6core: Avoid use after free
  ASoC: msm-pcm-host-voice: Address buffer overflow in hpcm copy
  ASoC: msm-pcm-q6-v2: Add dsp buf check
  dsp: q6core: Avoid OOB access in q6core
  ASoC: msm-pcm-host-voice: Handle OOB access in hpcm_start
  dsp: afe: Add check for num_channels
  dsp: asm: validate payload size before access
  dsp: afe: Add check for sidetone iir config copy size
  dsp: q6voice: Add buf size check for cvs cal data
  ASoC: msm-pcm-voip: Avoid interger underflow
  dsp: afe: check for param size before copying
  dsp: q6core: validate payload size before access for AVCS

Change-Id: I586bec33dde9200927e0d6226237aa932a5f7531
2023-08-25 12:02:12 +03:00
Michael Bestas 1988c1a1a4 Merge tag 'LA.UM.9.12.r1-15500-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers into android13-4.19-kona
"LA.UM.9.12.r1-15500-SMxx50.QSSI13.0"

* tag 'LA.UM.9.12.r1-15500-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers:
  disp: msm: clear platform device drvdata on msm_drm bind fail
  disp: msm: add support to parse HDMI VSDB block

Change-Id: I5a5d2b4e8d529e9a4356fb472a7c59d4a7902395
2023-07-11 15:20:12 +03:00
Michael Bestas 3087c412d8 Merge tag 'LA.UM.9.15.r1-07400-KAMORTA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
"LA.UM.9.15.r1-07400-KAMORTA.QSSI13.0"

* tag 'LA.UM.9.15.r1-07400-KAMORTA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: smmu: Use get_file to increase ref count

Change-Id: Ie6f243e0a0dfc1ff927d4b4b3594ee3b357661ce
2023-07-11 15:18:00 +03:00
Michael Bestas 08a5b230eb Merge tag 'LA.UM.9.12.r1-15500-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
"LA.UM.9.12.r1-15500-SMxx50.QSSI13.0"

* tag 'LA.UM.9.12.r1-15500-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: isp: Handle deferred bufdone and bubble cases

Change-Id: Ia422cdedfa74c095bd75aa507d2b86f366111950
2023-07-11 15:13:00 +03:00
Michael Bestas 78c145b6e1 Merge tag 'LA.UM.9.12.r1-15500-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.12.r1-15500-SMxx50.QSSI13.0"

* tag 'LA.UM.9.12.r1-15500-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  ASoC: msm-pcm-voip: Avoid interger underflow
  dsp: afe: check for param size before copying
  dsp: q6core: validate payload size before access for AVCS

 Conflicts:
	techpack/audio/dsp/q6afe.c
	techpack/audio/dsp/q6core.c

Change-Id: I652a534f1fc03ebb9f912a9400eed83bc2abf49a
2023-07-11 15:10:50 +03:00
Gilberto Gambugge 657b260037 techpack: add camera legacy support
Add camera legacy support by checking BOARD_CONFIG_CAMERA_KERNEL_NAME
to decide which folder will be used to compile the camera techpack.
Also, due to camera legacy, the camera uapi kernel headers installation
routines need to be updated to consider the camera legacy support.
This commit also fixes the routines to install kernel headers for
'make headers_install' and also 'qti_generate_kernel_headers_arm'
and 'qti_generate_kernel_headers_arm64'.

Change-Id: I845c5cb49c388bc15eba2fbf0ed0724e93de5192
Reviewed-on: https://gerrit.mot.com/2632695
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Reviewed-by: Rafael Ortolan <rafones@motorola.com>
Reviewed-by: Rav(CR) Vembu <raviv@motorola.com>
Reviewed-by: Miguel Nicodemus <miguelh@motorola.com>
Tested-by: Jira Key
Submit-Approved: Jira Key
2023-06-12 18:49:53 -05:00
Michael Bestas 899c005941 techpack: camera: Remove duplicate check
Change-Id: Ibf45ddb971274ec9d6ad59b6ad459be26d639e19
2023-06-06 18:36:05 +03:00
Michael Bestas 8200d429b0 techpack: audio: Add missing FM recording mixer setup
Change-Id: Ic4bd02ab12afe2b4a8c5fc58c99541fa879b50b4
2023-06-06 18:36:05 +03:00
Adrian Salido 61c42b756e techpack: display: drm/msm: add idle state sysfs node
Add a sysfs mechanism to track the idle state of display subsystem.
This allows user space to poll on the idle state node to detect when
display goes idle for longer than the time set.

Bug: 139655049
Bug: 126304228
Change-Id: I21e3c7b0830a9695db9f65526c111ce5153d1764
Signed-off-by: Adrian Salido <salidoa@google.com>
Signed-off-by: Robb Glasser <rglasser@google.com>
(cherry picked from commit 11a2193b434cb3130743fbff89a161062883132e)
Signed-off-by: Ken Huang <kenbshuang@google.com>
2023-06-06 18:36:04 +03:00
Michael Bestas cb78c3f502 Merge tag 'LA.UM.9.12.r1-15400-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver into android13-4.19-kona
"LA.UM.9.12.r1-15400-SMxx50.QSSI13.0"

* tag 'LA.UM.9.12.r1-15400-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver:
  msm: vidc: If QP_value is invalid,assign default_QP

Change-Id: Ida7fab832c3cd1f141493f222a86a133ceaba995
2023-05-05 19:57:58 +03:00
Danny Lin 9b189ac5f2 techpack: audio: Remove build timestamp injection
This causes parts of the audio module to be rebuilt during every
incremental build, even if there are no changes:

  CC      techpack/audio/ipc/apr.o - due to command line change
  CC      techpack/audio/ipc/apr_v2.o - due to command line change
  CC      techpack/audio/ipc/apr_tal_rpmsg.o - due to command line change
  CC      techpack/audio/ipc/wcd-dsp-glink.o - due to command line change

We're only experiencing this issue in techpack/audio/ipc at the moment,
but kill the timestamp injection in all the audio components to
eliminate the possibility of encountering this issue again in the
future. This is harmless since the injected BUILD_TIMESTAMP macro is
never used.

Change-Id: I35b588a2a902438b2c79ebbac31453f2e528bbbe
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
2023-04-19 20:58:19 +03:00
Michael Bestas 613bf2ef1a techpack: camera: Don't build for bengal
Change-Id: Ia7ec24e36e9ea6a911269067fbac70dbe7de5617
2023-04-02 21:50:38 +03:00
Michael Bestas 171adf1ad5 techpack: camera-bengal: Don't build for kona/lito
Change-Id: Ia0d3fc55198f45bd272e826052d082ef941e7724
2023-04-02 21:48:21 +03:00
Michael Bestas b09dc79a4b techpack: camera-bengal: Correct paths
Change-Id: Ia65db59b46f489dfc7b88465ba99246d5f5af460
2023-04-02 21:44:15 +03:00
Michael Bestas d743a11e96 Add 'techpack/camera-bengal/' from tag 'LA.UM.9.15.r1-07300-KAMORTA.QSSI13.0'
git-subtree-dir: techpack/camera-bengal
git-subtree-mainline: 5850f8798e
git-subtree-split: 2a49492f4f
Change-Id: I7a00e317dd1cc136910d3f2afa61b99ecde5f414
2023-04-02 21:41:23 +03:00
Michael Bestas 5850f8798e Merge tag 'LA.UM.9.15.r1-07300-KAMORTA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.15.r1-07300-KAMORTA.QSSI13.0"

* tag 'LA.UM.9.15.r1-07300-KAMORTA.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  ASoC: msm-pcm-q6-v2: Add dsp buf check
  ASoC: rouleur-mbhc: Enhance impedance calculation logic
  ASoC: rouleur-mbhc: Fix pop noise heard when headset insertion
  asoc: wsa881x: Fix to set the correct volume level
  soc: swr-mstr-ctrl: remove FIFO_Flush for overflow
  asoc: Add routing control for qrb5165 BT HFP usecase
  soc: swr-mstr: Store and compare dev_addr along with dev_num
  Asoc: fix integer overflow for long duration offload playback
  asoc: Correct the range of dev_token for usb headset.
  asoc: pcm-noirq: set substream state to disconnect when ssr happens
  soc: pinctrl-lpi-legacy : Add nullptr check
  asoc: msm-pcm-routing: Assign default topology when app_type is zero
  asoc: notify dp driver after disp codec probe
  asoc: codecs: fix race condition of core vote and reg access
  ASoC: wcd937x: Add check for ULP irrespective of the Class
  asoc: codecs: Add nullptr check
  ASoC: wcd937x: Update QCRG sequence for wcd937x
  asoc: changes to fix KW errors.
  asoc: changes to fix KW errors.
  ASoC: pcm-routing: Add WSA VI sense macro to support capture
  ASoC: wcd937x: Update EAR PA CnP FSM sequence
  soc: swr-mstr: update component and interrupt enable sequence
  ASoC: wcd937x: Update EAR PA CnP FSM sequence
  soc: add check condition before enabling irq
  ASoC: wcd937x: Add change for LDOL VOUT accuracy calibration
  ASoC: dsp: Synchronise adm commands
  ASoC: wcd937x: Add change to micbias reg for new tanggu fab id
  ASoC: wcd937x: Update register value for new fab id for tanggu
  dsp:q6afe: Resolve crash in q6afe_get_avcs_modules
  ASoC: wcd937x: Change resistor divider output for hph if fab id is enabled
  dsp: adm: add to check output/input channel value
  asoc: Parse wcd-datalane-mismatch property to update rx frame config for khaje
  asoc: wcd-cpe: Set the dma_mask for cpe_device
  asoc: Parse wcd-datalane-mismatch property to update rx frame config for khaje
  ASoC: msm8952: Defer until pcm voice probe done
  q6afe: Fix out of bound access of clkinfo_per_port
  asoc: Register CDC_DMA interface only if enabled
  config: sdm450: Disable CDC_DMA interfaces
  asoc: codecs: add null check before access
  asoc: fix KW issue of using uninitialized variable
  audio-kernel: enable wsa883x compilation on qrb5165
  ASoC: Enable wsa881x-temp-sensor for bengal
  ASoC: msm8952: avoid static route between cpu and codec dai
  asoc: codecs: Fix LPASS register access during bootup
  ASoC: wcd: Add check to stop invalid memory access
  afe: release codec port when afe starts failed
  ASoC: Changes to enable codec clk for wcd9335
  Asoc: check for invalid voice session id
  SoC: codecs: Fix slim_tx port configuration for wcd9335
  ASoC: Get the component handle for cpe and tasha
  ASoC: wcd937x: Change vbg fine voltage to 0.5V for wcd937x second source
  audio-kernel: enable wsa883x compilation on sxr2130
  dsp: fix out of bound access for cal_data size
  dsp: update size check for set/get VI param function
  config: sdm450: Disable TDM and AUXPCM interfaces
  asoc: msm_sdw: Revert adsp ready check for read/write
  ASoC: SDM660: Avoid static route between cpu and codec dai
  asoc: bolero: Update PCM_RATE based delay for amic
  ASoC: SDM660: Avoid static route between cpu and codec dai
  ASoC: Fix for SSR issue on msm8953
  ASoC: error check for backend index and MCLK src
  Asoc: sdm450: Add capture support for Multimedia10 FE
  asoc: add proxy ports for call screening in machine driver
  asoc: msm: Fix compilation error when enable TDM and disable MI2S
  Makefile: Correct TARGET_SUPPORT entry for qrb5165
  dsp: update size check for get VI param function
  asoc: codecs: add child devices after completing initialization
  asoc: bolero: Add core_vote before gfmux access
  dsp: Disable q6_pdr build for msm8937 and msm8953
  asoc: Fixed wsa881x codec machine driver callback
  asoc: codec: enable the cpe on tasha
  Use proper TARGET_SUPPORT entry for sxr2130
  asoc: wsa881x: Fix to set the correct volume level
  ASoC: ep92: Add external mclk support
  ASoC: msm: Add WCD interrupt config for SDA660
  dsp: Unload the BT modules when APR handle is NULL
  asoc: Update copy_to_user to requested buffer size
  ASoC: Audio bringup changes for msm8937_32go.
  asoc: Add check to handle negative value passed for num_app_cfg_type
  ASoC: QCS405: Additional TDM samplerates and channels
  asoc: qcs405: Add support for TDM interface
  asoc: Add support for QUAT and SEN TDM interface
  asoc: qcs405: Update clk src string from dts
  dsp: Add support to update and store clk src values
  dsp: afe topology deregister
  ASoC: qcs405: Add external mclk support
  ASoC: Add external mclk mixer support
  dsp: Fix improper mutex unlock in afe close
  ASoC: wsa883x: Handle PA_ERR interrupt on WSA speaker
  ASoC: Add support to send voice UI port id to afe
  Revert "dsp: avtimer: Add adsp ready check before accessing avtimer registers"
  asoc: wsa881x: Fix crash while capturing swr_slv codec dump
  dsp: add change to enable preemption at cal_utils_dealloc_cal
  asoc: msm_sdw: Handle locking for mclk enable flag
  asoc: codecs: sdm660_cdc: Fix LPASS register access during PDR
  ASoC: lagoon: add support for CPS speaker protection
  dsp: add change to enable preemption at cal_utils_dealloc_cal
  ASoC: tx-macro: Allow regcache sync during clock enablement
  ASoC: wsa883x: add function to get swr device number
  dsp: add change to handle use-after-free in cal_utils_is_cal_stale
  soc: swr-mstr: Check if fifo available before bulk write
  asoc: bolero: control wakeup of swr_tx during clock setup
  soc: swr-mstr: Resolve swr overflow, underflow errors for wsa
  soc: swr-mstr: Update soundwire state to SSR during UP
  dsp: add change to fix use-after-free issue
  asoc: msm-pcm-q6-v2: Update memset for period size
  asoc: va-macro: Allow swr switch at powerup/shutdown
  ASoC: SDM660: Avoid static route between cpu and codec dai
  soc: Synchronize RESET event and lpi ops in legacy driver
  ASoC: codec: Enable wcd-spi driver compilation
  asoc: wcd-spi: Set the dma_mask for spi_device
  ASoC: audio-ext-clk: Add pmi clk support for tasha
  asoc: add null check for pcm pointer of snd_pcm_volume
  dsp: add afe function to send cps configuration
  asoc: Add 32bit support in meta i2s
  asoc: va-macro: Update widget order for VA_MCLK and VA_SWR_PWR
  dsp: Add param header size based on the instance id support
  dsp: q6core: Check q6core avs state to be modules ready
  ASoC: dsp: Synchronise adm and rtac commands
  asoc: codecs: Add support to dump rouleur swr slave regs
  asoc: sdm660: Correct the dev_id for hdmi backend.
  Revert "ASoC: codecs: handle device disconnect during SSR/PDR"
  ASoC: wsa883x: Update register sequence to reduce CnP
  asoc: sdm660: add proxy ports for call screening in machine driver
  soc: swr-mstr: Fix headset detect issue due to master.num_dev not updated
  soc: swr-mstr: Fix random headset detection issue on scuba
  dsp: Feedback path cfg to support 3rd party spkr protection algorithms.
  ASOC: SPV4 set correct number of speakers.
  ASoC: wsa883x: enable vbat adc filter
  config: kona: Disable MI2S, TDM and AUXPCM interfaces
  dsp: fix compilation issue in q6lsm_callback function
  asoc: Register widgets and intercons only when supported
  soc: swr-mstr: Fix random headset detection issue on scuba
  ASoC: codecs: handle device disconnect during SSR
  asoc: dsp: Fix possible invalid memory access due to race condition
  ASoC: rouleur-mbhc: Fix impedance detection issue on rouleur
  dsp: Add support for GET_PARAMS

 Conflicts:
	techpack/audio/asoc/kona.c
	techpack/audio/asoc/msm-pcm-routing-v2.c
	techpack/audio/dsp/q6core.c
	techpack/audio/dsp/q6lsm.c
	techpack/audio/include/dsp/audio_cal_utils.h
	techpack/audio/soc/swr-mstr-ctrl.c
	techpack/audio/soc/swr-mstr-ctrl.h

Change-Id: Id77d1c17f36618427f929d7830200733a0e8b460
2023-04-01 01:07:23 +03:00
Michael Bestas 837a7e269e Merge tag 'LA.UM.9.12.r1-15300-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
"LA.UM.9.12.r1-15300-SMxx50.QSSI12.0"

* tag 'LA.UM.9.12.r1-15300-SMxx50.QSSI12.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: smmu: Use get_file to increase ref count

Change-Id: I5685666b2029bc012a1f0938bdb9b2f8b2fe0d5d
2023-04-01 00:53:56 +03:00
Michael Bestas 8fa64ce3a0 Merge tag 'LA.UM.9.12.r1-15200-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver into android13-4.19-kona
"LA.UM.9.12.r1-15200-SMxx50.QSSI13.0"

* tag 'LA.UM.9.12.r1-15200-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/video-driver:
  msm: vidc: Enable layered intra cyclic refresh

Change-Id: I628d84fd1d7ecfe16d9979245fe3e35b7026b876
2023-03-07 19:50:11 +02:00
Michael Bestas 0613043977 Merge tag 'LA.UM.9.12.r1-15200-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel into android13-4.19-kona
"LA.UM.9.12.r1-15200-SMxx50.QSSI13.0"

* tag 'LA.UM.9.12.r1-15200-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/camera-kernel:
  msm: camera: isp: Handle RUP in applied substate
  msm: camera: sensor: Using low priority queue for init setting
  msm: camera: common: Add conditions to catch invalid packet data

Change-Id: I06c432bbad641facd48e65142398a1898863ea66
2023-03-07 19:48:20 +02:00
Michael Bestas 90af4bdba2 Merge tag 'LA.UM.9.12.r1-15200-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.12.r1-15200-SMxx50.QSSI13.0"

* tag 'LA.UM.9.12.r1-15200-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  ASoC: msm-pcm-q6-v2: Add dsp buf check

Change-Id: I1ccef3e449405bce0d487f094ad8334059c66758
2023-03-07 19:47:53 +02:00
Michael Bestas d230856d41 Merge tag 'LA.UM.9.12.r1-15100-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers into android13-4.19-kona
"LA.UM.9.12.r1-15100-SMxx50.QSSI13.0"

* tag 'LA.UM.9.12.r1-15100-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/display-drivers:
  disp: msm: dp: disable ASSR before link training
  disp: msm: dsi: clear the panel esd_recovery_pending in power on commit

Change-Id: I3452dbc689d042edee94b74b7e85e320a996064d
2023-01-03 20:49:45 +02:00
Michael Bestas 80d310ce24 Merge tag 'LA.UM.9.12.r1-15100-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel into android13-4.19-kona
"LA.UM.9.12.r1-15100-SMxx50.QSSI13.0"

* tag 'LA.UM.9.12.r1-15100-SMxx50.QSSI13.0' of https://git.codelinaro.org/clo/la/platform/vendor/opensource/audio-kernel:
  soc: swr-mstr: Store and compare dev_addr along with dev_num

Change-Id: I112358bc1f2acbc61acb575b2a6353911d6ff386
2023-01-03 20:47:57 +02:00
Danny Lin f2a215a790 techpack: Integrate Qualcomm data-kernel package
This allows to build the rmnet_perf and rmnet_shs modules into the
kernel easily.

Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Change-Id: I205ec5517e6b1af87f7c3ca8c31a86fd98d715da
2022-11-20 20:11:12 +02:00
Peter Cai a479c7f65d techpack: audio: Correct symlinks
* These symlinks were meant for the out-of-tree module. Now that we
  build them in-tree, we need to correct them.

Change-Id: If2f506138c7e08123a90e0f897f0e899bb47ef0c
2022-11-20 20:11:11 +02:00
electimon 86c136bc40 techpack: audio: Setup build makefiles for bengal
Signed-off-by: electimon <electimon@gmail.com>
Change-Id: I796eddf9edb1c201ca5583aa6f68ff96048fcdcd
2022-11-20 20:11:11 +02:00
Erfan Abdi bdb4750f79 techpack: audio: Setup build makefiles for lito 2022-11-20 19:49:08 +02:00