Age | Commit message (Collapse) | Author |
|
integration-linux-mainline
|
|
Hi6421 regulators: enable DRMS. regulator_set_optimum_mode() can now
be used in hi6421 regulators
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
|
|
Enable two regulator modes in hi6421: REGULATOR_MODE_NORMAL
and REGULATOR_MODE_IDLE.
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
|
|
|
|
|
|
According to hi3620 spec, TCXO is 6.5MHz. So set the fix factor as 4.
While system runs, it seems that TCXO runs at 26MHz. So change it to
26MHz.
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
|
|
Add empty blank operation since android will use this interface.
The real operation will be added later.
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
|
|
arch/arm/mach-hs/ipps2.c:1156:45: error: ‘ipps2_suspend’ undeclared here
(not in a function)
arch/arm/mach-hs/ipps2.c:790:13: warning: ‘trim_patch’ defined but not
used [-Wunused-function]
make[1]: *** [arch/arm/mach-hs/ipps2.o] Error 1
make: *** [arch/arm/mach-hs] Error 2
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
|
|
Enable RGB565 format since android may use 16BPP color format.
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
|
|
Since double buffering is required by android, enable it.
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
|
|
The line_length shouldn't be aligned with 64. Otherwise, driver gets
wrong data on supporting RGB565 format. So remove the align.
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
|
|
integration-linux-mainline
|
|
Add USB configuration to hs_defconfig
Signed-off-by: LiXin <li.xin@linaro.org>
|
|
Fix USB regulator errors.
Signed-off-by: l00218645 <l00218645@notesmail.huawei.com>
|
|
Fix pctrl-register node of DTS.
Signed-off-by: l00218645 <l00218645@notesmail.huawei.com>
|
|
Add USB k3v2_otg node to DTS File.
Signed-off-by: l00218645 <l00218645@notesmail.huawei.com>
|
|
Add usb configration to Kconfig & Makefile.
Signed-off-by: l00218645 <l00218645@notesmail.huawei.com>
|
|
Add susb driver for USB.
Signed-off-by: l00218645 <l00218645@notesmail.huawei.com>
|
|
Add usb otg dirver.
Signed-off-by: l00218645 <l00218645@notesmail.huawei.com>
|
|
Add usb gadget driver for usb.
Signed-off-by: l00218645 <l00218645@notesmail.huawei.com>
|
|
ADD lm bus driver for USB.
Signed-off-by: l00218645 <l00218645@notesmail.huawei.com>
|
|
Simplify the divider clock driver for hi3620 SoC by optimizing the
div-table in DTS file.
Signed-off-by: LiXin <li.xin@linaro.org>
|
|
Fix hi6421-irq can not wakeup after resume from deepsleep.
Signed-off-by: LiXin <li.xin@linaro.org>
|
|
|
|
dw_mci_hs_tun has to be re-tuned after resume, so define dw_mci_hs_pmops instead
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
|
|
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
|
|
Fix commit abf60caf7dd59ef16e1a8b807e4f039bdaf979f2 issue
Unfortunately, if using workaround, touch will report i2c_dw_handle_tx_abort
While works well if no such workaround
So disable the workaround while still keep the code
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
|
|
TS_DEBUG_ATMEL is removed when porting, caused finger_count error
Original code:
if (!ts->first_pressed)
TS_DEBUG_ATMEL("k3ts, %s: S%d@%d,%d\n", __func__,
idx + 1, ts->finger_data[idx].x, ts->finger_data[idx].y);
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
|
|
|
|
integration-linux-mainline
|
|
If 'no_consle_suspend' is set in kernel cmdline, debuguart needs to be
reinitialized when system resumes. If 'no_console_suspend' is not set,
reinitialization is not required.
Note: this is only a workaround way. To solve the issue, either we don't
shutdown some resources in serail driver's suspend; or we need to
dynamically find out which uart is being used as console (here we
hardcoded it as uart0).
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
|
|
cpu_kill wait cpu_die finish.
solve kernel hung when suspend without no_console_suspend
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
|
|
Using RTC as a wakeup source
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
|
|
How to test: Documentation/rtc.txt
echo +n > /sys/class/rtc/rtc1/wakealarm; (n is seconds to genetate wakeup irq)
echo mem > /sys/power/state
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
|
|
Disable regulator LDO9 Which can change the status of EFUSE. The error
status of EFUSE will crash the system during boot and resume of SR.
Signed-off-by: LiXin <li.xin@linaro.org>
|
|
Add power-management device tree node
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
|
|
Add suspend/resume and poweroff functionality into mach-hs
platform.
Signed-off-by: Guodong Xu <guodong.xu@linaro.org>
|
|
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
|
|
INT_TC1 value will be changed even irq is masked
Missing irq will happen if clear intertupt with INT_TC1 value
Instead, using INT_STAT value, which is masked value
Signed-off-by: Zhangfei Gao <zhangfei.gao@linaro.org>
Signed-off-by: Kai Yang <jean.yangkai@huawei.com>
|
|
integration-linux-mainline
|
|
Add FBIO_WAITFORVSYNC ioctl.
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
|
|
Use different node names on pinmux func & idle state. Otherwise, idle
state couldn't be parsed correctly.
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
|
|
|
|
|
|
|
|
Fix first parameter of dev_err in k3_keypad.c
Signed-off-by: LiXin <li.xin@linaro.org>
|
|
Disable framebuffer console since it results in system hang.
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
|
|
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
|
|
Support pwm driver of Hisilicon Hi3620 SoC.
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
|
|
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
|