Skip to content

Add santoni support (again) for v2.0 #18

@bitrvmpd

Description

@bitrvmpd

As we're starting from scratch (LA.UM.8.6.r1-04400-89xx.0), we need to add support for santoni again.

Initial support for Santoni, DTS included, Fixed Compilation.

  • Added DTS file msm8950-pmi8950-qrd-sku7.dts
  • Added santoni_defconfig
  • Fixed DTB compilation (using -L to include soft links)
  • Included own build.sh script
  • Fixed missing/wrong file paths (instead of directly editing includes, remember to edit each makefile as needed) Not needed, fixed by adding O=out to all make calls.

Feature: Touchscreen FT5336

  • Modified our DTS to match attributes of generic touch panel driver.
  • Included logic to search for the correct memory register of our TP.
  • Included a config flag that define our TP model, this will allow us to add more touch panels in the future
  • Updated santoni_defconfig using the new config flags.

Feature: Wifi (import prima)

  • Imported qcom Prima/Pronto wlan driver. LA.UM.8.6.r1-04400-89xx.0
  • Enabled BT-AMP feature

Feature: Fingerprint

  • Added support for Goodix fingerprint
  • Added support for FPC fingerprint

Feature: Haptic

  • Added support for haptic feedback

Feature: Audio

  • Included AW87319 amp driver.
  • Enabled msm8952 to work using our headset and speaker gpio.
  • Included old sound/soc/msm driver (from nougat source). Until I fix this.

Feature: Navigation Keys

  • Fix unresponsive navigation keys.

Feature: RGB leds & IR

  • Included modifications from xiaomi's gpio-leds driver.
  • Also fixed build of gpio-ir.c (missing pm_qos.h include)
  • Ported leds-aw2013 to this source
  • Also included logic to get tp_color in ft5x06_ts (only tested using tp_black)
  • Nah, fixed by using OSS leds-aw2013 driver =)!!! 921253c

Fixes

configs: santoni: disable CONFIG_DEBUG_INFO

  • this should shrink wlan.ko to smaller size, also this should fix wlan issue.

Fix FPC fingerprint and goodix IRQ.

  • updated fingerprint drivers
  • fix unbalance enable IRQ

Fix Battery Stats

  • Enable CONFIG_UID_SYS_STATS in santoni_defconfig

touchscreen: ft5x06: defer resume function to workqueue

  • Add missing property in our dts.

Splitting santoni "full-dts" to parts.

  • As the title says

Merge Xiaomi's Kernel changes

Fix video playback & Camerav2; use the specified defconfig.

  • Nougat LA.UM.5.6.c25-10600-89xx.0 -> santoni-nougat_defconfig
  • Oreo -> santoni-oreo_defconfig
  • Pie -> santoni-pie_defconfig
  • 10 LA.UM.8.6.r1-04400-89xx.0 (nougat camerav2, 10 video playback)-> santoni_defconfig

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions