Commit Graph

646 Commits

Author SHA1 Message Date
Maciej Janicki
81b4fb7915 [BH-1274] Update fuel gauge
Update fuel gauge params
2021-11-29 18:08:41 +01:00
Maciej Gibowicz
659d720274 [EGD-7939] Fix wrong battery status after restarting the phone
Adding the necessary, short delay for synchronization
after configuration.
2021-11-25 13:17:20 +01:00
tomaszkrosnowski
90bc8a7eba [EGD-7899] Keypad light settings fix
Fixed keypad light settings - removed always on option which had
serious impact on battery life time.
2021-11-25 00:49:04 +01:00
Tigran Soghbatyan
caa5d70e84 [BH-1169] Fix multiple issues with switches
Fix incorrect first latch switch
Fix missing first light click
Refactor switches code
2021-11-19 10:56:03 +01:00
Mateusz Piesta
544fab1260 [BH-1162] Battery SOC filtering
Added temporary fix for SOC calculation
during discharging.
2021-11-18 14:50:55 +01:00
Wojtek Rzepecki
148b40f30f [BH-1198] Fix critical battery level behavior
Fix of critcal battery behavior for Bell
2021-11-17 14:04:40 +01:00
Wojtek Rzepecki
6a566008c3 [BH-1189] Fix battery usage optimization
tweaks in power profile for bell to stay low with
fcpu as much as possible
2021-11-16 17:07:49 +01:00
Lucjan Bryndza
f82d6f1085 [EGD-7423] Revert FSL MMC driver may stuck in inifinite loop"
This reverts commit da4f9ea2e2.

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2021-11-16 13:24:10 +01:00
Maciej Janicki
2a53becd25 [BH-1136] Fix bootloop after low power
Fix few issues:
BH-1136
BH-1137
2021-11-12 13:58:07 +01:00
Wojtek Rzepecki
1a66e73b78 [BH-1167] USB async receive
Polling routine replaced with event driven
implementation for USB receive
2021-11-10 16:57:02 +01:00
Mateusz Piesta
b656756159 [BH-1117] Bell audio service
Added Bell audio service
Added volume scaling.
2021-11-09 13:54:45 +01:00
Tigran Soghbatyan
6888e44c32 [BH-1025] Fix timer callbacks in switches
Make queue calls from timer callbacks non "FromISR"
2021-11-09 10:18:24 +01:00
Tigran Soghbatyan
3a9d40922d [BH-1025] Fix deep and light click interaction
[BH-1025] Light click no longer occures after deep click
[BH-1113] Light click works shortly after deep click
2021-11-09 10:18:24 +01:00
Jakub Pyszczak
a2b6d8738d [EGD-7732] Fixed audio poor quality
Fixed audio poor quality during a loudspeaker call.
2021-11-08 11:53:19 +00:00
Alek Rudnik
da4f9ea2e2 [EGD-7423] FSL MMC driver may stuck in inifinite loop
There was an issue in FSL MMC driver.
Proper fix would be to swith to never 2.10 version - as it looks
like the issues is solved there - but this is out of scope of
this Jira case.
2021-11-05 13:37:00 +01:00
Lukasz Skrzypczak
379d5130c3 [BH-1071] Latch detect on startup
Added latch pressed detection
2021-11-03 15:34:35 +01:00
Maciej Janicki
083ef608ca [BH-1127] Fix frontlight linking
Fix frontlight PWM linking issue
2021-10-29 13:16:54 +02:00
Paweł Joński
e959f48e11 [BH-1070] Swap back and frontlight keys
Swap back and frontlight keys
2021-10-28 13:01:38 +02:00
Marcin Smoczyński
e942a94958 [BH-807] Add Bell audio device
Interface hardware audio codec to the audio subsystem.

Co-authored-by: Lukasz Skrzypczak <lukasz.skrzypczak@mudita.com>
Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-10-22 16:12:24 +02:00
Lukasz Skrzypczak
8c11d6a145 [BH-1084] Enable Power For Temp Sensor
Enabled power switching for temperature sensor
2021-10-22 10:44:04 +02:00
Kuba
6e12e5834f [EGD-7738] Fix modem reset
Fixed modem reset procedur so now it will not stuck in cellular
init on factory fresh phone. Also removed T3/T4 board recognition.
2021-10-21 18:45:43 +02:00
Maciej Janicki
3b0f169c09 [BH-1085] Fix vibrator hardfault
Fix vibrator HF
2021-10-21 16:09:20 +02:00
Wojtek Rzepecki
3bca46838d [EGD-7845] Fix infinite close time
Fix in cellular to prevent blocking at
system close procedure
2021-10-21 14:26:25 +02:00
Marek Niepieklo
bd7a49c25e [EGD-7529] Wrong Battery status after discharging and running again
Added saving of battery state every 5% level change
2021-10-21 11:01:08 +02:00
Wojtek Rzepecki
a03817ab96 [EGD-7766] Vibration level PWM addition
PWM channels separate control added.
2021-10-20 14:06:39 +03:00
Przemyslaw Brudny
d768eb3665 [EGD-7766] Vibration level PWM addition
Added base PWM settings to vibrations. Added vibration
volume setting.
2021-10-20 14:06:39 +03:00
Wojtek Rzepecki
e50a1575c1 [EGD-7824] Fix lost charger fix
Restoring charger fix which was lost
in merge from release 0.77.1 to master
2021-10-20 11:54:03 +02:00
Wojtek Rzepecki
6e69eb6aa6 [BH-990] Adjist CPU frequency chages
Adjusted Bell frequency low-power mode changes
2021-10-15 13:22:43 +02:00
Maciej Janicki
8a3b2e2a89 [BH-943] Fix screen clean after exit
Remove cleaning screan after shutdown.
2021-10-15 11:34:20 +02:00
Piotr Tański
39718a08ea [BH-903] Pre-wake up frontlight
Implemented a frontlight handling for the pre-wake up.
Major clean-up of the frontlight implementation.
2021-10-13 19:28:53 +02:00
Lukasz Skrzypczak
d3173ad555 [BH-972] Fixed battery charging
Fixed logging & control of charging
2021-10-12 17:00:12 +02:00
Lukasz Skrzypczak
d51c51a58f [BH-972] Charger disable when not charging
Added charger disable when not charging
2021-10-12 17:00:12 +02:00
Lucjan Bryndza
4d09846d1f [EGD-7774] Fix compile on ARM GCC11
Fix compile on ARM GCC11

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
2021-10-12 16:30:33 +02:00
Piotr Tański
1d2f5cf7a4 [EGD-7754] Dates bumped in disclaimers
Dates bumped from 2020 to 2021.
2021-10-11 19:08:26 +02:00
Wojtek Rzepecki
317baa04e9 [BH-872] Fix encoder hadnling
interrupt driven encoder handling
2021-10-08 17:18:45 +02:00
Mateusz Piesta
fb279f17b1 [BH-843] Reset procedure
Added reset procedure.
Refactored linux KeyInput.
Added support for multipress.
2021-10-06 09:40:20 +02:00
Paweł Joński
53d6c88111 [BH-845] Add battery indicator
Add battery indicator
2021-10-05 11:02:05 +02:00
Maciej Janicki
d6649d45bc [BH-944] Fix double click
Fix double click
Add latch state retention between runs
2021-10-05 09:55:59 +02:00
Mateusz Piesta
b7f4ba33e3 [BH-765] Turn off the device
From now on, Bell can be switched off from:
- settings
- by back long press(5s) from any screen
2021-10-01 14:06:41 +02:00
Paweł Joński
3065fe25b1 [BH-926] Fix hw startup battery crash
Fix fw startup battery crash
2021-09-30 18:10:54 +02:00
Maciej Janicki
0ab8cf83ce [BH-920] Fix display rotation
Fix display rotation as it was upside down.
2021-09-30 14:10:47 +02:00
Lukasz Skrzypczak
1f2a810afb [BH-651] Bell fuel gauge
PR and rebase change
2021-09-29 13:39:25 +02:00
Lukasz Skrzypczak
71bbdc50f3 [BH-650] Bell battery charger
After rebase and PR
2021-09-28 13:46:13 +02:00
Marcin Smoczyński
1f9109b924 [BH-819] Fix illegal dependencies in bsp
Break circular dependencies in the BSP module. Fix some missing
dependencies which surfaced after fixing BSP.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-27 17:27:21 +02:00
Marcin Smoczyński
57874cab33 [BH-912] Improve sys module structure
Improve structure of the module sys. Problems within this module
prevents from linking others.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-24 10:01:19 +02:00
Marcin Smoczyński
bd90e57516 [BH-907] Split utils module into components
Split module-utils into smaller components for better dependency
management. Fix many dependencies throughout the project.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-23 15:14:40 +02:00
Paweł Joński
82eaee5359 [BH-885] Fix Bell hw
Increased stack for apps and service
Deleted invalid call to uninitialized SML in BatteryCharger
Moved torch handling from common code to pure specific
2021-09-22 12:19:56 +02:00
Marcin Smoczyński
e0fae087a6 [BH-908] Fix macros header location
Remove duplicated header for linux; move header for rt1051 to the same
tree as for linux.
_exit.c uses os so it should be placed in the os.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-22 10:26:32 +02:00
Marcin Smoczyński
958ce4906c [BH-897] Split module-sys
Split system module to better manage dependencies between system
components.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-21 16:11:59 +02:00
Marcin Smoczyński
f16a18d935 [BH-860] Decouple charger driver from system
Remove system dependency from charger driver implementation. Remove
circular, lambda driven dependency between charger and brownout
detector. Remove event manager dependency in driver as well.
Encapsulate some of charger logic in introduced battery controller.

Extract path configuration to the separate target to decouple charger
from vfs middleware.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-20 12:19:48 +02:00