Commit Graph

610646 Commits

Author SHA1 Message Date
Wyon Bi
9f63cec05b drm/rockchip: rgb: Fix pinctrl handling
Change-Id: I473f51993b97b3f597d906044d4d61e1af2cf5a7
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2018-08-02 18:57:49 +08:00
Sugar Zhang
7c519d6367 arm64: configs: rk3308_linux_defconfig: enable spdifrx
Change-Id: I07924238245bf07be4089774244ddc579937b547
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2018-08-02 18:57:29 +08:00
Sugar Zhang
1c6a0b6fde arm64: dts: rockchip: rk3308-evb-*: add spdifrx sound
Change-Id: I90a91f9d3364d8eeb3f1c8e757a682fe079c8150
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2018-08-02 18:57:29 +08:00
Sugar Zhang
065f1b01c9 arm64: dts: rockchip: rk3308: add spdifrx node
Change-Id: I3a2423ae362b169b870afb7d8b2d2414a2297ec1
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2018-08-02 18:57:29 +08:00
Sugar Zhang
4c9189ae95 ASoC: rockchip: add support for spdif receiver
The SPDIF receiver is a self-clocking, serial, unidirectional
interface for the interconnection of digital audio equipment
for consumer and professional applications.

Change-Id: Ic73337671b37c8c45352e523a875281edd552d1b
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2018-08-02 18:57:29 +08:00
Huibin Hong
628b6a666d arm64: dts: rockchip: remove unused #dma-cells for rk3328
Change-Id: I936f240665b5c905e0af41a3e9dd97e0b7379473
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
2018-08-02 18:56:02 +08:00
Huibin Hong
ce8a0ab67f arm64: dts: rockchip: remove unused #dma-cells for rk3308
Change-Id: I74edbf82a77e1aaccc75c196ed70714fa0182787
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
2018-08-02 18:56:02 +08:00
Huibin Hong
884fc81020 arm64: dts: rockchip: remove unused #dma-cells for px30
Change-Id: Ibb85ffe525246285e54bb034b8acbf66025516ba
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
2018-08-02 18:56:02 +08:00
allon.huang
e8f7b6378a media: rockchip: mipi: reorder mipi dphy configuration sequence
Reorder mipi configuration sequence for rk3288/rk3399
according to ip reference

Add comments to explain the sequence and running state

All mipi phy1 are controlled by isp

Change-Id: Ib5ad9edac4229acb5fa7f2088a9601d210a816f4
Signed-off-by: Allon Huang <allon.huang@rock-chips.com>
2018-08-02 14:05:02 +08:00
Finley Xiao
16a6e0b5ba arm64: dts: rockchip: rk3308: Raise voltage for 1008MHz, 1200MHz and 1296MHz
In order to cover the chips passed cp test program(1.3g 1.175v).

Change-Id: I4e19aefd914258e8d1e6d331b6f584aa7d0c4822
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-08-01 21:07:10 +08:00
Tao Huang
690a7a7faa ARM: rockchip_defconfig: Add VTI support
https://android.googlesource.com/kernel/configs
7a4e85661078 ("Enable options required by netd.")

The netd in master requires some additional options to be enabled for
the new (non-optional) XfrmController functionality.

Change-Id: I3e96ef1e9b09758f4b8d149f9025573ff01e09ec
Signed-off-by: Zhangbin Tong <zebulun.tong@rock-chips.com>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2018-08-01 17:46:47 +08:00
Tao Huang
fc6f6943c2 arm64: rockchip_defconfig: Add VTI support
https://android.googlesource.com/kernel/configs
7a4e85661078 ("Enable options required by netd.")

The netd in master requires some additional options to be enabled for
the new (non-optional) XfrmController functionality.

Change-Id: I12677ee23774c2cdf899b04d5da204ff1ffc74de
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2018-08-01 17:23:11 +08:00
Wyon Bi
6384e5a1ac drm/rockchip: lvds: Reverse sample clock direction on px30
Fix display corruption when vdd_log equals 0.95v.

Change-Id: Ie3b44322b557889a2f91b5af59662f96d73af44c
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2018-08-01 15:03:38 +08:00
Yao Xiao
9e3c7c7ba5 net: wireless: fix wifi disconnect when suspended
Change-Id: Ifbe36bc9cbfd12a7cd206ab0828cfda20af43b6a
Signed-off-by: Yao Xiao <xiaoyao@rock-chips.com>
(cherry picked from commit 9eb169172a (develop-3.10))
2018-08-01 09:52:11 +08:00
Zhangbin Tong
e1f6f6e613 ARM: rockchip_defconfig: update by savedefconfig
Change-Id: I08c55a80089d439d4750fae427fec8eb471cdb88
Signed-off-by: Zhangbin Tong <zebulun.tong@rock-chips.com>
2018-07-31 15:55:30 +08:00
Heiko Stuebner
ac2fcc390c UPSTREAM: arm64: dts: rockchip: add rk3399 dw-mmc resets
dw-mmc got its reset-properties specified, so add the softresets
for it on the rk3399.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Tested-by: Shawn Lin <shawn.lin@rock-chips.com>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
(Cherry-picked from 04dc7f6203)

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>

Conflicts:
	arch/arm64/boot/dts/rockchip/rk3399.dtsi

Change-Id: I69b8cfeef113a259b930308965e33b915026a3d7
2018-07-31 15:53:29 +08:00
Finley Xiao
268517c2e7 arm64: dts: rockchip: Assign nandc, emmc, sdio and sdmmc clock to DIV50 for px30
Change-Id: Iebfe0235c01f0b4c7093f1c9ef3aafe2fc2a2041
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-07-31 15:49:14 +08:00
Finley Xiao
83c3c4ffee clk: rockchip: px30: Add div50 clocks for sdmmc, emmc, sdio and nandc
Change-Id: I45d06b01b05afbe14a4a8b86e7abec7a6f25e267
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-07-31 15:48:45 +08:00
Chen Jinsen
2cff4571e0 ARM: dts: rk3288-th804: bind dsi to vopb for panel
The aclk_vop is limited by vio_limit_freq and RK3288_LIMIT_PLL_VIO1
set as 410MHZ. if bind dsi to vopl (the clk freq will be 272MHZ),
it will be some scenarios with insufficient frame rates

Change-Id: I2fe15d51c579dbc5fe666cfb320055f0e179d2fc
Signed-off-by: Chen Jinsen <kevin.chen@rock-chips.com>
2018-07-31 15:47:35 +08:00
Ziyuan Xu
80e853f602 net: wireless: bcmdhd: fixup sdio wifi deivice response crc error while resume
Change-Id: I3a9aa6f5346c2393ae0c90ab1592bc043c5f2d25
Signed-off-by: Ziyuan Xu <xzy.xu@rock-chips.com>
Signed-off-by: Yao Xiao <xiaoyao@rock-chips.com>
2018-07-31 15:45:55 +08:00
Yao Xiao
b4f51792fa mmc: core: export retune_enable/disable api for wifi drivers
Change-Id: I084e155ed71057fa7f39e160a4f3fde964557185
Signed-off-by: Yao Xiao <xiaoyao@rock-chips.com>
2018-07-31 15:45:25 +08:00
Herman Chen
0dfdb6557f video: rockchip: Fix warning by checkpatch
Fix warning reported by checkpatch.sh

Change-Id: I3973c7387c64a2c3b5b21f311869fe58ed49597c
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2018-07-31 15:44:12 +08:00
Tang Yun ping
90efddf9eb PM / devfreq: rockchip_dmc: add rk322x dfs init code
Change-Id: I5d81d19286dda9ddd096e648ec59370389c296e1
Signed-off-by: Tang Yun ping <typ@rock-chips.com>
2018-07-31 15:17:16 +08:00
Herman Chen
f9fb1637dc video: rockchip: Fix error on device remove
Fix vcodec_remove errors:
1. vcodec_remove needs to call corresponding subdev remove according to
subdev count.
2. Kernel vpu_session has to be freed with main device rather than
subdev remove.
3. Workqueue should be clear on device remove.
4. devfreq_unregister_opp_notifier and dev_pm_opp_of_remove_table
should be call to insure next insmod's success.
5. These is a great defect on subdev probe: the subdev has no
corresponding driver. The connection on main device and subdev is only
the dts name. This should be fixed in next framework. And now we have
to clear the resource allocated in subdev then we can insure next
insmod's success.

Change-Id: I336331e9e88564a5602796755f02af1786ddd7f9
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2018-07-31 09:54:44 +08:00
Lin Huang
ca01ec35d7 UPSTREAM: arm64: dts: rockchip: assign clock rate for cpll child clocks on rk3399
These clocks do not assign default clock frequency, and use the
default cru register value to get frequency, so if cpll increase
frequency, these clocks also increase their frequency, that may
exceed their signed off frequency. So assign default clock for
them to avoid it.

NOTE: on none of the boards currently in mainline do we expect
CPLL to be anything other than 800 MHz, but some future boards
might have it. It's still good to be explicit about the clock
rates to make diffing against future boards easier and also to
rely less on BIOS muxing.

Signed-off-by: Lin Huang <hl@rock-chips.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
(cherry picked from commit e702e13f0b)
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>

Change-Id: If6a2341e2797f3c35f90fe1c621b1df13632694e
2018-07-30 17:57:51 +08:00
Shunqian Zheng
d7f331169b UPSTREAM: arm64: dts: rockchip: assign clock rate for ACLK_VIO on rk3399
The ACLK_VIO is a parent clock used by a several children,
its suggested clock rate is 400MHz. Right now it gets 400MHz
because it sources from CPLL(800M) and divides by 2 after reset.
It's good not to rely on default values like this, so let's
explicitly set it.
NOTE: it's expected that at least one board may override cru node and
set the CPLL to 1.6 GHz. On that board it will be very important to be
explicit about aclk-vio being 400 MHz.

Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
(cherry picked from commit 3f7f3b0fb4)
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>

Conflicts:
	arch/arm64/boot/dts/rockchip/rk3399-gru.dtsi

Change-Id: Iadd22356e399e8d9b3a1f2bec981f2b41d813f3c
2018-07-30 17:56:23 +08:00
Shunqian Zheng
394c4096b7 UPSTREAM: arm64: dts: rockchip: set to CCI clock of RK3399 to 600M
Per testing, this can reduce the memory latency and d8 gets
better scores.

Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
(cherry picked from commit bb4b6201d2)
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>

Change-Id: I6f305e0bc60a91f18f606fb7a8012d80fcd378b5
2018-07-30 17:47:41 +08:00
Jaehoon Chung
31911458d6 UPSTREAM: arm64: dts: rockchip: replace to "max-frequency" instead of "clock-freq-min-max"
In drivers/mmc/core/host.c, there is "max-freqeuncy" property.
It should be same behavior, So Use the "max-frequency" instead of
"clock-freq-min-max".

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
(cherry picked from commit c49590691f)
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>

Conflicts:
	arch/arm64/boot/dts/rockchip/rk3368-orion-r68-meta.dts

Change-Id: I92f321b167cf4af9bb91e4814e797f0429ad80af
2018-07-30 17:47:19 +08:00
Lin Jianhua
c56df50fad ARM: dts: rockchip: rk3308-dot-v10-aarch32: wifi ext_clk_freq change to ref-clock-frequency
Change-Id: I2e796ba38736cc7da40436fcd8635f2ab4e0dbd5
Signed-off-by: Lin Jianhua <linjh@rock-chips.com>
2018-07-30 17:20:03 +08:00
Nick Desaulniers
56bb2ed623 tracing: do not leak kernel addresses
CVE-2017-0630

This likely breaks tracing tools like trace-cmd.  It logs in the same
format but now addresses are all 0x0.

Bug: 34277115
Change-Id: Ifb0d4d2a184bf0d95726de05b1acee0287a375d9
Signed-off-by: Jian Qiu <qiujian@rock-chips.com>
2018-07-30 16:57:51 +08:00
Finley Xiao
5f09850f65 clk: Fix error parent when show and change parent clock
This patch fixes the following crash:

Internal error: Accessing user space memory outside uaccess.h routines:
96000005 [#1] PREEMPT SMP
Modules linked in: bcmdhd
CPU: 2 PID: 1293 Comm: cat Not tainted 4.4.138 #873
Hardware name: Rockchip PX30 evb ddr3 board (DT)
task: ffffffc044f0de80 task.stack: ffffffc044040000
PC is at clock_available_parent_show+0x58/0x78
LR is at seq_read+0x120/0x404
pc : [<ffffff800885a470>] lr : [<ffffff80081e2128>] pstate: 80400145
sp : ffffffc044043cd0
x29: ffffffc044043cd0 x28: ffffffc053f8c880
x27: ffffffc044fce400 x26: ffffffc044043d78
x25: ffffffc044043eb0 x24: 0000005b07cd4868
x23: ffffff8009196000 x22: ffffffc00a28d100
x21: ffffff8008f89317 x20: ffffffc053f8c840
x19: 0000000000000000 x18: 00000075016fd000
x17: 0000007501694f4c x16: ffffff80081c0dac
x15: aaaaaaaaaaaaaaab x14: 0000007501000000
x13: 0000000000000000 x12: 0000000000000000
x11: 0000000000000001 x10: 0101010101010101
x9 : 0000000000001000 x8 : 000000000000003f
x7 : ffffff8009196000 x6 : ffffff80081e2008
x5 : ffffff8008c75170 x4 : 0000000000000000
x3 : 0000000000000000 x2 : ffffff800885a418
x1 : 0000000000000001 x0 : 0000000000000000

Internal error: Accessing user space memory outside uaccess.h routines:
96000005 [#1] PREEMPT SMP
Modules linked in: bcmdhd
CPU: 1 PID: 1036 Comm: sh Not tainted 4.4.138 #871
Hardware name: Rockchip PX30 evb ddr3 board (DT)
task: ffffffc04c2e1b00 task.stack: ffffffc052868000
PC is at clock_parent_write+0x100/0x158
LR is at clock_parent_write+0xe4/0x158
pc : [<ffffff800885c310>] lr : [<ffffff800885c2f4>] pstate: 80400145
sp : ffffffc05286bb40
x29: ffffffc05286bb40 x28: ffffffc04c2e1b00
x27: ffffff8008b62000 x26: 0000000000000040
x25: 000000000000011d x24: ffffffc00a28d100
x23: ffffff8009196000 x22: 0000000000000008
x21: ffffff8009196000 x20: 0000000000000000
x19: 000000000000000e x18: 0000007a98c56000
x17: 0000007a98bee57c x16: ffffff80081c0e68
x15: aaaaaaaaaaaaaaab x14: 0000007a98600000
x13: 000000000000000d x12: 0000000000000019
x11: 0000000000000000 x10: 0000000000000001
x9 : 0000000000000000 x8 : ffffff80091c5850
x7 : ffffff80093efcd0 x6 : ffffffc05286bb96
x5 : ffffffc05286bb96 x4 : 0000000000000140
x3 : ffffffc052873b87 x2 : cb88537fdc8ba68a
x1 : 0000000000000000 x0 : 0000000000000000

Fixes: cd6fa34b83 ("clk: add/modify debugfs support for clocks")
Change-Id: I5988376845ef5ad096219c548055972c0998e02c
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-07-30 16:45:56 +08:00
Weiguo Hu
285184880f net: wireless: rockchip_wlan: ssv6051 remove debug log
Change-Id: I989a0375daf7c7f4885fa1a3213be2dbada18781
Signed-off-by: Weiguo Hu <hwg@rock-chips.com>
2018-07-30 16:39:49 +08:00
Jian Qiu
9ce8852cca staging: android: sync: fix CVE-2016-6684
CVE-2016-6684

An information disclosure vulnerability in Sync could enable a local
malicious application to access data outside of its permission levels.
The format specifier %p can leak kernel addresses while not valuing
the kptr_restrict system settings.
The fix is designed to use %pK instead of %p, which also evaluates
whether kptr_restrict is set.

Change-Id: I6d52a4d6193770b3fa1479a1086a5d73a210de07
Signed-off-by: Jian Qiu <qiujian@rock-chips.com>
2018-07-30 16:33:06 +08:00
Huibin Hong
882829d5bf Bluetooth: hci_ldisc: fix race between open, close and send data
Fix the bug below, it may be reproduced after open and close bt about 7000 times:

<1>[73036.938137] Unable to handle kernel NULL pointer dereference at virtual address 0000001c
<1>[73036.939316] pgd = ffffff800886d000
<1>[73036.939627] [0000001c] *pgd=000000000fffe003, *pud=000000000fffe003, *pmd=0000000000000000
<0>[73036.940396] Internal error: Oops: 96000006 [#1] PREEMPT SMP
<4>[73036.940899] Modules linked in:
<4>[73036.941193] CPU: 2 PID: 2989 Comm: kworker/2:2 Not tainted 4.4.138 #3
<4>[73036.942409] Workqueue: events hci_uart_write_work
<4>[73036.942836] task: ffffffc00d688ac0 task.stack: ffffffc00b184000
<4>[73036.943365] PC is at _raw_spin_lock_irqsave+0x1c/0x50
<4>[73036.943815] LR is at skb_dequeue+0x20/0x74
<4>[73036.944185] pc : [<ffffff8008576398>] lr : [<ffffff800840f9a4>] pstate: 800001c5
<4>[73036.944832] sp : ffffffc00b187d00
<4>[73036.945127] x29: ffffffc00b187d00 x28: 0000000000000000
<4>[73036.945620] x27: 0000000000000000 x26: 0000000000000000
<4>[73036.946114] x25: ffffffc00e1280e0 x24: ffffffc00038d000
<4>[73036.946606] x23: ffffffc00e1271f8 x22: ffffffc00e127f00
<4>[73036.947099] x21: 000000000000001c x20: 0000000000000008
<4>[73036.947592] x19: 0000000000000000 x18: 0000000000000000
<4>[73036.948086] x17: 0000007fade08530 x16: ffffff80080e308c
<4>[73036.948579] x15: 0000000000000000 x14: 65736f6c63207568
<4>[73036.949073] x13: 205d303537373339 x12: 2e36333033375b0a
<4>[73036.949566] x11: 3220746e63666572 x10: 00000000000006f0
<4>[73036.950060] x9 : ffffffc00b187d30 x8 : ffffffc00d689210
<4>[73036.950553] x7 : 0000000000002d31 x6 : 0000000000000400
<4>[73036.951046] x5 : 0000000000113d82 x4 : 0000000000002f32
<4>[73036.951539] x3 : 0000000000000140 x2 : ffffffc00d688ac0
<4>[73036.952032] x1 : 0000000000000001 x0 : 000000000000001c
<4>[73037.068289] [<ffffff8008576398>] _raw_spin_lock_irqsave+0x1c/0x50
<4>[73037.068858] [<ffffff8008377094>] h4_dequeue+0x14/0x1c
<4>[73037.069335] [<ffffff8008376924>] hci_uart_write_work+0x50/0x12c
<4>[73037.069893] [<ffffff80080abbc8>] process_one_work+0x1b0/0x294
<4>[73037.070426] [<ffffff80080ac920>] worker_thread+0x2d8/0x398
<4>[73037.070935] [<ffffff80080b0f28>] kthread+0xc8/0xd8
<4>[73037.071388] [<ffffff8008082e80>] ret_from_fork+0x10/0x50

	thread0               		thread1
	   |				   |
	hci_uart_tty_close		hci_uart_write_work
	   |				   |
	h4_close			h4_dequeue
	   |				   |
	free (h4_struct) h4		   |
	   |             _raw_spin_lock_irqsave access h4 null pointer

Change-Id: I61d8ad5fb4c9349e0a304d2e87332681240f22e2
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
2018-07-30 14:09:04 +08:00
xiaoyao
5444d248aa ARM: dts: rockchip: wireless-wlan support ext clk for rk3308-voice-module-mainboard-v10-aarch32
Change-Id: I13bf086f7b8f58606609e16e3ce0acac13f6dbc1
Signed-off-by: xiaoyao <xiaoyao@rock-chips.com>
2018-07-27 17:22:20 +08:00
xiaoyao
b906edb495 net: wifi: clk: rk3308: Add external clock instead of crystal vibration
Change-Id: Iadc3c1976fe09060308cca9bde11f4fab5fd47e2
Signed-off-by: xiaoyao <xiaoyao@rock-chips.com>
2018-07-27 17:20:38 +08:00
William Wu
41ff4d6b62 usb: dwc2: gadget: fix frame overrun issue
The frame_overrun flag is used to indicates
SOF number (current_frame) overrun in DSTS
and the target_frame over DSTS_SOFFN_LIMIT.

Clear the frame_overrun flag only if target_frame
below DSTS_SOFFN_LIMIT and current_frame less
than target_frame.

Change-Id: I91cf9001324a9bbbcc4bc28b335695d607fb69d4
Signed-off-by: William Wu <william.wu@rock-chips.com>
2018-07-27 17:19:06 +08:00
William Wu
504c382d1c usb: gadget: f_uac1: set period size and buffer size
The default period size is only 64 frames, this
will cause usb audio playback with noise via
internal audio codec. This patch sets the period
size to (snd->rate / 10), and also sets the buffer
size to snd->rate.

Change-Id: I4a4eb1b4dd79aec65f5c44eacd8a2fa101dfbd1b
Signed-off-by: William Wu <william.wu@rock-chips.com>
2018-07-27 17:18:48 +08:00
William Wu
1d162b6ce6 usb: gadget: f_uac1: disable ep in f_audio_disable()
The f_audio_disable() doesn't disable usb ep, and
this cause usb enumeration fail. So add usb ep
disable operation.

This patch also reinitializes the opts->bound flag
to false in f_audio_free(), and then it can setup
ALSA audio device again in f_audio_bind().

Change-Id: I7b10630f5085b1a03792bc4b9e7eabb02d2bd5a2
Signed-off-by: William Wu <william.wu@rock-chips.com>
2018-07-27 17:17:09 +08:00
William Wu
e46fe08c85 usb: dwc2: add pm runtime support
Adds pm_runtime support for dwc2, so that power domain is
enabled only when there is a transaction going on to help
save power.

Change-Id: I318552774d20eeaed521ff179f99b2551ee24183
Signed-off-by: William Wu <william.wu@rock-chips.com>
2018-07-27 15:19:06 +08:00
Xing Zheng
85a3a104a2 arm64: dts: rockchip: rk3308-evb: switch to multicodecs for bluetooth_sound
Dues to the loading order of multiple sound cards is
not constant, we need to specify bluetooth pcm sound
as the slave card via 'rockchip,wait-card-locked'
property. It looks like this:

========
From
[    1.180441] ALSA device list:
[    1.180458]   #0: rockchip,rk3308-pcm
[    1.180467]   #1: rockchip,rk3308-vad

To
[    1.175590] ALSA device list:
[    1.175606]   #0: rockchip,rk3308-vad
[    1.175614]   #1: rockchip,rk3308-pcm
========

Change-Id: Ic4d7625ca3b06106a317a59defcc45bab190ae95
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2018-07-27 14:59:05 +08:00
Xing Zheng
94b7e1a99e ASoC: rockchip: add property 'rockchip,wait-card-locked'
Change-Id: I6c81abfe3f57c5db8c547c74929202bd7484ca9a
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2018-07-27 14:57:40 +08:00
Xing Zheng
49950d606a ASoC: rockchip: multicodecs: add support property 'rockchip,wait-card-locked'
Some times, we would like to specify the order of
loading sound card, and can use this property to
wait other sound cards are locked. Therefore, this
sound card with the property should be slave card.

Change-Id: I3dcd77a527ad902a5a3c00bcce2c81cf6e782549
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2018-07-27 14:56:50 +08:00
Liang Chen
d6742a2bf1 cpufreq: rockchip: correct the offset of bin flag in efuse for rk3288w
Change-Id: I15154876e3b54d64b63c9659cfe2548d19ccb7a9
Signed-off-by: Liang Chen <cl@rock-chips.com>
2018-07-27 14:52:39 +08:00
Xing Zheng
533311c112 ASoC: rockchip: update properties for daifmt
Change-Id: Id10b0280c43f941f81afaa8b979903053975f7f9
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2018-07-27 14:48:56 +08:00
Xing Zheng
97555c6a0a ASoC: rockchip: multicodecs: add support sound daifmt
This patch supports parse sound daifmt dynamically.

Change-Id: I63761499dd9e1c16a84a1aba8a04e6dff67a70cc
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2018-07-27 14:48:45 +08:00
Hu Kejun
6bd928b249 media: rk-isp10: update to v0.2.0
Change-Id: I81dbc96a5464a266fbb5adc753a18f433fa58bc7
Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
2018-07-27 11:33:53 +08:00
Hu Kejun
bdf361007e media: rk-isp10: fix the issue cannot set exposure by mp path device
Change-Id: Id057859035356b52e9538df14b908ca631df836c
Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
2018-07-27 11:33:53 +08:00
Hu Kejun
6ac96e1bec media: rk-isp10: get correct isp out width/height
Change-Id: I7d5b9fae16c56ebe108673ba46faa10d9a962b10
Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
2018-07-27 11:33:53 +08:00
Hu Kejun
12a0f8c529 media: rk-isp10: support stream on/off/on/off...
Change-Id: Ia4683924cfdd5cdc3b15ff3cef1a78b36cb6420f
Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
2018-07-27 11:33:53 +08:00