Commit Graph
181 Commits
Author SHA1 Message Date
Michael Bestas 8ca35c8035 Merge tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/motorola-kernel-modules into lineage-20
"Devon push for Android 13"

* tag 'MMI-T2SN33.73-22-3' of https://github.com/MotorolaMobilityLLC/motorola-kernel-modules: (3067 commits)
  drivers/TP: 2ed nt36528 support high resolution 4x v2 fix
  mmi_thermal_zone: fix compile error
  thermal: add uevent trigger for virtual sensor
  AndroidKernelModule.mk: add crow in Build_external_kernelmodule.mk
  drivers/TP: 2ed nt36528 support high resolution 4x v2
  Support goodix touch palm cancel feature
  DLKM:add anc_fps_mmi driver
  Enable touch high report rate for ctwo
  bangkk: input touch set fod event
  bangkk: input touch remove fod coordinate when resume
  charging: charging state machine don't depend on battery soc
  : fogona : tp : update cts_test.c file             WHY: need update cts_test.c             HOW: update cts_test.c
  sc760x_charger: remove unused variable
  Optimize ghost log capture feature
  Optimize touch stow mode feature
  driver/TP: Support for touch stowed detection when gesture mode.
  Initial bringup wlan antenna for boston and use wlan_antenna.ko
  Clear vbus present if wireless charger present
  : Bangkok CSOT+FT3681 Fix TP Ghost Point Issue
  cc2 probabilistically recognized cc1
  cc-aw35616 probabilistically not recognized
  drivers/TP: 2ed nt36528 support high resolution 4x.
  :tp:when tp sleep rst high
  drivers/TP: Enable TP gesture feature.
  charger:optimize the factory shutdown sequence
  Set max_ra_pages according to total ram size
  Add Qorvo UWB driver
  Add touch stowed mode feature for zinitix
  charge: add noffc_qg_iterm_45c config iterm
  charging: support HVDCP2 Vbus 9V charging
  Fix touch not work on user build
  sc760x: make battery current polority selectable from dt.
  cw2217b: Unify the polarity of the current reported
  fogona:fix USB typec cable can only recognize one side on both sides
  Optimize force touch sensor firmware update flow
  Add sysfs node support
  Support zoom function
  Add volume key support
  Add cs pressure sensor initial source code
  :charger:The battery level is not change during charging.
  different charge termination current at 35-45 temperature range
  fogona add charge led(2)
  :tp:nvt36528 tp gesture fuction add[1/2]
  moto_mmap_fault: Support the new hook
  moto_mmap_fault: Fix KASAN report use-after-free
  moto mmap fault driver:Optimize the code flow
  moto_mmap_fault:Protect the pointer
  Moto mmap fault driver
  fogona:AW96105A driver causes user version compilation failure
  2nd main charger bq2589x can not read vbus voltage
  :tp:icnl9916c tp gesture fuction add[1/2]
  mmi-smbcharger-iio: Fix power watt error
  mmi-smbcharger-iio: Add charging power interface
  fogor: tp: optimize fogor ilitek tp log level
  fogor: tp: input touch add wait pm<1>
  fogor: tp: optimize gki tp function<2>
  nova0flash: Fix unused lable build error
  nova0flash: Fix selftest panic on 5.15 kernel
  fogona:aw96105A brint up[5]
  fogona:aw96105A SAR bring up[3]
  :tp:Support Qcom panel notify for 1st fogona touch
  :tp:Support Qcom panel notify for 2nd fogona touch
  fogona:change fogona booster volt
  fogo charger_ic bring up module
  QcomPkg: fogo charger bring up module
  fogor: touch: optimization fogor tm-icnl9916c suspend function
  ctwo: Solve TOF phio ioctl timeout
  tp:2nd tp error fix
  tp:fogona 1st tp mmi,status add
  tp:fogona 2nd tp bringup[2/4]
  fogona:change fogona booster volt
  Get CLI touch gesture type from gesture node
  Avoid usb detection at _FT8726 touchscreen driver
  fogona:vibrator bring up for driver after resolved build error
  dlkm: add new nfc_nci driver
  fogor: touch: 1st icnl9916c add some demands
  fogor: touch: add 2nd ili9883c tp demands
  optimize log level-aw
  fogona:vibrator bring up for driver
  Fuel gauge RT9426a driver kernel5.15 compatible
  mmi_parallel_charger_iio:optimize the pdo select
  support typec cid event
  Add typec CID event for notification
  tp:fogona icnl9916c tp bring [1/3]
  fogona:add fogona booster[1/3]
  Implement wlc_tx_capability for cps4019
  Cw2217:kernel 5.15 compatible compile change
  Enable CLI touch large palm detection for lynkco
  charger:optimize the qc3p reduce vbus voltage
  sx933x:setup build on kernel 5.15
  fogor: touch: CQA-test add IC name
  wt6630 remove unused pointer struct
  qti power_supply header at kernel 5.15
  charger motorola module kernel-5.15 compatible design.
  : Add Chipone fps v1 driver module
  fogor: tp: 1st icnl9916c CQA-test function
  ctwo: solve tof compile issue
  ctwo:fix compile issue
  Revert "(CR): ctwo: enable TOF phio tool"
  driver: fogor: tp gki issue adapt
  ctwo: enable TOF phio tool
  MOTODESK-12263: Change touch gesture mode key values
  Open USB log in factory version for bangkk[3/3]
  Add st54spi_gpio driver for ST54L eSE
  Support game idle mode for focal touch
  fogor: kernel: 2nd tongxingda ili9883c TP bringup
  AndroidKernelModule.mk: add bengal in Build_external_kernelmodule.mk
  : Fix goodix touch GKI build break
  goodix_brl_mmi: clip area support
  touchscreen_mmi: clip area support
  driver: fogor: tp tm-icnl9916c tp bringup<2>
  Berlin Row - Avoid fts_tp continuous wakeups
  mmi_charger:init thermal parameter at high temp
  fogor/sensor: adjust sx937x driver format
  nova_0flash_mmi: conditionally enable spi CS delay feature
  sc760x: Enter Low power mode when system suspend
  Update battery status before reading
  smbcharger:support power_watt report
  Add capacity_level to discrete charger driver
  sbmcharger:optimize the pdo select
  Set touch reset and interrupt pin
  Reduce zinitix touch resume time
  mmi_charger:optimize the thermal vote policy
  bq25980_mmi:optimize the adc read
  cw2217b: optimize the battery capacity
  optimize aw963xx driver-set_enable
  mmi_charger:optimize the pump policy
  mmi_charger:enable adc when charger plugin
  sc8541:enable adc when charger plugin
  charger:optimize the qc3p init vbus voltage
  Reduce 'cw2217b_fg_mmi.ko' boot log printed.
  cw2217b: modify charging status
  optimize aw963xx driver
  Set touch reset and interrupt pin
  pd: configurable tcpc timeout to detect charger type
  save the value of ui_full to the A2 register
  Optimize zinitix touch firmware upgrade flow
  : Fix FOD zero tap not working issue
  charger:optimize the qc3p request voltage
  bangkk: input touch add game feature edge/rate
  sgm4154x: support 8w wireless charging
  Optimize zinitix touch firmware upgrade flow
  Set the thermal_ratio_nums.
  Add SUPPORT_DYNAMIC_UPDATE_UI_FULL control
  need to clear jiffies in non-charging state.
  input: ili9882_mmi: remove unused netlink codes
  use the battery voltage of fuel guage in charging logic.
  goodix_blr_mmi: wakeup gesture gt9966
  Add sysfs node for cid status read
  bangkok modify focal tp power on off
  Need to initialize full charger capacity of 100%.
  Support goodix ghost touch log capture
  bangkok add tp charger mode
  charger:seperate the FFC and none FFC parameter
  Support touch assit p-sensor dectection
  mmi_charger: power_changed when charger register susccess
  fix read Board level Capacitor Compensation Value
  sc760x_charger_mmi: no need to return failed
  The probability of sarsensor not being mounted
  Add more sku types and typec cid support
  fg_cw2217b: Ensuring monotonic variation of soc
  Revert "(CR): Ensuring monotonic variation of soc"
  modify focal tp
  optimize aw963xx driver
  sc760x_charger_mmi: Update sc760x_en to psy_property
  Ensuring monotonic variation of soc
  optimize aw963xx driver && insert usb calibration
  bangkok focaltech tp modify for system crash
  sc760x_charger_mmi: Support THERMAL_RATIO_CONTROL
  cw2217b: add some logs for soc jumping debug.
  Check if i2c device available before add driver
  Support the input charge current limit for wireless charger
  bangkk: input touch add config for bangkk only
  Add Wait pm for zinitix touch gesture feature
  Bangkok add focal tp vdd gpio low
  Bangkok modify for focaltech touch fod
  sar sensor bring up 1/2
  sar sensor bring up -aw
  Bangkok modify for focal to no touch
  add some param for bq25980 driver
  Bangkok TP bring up
  Add touch pocket mode feature
  sc760x_charger_mmi: fix build error of irq_enabled
  sc760x: Do not enable IRQ until sc760x gpio enable
  backlight: aw99703 use exponential curve for genevn
  sc760x: remove sc760x_dump_reg from irq_handler
  Add gesture pm for goodix touch
  Reduce firmware upgrade time for zinitix touch
  sc760x: Check gpio_en before access I2C bus
  Documentation:ledtrig-sol:Add led trig support
  nova_0flash_mmi: fix build failure
  cw2217: Dynamic adjust UI_FULL
  The current units should be consistent.
  Optimize the charger control logic
  sc760x:ensure that user configuration takes precedence
  ensure that user configuration takes precedence.
  Pnangn:Upgrade Egis SDK to v1.0.10
  SOL Led: Sync set brightness call before blink set
  Increase CLI touch raw data level for lynkco
  sc760x_charger_mmi: limited ibatt step by step
  Fix multi-finger touch error logic
  sc760x: fixed build err
  sc760x: Dynamic check sc760x power on
  Add gesture support for zinitix touch IC
  Oberon : SOL LED: Added module_params
  Sol led: Handle power supply states
  support transfer the flip target fcc to main battery.
  focaltech_0flash_v2_mmi: update log level for input report log
  lynkco: add 32-bit ioctl for tcmd
  lynkco: update TOF kernel version
  discharge with software pd pps charger
  fg: optimization fg batt status
  flip_batt: optimization flip batt charger status
  Support input voltage limit for wireless charger
  Modify Zinitix firmware version name
  CLI screen support 3points
  input: fix ili7807s touch dislocation when aging test
  check the charger status again when devices shutdown.
  sx937x: add flip near & far reg list
  Optimize CLI FocalTech touch resume flow
  Optimize touch resume flow
  Edit config and kbuild to support lyncko
  lynkco: Solve the compile error on user version
  use discharging interval for FULL battery status
  Optimize the battery data updating to save power
  Add timestamp node for CLI FTS touch
  lynkco: Add TOF kernel driver
  drv8424_mmi: motor fault handling
  for hiphi, skip charger confirmation
  zeekr:modify capsensor driver
  input: fix the disappearance of ili7807s stylus handwriting
  Change CLI touch input device name
  Initialize the delay work before IRQ init
  Revert "(CR) Pnangn:Enable FPS overheat protection"
  usb_therm:optimize the usb cooler function
  Pnangn:Enable FPS overheat protection
  Support factory test for zinitix touch IC
  usb_therm: SDP/CDP should't toggle mosfet
  fixup! (CR) drv8424_mmi: update motor sequences
  drv8424_mmi: update motor sequences
  drv8424_mmi: optimize stop motor startegy
  align battery current and charger power update rate
  sc760x: sleep 2s after pull up sc760x_en
  hiphi:moto stylus service show up in battery statistics
  SC760x: Bringup sc760x charger balance
  Add mmi touch class support for zinitix
  charge: add tmo sku max charge temp for no temp zones products
  Change the way of loading touch firmware
  Add a sysfs node to control TUD
  Add power control for zinitix touch
  watchdogtest: set error printk level for critical warning log
  sr100: Add NULL pointer checks
  sr100: Confirm the read timeout only for read operations
  sr100: Increase the packet size to 4200
  sr100: Decide the normal read or ext
  Fix build error unused-but-set-variable in sr100
  focaltech_0flash_v2_mmi:improve charger detection
  sx937x: reset chipset instead of cali
  pnangn:2nd main charger sc8989 disable adc conversion
  dlkm/fps:optimise ets_bix_mmi for pnangn
  haptic_hv: Select waveform based on duration
  Reset to default waveform after vibration
  dlkm/fps:optimise screen status interface control
  Build ztw622 as a DLKM module
  Add initial source code of ztw622 touch driver
  drv8424_mmi: motor overshoot handling
  Support goodix touch under water detection
  Support touch under water detection
  haptic_hv: Prevent sysfs attrs from being destroyed
  Add lpd mitigate driver module
  Add LPD device notify support in mmi_relay
  Add glink oem command to support lpd mitigate mode
  dlkm: bo: Change the logic of report fod up key
  Revert "(CR): haptic_hv: Prevent sysfs attrs from being destroyed"
  Enable the charge IC after the detection compelte.
  Optimize time sequence of usb_therm mos control
  utag: Enlarge buffer size to fill full workqueue name
  fix wired charging error online logic
  usb_therm: add usb_therm toggle mosfet
  input: ili9882_mmi: remove unused netlink codes
  cancel the work befor scheduling.
  input: optimize nt36672c touch spi timing
  qti_glink_charger: support cps4019
  qti_qlink_charger: support cps4019
  fg: don't get battery info when fg run into boot mode
  optimize IR comp for 2nd chg ic
  optimize IR comp for 2nd chg ic
  genevn: optimize the process of ili7807s touch sending stylus cmd
  pnangn:2nd charger sc8989 ICL3A set to 0x3a
  fixed unused variable 'batt_curr' error.
  genevn: make macro GET_TS_DATA effective(dev) effecitve in touch
  haptic_hv: Add HAL compatility
  haptic_hv: Prevent sysfs attrs from being destroyed
  bm_ulog: Optimize adsp bm ulog driver
  Add charging state for wireless charging.
  genevn: optimize touch nt36672c gesture for fw v08
  Fix goodix touch driver build error
  genevn: optimize  ili7807s gesture mode
  genevn: optimize nt36672c gesture mode
  Optimize FocalTech gesture mode
  Optimize goodix gesture mode
  Rework cli gesture mode
  dynamic adjust vindpm
  dynamic adjust vindpm
  Support wireless power source as charger input.
  Reconfigue the charger for user input or chip reset
  qti_glink_charger: fix build err
  fixup! (CR): qti_glink_charger: Checking wireless TX_MODE
  qti_glink_charger: Checking wireless TX_MODE
  drv8424_mmi: enforced fault state
  Juno: Keep the current limit unchanged.
  add IR comp require
  input: ili9882_mmi: initial dda support driver v2.0
  input: nova_0flash_mmi: update dda driver to v2.0
  input: nova_0flash_mmi: check whether panel exists
  input: ili9882_mmi: move mmi and pen init to plat probe
  chg: let each project could use its own heartbeat work period
  input: nova_0flash_mmi: change single+double tap command
  input: nova_0flash_mmi: add timestamp for touchscreen mmi
  input: ili9882_mmi: add last_event_time function
  Add debug log for fod key event
  mmi_info : add chipid info into bootinfo
  input: ili9882_mmi: add single/double tap function
  focaltech_0flash_v2_mmi: add productinfo node in touchscreen sys
  bronco/sensor: fix capsensor diff reg error
  Use s-dt-gesture to report CLI touch gesture
  input: nova_0flash_mmi: add dda alpha1.00 driver
  input: nova_0flash_mmi: set pen flag when resume
  input: nova_0flash_mmi: use different touch state macro
  input: nova_0flash_mmi: add double tap support
  Fingerprint timing sequence error
  dlkm:optimise report function for pen
  nova_0flash_mmi: add touch point timestamp
  focaltech_0flash_v2_mmi: add touch point timestamp
  dlkm:optimise pen probe & report function
  qti_glink_charger: Add wls tx id&sn
  qti_glink_charger: Add wls tx capability
  input: ili9882_mmi: set fw ready flag when download complete
  Geneva5G NA: Optimized the loading time of wl2864c
  Support touch high resolution
  input: ili9882_mmi: change pen and charger detection values
  genevn: fix test panic backlight for aw99703
  pnangn:2nd main charger add led driver code
  add flag to ensure shutdown call only once
  SC89890H update register val fail
  f_usbnet:Requeue the request in shutdown case
  Revert "Revert "(CR):f_usbnet:Handle the rx error conditions""
  change not disable flip charge if enable by chg_en node
  charge:geneva disable wireless log
  fixup! (CR) input: ili9882_mmi: don't use kernel_read/write for 5.10
  Add the recovery scheme of the secondary panel ESD software
  input: ili9882_mmi: don't use kernel_read/write for 5.10
  input: nova_0flash_mmi: don't use kernel_read/write for 5.10
  input: ili9882_mmi: add pen notify and palm settings
  input: nova_0flash_mmi: use touchscreen mmi to support pen
  sgm4154x add led driver code
  Revert "(CR):f_usbnet:Handle the rx error conditions"
  Wait pm resume before read data from IC
  Support touch sensitivity in game mode for zeekr
  dlkm: optimize driver aw99703 and aw37501
  f_usbnet:Handle the rx error conditions
  ASoC: add aw862x haptic driver v1.9.0
  Fix qti glink driver load fail
  Send sku type and HW revision to adsp
  Add a macro to control if cli_gesture created
  input: ili9882_mmi: add passive pen support
  add property voltage_ocv
  drv8424_mmi: power up/down slider handling
  distinguish haptic feedback by four different driver strength
  Add gesture mode support for focaltech touch
  Add CLI touch gesture support on mmi touch screen class
  fix crashed at bm_ulog_print_log
  tundra: input touch update gesture cmd
  bronco: dlkm: Enable touch report rate switch feature
  input: focaltech_0flash_v2_mmi: add initial pinctrl feature support
  input: ili9882_mmi: add initial mmi support
  Make compatible for another pinctrl name
  drv8424_mmi: add max pps interface
  input: genevn: optimize ili7807s driver for kernel 5.10
  WLC: change 50w dock fan speed to 4000 round/s
  Fix FocalTech driver build error when use GKI2.0
  drv8424_mmi: handling corner cases
  18W charging set sgm4154x iindpm comp 100mA
  DLKM/bix:update ets_bix driver
  DLKM/fpc:optimise build rule for FPC fps driver
  WL2868C: Disable all regulators before shutdown.
  sc89890h charger ic factory mode close ico
  input: genevn: optimize nt36673c driver for kernel 5.10
  charging: change PM mechanism
  Pnangn:FPS bringup on Pnangn mainline
  fixup! (CR) drv8424_mmi: motor slippage recovery
  drv8424_mmi: motor slippage recovery
  dlkm:optimise bu250xx bulild rule
  wlc:add feature supporting for Moto 50W dock in WLC driver
  Revert "(CR): charging: add icl*vbus to report power max"
  Revert "(CR): modules: vision station WHITE MASK test failed"
  sarsensor:optimise log output for sx9375
  fixup! (CR) goodix_berlin_mmi: active touch area feature
  Skip BM ulog request if bm debug is disabled
  Support normal mode switch corner suppression level
  Power: Add /proc/wakeup_sources for Battery Tracer
  TP wake up of gesture fix
  drv8424_mmi: updated and new features
  goodix_berlin_mmi: active touch area feature
  Fix noise test case fail of factory test
  Support FocalTech touch noise test point by point
  charge ic sc89890  set ico,common baseline code
  Enable touch report rate switch feature
  fixup! (CR) drv8424_mmi: adjust motor sequences
  Fix FocalTech_V3 touch driver build error
  penang: input touch add gki for focaltech
  drv8424_mmi: adjust motor sequences
  Android.mk: add parrot build options for geneva row
  Decrease the log of register panel notifier
  Remove unused send touch IC config
  drv8424_mmi: adjust sequences for 2.3&2.8 pitch
  drv8424_mmi: sensor data driven position detection
  TP: The TP  ft8057 bringup
  Fix goodix touch driver build error
  Add fcc_ma/fv_mv and thermal_level debug info in kernel
  FG: Monotonic SoC to prevent SoC jump
  input: goodix: disable double click of touch firmware
  update bm ulog mask
  Support double tap to wake up the screen
  Use node to notify CLI touch gesture mode
  usbnet: notify if config to sync with userspace
  aw86927: Add vendor-supplied driver
  WLC: when wlc is offline, set psy prop value as 0
  charging: add wls charging icl workaround for apple TX
  wlc: change wlc current from ibat to iout
  TP focal bsp fix[1/1]
  WLC: Add vbus check before power supply read ops
  TP change config id
  : chipone: enable power gpio for penang
  TP suspend and resume fix[1/1]
  TP change config id
  TP: The TP  nt36528 bringup
  charging: disable I2C error workaround
  adjust flip charger input current
  support empty vbat shutdown with charger
  drv8424_mmi: fix sensors logic and data
  charging: add battery ovp debounce
  charging: fixed build error
  qti_glink_charger: Add some debug info
  Optimize CLI touch single tap function
  charging: remove debug log
  typec: disable vbus under 0.8V interrupt when vbus remove
  TP charger mode fix[1/1]
  Monitor fg psy event once get the psy name
  Fix CLI touch gesture event timeout handling logic when kernel wakeup abnormal
  charging: don't update qc3.0 type to core when rerun apsd
  support battery ovp/occp/ocp
  Revert "(CR): Add OVP and OCP for battery"
  sgm4154x_charger_lite: add thermal mitigation
  rhode: input touch update syna config id
  fixup! (CR): Reset charging if it's halt
  Reset charging if it's halt
  FG_MM8013: Update logic to compatible with param_ver=0xa200
  control charger irq for otg or battery presence
  Trigger battery current read on demand
  drv8424_mmi: proper IRQ setup
  drv8424_mmi: unify source code indentation
  drv8424_mmi: dual motors fault handling
  Add OVP and OCP for battery
  charging: change wireless charging icl step increase rate
  Add the description sysfs node when usbnet init
  charging: optimize select pd capacity
  charging: optimize wireless charging icl vote
  dlkm: led_aw2033: don't enable led and CHGDIS when boot
  Add parrot  in  Build_external_kernelmodule.mk
  charging: enable cp ADC when factory mode
  add and remove sysfs files when usbnet config
  Always power-on eSE to avoid ese not open issue
  mm8013c_fg: add more safeguard when update FW/param
  charging: disable cp adc when cp don't work
  Support goodix 9916P touch IC
  Set to discharging status if charger absent
  fg: modify fake battery default value for assembly test
  mm8013c_fg: force none update fw/paramerter
  charging: add some log
  mm8013c_fg: create fw/param/battery_id node
  MM8013C_FG: match battery_id && parameter ver when do update
  sgm4154x_charger_lite:get charge counter from flip fg
  mmi_charger: combine flip & main battery charge counter
  qti_glink_charger:add charge counter prop
  bq27426_fg_mmi:add charge counter prop
  charging: don't enable term when slave cp disabled
  charging: export charge ops interface for authen test
  WLC: Add force flag for fw upgrade interface
  :  tundra : keep nfc irq always wakeupable
  dlkm: aw2033: set blink mode brightness
  correct the paired_ichg value before setting
  connect 33W charger, the power is only 2.5W
  Stop charging by paired battery
  Support touch sensitivity in game mode for eqs
  Revert "Revert "(CR): charging: Don't switch dpdm from AP to pmic when host mode""
  charging: limit max icl for wireless charging
  charging: add wireless icl increase step by step
  drv8424_mmi: update position/status w/o sensors
  remove the sysfs notify from interrupt context
  usbnet: add sysfs files for net interface config
  the charging status shows "not charging",but the charging current is normal
  introduct MM8013C FG update fw/parameter program
  tundra: input touch disable double click
  tundra:input touch upate report rate
  Skip ichg set during paired notify in factory mode
  TP limit test result output[1/1]
  TP fix tcmd fail[1/1]
  TP limit test[1/1]
  Remove unused variable defination in case build error
  charging: if pd active,don't detected HVDCP
  factory: Add tx_mode_vout for factory testing
  TP charger mode[1/1]
  TP gesture wake up[1/1]
  cp: add input voltage and current file node
  wls-chg: increase wait time for boost voltage
  Fix kernel trace when execting mutex lock
  Fix CLI touch easywake failure
  charging: optimize PD capacity select algorithm
  rtwo: add log fix issuse:variable 'ret' set but not used
  motorola:Rhodec:Update chipone_fhd_mmi
  Devon:Optimize The FPC Power-on Process
  Fix goodix touch SPI config compile error
  tundra: input touch use boottime to get timestampe
  ONELI: add sar sensor log add sar sensor log
  charging: reset dpdm when charger removed
  rt9471 not charge 3min during a complete charging test
  focaltech_0flash_v2_mmi: enable FTS_PATCH_COMERR_PM for deep sleep
  charging: add config charger mode to FG
  fg: add api to write temperature/chargeType to fg interior
  Revert "charging: Don't switch dpdm from AP to pmic when host mode"
  drv8424_mmi: relative positions, gpio init and reset
  wls-chg: change psy/voltage_now's value to vout value
  Add timestamp log for FOD debug
  focaltech_0flash_v2_mmi: disable FTS debug config by default
  focaltech_0flash_v2_mmi: single tap gesture not work fix
  charging: Don't switch dpdm from AP to pmic when host mode
  TP bring up[1/4]
  Add charger power watt uevent
  tundra: input touch add sample rate
  Lift off current touch when suspend
  WLS_CHG: change fw upgrade judgment
  tundra: input touch fix gki issue
  wls-chg: add fw ver judgment for blank chip
  bms: add charge counter in mm8013
  Integrate mmi_device_is_available() into mmi_check_dynamic_device_node()
  mmi_info: Add missing of_node_put()
  Check return of regulator_enable
  charger:add the handle for quick plug out/in case.
  Turn off load switch during charging
  Improve cw2217b fg driver compatibility
  Optimize high report rate feature
  WLS-CHG: ADD usb icl vote for wls chg
  charging: config vindpm by dts
  DUT keeps vibrating after connecting to computer via USB
  touchscreen_mmi: active region interface
  drv8424_mmi: enable gpio init
  drv8424_mmi: position detection and sensor data
  goodix_blr_mmi: active area support
  drv8424_mmi: fix makefile to build for android s
  Integrate goodix stylus Direct Data Access feature
  focaltech_0flash_v2_mmi: disable FTS ESD check by default
  Fix goodix touch driver build error
  charging: only turbo charger enable FFC function
  charging: config batt profile max fv
  focaltech_0flash_v2_mmi: gesture mode feature support
  wls-chg: change chg pad led to green when soc is 100
  wls-chg: adjust some registers' addreess value
  wls-chg: add tcmd test interface
  nova_0flash_mmi: gesture mode improve
  ili9882_mmi:gesture mode improve
  charging: vote PD ICL 3A when PD connected
  charging: show turbo charger when PD connected
  focaltech_0flash_v2_mmi:update fw info when fw resume
  devon:fix z350 detect issue for apple charger.
  charging:Ignore request dpdm
  charging: optimize rerun apsd for sc89890H
  charging:Ignore request dpdm
  qti_glink_charger: Add WLC func
  utags: Free allocated memory when rmmod utags.ko
  utags: Free the device name buffer when rmmod utags.ko
  charger: add wireless type judgement for healthd
  wls-chg: change name of the file point chip_id
  wls-chg: add force wls chg test interface
  psy: add DPDM operation ignore option
  wls-chg: set fix register definition error
  charging: optimize code for discrete charging
  Use delta OCV to limit the charging current
  charging: optimize search charger capacity method
  charging: add pd vdm verify IIO channel
  pd: add pd vdm verify notify passageway
  pd: Add moto private charge protocol
  wls_chg: add dependence for mmi_discrete_charger
  wls_chg: add charger class interface
  wt6670f: use integer instead of floating point
  drv8424_mmi: status & position show methods
  drv8424_mmi: status and position handling
  drv8424_mmi: support variable speed sequences
  drv8424_mmi: stepper motor driver
  sx937x_multi:optimize code
  phone with rt9471 will ramdump when usb plug in
  Clear data buffer after releasing connects.
  wls_chg: remove check chip id function
  wls_charge: add fw version check logic
  focaltech_0flash_v2_mmi:support charger detection feature
  Disable debugging log for power consumption
  tundra: input touch fix rmmod
  add kernel version check for I_BDEV
  focaltech_0flash_v2_mmi:add flash sys nodes to support moto FW download
  focaltech_0flash_v2_mmi: add more touchscreen sys nodes
  fix build err for new Kernel version
  usbnet: fix build error in new Kernel version
  FG: MM8013 FG read batt_temp via iio chanel
  charging: delay 100ms to rerun apsd when charger inserted
  charging: bring up PD policy
  utags: fix build error on kernel 5.15
  charging:Modify regs dump
  mmi_charger: set wls charging as dts configuration
  wls_charge: add status jugdement for state register read
  fix random crashes due to floating point operation
  rhode: input touch set reset high when sleep
  increase tcpc timeout to wait detect charge type
  rt9471 driver optimize, cannot connect adb after power on
  qti_glink_charger: Update wireless dump info
  dlkm: vibrator: No vibration when media controls working.
  rt9471 charge status incorrect
  focaltech_0flash_v2_mmi: add touch sys nodes, enable FW download
  focaltech_0flash_v2_mmi:ft8726 init codes on new version 3.4
  Use battery OCV to calculate the delta battery voltage
  hawao+oled: recharger change level to 98%,200mv
  support init bm ulog
  : Do not disable Zero Tap when FOD is not enabled.
  tundra: input touch move stage2 after data init
  rhode: vibrator move camera notice after enable
  devon:add rt9471 charger
  Add factory kill time debounce support
  charging: fixed user version build error
  wls: add wls online status judgment
  tundra: input touch add touch time sysfs
  sgm4154x: Fix the build error on devon
  wls: add mmi_info symbol table
  wls: let cps4019 could use interfaces in mmi_charger
  wls: add boot firmware for CPS4019
  wls: add FW upgrade logic
  wls: add power boost logic
  wls: add cps4019's bootloader download logic
  wls: add VOUT(VBUS/BOOST) checking logic
  wls: fix FW version register definition error
  update bq27426 battery profile for li/oneli
  sgm4154x:Bring up charger IC SGM41543D
  backlight/lm3697: add more current mode for HBM
  charger: add gpio request protection for WLS control
  charging:	add SC8541 support
  Devon:Modify device name to match with kl
  charger: add mux control for WLS in otg mode for BQ2589x
  charger: add mux control for WLS in otg mode for SGM4154x
  dlkm:Rhodec:Modify chipone_tddi_fhd_mmi to fix KASAN problem
  Devon:seperated DVT1/DVT2 sar sensor firmware
  Fix fail loading CLI touch limit file sometimes
  Fix enable gesture mode error on panel off state
  charger: remove write permission from interface without "store"
  Devon:FPC fingerprint doesn't work
  ONELI/LI: add calbration driver of capsensor
  Set self test fail when fail loading CLI touch test limits
  Add sign-of-life LED trigger module
  changing: add sysfs PSY_IIO_TYPEC_ACCESSORY_MODE
  bq2597x:retry to read nu2105 id
  Add kalama in Build_external_kernelmodule.mk
  not notify current changes
  charger: change the adc value unit and add slave iio
  charger: Rename bq2597x to cp
  devon:optimize charging
  hawao+oled: fg 1st(cw2217) change to 99 ,2nd(sm5602) change to 98
  charger:remove read permission
  charger:increase wait_time_out
  charger:add I2C 32bits addr interface
  : Rhodec: Uptade chipone_tddi_fhd_mmi driver
  sm5350_bl: support current align configuration for exp mode
  devon:charger bring up
  Devon:Bringup Egistec FPS ETS_617
  Devon:Bringup Egistec FPS ETS_617
  charging: delete redundant code
  FG: add fake battery in mm8013
  Notify mmi_battery change when combo current change
  dlkm: leds/aw2033: add initial version driver
  oneli: update wl2864c makefile
  Fix parade touch driver build eror
  Add CLI touch feature of single tap to wakeup device
  rhode: input touch focal add reset
  rhode: input touch fix factory test
  charger:cps4019 fix build errors
  charger:Add Android.mk and Kbuild files
  charger:cps4019 wireless charging bring up
  devon:charger bring up
  add chipone single tap and cqatest function
  chipone single tap function
  sgm41513:add sgm41513 chipid detect,
  devon:charger bring up
  sgm4154x:add sgm41513 macro control.
  devon:charger bring up
  devon:charger bring up
  devon:charger bring up
  Change CLI touch test limits file name format
  Bringup FPC Fingerprint
  Bringup FPC Fingerprint
  driver/egis: Update Makefile to make the building compatible
  Add CLI touch sysfs factory test node
  Hawao+oled: the 2nd fg(sm5602)set 97% to 100%
  Comment out unused CLI sysfs node code
  PD: apply sc2150A vendor patch
  Revert "(CR): PD: apply sc2150A vendor patch"
  Adjust the paired battery policy
  charging: update HW current max to userspace
  charging: improve recharge batt voltage after stop
  PD: apply sc2150A vendor patch
  charging:	add device node support
  charging:	add iio sys support
  fg: bring up fuel gauge mm8013
  charging: charger pump quit when vbat < chrg_step_cv_volt
  rhode: input touch fix build id
  dlkm: chipone_tddi_fhd: add initial chipone fhd tddi driver
  EQS: Fix for compile.
  Fix system crash when main touch uses LDOC13
  charging: add bq25960 gpio irq
  charging: add bq25960 logs
  Add ibat polority invert from dt
  : Create rbs fod driver for dubai
  devon:sensors bringup
  Revert FOD change from capacitive rbs
  remove unused dependence sym ref
  : Fix fod event not working during touch resume
  charging: modify ss_timeout to max value
  Hawaii+ OLED:fpsensor chipone enable power control
  [Hawaii+Oled]Remove the print function of fingerprint hard interrupt EGISFP
  : Fix relay build dependence
  dlkm: sm5350_bl: add default brightness config
  charge : fix read VBUS error cause charging power climb slow issue
  optimize battery charging policy
  devon:sensors bringup
  Add relay between fps and touch
  : Trigger fod event only when FOD is enabled
  Add CLI touch factory test cp_panel node
  charging: rename filename and fix build errors
  fg: fixed sm5602 can't update info immediately
  Li:capsensor factory bringup
  Change config_id format for FW upgrade
  dubai: vibrator fix rtp issue
  FG: Add mm8013c driver code
  charging: add bq25960 driver
  charger: fix qc3p rerun bc1.2 fail w/ some qc3.0 adpter
  charging: Default using HW ILIM for bq25890 and SC89890
  Fix "active_panel" undefined build error.
  Fix build errors with missing header files.
  dlkm: sm5350: get map mode from dtsi
  Change parade touch driver header files path
  Add CLI parade touch suspend/resume logic
  Support receiving dual-screen notifiactions.
  charging: sometime main charger can't recovery to max icl
  smart_pen_charger: Update pen soc to ADSP
  modules: The whole charging process will go twice CV
  let hal to control the log level
  Add HW chip detect mode for ST NFC
  rhode: update charger mode & ito test result
  Revert "(CR) nova_0flash_mmi: log touch down event timestamp"
  Add module parameter to enable panic on delta_vbat
  cyttsp5_core.c: Import namepace for "kernel_read"
  Change CLI touch test return data format
  Revert "(CR): SM5602_FG: apply patch-version: 20220212_00"
  dynamic adjust battery voltage
  charging: fixed build error
  Rhode: Modify ITO test way from "echo" to "cat"
  charging: fixed build error
  charging: add qc3p sw detected for sc89890H
  SM5602_FG: apply patch-version: 20220212_00
  dlkm: vibrator: Support camera actuator noise reduction
  Rhode: TP: focal ic bringup: driver files upload
  PD: add sc2150A vendor patch
  charging: clear charger type variable
  charging: ignore setting qc icl when pd active
  Set paired battery discharge load based paired_ichg
  Add CLI touch sysfs node for factory test
  nova_0flash_mmi: log touch down event timestamp
  modules:sc89890h:bringup second master charger otg
  charging: remove the vbat condition which enable 33W
  charging: increase qc3p power judge threshold
  modules:Second charger could recharge after report full charge
  charging: report power max 30W when usb type is qc3p
  sar:add driver for multi sx937x
  sar: update the driver of aw9610x to v0.9.3
  FG: SM5602 FG add cycle_count/fcc_design/counter property
  Update zero tap down and up logic
  rhode: solve the problem of slow power-off of front dvdd
  Support a main battery power supply
  Fix cyttsp5 driver crash
  add paired battery info notification
  add paired id to support paired battery notification
  ignore optional dts property exist check result
  Use touch mmi class method to do FW upgrade
  Support touchscreen class in the parade drvier code.
  Hawaii+oled: chipone fingerprint disable power control
  qc3p beging charging voltage to 3V
  slow attach 33w change code buld fail
  Solve the problem of sending command conflicts
  chg: fix qc3p rerun bc1.2 fail w/ some qc3.0 adpter
  charging: slow attach usb will not charging as 33w
  charging: avoid I2C bus pending
  rhodec: fix compile error for ILI7807S
  modules: Can't show turbo icon for quickly plugout/in usb
  rhodec:Bringup touch TXD ILI7807S
  Use of_ API to parse gpio pin number
  Fix parade tma5xx touch driver compiling error
  Add initial parade touch driver code
  charging: set icl 1.5A when type_c mode is medium
  rhode: long time vibration notice camera
  gauge: force set sm5602 temperature to 25 degree
  modules: vision station WHITE MASK test failed
  FG: Rt9426a fg add soc ir comp
  charging: avoid icl =100ma for 33w charger
  FG: sm5602 fg support muti-battery parameter
  DLKM/fps:optimise focal driver
  charging: add pd support judge
  HAWAO+OLED: chipone fingerprint modify the power-on sequence
  gauge: force batt present in bt station for factory test
  ibiza:disable power control for chipone FPS
  input: goodix_v1510: fix irq wake disable unbalanced issue
  : Support screen callback thru panel notification
  use correct macro for FOD
  discrete:optimize charging enabled interface
  qti_glink_charger: Add wireless dump info
  smart_pen_charger: Add power_supply_changed when receive PEN event
  charging: report usb present when pd hard reset
  Bringup sgm4154x charger driver to Moto product
  Add initial sgm4154x driver code from vendor
  FPS: Modify the power-on sequence for focaltech
  2snd Fuelgauge SM5602 move temp coefficient to ext channel
  2snd Fuelgauge SM5602 current direct set and coefficient
  sm5602:set battery temp to 25 in moto-factory mode
  cw2217b:set battery temp to 25 in moto-factory mode
  Add watchdog_cpu_dump and tzlog_dump support on 5.4
  Hawao:Enable power gpio for Chipone FPS
  DLKM/fps:add build control for focal
  charging: fixed 15W product build error
  charging: add SW QC3+ 33W turbo charging
  goodix: Open the touch esd check function
  charging: add mutex lock init
  power:fet_control:  Apply main batt ocv instead of v_now
  charging: avoid i2c error when system resume and suspend
  DLKM/fps:optimise screen status interface for focal
  modules:regulator_vibartor:add regulator long short voltage logic.
  lock mode switching operations for thread synchronization.
  sar: support sar reset after usb hot-plug
  dlkm:Update rbs driver for FOD
  mmi_annotate: add unpersist annotate memory region to minidump
  focaltech_v3_mmi:add touchscreen mmi to improve FW logic
  goodix:  Modify the report rate command.
  dubai: vibrate add short index
  Increase the number of I2C retries.
  dubai: input touch add wait pm
  qc3p:set qc3p charging voltage threshold 3.4V
  Change to mdelay for power up delay
  Adjust bq27426 fg module to support Android S
  Revert (CR):sgm4154x:add hawao vbus adc sample ratio
  wt6670: add QC3P firmware num node to /proc/driver
  DLKM/fps:optimise power ctl for focal
  FG: apply rt9426a 0015 patch
  rhodep:open charger mode;
  charging: enable irq wake up
  charging: optimize sgm41542 charging type detected
  Revert "(CR):add firmware interface"
  bq2589x:add qc3p charger type
  sgm:add qc3p charger type
  backlight/sm5350: Add a sm5350 IC which is second backlight IC
  charging: avoid to report usb type before apsd done
  charging: add icl*vbus to report power max
  charger: compatible NU2105 Charge Pump in bq2597x
  Reset charger configure and constraint for glink down
  FG: rt9426a add cancel_work when system into suspend
  wt6670: add retry function to wt6670 read fw
  Update Goodix TP FOD event implementation
  qc3p:optimize power supply init
  mmi_annotate: write info mem when persist mem unsupported
  [hawaii+oled]:vibrator long short vibration intensity 1/2
  smart_pen_charger: Add PEN_STAT_CHARGE_DISABLED
  mod the sc89890h register config
  Rhode:use regulator interface to control vbus
  dubai: input touch add gki support
  bq:add enable termination function
  FG: RT9426a add safeguard for SOH
  FG: RT9426A add safeguard for ocv_index
  goodix: Solve cpu_latency_qos_add_request called warning
  input: goodix_v1510: add charging and gtp-tools node
  PD: config cc status for sc2150 after shutdown
  Do not re-enable the stylus when the stylus mode is switched
  mmi_charger:use orderly shutdown in factory mode
  sgm4154x:add hawao vbus adc sample ratio
  qc3p:limit ibus 300mA for main charger no ibus adc
  charging: Ignore the PD vote icl unless BC1.2 done
  add charger ic - sc89890h config
  modules:add sm5602 patch to fix the soc jump problem
  FG: Modify SM5602 FG first update battery data time to 50ms
  add force_chg_auto_enable interface
  add firmware interface
  Disable irq before entering gesture mode and IC resetting.
  input: goodix_v1510: enable single tap function
  Support resend stylus cmd after abnormal resetting.
  Record and restore the value of the mode
  QC3P:use qc3p config distinguish other not qc3p project
  QC3P:detection and iio sys support
  z350: add 2nd z350 qc logic
  sgm:add enable termination function
  discrete:add enable termination iio definition
  qc3p:add main charger termination ctl algorithm
  QC3P:turbo charger module return value error
  dubai: vibrator add haptic rtp
  qc3p:optimize turbo charging current
  charging: add ibat monitor work
  fg: get current in real time
  sm5602: fix kernel panic when the device resume
  PEN_HALL:disable wakeup source
  fs:exfat-linux:Integrate exfat-linux open source driver
  fg/sm5602: Early detection device chipID
  fg/sm5602: correct the unit of vbat and temp
  sc89890h:device: add sc89890h device id
  focaltech_v3_mmi: rename .i file to fix potential build error
  focaltech_v3_mmi: enable firmware download
  focaltech_v3_mmi: add sys touch node & info
  module/input:hawao: add focaltech_v3_mmi for i2c flash
  Rhode 5GP: add wt6670 get firmware num node
  dubai: input touch update fw 21120803
  DLKM/fps:add power ctrl for ets kernel driver
  pd: bring up sc2150a
  power:fet_control Balance ckt Fet Close Batt2 over 200mV
  wt6670: wake up wt6670 when get version num
  sm5602: Add new fgauge sm5602
  QC3P:iio sys channel add kernel version
  QC3P:module name change to mmi_discrete_turbo_charger
  QC3P:discrete turbo charger
  FG:dynamic config sns resistance
  QC3P:detection and iio sys support
  QC3P:iio sys channel
  QC3P:add iio sys support
  QC3P:ADC algorithm compatible
  QC3P:copy of module mmi_parallel_charger_iio for mmi_discrete_turbo_charger
  goodix: support film sensitivity function.
  Support report rate switch in RoguePRC
  dubai: vibrator add long brk
  PD: Pick Richtek patch13 to improve irq response speed
  PD:Revert "(CR):rt1715:add debugfs interface for dump reg"
  PD: pick Richtek patch12
  FG: power_supply_property get rt9426a battery info from local value
  dubai: input touch support fod
  sar: aw9610: Modify sar sensor voltage.
  moto regulator vibrator: fix null pointer bug
  charging: config ICL after BC1.2 done
  qti_glink_charger: Add wls_notify_callback
  qti_glink_charger: Add folio_mode
  qti_glink_charger: Add wls input current limit for thermal
  PD: config pd active is inactive status after cable plug out
  wt6670f_qc3p: qc3p wt6760 isp download function
  charging: add sem lock to protect dpdm detected
  FG:cw2217 Remove the redundant msleep in the read i2c operation
  FROMGIT: usb: gadget: f_mass_storage: Disable eps during disconnect
  sar: aw9610: the reference channel can't be seen on user layer
  bias/ocp2138:add support ocp2138 bias ic config
  fg: cw2217 add ui_soc feature
  IC needs to confirm the device within 50ms after power-on
  No need to send the suspend command when power off.
  Revert "(CR):power: cw2217 add ui_soc feature"
  bq2597x: bq2597x cp_enable interface does not work
  dlkm: sec_nfc: add samsung nfc driver
  dlkm: sd77426 driver add soh api
  power: cw2217 add ui_soc feature
  goodix_v1510_mmi: check if panel is available
  focaltech_v2_mmi: check if panel is available
  bms: do battery power supply change when fg update data
  Power: remove "\n" about mmi_discrete showing factory test node
  charging: add charge counter prop
  kernel:export interface tcpm_inquire_typec_remote_rp_curr
  charging: modify heartbeat cycle to 100s
  bms: modify battery capacity unit from mah to uah
  charging: remove useless power supply prop
  charging: remove FULL status in charging ic driver
  power:fet_control ironmn: ps prop usb type BRICKID
  regulator: Force shutdown all regulators when system power off.
  charging: stop charging when capacity > upper_limit
  charging: fixed otg boost current limit error
  Add pm_qos control to reduce the interrupt responce time
  wl2868c: modify ldo2 and ldo6 default voltage
  charging: fixed the error HVDCP voltage standard
  charging: set register 3250ma when icl >=3A
  smart_pen_charger: Add pen_status and pen_error notify
  qti_glink_charger: Add tx_mode and rx_connected sysfs node
  PD: Extend PD adapter class charge function
  charge: add chage&PD policy
  power: rt9426a update fcc design
  Rhode4G: Implement different ldo compatibility.
  Revert "(CR): Add pm_qos control to reduce the interrupt responce time"
  rhodep: camera power IC et5907 config
  Add calibration noise error handler
  Add pm_qos control to reduce the interrupt responce time
  rhode: rhode 4G camera ldo config[2/3]
  charging: fixed uevent block issue
  mmi_qc3p_wt6670f: int pin config to input mode
  Revert "(CR): Revert "Revert (CR) power:fet_control Vbatt2 balance path""
  Revert "(CR) power:fet_control Remove ps_notification cb"
  qpnp_adaptive:  Change Makefile to compatible with Android S build
  dlkm: Add check if panel is available for gt9916s
  power: fix rt9426a get the negative soc or soc jump
  Wallet shown slow when screenoff at qingdao
  mmi_qc3p_wt6670f: remove QC3.5 detection in shutdown ops
  power:fet_control Remove ps_notification cb
  Revert "Revert (CR) power:fet_control Vbatt2 balance path"
  charging: update charging status when power supply get
  support pmk8350 gpio3 as stylus clk.
  charging: use msleep instead of mdelay
  dlkm: silead_fps: remapping the keycode
  charging: defined default termination current 120ma
  charging: optimize ICO feature
  charging: schedule monitor work when charging
  charging: enable absolute vindpm
  support goodix edge suppression function.
  goodix: Support interpolation game mode function.
  stmicro: Add the judgment of the sensitivity mode value.
  dlkm: nfc: alway probe nfc driver
  mmi_qc3p_wt6670f: fix wt6670f driver bug
  : Revert "(CR) power:fet_control Vbatt2 balance path"
  charging: optimize otg current setting logic
  Support leather mode setting.
  charging: fixed sometimes don't request dpdm issue
  sar: modify the vdd name for aw9610.
  mmi_charger: align gki 2.0 requirement
  charging: enable ILIM pin for bq25890H
  bq2597x_mmi_iio: add bq2597x gki and irq code
  bq2597x_mmi_iio: add bq2597x initial code
  mmi_qc3p_wt6670f: add qc3p logic initial code
  mmi_discrete_charger: modify enum redefined
  sgm4154x_chg_mmi: changed chg_en_pin judgment logic
  mmi_charger: modify enum redefined
  charging: fixed unit can't connected PC sometimes
  milan5G: sar sensor driver
  sar: add aw9610 driver
  charging: avoid vbus voltage increase to 12V
  charging: add qc3.0 arch for bq25890H
  power:fet_control  Vbatt2 balance path, chrg fullcurr, ocp
  charge: add iio interface for typeC mode
  typeC: add iio interface for typeC mode
  charging: config charger power supply type unknown
  mmi_charger:use orderly shutdown in factory mode
  Close the stylus clock when system suspend.
  charging: avoid kernel panic
  Fix path for ion lib in Kernel 4.19
  power: early register bms_phy client for cw2217_fg
  Update Trustonic TEE driver module to version 410a-V108
  pstar: input touch add delay for mode
  Power: update fg current orientation
  charging: fixed get vbus voltage error
  charging: add VREG fine tunning for setting float voltage
  charging: replace numeric value with macros
  charging: adjust sgm41542 prob sequence
  sgm7220: add typeC mode switch interface for sgm7220
  tcpc: add typeC mode switch interface
  sgm7220: Reorganize sgm7220 driver architecture
  Support goodix single tap to wake the device
  power: modified the caculation formula of ocv_checksum_dtsi
  charging: add qc3.0 charging feature
  sr100: Increase delay range on read/write
  goodix: support charger mode switching.
  stmicro: support touch film sensitivity switching
  milanf: dlkm: Support game mode by defualt on nova_0flash_mmi
  fts: deleate the PM_WAKEUP_EVENT in interrupt threaded
  DLKM: UI batt level show 100% when real batt level 0%
  Suspend and resume process using touchscreen class.
  power: cw2217b user_rsense modify to 10mhom
  charging: disable HVDCP detected
  Solve goodix tp firmware upgrade problem
  pct1812_mmi: no touch zones
  print ulog when write oem glink command
  bq25890: set input voltage limit 4600mv
  charging: setting icl=0 for usb suspend
  power: create chg_type node for factory test
  touchscreen_mmi: Support refresh reate notification in Rogue
  dubai: touch use gki api
  dlkm: fix vibrator stop fail issue
  typeC: add typec cc orientation interface
  typec: add host and device interface
  charging: add iio psy to provide api for other modules
  dlkm: rt9426a fg update read fg_extreg_table
  Cypfq: dlkm: Bringup touch CSOT ILI7807S
  dlkm: rt9426a fg update rt9426a_read_page_cmd
  charging: fixed user version build error for bq25890H
  wls-chrg: Add FOD_CURR and FOD_A/FOD_B settings API
  charging: dcp current base on dtsi config in mmi charger
  charger/bq25890: improve charger BC1.2 detection & rerun apsd
  typeC: import correct Modules.symvers in GKI build mode
  dlkm: Add focaltech fps module
  dubai: vib update file name
  power: discrete charger policy create force_chg_fail_clear
  dubai:input touch init setup
  Update goodix berlin touchscreen driver to v1.2.3
  Power: discrete_charger policy create factory tcmd test node
  charging: optimize bc1.2 detect for sgm41542
  DLKM/sar:optimise sx9375 driver on bo
  power: add get charing current api for discrete_charger_class
  power:fet_control: ironmn:  Fix typo in chrg-fullcurr-en-gpio
  dlkm: add new regulator vibrator driver
  hall:fix not report issue
  pct1812_mmi: custom config options
  pct1812_mmi: report scroll gestures
  pd: add PD20/PD30 interface for tcpc
  pd: create pd adapter class
  charger/bq25890:export api for charger class
  goodix: support stylus mode switching.
  power: discrete charging solution intial version TCMD driver
  backlight: fix brightness flash issue
  Upgrade egis driver for supporting ET721
  charging: fixed charging policy kernel panic
  Modify the config id and build id
  charger/bq25890: stop ADC when system shutdown
  sgm41542: provide some api for  charger class
  charging: add discrete ics charging policy
  power: cw2217 fg's name rename to bms from battery
  power: rt9426a fg's name rename to bms from battery
  power: cw2217 fg add fcc/fcc_design info
  dubai: vibrator init setup
  power: rt9426a_fg introduce supprot muti-battery parameter func
  power: cw2217 introduce mutil-battery parameter func
  UWB: support build in kernel-5.10
  sx937x:enable usb cal
  Charger/bq25890: force 5V/2A charging
  power: cw2217 fg update battery parameter
  power: rt9426a register charger_full node
  power: apply 1th battery parameter for CW2217 fg
  power:fet_control: Add logic for ironmn EVB HW 2nd Batt
  charger/bq25890:disable maxcharge handshake
  charger/bq25890:pull charge enable pin low when charge
  Revert "(CR) build: Only include modules needed by product"
  charger/rt9467:remove MMI_STOPSHIP change.
  Add a new DLKM to support smart pen charger driver
  Add OEM glink notification and notifier call chain
  charger/bq25890: add usb properties
  Resolve compilation errors for unused functions
  qti_glink_charger: extend addr&data to UINT32
  typc: Open macro for TCPC
  charging: force 5V/2A
  solve the kobject_get_path undefined in gki build
  Only save test file in factory build
  sgm7220: add sgm7220 pwr interface
  charger/bq25890: force D+/D- detection for APSD
  typec: Open pd dbg info
  Does not distinguish 9916 and 9916P touch chips.
  touchscreen: dynamic check the goodix device status
  touchscreen: dynamic check the stmicro device status
  mmi_info: provide check dynamic device status interface
  xpeng: input touch add wait when single tap
  mmi_info: Get bootconfig from device tree
  utags: read utag block device path in bootconfig from device tree
  utags: Use bio to replace kernel_read and write API
  charger/bq25890:add BC1.2 feature
  rt1715:add debugfs interface for dump reg
  power/charger: add init bq25890 driver
  power: rt9426a_fg add soh api
  power: introduce fuel gauge cw2217b driver
  backlight: support backlight current align configuration for exp mode
  backlight: add lm3697 map type for linear or exponential mode
  backlight: add aw99703 map type for linear or exponential mode
  goodix: support factory tcmd test.
  goodix: update test file to 1.2.2 version
  charging: detect hw chip id before do any action
  Power: enable rt9426a fg parse dts function
  power/charger: add walkaround to fix REGN side effect
  power/charger: add free IRQ before reset
  goodix: enable stylus clock on Rogue project.
  charging: add HVDCP detected function
  backlight: don't enable aw99703 backlight while brighness level 0
  pct1812_mmi: properly fail probe on i2c error
  Revert "(CR): mmi_charger: Fix battery_supply_init, batt_psy."
  power/charger: add rt9467 charger driver
  mmi_charger: Fix battery_supply_init, batt_psy.
  Support loadding multiple config files
  build: Only include modules needed by product
  pct1812_mmi: control debug messages
  pct1812_mmi: added input device
  pct1812_mmi: firmware update feature
  dlkm: add new silead fps driver
  Add sysfs to support force disable charging
  qti_glink: Add sysfs node to get wireless chip id
  add lpd and vbus present state
  Send LPD and VBUS uevent for LPD alarm feature
  vibrator: add new ldo vibrator driver
  Support touchscreen calss in the goodix drvier code.
  qti_glink_charger: move WLS property types to the end
  GKI kernel build upgrade
  build: Only include modules needed by product
  set screen default state to on
  dlkm: sd77426 modify battery NTC table
  fet_control: Add fet_control driver, full_current_en
  charging: add usb property
  charging: update sgm41542 driver V002
  usb: mass_storage: Add support for SC_REBOOT
  typec: define sgm7220 typec func
  fix mass_storage module GKI build issue
  copy mass_storage driver from Kernel as initial version
  typec: improve rt1715 code
  typec: remove qcom pmic code
  arm/dts: improve rt1715 typec and pd compatible
  hall pen kernel bringup
  typec: Add sgm7220 driver initial version
  charging: add bc1.2 feature
  DLKM: force 5V/2A charging
  charging: fixed build error for sgm41542 default code
  charging: add SGM4154x charger basic driver
  pct1812_mmi: self-test and sysfs interfaces
  power: add detect sd77624 ic hw
  goodix_brl_mmi: Add mmi status check.
  Modify the goodix driver code format
  Update the poll mask when polling is aborted by hal
  mmi_sys_temp:fix compilation error.
  power: update sd77624_fg driver
  qti_glink_charger: Add sysfs node for factory wireless testing
  charge:Enable aicl at factory boot mode
  touchu:gc7372 tp modify for charger test and gesture
  usbnet:USBLAN Super speed plus support
  dlkm/wl2866d: disable avdd1 when device shutdown
  backlight: add aw99703 led boost configuration
  charge: define pps charge min out current
  charge: add limit main charge flag
  DLKM: Update SD77426 driver
  : Add panel notification for egis rbs driver
  regulator: fix aw37501 gki build error
  regulator: add aw37501 lcd bias power driver
  pd: Add rt1715 driver initial version
  Cypfq: dlkm: Gc7372 add enable/disable wake irq for single tap
  Support sensitivity mode function
  power: introduce sd77426 fuel gauge driver
  power: add rt9426a driver
  add glink oem command to get LPD info
  focaltech_v2_mmi: keep rst high when config only for IDC
  mmi_info: Increase the MAX_BL_BUILD_SIG
  Cypfq: dlkm: Add power off process for ili9882a
  Update goodix berlin code to V1.1.21
  charge: notify mmi-smbcharger-iio while charge pump start working
  charging: Add PD charging in DLKM
  pct1812_mmi: firmware upgrade
  pct1812_mmi: pct1812ff kernel driver
  Cypfq: dlkm: Add charger detection feature for ili9882a
  mmi_annotate: support minidump store
  Support touch corner/edge suppression function.
  Cypfq: dlkm: Support single tap feature for gc7372
  cp: Remove charge rate, age, cycle
  Cypfq: dlkm: Change read vendor id process
  hall driver bring up
  watchdogtest: support build in kernel-5.10
  Cypfq: dlkm: Improve gcore_mmi driver
  Cypfq: dlkm: Add GKI module dir definition
  charging: modify heartbeat cycle to 100s
  remove the mmi_info module dependency
  dlkm: bo: Support single tap feature for ili9882_mmi
  charger: Rename sc8549 to cp
  xpeng: input touch add game api
  charger:adaptive charger tolerance optimization
  goodix_fod_mmi.ko: Update Makefile to compat kernel 5.10
  Use bi_bootmode instead of mmi_bl_bootmode.
  When find drm panel successfully, set panel_status to 0
  FPS: Support multi-fingerprint function.
  put register_panel_notifier into ts_mmi_worker_func.
  Delayed active panel detection
  backlight: fix lm3697 probe fail panic
  backlight: add lm3697 led boost configuration
  use bi_bootmode to query the bootmode
  Cypfg: dlkm: Improve gcore_mmi driver
  fixup! (CR): mmi_info: read all from bootconfig
  mmi_info: read all from bootconfig
  backlight: add lm3697 hbm current mode configuration
  mmi_info: read bootreason from bootconfig
  utags: reads bootdevice name from bootconfig
  qpnp_adaptive_charge: Add adap_reinit
  charge: resolve sc85xx charge icon dont disappear
  cp: improve 8549 read status register
  modules: add leds-indicator-pwm.c driver
  parallel:init thermal parameter at high temp
  Rogue PRC ST54x driver
  Close the calibration operation after fwupdate.
  Modify bm ulog and mmi chargers for Android S
  focaltech_v2_mmi: disable focaltech driver drm notify
  ffc: add ffc featrue
  CP: Remove unuseful code
  qc3p:workaroud qc3p shalcomm adapter
  Modify the touchscreen report rate
  CP: Use CP read battery voltage
  slg5bm43670: Update slg5bm43670 for Kernel 5.10
  QC3P:add afvc compensation voltage
  PD:add afvc compensation voltage
  pstar: input touch update edge set
  pstar: input touch add edge support
  focaltech_v2_mmi: don't set gesture_mode enable as default
  Adjust the heartbeat time to 100s in discharging state
  sx937x:Android S bringup
  Solve the problem of incompatible type 'struct timespec64'
  Slove the build error: redefinition of 'panel_event'
  fpc_fps_mmi: Modify Makefile for Android S build ko
  adjust moto_f_usbnet driver makefile
  Bring up touchscreen_mmi in Rogue S project.
  Bringup stmicro_mmi touch module in kernel-5.10
  Cypfg: dlkm: Improve gcore_mmi driver
  Revert "(CR) sx937x:mv ps_get_state to work callback"
  Revert "(CR) sx937x: change global_sx937x initialization position"
  Modify the ITO test command
  sx937x: change global_sx937x initialization position
  sx937x:mv ps_get_state to work callback
  qpnp-adaptive-charge: use mmi_charger to contrl battery charging
  add vote mechanism support for mmi_charger
  qc3p:limit pulse not beyond max count
  use disable_irq_nosync in interrupt handler
  Add force_charging_enabled sysfs
  Add force_charger_suspend sysfs
  CP: add cp switch enable detect
  CP: force disable CP while plug out usb cable
  CP:Add switch enable detect function
  cp: config sc8549 fault bit
  Fix the build error on denver project.
  add charger state sync interface
  Revert "(CR): send charge rate uevent when power supply changes"
  Need to update fw on resume for zero-flash touch IC.
  novatek: Support parameter upgrade method
  st21nfc:support build in kernel-5.10
  qc3p:Set AICL thres at qc3p pmic charging
  dlkm: add enable CP api
  add power ctrl for fpc driver
  add power ctrl for goodix kernel driver
  aw8695: move camera start entry before the vibrator timer
  dlkm: Touch gc7372 bringup
  pstar: vibrator add moto fw
  Fix artificial vibrating pattern caused AF always on.
  charge: Add thermal interface
  qc3p:clear sm work when vbus off
  Add sense off process to enter the idle process.
  CP: add qc3p charge policy
  CP: Reorganize charge pump
  Print ADSP battery manager log if charging changes
  Create bm_adsp_ulog module
  qc3p:config 33W charging current
  sx937x:fix wrong POWER_SUPPLY_ONLINE define
  Cyprus: dlkm: ili9882 driver improvement
  input: focaltech_v2_mmi: add ft3519 upgrade function
  Solve the build error: MODULE_IMPORT_NS missing
  pstar: sar: support multi parameters for different panels
  aw8695: optimize vibrator&camera resonance issue
  Stmicro: Support parameter upgrade method
  Add flash mode sysfs node in touchscreen mmi
  dlkm: lm3697: free resouces when init failed
  DLKM: bring up corfup PD 30W charging
  charging: pick base parellel charger from mmi_parallel_charger
  send charge rate uevent when power supply changes
  bq25980:update charge VOUT parameter
  bq27426: Fix kbuild to use ANDROID_BUILD_TOP
  mmi_info: support build in kernel-5.10
  mmi_annotate: support build in kernel-5.10
  utags: support build in kernel-5.10
  bos0614_mmi: fix alignment issue
  Enable PANEL_NOTIFICATIONS for berlna touchscreen
  Revert "(CR): fix user version build error"
  Add NVT_SET_TOUCH_STATE to avoid compilation errors
  Deleate fts_system_reset in wait_for_ready
  Add 30W turbo charger type
  touch mmi:declare dependency.
  dlkm: leds_aw99703: free gpio if init failed
  dlkm: leds_lm3697: add initial version lm3697 driver
  Fix berlna user version build error.
  Support novatek single tap in berlna
  fix user version build error
  sx937x:change offset val bit mask
  touch mmi:2nd patch, fix user version build error.
  touch mmi:Fix user version build error.
  charger:mmi_hb_wake lock not released
  SX937x: USE power online state
  bos0614: access to sysfs for others
  bos0614_mmi: waveform shape feature
  focaltech_v2_mmi: bringup ft3519 on kernel 5.4
  qc3p:config ibus max to 3A
  mmi_parallel_charger:reduce charge rate report
  dlkm: Cyprus: touch: ili7807s bringup
  Add Egis fps kernel module for rbs
  Support report rate switch
  Add game mode parameter adjustment function
  input: goodix_v1510: change to api in chip vendor whitelist
  Add pollForEvent check mechanism
  smbcharger:QC3P charging support
  module:QC3P charging support init
  module:mmi parallel charger qc3p repo init
  bos0614_mmi: support rev C
  : Delete the calibration process on probe
  Support single tap to wake the device
  power:fet_control: Charge path gpio too slow
  Fix the BTN_TOUCH report error
  Solve the issue that firmware can not be updated.
  Add support for Build_external_kernelmodule.mk
  touch:sleep in atomic context
  input: goodix_v1510: set regulator avdd load to 50mA
  Do not set scan mode when setting charge mode
  use request_threaded_irq to handle TP events.
  focaltech_0flash: rm register_panel_notifier null define
  bos0614_mmi: fix few bugs
  input: focaltech_0flash_mmi: add panel notifications
  Report BTN_TOUCH event when the fingers are lifted.
  fet_control: banks: Enable only pm8350b chrg for usb2/3
  sx937x: reset sar on i2c failures
  update the charger_suspend config in charger configure
  synaptics_mmi_class: fix broken build
  berlNA: support usb detection of novatek TP.
  Get usb status through POWER_SUPPLY_PROP_ONLINE property.
  stmicro: Add USB detection based on touch class
  ETS: Solve the compilation problem of androidR
  Support TP report rate switching
  regulator: wl2866d: support to read init value from dts
  Resolve compilation errors for nio
  Support touchscreen class for novatek
  Move sysfs node to the parent of battery device
  power: fet_control: Update paths on usb psy prop online
  qrng: Add qrng driver
  qti_glink_charger: Add sys node to pass TCMD to ADSP
  qti_glink_charger: Add sys node to set pmic_icl
  Resolve compilation errors with unused parameters "ret"
  Resolve compilation errors with unused parameters
  charge: add sc8549 driver for corfuP product
  Export panel supplier method for ST
  Use supplier to distinguish limit files.
  power:fet_control: Batt flip dischg fet ctl, chg cur_en
  qti_glink_charger: Add sys node to pass TCMD to ADSP
  input: goodix_mmi: add goodix i2c 1510 version driver
  qti_battery_charger_mmi: Initial add
  bq25890_mmi: Fix power supply type
  mmi_charger: Add voltage and current combos
  driver:adjust bq25960 parameter
  synaptics_mmi_class: gpio access func can sleep
  Add calibrate sysfs node for stmicro TP.
  synaptics_mmi_class: rename files
  bq25960:remove online property
  power:fet_control: banks flip batt fet-control driver
  mmi_charger: Add ext_charger
  bq25890: Add get/set for fcc and fv
  Revert "(CR) synaptics_mmi_class: fix build issue"
  bos0614_mmi: added features
  synaptics_mmi_class: fix build issue
  Support fw update at device startup for berlin.
  fixup! (CR) synaptics_mmi_class: banks cli bringup
  synaptics_mmi_class: banks cli bringup
  smb:integrate charge pump ffc feature
  stmicro_mmi: build and config ids
  Remove pressure events
  charger:bq25960 30w charger support
  charger:enable charger rate at 30w charger
  Enable irq during touch resume for berlin.
  pstar: input touch stm fix issue
  fixup! (CR) stmicro_mmi: bug fixes and new features
  stmicro_mmi: bug fixes and new features
  pstar: input touch fix disable irq panic
  Get the profile id from device tree
  Add new platfrom driver to support smb charger
  Add change to be more compatible
  Reorganize files to meet compilation mechanism on enabled GKI products.
  aw8695: Fix compilation error of aw8695 for android R
  Make Trustonic TEE driver module compatible with kernel 5.4.
  mmi_parallel_charger:enable parallel charger at R
  charge: Config charge rate for internal FG product
  Charge: Config step first current comp for CP
  Charge: config min tuning current
  Charge: Clear err flag before start CP
  mmi_parallel_charger: Add Turbo_30w power level
  charge:notify smb5 while charge pump start working
  dlkm: no need rerun aicl for odessa
  dlkm: add enable CP api
  mmi_parallel_charger: set charge_control_limit as writeable
  mmi_parallel_charger: UI support for 45W charger
  fg: soc report 99% lasted for long time
  mmi_pl_chg: Add mmi_cycle_count to calculate batt age
  mmi_parallel_charger: Add factory mode detect
  mmi_pl_chg: clear pmic limit after remove pd power
  mmi_parallel_charger: "battery" psy update PROP_STATUS
  mmi_parallel_charger: optimize 45w charger policy
  optimize the charging logic in thermal mitigation process
  Improve the PD charging performance in high temperature
  mmi_paralel_charger: Enhance the compatibility of PD charger
  mmi_parallel_charger: enhance the stability of sm work
  mmi_pl_chrg: improve the chrg recovery handling
  mmi_chrg_manager: optimize thermal mitigation logic
  mmi_pl_chrg: create some sysfs node for setting mmi_params
  mmi_parallel_charger: optimize temp zone structure
  mmi_parallel_charger: Optimize 40w charging logc, 1.0
  mmi_parallel_charger: Optimize 40w charging policy
  mmi_parallel_charger: Create Heartbeat work
  DLKM: mmi_parallel_charger
  pstar: input touch support cqa test
  bq25890: commit initial version
  bq27426: guard extra batt props
  correct the charger present based on charger type
  pstar: input touch stm bring up
  dlkm: bo: Improve touch driver for novatek
  bos0614_mmi: build kernel code
  bos0614_mmi: initial reference driver
  mmi_charger: Option to start with no factory kill
  ...

 Conflicts:
	Documentation/devicetree/bindings~HEAD
	drivers/leds/trigger/Makefile
	drivers/misc/Makefile
	drivers/regulator/wl2868c/Makefile
	drivers/regulator/wl2868c/wl2868c-regulator.c
	drivers/regulator/wl2868c/wl2868c-regulator.h
	drivers/sensors/Makefile
	fs/exfat/Kconfig
	fs/exfat/Makefile
	fs/exfat/README.md
	include/linux/input/synaptics_tcm.h
	include/linux/panel_notifier.h
	sound/soc/codecs/Makefile

Change-Id: I6fe680aa18c375828df04e8ea108d01361d780bf
2024-01-05 12:18:54 +02:00
xizx 001270581f Reboot: trigger warm reset when receive hw_warmreset cmd
The "hw_warmreset" reboot command, it indicates the kernel to trigger
warm reset for saving lastkmsg. After the system warm reboot, the AP
will save last kmsg logs and call a clean cold reboot with the
"post-hw_warmreset" command.

Change-Id: I3a25735a4e9ff0ab72c05d3ba2914d80477d30dc
Reviewed-on: https://gerrit.mot.com/1536789
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Zhenxin Xi <xizx@motorola.com>
Submit-Approved: Jira Key
Reviewed-on: https://gerrit.mot.com/1584107
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
2023-06-01 00:47:11 -03:00
zhaoxp3 d177ede646 msm-poweroff: Store restart reason
After cold reset is introduced, the phone is cold reset instead of
warm reset, such as panic. In this case, the power up reason saved
in shared memory will be lost. Consequently, the power up reason on
next boot up time will be normal boot instead of correct ones. To
resolve this issue, we can use the two spared pmic registers which
are power lost safe to save the restart reason for these cases.

Motorola definition of AP panic bit set in extra info pmic reg
conflicts with QC definition of Warm reboot bit set in extra info reg
move Mot bit to available position to avoid conflict

Force a cold reboot for the command "adb reboot bootloader"
to avoid the warm boot when user tries to continue boot from boot menu.

For early kernel panic before PMIC is initialized, the function
qpnp_pon_store_extra_reset_info will fail. Need to set IMEM flag
for fail safe in this case.

For post-panic, post-wdt, post-pmicwdt reboot, we do cold reset.
And set the PMIC register accordingly, to nofity BL the special
reboot behavior.

Configure panic as warm restart, so that we have chance to get panic logs.

According to SR 01277290, 0x88D and 0x88E are spare registers for PMIC
where we could store oem specific reset information

Ported from: https://gerrit.mot.com/1446282

Change-Id: I6704c801435c6586dbe64259c214dcdc926b07cf
Signed-off-by: zhaoxp3 <zhaoxp3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1499584
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2023-06-01 00:47:04 -03:00
tin_bingtai.zou_tmp 3fa32c60ae optimize aw963xx driver
1.optimization of secondary interrupt triggering logic for sar
2.modify driver aw963xx

Change-Id: I81782749f4cc8c62be421316e9d367f0d9d92156
Signed-off-by: tin_bingtai.zou_tmp <tinno60@motorola.com>
Reviewed-on: https://gerrit.mot.com/2585232
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <yangyi31@motorola.com>
Reviewed-by: Yuchang Guo <guoyc1@lenovo.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-04-23 01:21:54 -05:00
tin_bingtai.zou_tmp 99381ee852 optimize aw963xx driver && insert usb calibration
1.optimize driver about multiple mode
2.insert usb calibration(aw config flag in dts)

Change-Id: I392f5cf266647abf3b6eb0aa649f8061d944871b
Signed-off-by: tin_bingtai.zou_tmp <tinno60@motorola.com>
Reviewed-on: https://gerrit.mot.com/2575217
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <yangyi31@motorola.com>
Reviewed-by: Yuchang Guo <guoyc1@lenovo.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-04-14 02:48:10 -05:00
tin_bingtai.zou_tmp 4b93d45e50 sar sensor bring up 1/2
1.sar sensor bring up
2.modify sx937x driver for secondary sar

Change-Id: I3eef88077a14e7e1dab92c860406d0b1ee35a02c
Signed-off-by: tin_bingtai.zou_tmp <tinno60@motorola.com>
Reviewed-on: https://gerrit.mot.com/2552802
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <yangyi31@motorola.com>
Reviewed-by: Yuchang Guo <guoyc1@lenovo.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-03-27 05:32:41 -05:00
tnyangc 5540075a2b sar sensor bring up -aw
1.sar sensor bring up
2.add aw driver

Change-Id: I42564cc4393fdbe30a63722d544b7e84c578a177
Signed-off-by: tnyangc <ramiel.yang@tinno.com>
Reviewed-on: https://gerrit.mot.com/2554436
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: <yangyi31@motorola.com>
Reviewed-by: Yuchang Guo <guoyc1@lenovo.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2023-03-27 04:40:20 -05:00
cuijy1 6e1740fd14 sx937x: add flip near & far reg list
when flip state change, modify reg list which read from dts

Change-Id: I739c6fb5b1a531886b6fce527451633cb74af912
Signed-off-by: cuijy1 <cuijy2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2514472
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2023-02-17 00:38:41 -06:00
qiurp1 79cc991419 zeekr:modify capsensor driver
add lable to distinguish whether to calibration
when flpi state change

Change-Id: I00d386ee6c5dd70ba22b1fba3e22fb6cd5704b79
Signed-off-by: qiurp1 <qiurp1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2498055
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jiyue Cui <cuijy2@lenovo.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2023-01-31 03:30:07 -06:00
weimh1@motorola.com c3949d41a0 sx937x: reset chipset instead of cali
1.porting from sx937x about re-initialize machanism
  2.reset chipset instead of cali for bronco only,
   use dts to control it and will not impact other projects

Change-Id: Ifd616a57863cdd96641440a5b2926ec9286f60ee
Signed-off-by: weimh1@motorola.com <weimh1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2463575
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Lijun Chen <chenlj2@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2022-12-16 03:51:44 -06:00
wunan3 5739c4fae5 Devon:seperated DVT1/DVT2 sar sensor firmware
WHY:sar sensor need seperated firmware
HOW:support multi firmware

Change-Id: I2a77adb3dea88b57f9f4a85ad463f1d992dfdae4
Signed-off-by: wunan3 <wunan3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2237527
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Hong Zhang <zhangh12@motorola.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2022-04-10 21:54:36 -05:00
qiurp1 bbbc9a2bce ONELI/LI: add calbration driver of capsensor
add digital headset calbration,usb_calbration,
load parameter when flip far/near

Change-Id: I766d7166c8b91c7a24763576e78adc2f99a76a9a
Signed-off-by: qiurp1 <qiurp1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2231946
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jiyue Cui <cuijy2@lenovo.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2022-04-07 01:47:35 -05:00
longc100 70f8bc91e8 devon:sensors bringup
WHY:devon:new project sensors bringup
HOW:fix aw9610x code,devon use ext ldo ctl by gpio

Change-Id: I3af035617bfa383243d121c9eed0f61e423d2d6f
Signed-off-by: longc100 <longc100@motorola.com>
Reviewed-on: https://gerrit.mot.com/2205222
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Submit-Approved: Jira Key
Tested-by: Jira Key
Reviewed-by: Hong Zhang <zhangh12@motorola.com>
(cherry picked from commit 1e9aa7f0f254143a03837fee68305dc0fa111e0e)
Reviewed-on: https://gerrit.mot.com/2205886
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
2022-03-03 02:36:57 -06:00
cuijy1 6a64c7429e sar:add driver for multi sx937x
add driver for multi sx937x

Change-Id: I0ec688cec7b7773f0ab4d578189e51da26122a4d
Signed-off-by: cuijy1 <cuijy2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2188738
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2022-02-14 03:53:29 -06:00
huaqin79 0678779d3b sar: aw9610: Modify sar sensor voltage.
The power supply of sar sensor is changed from 1.7v
to 2.8v to solve the problem of voltage jump

Change-Id: Ia731c372ddce703743d3966ddf7e185e5225cb06
Signed-off-by: huaqin79 <huaqin79@motorola.com>
Reviewed-on: https://gerrit.mot.com/2138719
Reviewed-by: Hong Zhang <zhangh12@motorola.com>
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-12-08 04:30:28 -06:00
zhangh12 def94f695a sar: aw9610: the reference channel can't be seen on user layer
ref_channel will be tested failed on factory, it should be filter for user,
add "ref_channel" on dts, it won't be registered to sensor_class.

Change-Id: Ibc5c927d5441665066aba990ecab36dbd7d03e47
Signed-off-by: zhangh12 <zhangh12@motorola.com>
Reviewed-on: https://gerrit.mot.com/2134407
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-12-06 02:33:14 -06:00
zhangh12 484bae18fd sar: add aw9610 driver
add the driver of aw9610,
modify the build scripts.

Change-Id: Ic2be827fd281759c6184e68cfe5690f76642cc46
Signed-off-by: zhangh12 <zhangh12@motorola.com>
Reviewed-on: https://gerrit.mot.com/2110739
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-11-09 02:08:48 -06:00
Jiyue Cui 908e2bdb8b Revert "(CR) sx937x:mv ps_get_state to work callback"
This reverts commit c2f744d014225db0494144bcc874be8d0c3dbf13.

Change-Id: I14be7ed2aefdd0522d70f6eb2ac2d7c9e2d8e254
Reviewed-on: https://gerrit.mot.com/1991079
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2021-06-24 09:27:28 -05:00
cuijy1 b43fdec148 sx937x:mv ps_get_state to work callback
ps_notify_callback warnning for block function usb_psy_get_prop()
mv ps_get_state to work callback

Change-Id: I856879ccd0d727660bc92c945445a64b4a03fddb
Signed-off-by: cuijy1 <cuijy2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1977442
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Hong Zhang <zhangh12@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2021-06-23 04:55:46 -05:00
zhangh12 34605de176 sx937x: reset sar on i2c failures
porting from x933x,
Re-initialize via a watchdog failure

Change-Id: I5df7d15c9bc62d77940e7da1f57425d245bf5c86
Signed-off-by: zhangh12 <zhangh12@motorola.com>
Reviewed-on: https://gerrit.mot.com/1935976
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2021-04-30 03:45:19 -05:00
zhangly19 b16994d232 DLKM/Sar:add abov 7ch driver
-add abov 7ch driver
-add abov 7ch header file

Change-Id: I0a7e5214c25157ae4fff07d22fd301b2e395637e
Reviewed-on: https://gerrit.mot.com/1803336
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jiacheng Ou <oujc1@motorola.com>
Reviewed-by: Minghui Wei <weimh1@motorola.com>
Reviewed-by: Nan Wu <wunan3@motorola.com>
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
2020-11-16 03:01:02 -06:00
weimh1 4e93c431df driver/sar-sensor: sx937x bring up
1.update paramters
  2.adjust driver to match new params

Change-Id: I3affc71bce80ca8ce1558179df1f4305640df163
Signed-off-by: weimh1 <weimh1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1801960
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2020-11-13 02:36:31 -06:00
zhangh12 e222b9be7f [capsensor] add debug info for read_rawdata
venor provide a new driver for adding some debug messages
on read_rawdata().
cmd: adb shell "logcat -b kernel | grep SMTC_D"

Change-Id: I0e0ebc09d48b1d34d40d581f9a3cdf43dcd7cf97
Signed-off-by: zhangh12 <zhangh12@motorola.com>
Reviewed-on: https://gerrit.mot.com/1773854
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
Reviewed-by: Jiyue Cui <cuijy2@lenovo.com>
2020-10-29 22:51:47 -05:00
weimh1 d2c353851a driver/sar-sensor: add sx937x base driver
1.semtech sx937x support multi channels(6/7/8)
  2.add sx937x to bo common branch

Change-Id: If434ed22b6c92fe3612bda882bee8eb7405fe8f7
Signed-off-by: weimh1 <weimh1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1779278
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2020-10-19 22:57:17 -05:00
tnlizd a88706793f sx9338: sar sensor bring up
caprip:
1. add sx9338 sar sensor support

Change-Id: If1357134f8b0e4b2d420c3ff444aedde31ed243d
Reviewed-on: https://gerrit.mot.com/1758991
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jiyue Cui <cuijy2@lenovo.com>
Reviewed-by: Lijun Chen <chenlj2@motorola.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2020-09-25 01:40:12 -05:00
chenlj2 6cb005d0f4 DLKM:modify capsensor_enable_flag_t enum for abov
abov chip works abmormal in Qsensortest APK
branch:bo

Change-Id: I66a1bdef56162c46e4c5fa094394e15cd4f88d47
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1718306
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2020-08-12 03:06:12 -05:00
chenlj2 6bcd3fe49e DLKM:control VDD off when sar sensor is off
It's used to save power.
It's only used on Borneo NA

Change-Id: I2aa60149f0a362dc29fc0eded5c509a9fd4ddc7c
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1718145
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jiacheng Ou <oujc1@motorola.com>
Reviewed-by: Guoyue Liu <liugy11@motorola.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2020-08-10 02:26:39 -05:00
Ryan Lattrel e5ce10d03d sx933x: reinitialize via i2c watchdog
Re-initialize via a watchdog failure instead of a general
i2c failure.  This will allow us to recover from failures that
happen during init, and re-init.  The current solution does not
account of the fact that init could fail, and if init fails
there l(CR) won't be an interrupt that will drive the i2c
read/write failure to cause a recovery.

This should also reduce false postives, such as if we failed
to read i2c while suspending/resuming.

Change-Id: If7579a90c6490d5f9c4fec4c0d3e7b74cb8bdcaa
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1690483
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ling Jin <lingjin@motorola.com>
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2020-07-20 17:08:19 -05:00
Ryan Lattrel 420066548b sx933x: reset and re-init the device on i2c failures
If we get an unexpected i2c failure, toggle the ldo
and re-init the registers after it is back online.

Change-Id: Ie17a208fb612264a6ddc8cb5fff16e3123b5719e
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1672836
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Ling Jin <lingjin@motorola.com>
Submit-Approved: Jira Key
2020-07-17 14:31:52 -05:00
chenlj2 3ab651e580 DLKM/sar:optimise process of sar to support 4 channels
compatible with 3 and 2 channels
support 4 channels only in borneo
the sar chip default support 3 or 2 channels

Change-Id: I0a594fe18ebff2679b0ada26646f44b50afce67f
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1640530
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
Reviewed-by: Jiacheng Ou <oujc1@motorola.com>
2020-06-24 04:43:59 -05:00
cuijy2 e51af2ddaa capsense sx933x recive headset state
when headset insert
use special reg config

NO_PROP_NEEDED: only racer need this change

Change-Id: Iaea4faf18b5fce845a05f7262b2e683e1e37c16b
Signed-off-by: cuijy2 <cuijy1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1539481
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Guoyue Liu <liugy11@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Submit-Approved: Jira Key
2020-05-08 03:29:33 -05:00
Ryan Lattrel 9f28f0ef46 sx933x: update registers on open/close
Update configured registers on open and close events
if set in the device tree.

Change-Id: I004f519e1dd5851a93affab81598969509f27712
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1543714
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2020-04-29 14:17:00 -05:00
chenlj2 d52429660e DLKM/sarsensor:add tcmd test interfaces for abov mmi
1. add fw_download_status sys interface;
2. add int_state sys interface.

port form:
https://gerrit.mot.com/#/c/1539901/

Change-Id: I809e33078d66fe04b1b3678a690e5e19c7bdddf0
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1540822
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2020-04-23 03:51:46 -05:00
Wen Xie 321c070657 DLKM/sar: Add fw mode detection for A96T346HW.
guam sar bringup:
Add fw mode detection for A96T346HW.

Change-Id: I81a0f4802fda3b276b870a3fa758528871d31a4a
Signed-off-by: Wen Xie <xiewen3@motorola.com>
Reviewed-on: https://gerrit.mot.com/1509854
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
2020-03-25 03:56:55 -05:00
chenlj2 58f3ac5c7a DLKM/sar:optimise driver of Abov 5 channels
log output process
extract name of input and cdev to dts

Change-Id: I554cb2e24be6ea4038d9106e2e7fc85b5b7e24c5
Signed-off-by: chenlj2 <chenlj2@motorola.com>
Reviewed-on: https://gerrit.mot.com/1498941
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Jiyue Cui <cuijy2@lenovo.com>
Reviewed-by: Jiacheng Ou <oujc1@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2020-02-17 19:42:02 -06:00
linhonglei 1ac4f19994 kernel/sar: update a96t driver to support two channel
Modify driver files and read properity channel number node
Distinguish two channel number or three channel number

Change-Id: I9a00992c9875e94fe00711e92d6f74121327fb6b
Reviewed-on: https://gerrit.mot.com/1478286
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: <honglei.lin@ontim.cn>
Reviewed-by: Jiacheng Ou <oujc1@motorola.com>
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Jianqiu Huang <huangjq9@motorola.com>
Reviewed-by: Lijun Chen <chenlj2@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2019-12-31 02:48:08 -06:00
litong 9c5394f8c2 Synaptics updated driver code to V2
TP:
The touch driver code is updated to second version
of synaptics.

Change-Id: Id460de3197aaee25cefeab918923212a484c8346
Reviewed-on: https://gerrit.mot.com/1468558
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Jialei Hao <haojl2@motorola.com>
Reviewed-by: Jianqi Yang <yangj@motorola.com>
Submit-Approved: Jira Key
2019-12-10 04:39:04 -06:00
Fei Mao 7a00f7c254 input: touchscreen: synaptics_tcm: enable touch driver
Enable touch driver in touch driver.
Support drm_panel callback to be notified when screen on/off.
Add new property "synaptics,firmware-name" when different modules
with same touch IC.

Change-Id: I58159ce531913108e702227c5474fdc2f539d2d3
Signed-off-by: Fei Mao <feim1@codeaurora.org>
2019-11-19 15:19:46 +08:00
chenx 2d484f105c input: touchscreen: synaptics_tcm: add new touch driver
This is the reference driver source code for Synaptics touch.

Change-Id: I6ad3cd7d3b4d1f0f38d788cdbebc1bbcd6500c93
Signed-off-by: chenx <chenxiang0527@thundersoft.com>
Git-commit: 9397899342e9aed76898cd7f1377a798d8ae3243
Git-repo: https://source.codeaurora.org/external/thundersoft/ihvjointlab/sensor-driver/log/?h=Synaptics_tcm_v1.3
Signed-off-by: Fei Mao <feim1@codeaurora.org>
2019-11-06 15:32:04 +08:00
cuijy2 9e562a85c2 factory:add sx9331 interrupt line test for doha
add sx9331 interrupt line check node int_state
tcmd_send 009b03

Change-Id: I4187bfac87e829d2e3e2b9f19e84cbb8cd6dac65
Signed-off-by: cuijy2 <cuijy1@motorola.com>
Reviewed-on: https://gerrit.mot.com/1445145
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Guoyue Liu <liugy11@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
2019-10-27 22:20:36 -05:00
huangjq9 a143cdade2 sar-sensor: fix some issue about a96t
- fix the sensors enable/disable confusion;
- fix the initial mode is not in stop mode for a96t;
- fix the issue about the update work;
   the initialize(this) no calling under mutex_lock;
- fix the detection about above_detect(), the max time is 75ms.
   so, we need set the detct time to 100ms.

Change-Id: I070c908fcb8edadb4dad51fa7a749e912d19f0a1
Signed-off-by: huangjq9 <huangjq9@motorola.com>
Reviewed-on: https://gerrit.mot.com/1414619
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2019-09-03 09:22:49 -05:00
huangjq9 862d3dc87e cap-sensor: fix some issues for a96t346.
- change the sensor name to top/bottom_left/bottom_right.
- if the upper layer doesn't disable capsensor, we should let it enter sleep in suspend.
about the average current of abov's a96t346:
active mode:  1.8 mA;
sleep mode:   160 uA;
stop mode:     2 uA;

Change-Id: I4ce68cb428d225a7843424e2a3b11f925392de2e
Signed-off-by: huangjq9 <huangjq9@motorola.com>
Reviewed-on: https://gerrit.mot.com/1411693
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Lijun Chen <chenlj2@motorola.com>
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
2019-08-27 21:32:10 -05:00
huangjq9 b14e4bdafb sar-sensor: add sar-sensor drviers
vendor: Abov
device: a96t346

Change-Id: If31c6f873d51eb17fb7d285aa29d5c68d03f3731
Signed-off-by: huangjq9 <huangjq9@motorola.com>
Reviewed-on: https://gerrit.mot.com/1399966
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2019-08-09 09:47:56 +00:00
huangjq9 57b272c252 sofia: sx933x: Compatible with external LDO.
The default driver uses the PMIC's LDO output.
The sofia project uses an external LDO power supply.
Make the driver compatible with external LDO power.

Change-Id: I0a7d42dbbbd3ae80e65bcd742309f99c532d39f1
Signed-off-by: huangjq9 <huangjq9@motorola.com>
Reviewed-on: https://gerrit.mot.com/1379366
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wen Xie <xiewen3@motorola.com>
Reviewed-by: Lijun Chen <chenlj2@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
2019-07-08 01:38:13 +00:00
xigualu 506d47114a input: touchscreen: synaptics_dsx: add new touch driver
This is the reference driver source code for Synaptics touch driver.

Change-Id: Id35f12526ba8d8dfe114a0ec337060e7df9877bb
Signed-off-by: xigualu <luxh0702@thundersoft.com>
Git-commit: 648ee265de0dc2d852719b730fd1dfab153f7f55
Git-repo: https://source.codeaurora.org/external/thundersoft/ihvjointlab/sensor-driver/commit/?h=Synaptic_dsx
Signed-off-by: Xin Hua Lu <luxinhua@codeaurora.org>
2019-06-24 22:43:14 -07:00
Rick Huang cb4493d8b8 input: touchscreen: st: add touch notification when suspend
When tap or swipe in a dedicated region, tp driver will notify
the subsystem/driver who has registered.
And this feature is not enabled by default; write the sysfs node
to enable it by demand.

Change-Id: Ie6312e8a0680b0abb9fed9a647bc9cee36985286
Signed-off-by: Rick Huang <rhuang@codeaurora.org>
Signed-off-by: Fei Mao <feim1@codeaurora.org>
2019-04-08 09:09:06 +08:00
Ryan Lattrel ca50551fda sx933x: add recal on flip
Recalibrate the capsensor when the extcon
flip device is changed.

Requires an extcon parameter in the device
tree node.

Change-Id: I7a7408a064620fdd67a55a7f2f877d4a3542bf00
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1290732
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Konstantin Makariev <kmakariev@motorola.com>
Submit-Approved: Jira Key
2019-01-29 13:43:56 -06:00
David Collins 47598dd0e8 input: misc: qpnp-power-on: add support to power off a modem chip
Add support to power off an attached modem chip via its primary
PMIC.

Change-Id: I74ef989f15cb8821c1543da76cc92526b1a4ec99
Signed-off-by: David Collins <collinsd@codeaurora.org>
2019-01-18 12:04:53 -08:00
hujing3 6f0074005e DLKM: focaltech tp firmware support for ft5446
surfNA: focaltech new ft5422u IC support
add new ft5446/5422u firmware upgrade logic

Change-Id: I91f8bd41f6ea4cc2d7cd8999e3d4e87ee8742918
Signed-off-by: hujing3 <hujing3@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1285518
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Deng <dengwei1@motorola.com>
Reviewed-by: Wang Wang <wangwang1@lenovo.com>
Submit-Approved: Jira Key
2018-12-20 02:27:15 -06:00
Ryan Lattrel 53d25de060 sx933x: calibrate on phone present
Limit the recalibration on phone power supply
events to present changed.

Change-Id: I6c6a49820ef93c3062c13c56aa3322b495ea40b4
Signed-off-by: Ryan Lattrel <ryanl@motorola.com>
Reviewed-on: https://gerrit.mot.com/1279109
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Kenneth Kessler <kennykessler@motorola.com>
Submit-Approved: Jira Key
2018-12-10 15:25:52 -06:00