Get the requrement from vendor .
Power off vsp ,delay 2ms, then power off vddio.
Change-Id: I5ed5326c3961ebd48be1caab9b4c93df5d4d69ab
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2041117
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
If enable fcc step feature,fcc will ramp change as it will
cause delay in limiting main charge current. we need to quick
limit main fcc while CP enable, otherwise there is
a risk that cp enable fail.
Change-Id: Iff36b50b58fc1dc84dc6c77b140ea0efa9c05785
Signed-off-by: chailu1 <chailu1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2038838
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
In order to be consistent with the first panel(tianma),
we change the bit width of csot_panel's backlight to 10bits.
From DVT2, these code will be otp,So we can not send the init code to change bit width.
Change-Id: I852d64671ddcf8040bdd5e7e8f1b528f23e47066
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2038441
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
In order to be consistent with the first panel(tianma),
we change the bit width of csot_panel's backlight to 10bits.
Change-Id: I9dd42c9578c3c30f17b7567fc0863bb1642a21e0
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2038394
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
corfur:
Don't power off when suspend, keep power and reset on, but reset
when resume to meet IC spec.
Change-Id: I00844e360b70a70e7138f965afe4b35767addc5b
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2037764
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
- Since now we having display/touch current drain issue when suspend,
so need to set rst pin to low when suspend and add reset process to
change rst pin to high when resume. This change will control int pin by default
and will control rst pin in addition process.
Change-Id: I57c0c3dafb77171ca820a330942181d37b2351fd
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2035342
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
holi-pm6125.dtsi is added by qcom for 4350Pro, but qcom does not
add blair-pm6125-overlay.dtsi fro 6375, and we don't need add it,
it is un-used for us
Change-Id: I9d4c7b625edc8c47264562b3e4ad1a20cf8de090
Reviewed-on: https://gerrit.mot.com/2034017
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xiaofeng Wang <wangxf14@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
When power down, we must disable all power and signal.
Otherwise, electric leakage will be caused.
Change-Id: I43db8f1b0005f60bf626e5b384156053da718d11
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2033722
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
For add PD charging(include PPS/Fixed) policy in DLKM for single
charge path(only pmic charging), so need add usb-pdhandle and
pd current max iio in dtsi for blair.
Change-Id: I66e4ed74df450254abd1ba556f3c3dc76f87f0e1
Signed-off-by: chailu1 <chailu1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2033442
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Haijian Ma <mahj8@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
For add PD charging(include PPS/Fixed) policy in DLKM for single
charge path(only pmic charging), so need add usb-pdhandle and
pd current max iio in dtsi
Change-Id: I07d8b98ecfd8c9e6bd91f08656ac119e209af6b9
Signed-off-by: mahj8 <mahj8@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2029005
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Lu Chai <chailu1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
For "double tap" function, reset and power can not been power down.
So we check touch_state to get the state of "double tap".
If it is enabled ,then we keep reset and power always on.
Change-Id: Ia626726632e67c74df56a1c8870cbfb7e6be26c3
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2031484
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Jun Weng <wengjun1@motorola.com>
Reviewed-by: Zhihong Kang <kangzh@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
- Enable gcore,report_gesture_key for enable report KEY_F1 and KEY_F2
function to make single tap can works properly.
Change-Id: I21e1296e28913296d53321730f00ff79c1e9bd10
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2030594
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Due to the requirement from hardware team, long vibration driver
voltage need to decrease to 2.5V avoid 50M camera noise.
Change-Id: I408ea7aea1032c0e093dfbb7136f8efbacc2ce4f
Signed-off-by: zhouwl <zhouwl@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2030286
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
The near-end eye diagram is more critical than the position of the test pattern.
echo 0x1f> /d/162b000.qusb/bias_ctrl2. the eys signal will improve
so bias_ctrl2 change from 0x22 to 0x1f.
Change-Id: I2e422e38f05b4184e2956497599763cf4d9e5659
Signed-off-by: liuyc20 <liuyc20@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2028943
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
According to hardware suggestion, set default duration 70ms,
voltage 3V(keep same voltage for long & short virations).
Change-Id: I7448e9e9a3889b2ce8512905c9445758a766411f
Signed-off-by: zhouwl <zhouwl@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2027673
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Hujun Liao <liaohj@motorola.com>
Submit-Approved: Jira Key
sync with KP bianxh.
cypfq vib 80ms with 3v will cause nosie.
so set vib-dis-short-long-val to 70ms.
if vib time>70ms ,set vib volt to 2.6v.
Change-Id: Ibbcb4f95bb54631d65e3b457178c3c4d86c9f2b7
Signed-off-by: liaohj <liaohj@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2028749
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Wanlong Zhou <zhouwl@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Per tinno HW team req, enable this feature to control FM
ELNA module, fix FM signal loss issue of HW design.
Change-Id: I29018dbed21e233ece4d9bb5771843384baf4af1
Signed-off-by: duqiu2 <duqiu2@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2027757
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Xianglong Liao <liaoxl@motorola.com>
Reviewed-by: Ying Xu <xuying9@motorola.com>
Reviewed-by: Tao Sun <suntao2@motorola.com>
Submit-Approved: Jira Key
- Enable ilitek,report_gesture_key for enable report KEY_F1 and KEY_F2
function to make single tap can works properly.
Change-Id: Ib303b536c8e4660efc3b150f431b87ef00d19254
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2024904
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
The cypfq's hardware design is differnt with qcom.
GPIO 24 is for Sar not display(panel)
Change-Id: I43c7142fcaa906d2b9d5683ef43c5170dfafa1dc
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2023741
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Change the default output voltage through I2C bus at XBL. And store the default
value to EEPROM. So we can nod make I2C operation at kernel.
Only pull up/down gpio to enable/disable regulator.
Change-Id: I2731acde9558632435df0cab9f9cf6829b736c97
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2020022
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This requirment is come from STPM.
Auto strategy can swith refresh rate at 90/60/120.
But the UI only have auto/60/120
Change-Id: I6545931a8183768e88e40374e7cbb1b3a50bb9c1
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2020019
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
We will use hbm-en-gpio to set the max current.
That we can switch hbm and normal mode.
Change-Id: Id60013b61ebf18cae95d6b3448d3e4e24363156c
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2007870
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
- Since we will only use cypfq in later stages, so add touch dts
for cypfq to prevent confusion.
Change-Id: If3919d1b5652e00b239feb1f3775becb7155d4b1
Signed-off-by: wengjun1 <wengjun1@motorola.com>
Reviewed-on: https://gerrit.mot.com/2014768
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
Vendor's requirment is:
There must be 20ms delay between reset high and download init code.
Change-Id: I29d4000d335c5368eb9e3054a62a73c3e92391cd
Signed-off-by: houdz1 <houdz1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2011966
SME-Granted: SME Approvals Granted
SLTApproved: Slta Waiver
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
arm/dt:
Eanble hbm function for vtdr6110c.
Don't set hbm type, then s/w will set it to oled type.
Change-Id: I2bb4d875603c8326c74f0f563197326f96f56433
Signed-off-by: wangyq13 <wangyq13@lenovo.com>
Reviewed-on: https://gerrit.mot.com/2015039
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key