No rule to make target 'drivers/input/sensors/compass/mmc328x.c',
needed by 'drivers/input/sensors/compass/mmc328x.o'.
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: Ic29c4ebfb85f482470e7e5d24f2e6429187fda37
up_read() may wakeup some tasks, so do not call up_read() in scheduler,
or it will cause deadlock as below:
Thread #4 5 (Name: cpu3, state: debug-request) (Suspended : Container)
queued_spin_lock_slowpath() at qspinlock.c:369 0xffffff8008119120
queued_spin_lock() at qspinlock.h:88 0xffffff8008f0a470
do_raw_spin_lock() at spinlock.h:180 0xffffff8008f0a470
__raw_spin_lock() at spinlock_api_smp.h:143 0xffffff8008f0a470
_raw_spin_lock() at spinlock.c:144 0xffffff8008f0a470
rq_lock() at sched.h:1,244 0xffffff80080f2f4c
ttwu_queue() at core.c:2,442 0xffffff80080f2f4c
try_to_wake_up() at core.c:2,658 0xffffff80080eb998
wake_up_q() at core.c:450 0xffffff80080eb6a8
rwsem_wake() at rwsem-xadd.c:703 0xffffff800811a44c
__up_read() at rwsem.h:107 0xffffff8008118930
up_read() at rwsem.c:122 0xffffff8008118930
cpufreq_task_boost() at cpufreq_interactive.c:1,449 0xffffff8008a4bdb4
enqueue_task_fair() at fair.c:5,285 0xffffff80080f7814
enqueue_task() at core.c:1,324 0xffffff80080ec15c
activate_task() at core.c:1,346 0xffffff80080ec15c
ttwu_activate() at core.c:2,240 0xffffff80080f2fc0
ttwu_do_activate() at core.c:2,299 0xffffff80080f2fc0
ttwu_queue() at core.c:2,444 0xffffff80080f2fc0
try_to_wake_up() at core.c:2,658 0xffffff80080eb998
wake_up_q() at core.c:450 0xffffff80080eb6a8
futex_wake() at futex.c:1,636 0xffffff8008159e78
do_futex() at futex.c:3,714 0xffffff8008158fb0
__do_sys_futex() at futex.c:3,770 0xffffff800815bd98
__se_sys_futex() at futex.c:3,738 0xffffff800815bd98
__arm64_sys_futex() at futex.c:3,738 0xffffff800815bd98
__invoke_syscall() at syscall.c:36 0xffffff8008098d6c
invoke_syscall() at syscall.c:48 0xffffff8008098d6c
el0_svc_common() at syscall.c:117 0xffffff8008098d6c
el0_svc_handler() at syscall.c:163 0xffffff8008098ccc
el0_svc() at entry.S:940 0xffffff8008083d08
Fixes: 2d367d61e8 (cpufreq: interactive: introduce boost cpufreq interface for task)
Change-Id: I9607faa5ede3a662e7f2f55da29b08fc328f4d43
Signed-off-by: Liang Chen <cl@rock-chips.com>
restore vcm_config ioctl deleted by commit a3907e42d2 ("media: add motor driver of MP6507 for camera IRIS/FOCUS/ZOOM")
Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
Change-Id: I391ec77a31291c65fbb04da1915647be25dcf4b5
fix compile error: implicit declaration of function 'rkisp_ioctl'
Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
Change-Id: Ic4822eb6697d300c76d0845d90284ae5940caa4a
Test:
CtsAppExitTestCases
android.app.cts.ActivityManagerAppExitInfoTest#testLmkdKill
Android R Go's lmkd needs this configuration to correctly match vmstat,
enable it to make lmkd work properly.
Signed-off-by: Bian Jin chen <kenjc.bian@rock-chips.com>
Change-Id: I0b88921d9fadb33b91512a9dd911bca811c4bc31
Test:
CtsAppExitTestCases
android.app.cts.ActivityManagerAppExitInfoTest#testLmkdKill
Android R Go's lmkd needs this configuration to correctly match vmstat,
enable it to make lmkd work properly.
Signed-off-by: Bian Jin chen <kenjc.bian@rock-chips.com>
Change-Id: I57ee648f70f7b44755f7ddb0d8bb3082273e926b
RK808\RK818 have November 31st,Other chips fixed the problem.
Fixes: f076ef44a4 ("rtc: rk808: Compensate for Rockchip calendar
deviation on November 31st")
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Change-Id: I8977a14abcc3973728b5941951d17d493b3955d4
Add device tree binding documentation for the OV12D2Q sensor.
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: Id73ef1715af9f25b6c333fbcec1177fc450c0d13
Add device tree binding documentation for the OV2775 sensor.
Signed-off-by: Zefa Chen <zefa.chen@rock-chips.com>
Change-Id: I17d6b0ef08e59289768b0155b9cec43f2d08943e
Since RK356x, the USB PHY GRF adds new registers to select
bvalid from USB PHY or GRF. And in RK356x Maskrom USB driver,
it selects the bvalid from GRF and sets the bvalid value to 1,
it aims to improve the compatibility of various USB circuits
for Maskrom USB. However, the charger detection and USB PHY
power consumption control depends on the bvalid of USB PHY.
So this patch selects bvalid from USB PHY for otg port.
Change-Id: I3fc9faf06f30e0a3390bc4fd40c732fb856131f8
Signed-off-by: William Wu <william.wu@rock-chips.com>
According to test: Cluster can work with >, But
Esmart must enable gt2 when src_h = 2 * dst_h;
Change-Id: I3347eb4e340df093f7ab29afcb3a80ae5e03b0cc
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
1) Increase uart number to 10
2) Enable digital codec interface
3) Add wacom_9013 and cyttsp5 touch drivers
4) enable es7202 & es7243e
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Change-Id: Ifd78e2d021a829f868017837a0e5916aba95b070
GVI only can use VOP sclk as combtxphy reference clock.
Change-Id: I919bdceaac6d7bb97658d958fecb52971117c82b
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
If dwc3 failed to init ep0 in __dwc3_gadget_start(), the ep0state will
be uninitialized, aka, ep0state is EP0_UNCONNECTED, in this case, we
don't need to wait for control transfer completion when stop gadget
because no usb control transfer in process. This patch can help to avoid
the following warning in RK356x Boards during shutdown process.
[ 30.735323] usb ffs open D 0 309 1 0x0400002d
[ 30.735330] Call trace:
[ 30.735336] __switch_to+0xe4/0x138
[ 30.735348] __schedule+0x2f4/0x930
[ 30.735358] schedule+0x38/0xa0
[ 30.735368] schedule_timeout+0x194/0x478
[ 30.735378] wait_for_common+0x130/0x1e8
[ 30.735388] wait_for_completion_timeout+0x10/0x18
[ 30.735399] dwc3_gadget_pullup+0x68/0xc8
[ 30.735411] usb_gadget_disconnect+0xf0/0x110
[ 30.735422] usb_gadget_remove_driver+0x24/0x70
[ 30.735431] usb_gadget_unregister_driver+0xd0/0x120
[ 30.735441] unregister_gadget+0x20/0x50
[ 30.735450] unregister_gadget_item+0x24/0x38
[ 30.735461] ffs_data_clear+0x120/0x130
[ 30.735471] ffs_data_reset+0x14/0x58
[ 30.735480] ffs_data_closed+0x88/0xd8
[ 30.735490] ffs_ep0_release+0x10/0x20
[ 30.735501] __fput+0x88/0x1b8
[ 30.735510] ____fput+0xc/0x18
[ 30.735521] task_work_run+0x94/0xb0
[ 30.735531] do_exit+0x334/0xa28
[ 30.735540] do_group_exit+0x34/0x98
[ 30.735550] get_signal+0xe4/0x828
[ 30.735557] do_signal+0x1c0/0x298
[ 30.735563] do_notify_resume+0xd0/0x118
[ 30.735568] work_pending+0x8/0x10
[ 30.735602] sysrq: Kill All Tasks
Change-Id: I3534b710804e099d857149b0b0b58a7a7236b8fc
Signed-off-by: William Wu <william.wu@rock-chips.com>
Test:
CtsIncrementalInstallHostTestCases
android.incrementalinstall.cts.IncrementalFeatureTest
This config will enable the Incremental File System, which allows
Android OS to receive streamed APKs over adb.
Signed-off-by: Bian Jin chen <kenjc.bian@rock-chips.com>
Change-Id: I4237fdeb1f5edf0e5f662236e6c97a6d7aae19e3
It seem we lose struct dw_pcie definition on the way of
rebasing the orinial commit. Fix it.
Change-Id: I0f97b20960f5647251257cf65e862aeaa39f2b7d
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
The original waiting time is too long for setting up a link, so
let's decrease it to 10s which is enough for real usecase.
Change-Id: Ifb1eb0d7784e9afeef165f084bc3bda49b41618e
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>