bangkk: fingerprint: Switch to IOCTL for HBM

* On newer moto kernels it is possible
  to send a SET_PANEL_FEATURE ioctl to /dev/dri/card0
  to set a panel feature such as HBM. Motorola has
  extended the HBM logic to allow FOD HBM to be set
  in additional to regular HBM. This is done by sending
  "2" with the HBM id through the ioctl.

* Utilize the API provided by Egistec provides via
  vendor.egistec.hardware.fingerprint to send commands
  to the internal handler, this allows us to send
  the finger is on or off the sensor message directly to the
  HAL.

Change-Id: I06ace29567900779e63b9826862964d20b267be6
This commit is contained in:
electimon 2024-01-07 10:51:54 +00:00 committed by Michael Bestas
commit 904a71bb02
No known key found for this signature in database
4 changed files with 67 additions and 59 deletions

View file

@ -4,7 +4,4 @@
//
soong_namespace {
imports: [
"hardware/motorola",
],
}