summaryrefslogtreecommitdiffstats
path: root/iaxxx-odsp.h
Commit message (Collapse)AuthorAgeFilesLines
* sthal: using kernel headerJuyu Chen2019-08-051-210/+0
| | | | | | | | | | | | | | Bug: 138320651 Test: audio/soundtrigger/sensor/SSR/get_pwr_status works well Change-Id: I7752dd0c447c03d1b09e8bea583631dcc675ad27 Signed-off-by: yixuanjiang <yixuanjiang@google.com> This reverts commit d192ff15d4a67bbeb6ff015ec8a8c8cf9d96265e. Reason for revert: <In order to phase it on FRC, we will fix the build break later> Change-Id: I8f42e94ea004f6a4f8cc2929b34f3afdb096eafc
* Revert "sthal: using kernel header"Xin Li2019-08-051-0/+210
| | | | | | This reverts commit 3a4b0eaa376508cd1968fe1f6a886972666a0440. Change-Id: I2c97a43bf21b48304db4f7aec5009e397b96c005
* sthal: using kernel headeryixuanjiang2019-07-291-210/+0
| | | | | | | Bug: 138320651 Test: audio/soundtrigger/sensor/SSR/get_pwr_status works well Change-Id: I7752dd0c447c03d1b09e8bea583631dcc675ad27 Signed-off-by: yixuanjiang <yixuanjiang@google.com>
* sthal: 9.5.1 portingyixuanjiang2019-05-101-0/+7
| | | | | | | | | | | | | | | | | | | | | | | Handle user space crashes + Impllemented two new IOCTLs to get the FW state and to do FW reset + In case the user space service crashes then the ST HAL will get restarted and all the apps will try to restart their usecases. Query for the firmware status, * IAXXX_FW_IDLE - Nothing is running on the chip, firmware is in idle state, no need to do anything. * IAXXX_FW_CRASH - Firmware has crashed, set ST HAL to not ready and wait for recovery to complete * IAXXX_FW_ACTIVE - Some usecase is running in the firmware, so request the driver to redownload the firmware and set ST HAL to not ready state and wait until firmware download is completed Bug: 129505523 Test: build pass Change-Id: Ic44491d0f0c697d370a81c0eac7983109dad0caa Signed-off-by: yixuanjiang <yixuanjiang@google.com>
* sthal: 9.5 portingyixuanjiang2019-05-021-1/+0
| | | | | | | | | | | | | | | | | | | | | | note: 1. add support for sleep++ mode need hsw kernel 9.3 support to enable sleep++ mode by mixer path. it support turn on/off hmd, ssp, and dmx memory. 2. Test: Power profiling Modifier pwr_stat test application to accommodate the newly added 3. Regdump log improvements Regdump(register access history) will be collected whenever there is crash. File will be stored in /data/data/dump_reg_access_history_<timestamp>.txt Renamed the crash log bin file /data/data/dump_crash_<timestamp>.bin 4. remove useless ODSP_SET_MPLL_SRC Bug: 130402903 Test: local_build Change-Id: I572d9886b743e48127cd3c7cca2b76895ce15590 Signed-off-by: yixuanjiang <yixuanjiang@google.com>
* sthal: remove MPLL control from HALrioskao2019-03-191-15/+6
| | | | | | | | | | note: the MPLL switch should handle by driver. remove the MPLL control to avoid concurrency problem. Test: build pass Bug: 128600469 Change-Id: I91cb35adac63fe40e8b802d2b1b57bb3b1332fe8
* sthal: HSW 9.1 integrationRobert Lee2019-03-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | note: +Internal oscillator trimming using 32Khz ext oscillator from host. FW by default enable this and host has control to stop, start and set frequency. +Plugin set get param support from HOST1 +Removed redundant code from ST HAL plugin creations and model loads. +Only 2 sec buffer plugin is created when only hotword feature is enabled. if another ST model is selected then we will destroy 2 sec buffer and recreate 8 sec buffer with read pointer for 2 sec and 8 sec. Test: Manual test SoundTrigger features. Bug: 122871429 Bug: 123177333 Bug: 121286156 Bug: 122640303 Bug: 124878266 Bug: 124626705 Bug: 127721992 Bug: 127660934 Change-Id: Idcf3c4ac24ad176b68bc6593d05c7b160a606e46
* sthal: HSW 9.0 integrationrioskao2019-03-121-0/+68
| | | | | | | | | | | | | | | | | | | | | note: + Added support for dynamic load and unload of packages and plugins when usecase is enabled. + Single buffer plugin to stream for all kw events. + Added PM SLEEP power mode support when no usecases are enabled. + Added Optimal power mode support in driver if any single usecase is active. + Refactor the ST HAL To support all dynamic routing and load/unload pkg support. Correct crash handling. + Added external and internal oscialltor switch support in driver. + Add dump_degug_info and crash_event_logger Test: Manually test with SoundTriggerTestApp Bug: 122871429 Bug: 117865400 Bug: 117865331 Bug: 118260288 Bug: 122991017 Change-Id: Iccc62422b2cee15abb14ba9a313cd8017be980c0
* sthal: hsw 8.0 release integrationrioskao2019-01-071-0/+29
| | | | | | | | | | | | | | note: Refactor the ST HAL -Fixed the Sound card fixed number. -Fixed the poll of FW download complete event with uevent. -libaudioroute to handle mixer control for each route. -use libodsp as driver control interface instead hardcode Support flush sound model data : -Model unload and re-load feature is supported with this release. Bug: 113311012 Test: build pass Change-Id: I02d99875ef8b53d6f1d1ef1ba20c6fa7253b200c
* sthal: 7.0_0928 sthal releaserioskao2018-12-241-4/+24
| | | | | | | | | | | | | | | | | | | | note: 1. Created new console test apps for flicker 2. Modify HAL's to adhere to AOSP HAL coding guidelines 3. Refined the routing setting mechanism 4. Added CHRE Route 5. Added AEC feature 6. Add odsp_api_test for Oslo Test: test pass. Bug: 113311012 Bug: 113305927 Bug: 114288385 Bug: 113583115 Bug: 113240629 Bug: 116511581 Change-Id: I716b92f4af2ac69b0d92576618a5e5450eb5a084
* sthal: athletico: add ambient music supportrioskao2018-12-241-7/+4
| | | | | | | | note: Add ambient music support for sthal. Test: build pass Bug: 113311012 Change-Id: Ifc0c589f3381ffd47e2ea7260ad7b24a7c523f4f
* sthal: athletico: add sensor_param_test from vendor release.rioskao2018-09-181-0/+10
| | | | | | | Test: locat test Bug: 113308725 Change-Id: Ib1ee9d4a50702fb2f2796e9e11823ff2a7fc4374 note: Add sensor package interface and test binary.
* sthal: athletico: porting knowels sthal v1rioskao2018-09-111-0/+88
Test: local test Bug: 113311012 Change-Id: Ib88fcda56701c893d61e38fac454daf1a593fff4 note: The release from knowles, which contain multiple sound models support and detection simulate. By default it would enable simulation.