Commit Graph

610502 Commits

Author SHA1 Message Date
Zhang Zhijie
a07ea942e3 OP-TEE: remove lock when call tee
OPTEE supports multicore, so the lock before enter tee
is needless and can be removed to avoid unnecessary waiting.

Change-Id: I4e9c5876ba69e362b598e0c0ca78e12a96704b58
Signed-off-by: Zhang Zhijie <zhangzj@rock-chips.com>
2018-07-13 09:20:19 +08:00
Guochun Huang
78166d0543 arm64: dts: rockchip: rk3399-tve1030g: modified screen timing
Change-Id: If2bdfdbf6364cf8ea25ed9a197e579b18ad5154c
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
2018-07-12 18:48:24 +08:00
William Wu
987105c1ff usb: dwc_otg_310: resize the depth of TxFIFO number 1 and 2
The commit c64eaccc619f ("usb: dwc_otg_310: map ep to
corresponding TxFIFO number") use a fixed mapping between
the endpint addresses and the TxFIFO number. The TxFIFO
number 1 is assigned to ep1-in, and the TxFIFO number 2
is assigned to ep3-in. For uvc function, the ep1-in is
used for uvc control ep (interrupt), and the ep3-in is
used for uvc stream ep. So resize the depth of TxFIFO
number 1 to 512 Bytes, and resize the depth of TxFIFO
number 2 to 1024 Bytes.

Change-Id: I07a89aab01206f6b6f853886d564130abffc1586
Signed-off-by: William Wu <william.wu@rock-chips.com>
2018-07-12 15:52:17 +08:00
William Wu
6e131f29b1 usb: dwc_otg_310: map ep to corresponding TxFIFO number
In Dedicated FIFO mode, it uses a simple logic to assign
TxFIFO number for each active endpoint. But it doesn't
guarantee that the FIFO depth is suitable for the maxpacket
of the endpoint. We may meet ep TxFIFO problem if we use
a composite device with more than three functions.

In my test case, I configure an usb composite device with
four functions on rv108: Mass storage + ADB + Rndis + HID.

when the functions are enabled:
echo "mass_storage,ffs,rndis,hidg0" > /sys/class/android_usb/android0/functions

The mass_storage works abnormally because that the mass
storage gadget driver calls ep_enable operation at last,
and the ep1-in of mass_storage is assigned with TxFIFO
number 5. The FIFO mapping between the endpint addresses
and the TxFIFO number is:

Ep1-IN msc   bulk        => TxFIFO number 5, FIFO depth 64 Bytes
Ep3-IN adb   bulk        => TxFIFO number 1, FIFO depth 1024 Bytes
Ep5-IN rndis bulk        => TxFIFO number 3, FIFO depth 512 Bytes
Ep7-IN rndis interrupt   => TxFIFO number 2, FIFO depth 512 Bytes
Ep8-IN hid   interrupt   => TxFIFO number 4, FIFO depth 384 Bytes

This patch use a fixed mapping between the endpint addresses
and the TxFIFO number like this:

EP1-IN => TxFIFO number 1
EP3-IN => TxFIFO number 2
EP5-IN => TxFIFO number 3
EP7-IN => TxFIFO number 4
EP8-IN => TxFIFO number 5
EP9-IN => TxFIFO number 6

With this patch, in my test case (Mass storage+ ADB + Rndis + HID)
the FIFO mapping is:

Ep1-IN msc   bulk        => TxFIFO number 1, FIFO depth 1024 Bytes
Ep3-IN adb   bulk        => TxFIFO number 2, FIFO depth 512 Bytes
Ep5-IN rndis bulk        => TxFIFO number 3, FIFO depth 512 Bytes
Ep7-IN rndis interrupt   => TxFIFO number 4, FIFO depth 384 Bytes
Ep8-IN hid   interrupt   => TxFIFO number 5, FIFO depth 64 Bytes

Change-Id: Id00ed7e78d26d87b6c473ea84d1b1901ef25171e
Signed-off-by: William Wu <william.wu@rock-chips.com>
2018-07-12 15:52:17 +08:00
Elaine Zhang
72ea1ab611 clk: rockchip: px30: Add half-divider clock for uart
Change-Id: I74e896e64a212e95200735ad6f16c58abb89496e
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-07-12 14:26:23 +08:00
Kaige Li
6d59312619 media: soc_camera: fixed camera stop timeout error.
Change-Id: I72a34625706135f35b4231abcec8cc683b2319dc
Signed-off-by: Kaige Li <kevin.li@rock-chips.com>
2018-07-12 09:39:16 +08:00
Herman Chen
e5ff23f36d iommu/rockchip: export functions used in vcodec
When compile rk-vcodec as ko some unexported functions will fail the
compiling. This patch will fix this issue.

Change-Id: I8afcb4bc3858f0e9efa54e4996cdcb6a45bbe1e1
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
2018-07-10 16:45:51 +08:00
Sugar Zhang
199ae473c8 ASoC: rockchip: vad: fliter the playback for vad
This patch fliter the playback for vad, because vad only
handle capture.

Change-Id: I96ec24870adc4441081b39030056ed9361477bf3
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2018-07-10 16:43:29 +08:00
Xing Zheng
2e53a1ed6b ARM: dts: rk3308-voice-module: enable 'rockchip,en-always-grps' with AMIC boards
If the VAD which using ACODEC and AMIC is active,
we need to keep ACODEC ADCs enabled during suspend,
otherwise, the system can not be waken up.

Change-Id: I0e6d07608f5ec514f94013a255d9061a138fbee2
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2018-07-10 16:42:24 +08:00
Chris Diamand
981d6435af UPSTREAM: PM / devfreq: Don't delete sysfs group twice
The 'userspace' governor adds a sysfs entry, which is removed when
the governor is changed, or the devfreq device is released. However,
when the latter occurs via device_unregister(), device_del() is
called first, which removes the sysfs entries recursively and deletes
the kobject.

This means we get an Oops when the governor calls
sysfs_remove_group() on the deleted kobject. Fix this by only doing
the call when kobj *hasn't* been kobject_del()'d.

Note that we can't just remove the call to sysfs_remove_group()
entirely - it's needed for when the governor is changed to one which
doesn't need a sysfs entry.

Change-Id: I2ddad9d062ebb1a64582a15cd5b9efc5882bc848
Signed-off-by: Chris Diamand <chris.diamand@arm.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
(cherry picked from commit 924b9111a1)
Signed-off-by: Liang Chen <cl@rock-chips.com>
2018-07-10 16:40:19 +08:00
Dingqiang Lin
df522a9f3d soc: rockchip: fix flash vendor structure error
Change-Id: Id589fb607b233929d07d7ccc3f5b3d11dc92eb0c
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
2018-07-10 16:38:48 +08:00
Dingqiang Lin
aa4397f316 drivers: rkflash: add mutex lock for vendor ops
Change-Id: I3787ad654cce43156328866fe2926ebd398e04d9
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
2018-07-10 16:38:48 +08:00
Gaurav Kohli
020a3b1024 UPSTREAM: tty: fix data race between tty_init_dev and flush of buf
There can be a race, if receive_buf call comes before
tty initialization completes in n_tty_open and tty->disc_data
may be NULL.

CPU0					CPU1
----					----
 000|n_tty_receive_buf_common()   	n_tty_open()
-001|n_tty_receive_buf2()		tty_ldisc_open.isra.3()
-002|tty_ldisc_receive_buf(inline)	tty_ldisc_setup()

Using ldisc semaphore lock in tty_init_dev till disc_data
initializes completely.

Reviewed-by: Alan Cox <alan@linux.intel.com>
Cc: stable <stable@vger.kernel.org>

Change-Id: I3ba3cbd7dcb867a110878c8d0c47e6b920edd0b9
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Gaurav Kohli <gkohli@codeaurora.org>
(cherry-picked from commit b027e2298b)
2018-07-10 14:46:01 +08:00
Caesar Wang
cdd5397503 arm64: px30_linux_defconfig: add configure for px30 SoCs
Change-Id: I610c49dcedb7d283f904b8754200b883882945fd
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
2018-07-10 14:03:51 +08:00
Caesar Wang
e96ba06e1b arm64: dts: rockchip: add px30 evb ddr3 v10 board for linux
This board exposes a bunch of nice peripherals, including MIPI CSI/CIF,
Ethernet, WIFI, two VOPs and USB HOST/OTG....

Change-Id: I8ca3bc231875c92e5a5b9ed8016bc89feb134fb0
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
2018-07-10 14:02:26 +08:00
Xing Zheng
7a597b9b10 ASoC: rk3308_codec: add property 'rockchip,en-always-grps'
Change-Id: I5965bb1b17bb5f94fa977cd846502e18897cbcf3
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2018-07-10 12:19:50 +08:00
Xing Zheng
c13b8295e4 ASoC: rk3308_codec: add 'rockchip,en-always-grps' property
If we would like to wake up via VAD with ACODEC and AMIC,
we need to keep enabling aocdec ADCs after close audio
capture stream, otherwise, the DUT can not be waken up.

This patch can help us to specify the needed ADCs which
are just used for VAD, other ADCs can be closed during
stop capture stream.

Change-Id: I621343902b8c603a5fcbd7875aaa562a29386b04
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2018-07-10 12:19:18 +08:00
Xing Zheng
7764b275f4 ASoC: rk3308_codec: fix the orders of dac path state
Change-Id: Ibfba1a4db2ba2a9a52d79bfe4b0b55be104a61a6
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2018-07-10 12:03:30 +08:00
Jeffy Chen
814a322a7d drm/rockchip: Sanity check fbdev_helper
The fbdev_helper would not be available when CONFIG_DRM_FBDEV_EMULATION
is disabled.

Change-Id: I9f79c170e862f24eb717c7940d8acaefd060740f
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
2018-07-10 09:14:56 +08:00
Tao Huang
06a9f8e3ab Revert "arm64: defconfig: rk3308_linux_defconfig: enable CONFIG_CYW_BCMDHD"
This reverts commit e2e7ae2203.
This is a temporary workaround.

Change-Id: I77dbfec1e5e4d9921bc8b8bf6fc8687e7b1744e2
Signed-off-by: Xiao Yao <xiaoyao@rock-chips.com>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2018-07-10 09:08:40 +08:00
Shunqian Zheng
b47f26dd1f ARM: dts: rockchip: enable i2s/codec for px3se-evb
Px3se-evb board has two codecs es8396 and rk312x-codec.
ES8396 is enable by default. One can switch to rk312x-codec
via hardware rework: R7007, R7005, R7214, R7215.

This adds both es8396 and rk312x-codec but makes the latter one
disabled.

Change-Id: I51cad8bc50da8500c527d10ed52465c8f55d77c7
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
2018-07-09 15:42:23 +08:00
Shunqian Zheng
2c7ba8f943 ARM: config: enable CIF and ADV7181D for rockchip_linux_defconfig
This enables CONFIG_VIDEO_ROCKCHIP_CIF and CONFIG_VIDEO_ADV7181D
for rockchip_linux_defconfig.

Change-Id: I657e757d80a8e2a581631eedd2b3a19254658883
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
2018-07-09 15:42:02 +08:00
Shunqian Zheng
43a053b018 ARM: dts: rockchip: add cif and adv7181 for px3se-evb
This enables cif and adds adv7181 device nodes.

Change-Id: Id8ca2ef30ff22032f12ecee3333ac1db51795228
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
2018-07-09 15:41:38 +08:00
Shunqian Zheng
6b8fb64e10 ARM: dts: rockchip: add a new cif node for rk312x
Add a new cif node compatible with rk_cif.

Change-Id: Icac6021f0b1e850c589176689ee9a8de3b5f4118
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
2018-07-09 15:41:20 +08:00
Shunqian Zheng
1052901f87 media: rockchip/cif: add cif driver
This patch adds a new cif driver that is based on the
media controller, async subdev and vb2.

It now works in oneframe mode to receive yuv or bayer raw data.

Change-Id: I34047715405ac8b4eaafc71cc8983b9afa3c0006
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
2018-07-09 15:26:44 +08:00
Shunqian Zheng
9794d0994a dt-bindings: Document the Rockchip CIF bindings
Add DT bindings documentation for Rockchip CIF.

Change-Id: I9dc33e12845956a69f773a905ff7973d37e10079
Signed-off-by: Shunqian Zheng <zhengsq@rock-chips.com>
2018-07-09 15:21:56 +08:00
Tao Huang
60ea5cbf50 rk: kbuild: Beautify output of LZ4C cmd
replace tab by spaces.

Fixes: 23c2ba084d ("Use standard lz4 format for Image.lz4 on ARM64")
Change-Id: I77ebb48ed0c9fa8bd427e10856065d681070bb6b
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2018-07-09 15:21:31 +08:00
Tao Huang
8358aa955b rk: .gitignore: ignore zboot.img
Change-Id: If4a9a1dc329ccb649e1c5da700e1022227006e82
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2018-07-09 15:21:12 +08:00
Andy Yan
ff0e62f83e arm64: support pack zboot.img
zboot.img: Image.lz4 + resouorce.img
boot.img:  Image + resource.img

Change-Id: I97bc39de99ce85cc21f2491a6db59d1e015f67d0
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2018-07-09 14:56:58 +08:00
William Wu
73462a3bf9 phy: rockchip: rockchip-inno-usb2: fix lock warning
If the usb otg work as host mode or work as peripheral mode
with vbus always on, the otg_sm_work won't be initialized,
so flush the otg_sm_work in rockchip_usb2phy_exit() will
casuse the following lock warning:

[<ffffff800808b1e0>] dump_backtrace+0x0/0x1ec
[<ffffff800808b3e0>] show_stack+0x14/0x1c
[<ffffff8008403f3c>] dump_stack+0xb8/0xf4
[<ffffff8008107f40>] __lock_acquire+0x670/0x1984
[<ffffff8008109a60>] lock_acquire+0x1a4/0x264
[<ffffff8008129d2c>] del_timer_sync+0x48/0xb8
[<ffffff80080c3c94>] flush_delayed_work+0x20/0x50
[<ffffff80084344ac>] rockchip_usb2phy_exit+0x48/0x58
[<ffffff8008432bc4>] phy_exit+0x64/0xb4
[<ffffff80086733b8>] dwc3_core_exit+0x44/0x98
[<ffffff80086736c4>] dwc3_remove+0x90/0xe4
[<ffffff80085a5a5c>] platform_drv_remove+0x28/0x48
[<ffffff80085a3d14>] __device_release_driver+0xac/0x114
[<ffffff80085a3da4>] device_release_driver+0x28/0x3c
[<ffffff80085a2f38>] bus_remove_device+0x110/0x128
[<ffffff80085a0404>] device_del+0x160/0x1f8
[<ffffff80085a5954>] platform_device_del+0x20/0x88
[<ffffff80085a59d0>] platform_device_unregister+0x14/0x28
[<ffffff80088820f4>] of_platform_device_destroy+0x54/0xa8
[<ffffff800859f790>] device_for_each_child+0x68/0x98
[<ffffff8008882084>] of_platform_depopulate+0x30/0x4c
[<ffffff8008680030>] dwc3_rockchip_probe+0x4d4/0x574
[<ffffff80085a5ad4>] platform_drv_probe+0x58/0xa4
[<ffffff80085a396c>] driver_probe_device+0x118/0x2b0
[<ffffff80085a3b70>] __driver_attach+0x6c/0x98
[<ffffff80085a29d0>] bus_for_each_dev+0x80/0xb0
[<ffffff80085a34a0>] driver_attach+0x20/0x28
[<ffffff80085a3038>] bus_add_driver+0xe8/0x1e4
[<ffffff80085a4ad4>] driver_register+0x94/0xe0
[<ffffff80085a5a2c>] __platform_driver_register+0x48/0x50
[<ffffff8009222224>] dwc3_rockchip_driver_init+0x18/0x20
[<ffffff80080839f4>] do_one_initcall+0x17c/0x198
[<ffffff80091f0e48>] kernel_init_freeable+0x1f8/0x2b0
[<ffffff8008c61810>] kernel_init+0x10/0xf8
[<ffffff80080832c0>] ret_from_fork+0x10/0x50

This patch only allows to flush the otg_sm_work when the usb
bvalid irq is valid.

Fixes: f6fac8b68a ("phy: rockchip: rockchip-inno-usb2: flush otg work when exit")
Change-Id: I4dbe34fa9a330f22abb24ccd625da33425a9f753
Signed-off-by: William Wu <william.wu@rock-chips.com>
2018-07-09 11:06:14 +08:00
Wyon Bi
18d4d75fcb drm/panel: simple-panel: no need to send off commands in panel_simple_shutdown
Change-Id: Id0129f899efe6500858ad0aa0aefcfbf5aa101f6
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2018-07-09 09:47:18 +08:00
Tao Huang
0d946db93a Merge tag 'lsk-v4.4-18.06-android' of git://git.linaro.org/kernel/linux-linaro-stable.git
LSK 18.06 v4.4-android

* tag 'lsk-v4.4-18.06-android': (464 commits)
  Linux 4.4.138
  crypto: vmx - Remove overly verbose printk from AES init routines
  Input: elan_i2c - add ELAN0612 (Lenovo v330 14IKB) ACPI ID
  Input: goodix - add new ACPI id for GPD Win 2 touch screen
  kvm: x86: use correct privilege level for sgdt/sidt/fxsave/fxrstor access
  vmw_balloon: fixing double free when batching mode is off
  serial: samsung: fix maxburst parameter for DMA transactions
  KVM: x86: pass kvm_vcpu to kvm_read_guest_virt and kvm_write_guest_virt_system
  KVM: x86: introduce linear_{read,write}_system
  Clarify (and fix) MAX_LFS_FILESIZE macros
  gpio: No NULL owner
  x86/crypto, x86/fpu: Remove X86_FEATURE_EAGER_FPU #ifdef from the crc32c code
  af_key: Always verify length of provided sadb_key
  x86/fpu: Fix math emulation in eager fpu mode
  x86/fpu: Fix FNSAVE usage in eagerfpu mode
  x86/fpu: Hard-disable lazy FPU mode
  x86/fpu: Fix eager-FPU handling on legacy FPU machines
  x86/fpu: Revert ("x86/fpu: Disable AVX when eagerfpu is off")
  x86/fpu: Fix 'no387' regression
  x86/fpu: Default eagerfpu=on on all CPUs
  ...

Conflicts:
	drivers/clk/clk.c
	drivers/clk/rockchip/clk-mmc-phase.c
	sound/core/timer.c

Change-Id: I52af7906676f3e4426292481ec36a9a63ee7ecc9
2018-07-06 20:12:54 +08:00
Huibin Hong
f5ecea2401 spi: rockchip: fix bug when no high_speed pinctrl state
[    1.644632] rockchip-spi ff190000.spi: no high_speed pinctrl state
[    1.646337] Unable to handle kernel NULL pointer dereference at virtual address 00000005
[    1.647412] pgd = ffffff80093b9000
[    1.647873] [00000005] *pgd=00000000feffe003, *pud=00000000feffe003, *pmd=0000000000000000
[    1.649019] Internal error: Oops: 96000005 [#1] SMP
[    1.649643] Modules linked in:
[    1.650065] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.4.120-rockchip-ayufan-195 #1
[    1.651042] Hardware name: Pine64 Rock64 (DT)
[    1.651603] task: ffffffc0f5d48000 task.stack: ffffffc0f5d44000
[    1.652366] PC is at pinctrl_select_state+0x3c/0x12c
[    1.653004] LR is at pinctrl_select_state+0x7c/0x12c
[    1.653641] pc : [<ffffff8008596840>] lr : [<ffffff8008596880>] pstate: 60000045
[    1.654574] sp : ffffffc0f5d47420

patch from:c9dc2ab327

Change-Id: Ie2926a505288d7198a4d49c2abf5a4207281c89d
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
2018-07-06 19:43:25 +08:00
Finley Xiao
f4fbba93e8 MALI: utgard: Add wide-temperature control
Change-Id: Ibb3c8431dd995bc4aefbde2e2f7082a60cfb40e0
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-07-06 19:42:07 +08:00
Finley Xiao
c891cb339e MALI: bifrost: Add wide-temperature control
Change-Id: I74ec8bed3065740148814114a72b2740e58688e6
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-07-06 19:42:07 +08:00
Finley Xiao
21d81d9c9c MALI: midgard: Add wide-temperature control
Change-Id: Ibf1c6ebd91d2e793fa8efe0383df346dd8c67b45
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-07-06 19:42:07 +08:00
Finley Xiao
e4d2ea0c55 PM / devfreq: rockchip_dmc: Add wide-temperature control
Change-Id: Ia90494728679287fb505c1ee0ddffaa9a52bf0cb
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-07-06 19:40:25 +08:00
Finley Xiao
61d015e7e2 cpufreq: dt: Add wide-temperature control
Change-Id: I42a7d28944a1fb10728b74663fdd62c0f766dee5
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-07-06 19:39:50 +08:00
Finley Xiao
bf4d561a65 soc: rockchip: opp_select: Implement APIs for wide-temperature control
Add a basic wide-temperature control model for device to adjust opp
table and max frequency.

Change-Id: I23f29ac1892093c527e730164eba086f02667de3
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-07-06 19:38:51 +08:00
Finley Xiao
60b250f9b6 thermal: Add thermal_notifier_list for thermal zone
Change-Id: I92c3308a4582ec3dbc03d2d6f2bbda60efe7245a
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-07-06 19:36:38 +08:00
Finley Xiao
629b83c413 soc: rockchip: opp_select: Parse 'rockchip,pvtm-thermal-zone' first for pvtm
Sometimes pvtm thermal zone is different from wide-temperature control
thermal zone, so let pvtm parse 'rockchip,pvtm-thermal-zone' first.

Change-Id: Ia6bdfbabb99b053864cbc3cbf14aac675e26483c
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-07-06 19:36:29 +08:00
Sandy Huang
8304527e67 drm/rockchip: add support mcu init screen
the mcu init cmd should be sent from crtc mcu interface,
so we add the rockchip_drm_crtc_send_mcu_cmd to do this.

Change-Id: I7fedfb90c6074e8837a825d10e0dcd9c16bfc1d0
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2018-07-06 15:56:04 +08:00
Yifeng Zhao
0a0307e95c drivers: rk_nand: fix 2cs 3d mlc nand gc fail issue
bug:
1ppa = 2212a00, status = 0, 2d1db 2bc05 spare: 3a20ea 2d1dc 22bc05 0
1ppa = 2212a00, status = 1, 3b8ef 25fe52 spare: 3a6bfa 3c5d6 5fe53 2
1ppa = 2212a00, status = 0, 2d1db 2bc05 spare: 3a20ea 2d1dc 22bc05 0
1ppa = 2212a00, status = 1, 3b8ef 25fe52 spare: 3a6bfa 3c5d6 5fe53 2

Change-Id: I04fd61716bf12dfdd8afc0eb2f1a099c631119dc
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
2018-07-06 15:28:57 +08:00
Xing Zheng
7afc0c7b4b ASoC: rk3308_codec: put switch BIST early during enable ADCs
Fix the negative data before enabling loopback.

Change-Id: I8f4ef1e83b38f17c80f9b4109984c6560e570d20
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2018-07-06 15:27:02 +08:00
Cai YiWei
e46953684a media: soc_camera: add ov9750 sensor driver
Change-Id: I027a08ce90a78d4124c07471f21218599fdad815
Signed-off-by: Cai YiWei <cyw@rock-chips.com>
2018-07-06 14:32:12 +08:00
Huibin Hong
514cd19fa8 arm64: dts: rockchip: corrected clock-names for uart1 of rk3328
Change-Id: I4f2f1265ba517b5effce0c1b4130d0eb10eae9e5
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
2018-07-06 11:57:53 +08:00
Finley Xiao
e7040c8dd6 cpufreq: rockchip: implement rockchip_cpufreq_check_rate_volt()
Change-Id: I707c88d217725e66119aa28e8823ce68ac3abfba
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-07-06 10:22:04 +08:00
Finley Xiao
87c0821959 PM / OPP: Rename dev_pm_opp_check_initial_rate to dev_pm_opp_check_rate_volt
Make the function more general.

Change-Id: Ic10b84ddb6b7eff33e1a1fe491f05f10a9c6015a
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-07-06 10:21:14 +08:00
Finley Xiao
9d01f91893 soc: rockchip: opp_select: Use 'rockchip,thermal-zone' property for pvtm
Make the property more general.

Change-Id: Ieacbaccdc008ff8cee51ebfafc203b3200a1c5af
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-07-06 10:17:45 +08:00
Dingqiang Lin
cbf6303b22 arm64: configs: rk3308_linux_defconfig: enable slc nand and sfc devices driver
1.Disable former nandc configs and change to sftl slc nand;
2.Enables sfc spi nand drivers and sfc spi nand drivers.

Change-Id: Ia17e4e5cac5a2859cf2cb2013d40c446b88194b5
Signed-off-by: Dingqiang Lin <jon.lin@rock-chips.com>
2018-07-06 09:15:55 +08:00