Commit Graph

17 Commits

Author SHA1 Message Date
Arian
264c3a5ca8
Revert "davinci: rootdir: Drop led permissions from ueventd"
This reverts commit 688407d50e.

Change-Id: I30ee38523f5ab05e8ca6101522062fdd99e91280
2021-04-25 15:23:51 +02:00
Arian
4d4f9e343b
sm6150-common: lights: Dynamically pick the left or white LED path
Change-Id: I1bc0514c29f9d63554240e1fb95e9aa9625bda6d
2021-04-25 15:23:51 +02:00
raghavt20
0aa378102c
sm6150-common: Transform davinci into common tree
* The following things are left in devices, because they're device specific
  - voip compress properties
  - HVDCP properties
  - audio configs
  - power profile
  - rounded corner configuration
  - partition configuration
  - FOD
  - camera motor
  - NFC
  - board-info
  - fstab
  - ipa and graphics firmware
  - shipping and manifest target level

Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Co-authored-by: Arian <arian.kulmer@web.de>
Change-Id: I8bef29041f8f239361b999fc8ab1a43cc2ebb86b
2021-04-25 15:18:14 +02:00
Bruno Martins
89e12ed874
davinci: lights: Remove LCD backlight handling
Since composer HAL is now able to handle display brightness,
this can be removed from the lights HAL.

Change-Id: Ic10cead638382d448a94205bcec3543177d387f6
2021-04-25 14:49:59 +02:00
Steven Moreland
84db948604
davinci: Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I640a3f0e0839214523627bf0b59fd5ae9dd2c61c
2020-12-30 01:47:40 +01:00
Arian
08b5a000c0
davinci: light: Add lights HAL manifest as vintf fragment
Change-Id: I97f0c6bfb25bea8b7418c9494c981e7e2602c79f
2020-11-28 18:12:02 +01:00
Arian
9900e7e4dd
davinci: Fix Android.bp formatting
Change-Id: Id9b1deb6188b7af6170453d7f863bd54f8d360f9
2020-11-28 18:12:02 +01:00
Arian
53b4be9757
davinci: light: Adjust for new led labels in kernel
Change-Id: I1fca124501ad6a220013572587c55d5f26488dad
2020-11-28 18:12:02 +01:00
Arian
688407d50e
davinci: rootdir: Drop led permissions from ueventd
* Set the permissions we need from lights HAL

Change-Id: I93bc6cc0aab1d55f32b53a01df662fe5327c0199
2020-11-28 18:12:02 +01:00
vasishath
4979e2c172
davinci: light: Detect maximum brightness dynamically
Change-Id: I9385be40a8598e1142bb3844446b6bbeb5aab008
2020-08-05 14:03:32 +02:00
Demon000
b7413b8791
davinci: light: Simplify alpha scaling logic
Change-Id: I9b5c15d5ec4865d3bf829457d6f110ddb3af6e94
2020-08-05 14:03:32 +02:00
Demon000
25523a776d
davinci: light: Do not turn on breathing for unlit hardware states
Change-Id: I093fb2fb81012a473eda232d3c3407d0e0791907
2020-08-05 14:03:32 +02:00
Demon000
13a3863832
davinci: light: Avoid resetting state
The handler function is called regardless of whether the value of the
highest priority state changed.
In case of the notification led, this translates to the breathing
process being reset, which triggers my OCD.

Change-Id: I4880b00602cbb739219871f1d7ce9ad85d87bc1b
2020-08-05 14:03:32 +02:00
Demon000
feedda1d84
davinci: light: Avoid uint32_t underflow
Change-Id: If4f9360cc301ee8ba9f432dbbe3379c2c634c574
2020-08-05 14:03:32 +02:00
Demon000
e5440961f0
davinci: light: Properly scale brightness range
Change-Id: I0c7b9d2644bbc67a1d404e60bbb2fcc7d8a305ec
2020-08-05 14:03:32 +02:00
Arian
5af8701925
davinci: lights: Adjust for davincis LEDs
Change-Id: If9e5afe292b023a8aa4d5ba509e206f9a4ff371f
2020-08-05 14:03:32 +02:00
Demon000
3e94ffe9a3
davinci: light: Import HAL from Xiaomi msm8998-common
Change-Id: Ieee4277f15927b4522deaec9a709809cf6db6fea
2020-08-05 14:03:32 +02:00