Commit Graph

847350 Commits

Author SHA1 Message Date
Finley Xiao
d939d8f561 soc: rockchip: system_monitor: Fix memleak in rockchip_parse_video_info
unreferenced object 0xffffffc068ef4d00 (size 128):
  comm "MsgQueue", pid 6134, jiffies 4296734025 (age 942.967s)
  hex dump (first 32 bytes):
    31 00 77 69 64 74 68 00 31 39 32 30 00 68 65 69  1.width.1920.hei
    67 68 74 00 31 30 38 38 00 69 73 68 65 76 63 00  ght.1088.ishevc.
  backtrace:
    [<00000000a20494fa>] __kmalloc_track_caller+0x2c0/0x350
    [<00000000c761fedd>] kstrdup+0x38/0x68
    [<0000000007e9cfe0>] rockchip_parse_video_info+0x8c/0x110
    [<000000009380a4ea>] rockchip_update_system_status+0x6c/0x208
    [<000000002366d676>] status_store+0x1c/0x38
    [<00000000262b2d89>] kobj_attr_store+0x14/0x28
    [<0000000082de5cb2>] sysfs_kf_write+0x48/0x58
    [<000000004cf22a2f>] kernfs_fop_write+0xec/0x1e8
    [<000000002ce798af>] __vfs_write+0x34/0x158
    [<00000000b71f587d>] vfs_write+0xb4/0x1c8
    [<000000004acb036b>] ksys_write+0x64/0xe0
    [<000000003a4572a8>] __arm64_sys_write+0x14/0x20
    [<000000004373535e>] el0_svc_common.constprop.0+0xb8/0x178
    [<00000000b1dff00e>] el0_svc_compat_handler+0x18/0x20
    [<000000002ce195f8>] el0_svc_compat+0x8/0x34
    [<000000005ee63479>] 0xffffffffffffffff

Change-Id: Ie5e5728c4e0a067cad8178ad46f02fa21888e24e
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2019-11-04 16:34:12 +08:00
Wu Liangqing
c6965c0ca7 ARM: dts: rockchip: rk3126-bnd: enabled power off charge
Change-Id: I67723545a509b70ba629b2e4b916a82af752a576
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2019-11-04 14:56:27 +08:00
Feng Mingli
e30da71b23 USB: core: flush pending URBs for unusual USB3 core when disable device
According to xHCI spec v1.1 section 6.4.5 TRB Completion Codes,
the standard XHCI controller provide a TRB Completion Status
'USB Transaction Error' to asserted in the case where the host
did not receive a valid response from the device, it's useful
to handle pending URBs on the endpoint when the USB device is
plugged out.

Unfortunately, some SOCs USB 3.0 modules lose the ability to
assert the 'USB Transaction Error' status when USB 3.0 device
disconnect. This may cause the pending URBs unhandled, even
lead to USB class driver stalled in waiting for URBs complete.

This patch flush pending URBs in usb_disable_device() when
USB 3.0 device disconnect, it will call xhci_urb_dequeue()
-> xhci_queue_stop_endpoint() to cancel pending URBs and
giveback URB status immediately.

Change-Id: If8acac59bc1f2c10a41ee390ccbeb84b2e7743c1
Signed-off-by: Feng Mingli <fml@rock-chips.com>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
2019-11-04 14:18:53 +08:00
William Wu
0d2d5bbbfb USB: workaround for specified USB3 PHY disconnection det issue
Some special SoCs (e.g. rk322xh) USB3 PHY have problem to detect
disconnection, they lose the ability to detect an absence of Rx
termination specified in USB3 spec Table 6-21, fortunately, the
USB3 PHY can detect port link state change when USB3 device is
unplugged, so we can do soft disconnect according to the PLC.

Change-Id: I2cbd62fddc8a1f9c5a264d705db43fb0cf3e035c
Signed-off-by: William Wu <wulf@rock-chips.com>
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
2019-11-04 11:32:56 +08:00
William Wu
1b69499a30 usb: dwc3: support option to disable usb3 host autosuspend
Some xHCI controllers (e.g. Rockchip rk3328 SoC) integrated
in DWC3 IP, don't support USB 3.0 autosuspend well, so we
need to disable USB 3.0 HUB autosuspend function with a quirk.

Change-Id: I33d4d2ec86102653bfb043eed12bfb6b5b426823
Signed-off-by: William Wu <william.wu@rock-chips.com>
2019-11-04 11:20:32 +08:00
William Wu
fbc2bf3242 dt-bindings: usb: dwc3: add dis-u3-autosuspend-quirk property
This patch adds a new property "snps,dis-u3-autosuspend-quirk" for
xHCI integrated in DWC3 IP to disable USB 3.0 root HUB autosuspend.

Change-Id: Ibaf2b8d0e0472b052d3ab46010b7477274f4bb78
Signed-off-by: William Wu <william.wu@rock-chips.com>
2019-11-04 11:10:20 +08:00
William Wu
d4b73015cb usb: host: xhci: add a quirk for disable autosuspend
Some USB controllers (such as rk3328 SoC DWC3 controller with INNO
USB 3.0 PHY) don't support autosuspend well, when receive remote
wakeup signal from autosuspend, the Port Link State training failed,
the correct PLC is Resume->Recovery->U0, but when the issue happens,
the wrong PLC is Resume->Recovery->Inactive, cause resuming SS port
fail. This issue always occurs when connect with external USB 3.0 HUB.

This patch adds a quirk to disable xHC USB 3.0 root HUB autosuspend
function.

Change-Id: I6afade864235a7669f415d933b7b4983c0d46289
Signed-off-by: William Wu <william.wu@rock-chips.com>
2019-11-04 11:03:34 +08:00
William Wu
a976a45a20 dt-bindings: usb-xhci: add usb3-dis-autosuspend property
This patch adds a new "usb3-dis-autosuspend" property for some
Rockchip platforms which don't support autosuspend well.

Change-Id: I4d035415456405d47b85b3619fb47eb617fd2303
Signed-off-by: William Wu <william.wu@rock-chips.com>
2019-11-04 10:46:36 +08:00
William Wu
940685bbde usb: core: hub: add quirk for hub with broken autosuspend function
Some USB host controller seems to have problems with
autosuspend. For example, Rockchip rk3328 SoC USB 3.0
wouldn't handle remote wakeup correctly with external
hub after entered autosuspend, caused to resume SS
port fail.

This patch introduces a new quirk flag for hub that
should remain disabled for autosuspend.

Change-Id: I6d14222b2c5025583fea811a6afd6abd22f41cb9
Signed-off-by: William Wu <wulf@rock-chips.com>
2019-11-04 10:18:11 +08:00
William Wu
caa12b70cc usb: host: xhci-plat: get the usb3 phy for shared_hcd
This patch tries to get the USB3 PHY using, and associates
the XHCI shared_hcd device with it.

With this patch, the USB HUB core driver can do USB PHY
operations base on USB PHY framework, e.g. call usb_phy_
notify_connect() or usb_phy_notify_disconnect() to notify
USB PHY driver to do soft connect or soft disconnect.

Change-Id: I3b51181b840a68ae477b764013446f49dbf7ca70
Signed-off-by: William Wu <wulf@rock-chips.com>
2019-11-04 10:08:30 +08:00
William Wu
cdff9a65d9 usb: dwc3: rockchip-inno: rework the disconnect workflow
This patch doesn't fix any issue but make the code more concise.

Change-Id: I56d9d0e5f13579d2087edc41ca83bdb00e1ebb3f
Signed-off-by: William Wu <william.wu@rock-chips.com>
2019-11-04 09:46:38 +08:00
William Wu
bad1a35496 usb: dwc3: rockchip-inno: add Kconfig and Makefile
Change-Id: I123cea9cd3535b7fe112bc36767377ba796e036c
Signed-off-by: William Wu <william.wu@rock-chips.com>
2019-11-03 11:45:01 +08:00
William Wu
056461b02b phy: phy-rockchip-inno-usb3: add Kconfig and Makefile
Change-Id: I0e71b5574f70824ea7ea3c14bda2eaa005a0394b
Signed-off-by: William Wu <william.wu@rock-chips.com>
2019-11-03 11:42:59 +08:00
William Wu
99fcde71db usb: dwc3: rockchip-inno: fix compile error
This patch fixes somme compile errors base on new
xHCI port structure.

Change-Id: Ic9c90b6523e0bebcaeaf1fead23bd0474e85d96a
Signed-off-by: William Wu <william.wu@rock-chips.com>
2019-11-03 11:16:25 +08:00
Chris Zhong
d143755292 FROMLIST: drm/rockchip: add transfer function for cdn-dp
We may support training outside firmware, so we need support
dpcd read/write to get the message or do some setting with
display.

Change-Id: If89911e6205546df1a5ae8997ea214d5d2a60af6
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
Signed-off-by: Lin Huang <hl@rock-chips.com>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Enric Balletbo <enric.balletbo@collabora.com>
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(am from https://patchwork.kernel.org/patch/10420461/)
2019-11-01 20:02:32 +08:00
Chris Zhong
b69396c2c1 drm: rockchip: cdn-dp: fixup the warning message of compiler
Change-Id: Ib7b984f6bae7519f1c8c3203cf5a4638e5ce2389
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
2019-11-01 20:02:32 +08:00
Sugar Zhang
f8701a8506 drm/rockchip: cdn-dp: return zero when dp is inactive
Change-Id: I741b8ac140014c7f046f59e371ed3ddb245468a2
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2019-11-01 20:02:32 +08:00
Mark Yao
76b8672db3 drm/rockchip: cdn-dp: check display mode with crtc mode valid
Change-Id: I431ae8e56c18b827e1995ce0dec125c585d096f9
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2019-11-01 20:02:32 +08:00
YueHaibing
1ef77372cd UPSTREAM: phy: rockchip-typec: Make usb3_pll_cfg and dp_pll_cfg static
Fix sparse warning:

drivers/phy/rockchip/phy-rockchip-typec.c:403:16: warning: symbol 'usb3_pll_cfg' was not declared. Should it be static?
drivers/phy/rockchip/phy-rockchip-typec.c:420:16: warning: symbol 'dp_pll_cfg' was not declared. Should it be static?

Change-Id: I5c814f7d62a806deb53331e729008dd35bdfd790
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry picked from commit f7f6ed925d)
2019-11-01 19:58:41 +08:00
Tao Huang
d6f716d173 ARM: rockchip_defconfig: disable CONFIG_AUDITSYSCALL
CONFIG_AUDITSYSCALL are enabled by default. This causes the
audit of all system call which impacts performance.
Disable these unused configs to improve performance.

Change-Id: I6487ab4034bd48a183107044be9c127b4bd435b6
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-11-01 19:54:32 +08:00
Tao Huang
dad9fb743f arm64: rockchip_defconfig: disable CONFIG_AUDITSYSCALL
CONFIG_AUDITSYSCALL are enabled by default. This causes the
audit of all system call which impacts performance.
Disable these unused configs to improve performance.

Change-Id: I7a147989dcaaf5c22d3d6d17e24f16ea38384d85
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-11-01 19:54:32 +08:00
Channagoud Kadabi
8dbbbc6014 FROMGIT: audit: Add option to enable/disable syscall audit
Enable syscall audit has performance impact on Android, add option to
enable/disable the syscall audits.

Change-Id: I654e553daca388c03774886bf13410e2fdec0b02
Signed-off-by: Channagoud Kadabi <ckadabi@codeaurora.org>
Signed-off-by: Prasad Sodagudi <psodagud@codeaurora.org>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
(cherry picked from https://android.googlesource.com/kernel/msm
 commit 338bc8bf0733fd4a75935f5685be9aa8e489571f)
2019-11-01 19:54:32 +08:00
Wu Liangqing
0c175338f6 arm64: dts: rockchip: rk3399-excavator-sapphire: enabled st sensor driver for mpu6500
Change-Id: I68b2029dcdeb873c92adaabdc99f66f5d5f943bf
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2019-11-01 19:21:49 +08:00
Wu Liangqing
6f880e6cc8 arm: dts: rockchip: rk3126-bnd-m88-emmc for android Q
Change-Id: I0e18cf7d475f113ab198706f4d0568ffc1d154c6
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2019-11-01 19:19:06 +08:00
Chen Jinsen
27ee5b3f77 ASoC: rockchip: add support for rk312x codec
Change-Id: I1679742e7f6abb4ad9d894828ddf3781fc1bc2bb
Signed-off-by: Chen Jinsen <kevin.chen@rock-chips.com>
2019-11-01 14:17:04 +08:00
William Wu
8b8214e2dc usb: gadget: rndis: fix class definitions for windows
The RNDIS gadget function has USB class of 2 and subclass
of 2, which matches "USB\Class_02&SubClass_02" in the
usbser.inf file in the Windows system, so the device is
initially detected as a COM port instead of RNDIS. This
is why we need to install RNDIS manually.

Refer to Defined Class Codes [1] and rndis_host of Linux [2],
this patch sets the RNDIS gadget with base class of 0xE0h
(Wireless Controller) and subclass of 0x01h and protocol
of 0x03h.

[1] https://www.usb.org/defined-class-codes
[2] http://www.embedded-os.de/en/proto-rndis_host.shtml

Change-Id: Ida366749f378a0ce770d707b4ba56b87f9e188cf
Signed-off-by: William Wu <william.wu@rock-chips.com>
2019-11-01 14:07:19 +08:00
David Wu
d8ee9c29d5 net: ethernet: stmmac: dwmac-rk: Don't configure has_gmac for gmac5.10a
The gmac5.10a configure has_gmac4 with true and has_gmac with false.
Others still stay has_gmac with true.

Change-Id: I0d0d1adef8551d2f7aac6702f963cb23a9861036
Signed-off-by: David Wu <david.wu@rock-chips.com>
2019-11-01 10:17:13 +08:00
Wang Jie
c11ccaa96c i2c: i2c devices with the same device address can be registered on the same i2c bus.
(1) before: multiple i2c devices with the same address
            registered to the same i2c bus will fail.
(2) after:  multiple i2c devices with the same address
            registered to the same i2c bus just print
            the error log, but will not fail.

Fixes: b97a325b33 ("i2c: Devices which have some i2c addr can work in same i2c bus")
Change-Id: I53a2b5a988d96c32e64b8a426621cf894c9cba20
Signed-off-by: Wang Jie <dave.wang@rock-chips.com>
2019-11-01 10:08:10 +08:00
Elaine Zhang
d68dc25527 PM / Domains: Keep the pd status during system PM phases
If a PM domain is powered off before system suspend,
we hope do nothing in system runtime suspend noirq phase
and system runtime resume noirq phase.

Change-Id: Id72b1f92e10449c48006aced0d49612637402210
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2019-11-01 09:59:04 +08:00
Li Huang
c92c266bd4 video/rockchip: Kconfig && Makefile add rga1
Change-Id: I62be1a8e2580c7784ae1345283aff0b6e8cd2de3
Signed-off-by: Li Huang <putin.li@rock-chips.com>
2019-11-01 08:55:53 +08:00
Li Huang
f56163ffeb video/rockchip: rga: fix compile error on 4.19
Change-Id: I1ad9c87a7401788a691cae6844807aaca5348cfc
Signed-off-by: Li Huang <putin.li@rock-chips.com>
2019-11-01 08:47:00 +08:00
Chen Jinsen
2d27c680e0 arm: configs: rockchip_defconfig: enable CONFIG_SND_SOC_ROCKCHIP_I2S
Change-Id: I2345be483148aee0282509c4a9d65e11fec069ac
Signed-off-by: Chen Jinsen <kevin.chen@rock-chips.com>
2019-10-31 19:02:20 +08:00
Wang Panzhenzhuan
015c855d8b arm: dts: rk312x: rk3126-bnd-d708: gc0329 & gc2145 add module info
Change-Id: I4a94c93168c27526fa58a918b020a35d75e0c402
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
2019-10-31 16:56:47 +08:00
Wang Panzhenzhuan
79c453a95a media: rockchip: cif: fix compile failure on kernel-4.19
Change-Id: I56537c637deb714f186e163227c194b65968c187
Signed-off-by: Wang Panzhenzhuan <randy.wang@rock-chips.com>
2019-10-31 16:56:36 +08:00
Zorro Liu
9b7f73aea0 arm64: dts: rockchip: improve ddr freq when video play for rk3368 xikp boards
Change-Id: I8418040dd9f7bc5f2720fbcbec7a927a80994fc7
Signed-off-by: Zorro Liu <lyx@rock-chips.com>
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2019-10-31 16:50:45 +08:00
Jianqun Xu
8e14b0bdae arm64: dts: rockchip: enabled rng default for rk3368-android
Change-Id: I476032fadd3711e9a5a75de04487fb7d773a0ac8
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2019-10-31 16:49:23 +08:00
Jianqun Xu
8ce5f4d90c drivers: video: rockchip: rga2 fix to use rockchip ion below v4.4
Change-Id: Icde9bb4e5a285588cc7636696473e731b51c40f1
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2019-10-31 15:47:13 +08:00
Lyude Paul
f9ba6c5209 BACKPORT: drm/atomic_helper: Stop modesets on unregistered connectors harder
Unfortunately, it appears our fix in:
commit b5d29843d8 ("drm/atomic_helper: Allow DPMS On<->Off changes
for unregistered connectors")

Which attempted to work around the problems introduced by:
commit 4d80273976 ("drm/atomic_helper: Disallow new modesets on
unregistered connectors")

Is still not the right solution, as modesets can still be triggered
outside of drm_atomic_set_crtc_for_connector().

So in order to fix this, while still being careful that we don't break
modesets that a driver may perform before being registered with
userspace, we replace connector->registered with a tristate member,
connector->registration_state. This allows us to keep track of whether
or not a connector is still initializing and hasn't been exposed to
userspace, is currently registered and exposed to userspace, or has been
legitimately removed from the system after having once been present.

Using this info, we can prevent userspace from performing new modesets
on unregistered connectors while still allowing the driver to perform
modesets on unregistered connectors before the driver has finished being
registered.

Changes since v1:
- Fix WARN_ON() in drm_connector_cleanup() that CI caught with this
  patchset in igt@drv_module_reload@basic-reload-inject and
  igt@drv_module_reload@basic-reload by checking if the connector is
  registered instead of unregistered, as calling drm_connector_cleanup()
  on a connector that hasn't been registered with userspace yet should
  stay valid.
- Remove unregistered_connector_check(), and just go back to what we
  were doing before in commit 4d80273976 ("drm/atomic_helper: Disallow
  new modesets on unregistered connectors") except replacing
  READ_ONCE(connector->registered) with drm_connector_is_unregistered().
  This gets rid of the behavior of allowing DPMS On<->Off, but that should
  be fine as it's more consistent with the UAPI we had before - danvet
- s/drm_connector_unregistered/drm_connector_is_unregistered/ - danvet
- Update documentation, fix some typos.

Fixes: b5d29843d8 ("drm/atomic_helper: Allow DPMS On<->Off changes for unregistered connectors")
Change-Id: I998eb6f5434cf82be881085f5b23e33603b440e4
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: stable@vger.kernel.org
Cc: David Airlie <airlied@linux.ie>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20181016203946.9601-1-lyude@redhat.com
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
(cherry picked from commit 39b50c6038)
2019-10-31 15:46:05 +08:00
David Wu
1e47858fa9 ARM: dts: rockchip: Set pwm pin default pull setting when used for pwm regulator
As a second global reset, the GRF is not reset, the iomux and
pull of PWM pin is still keeping, but PWM controller is reset,
PWM pin goes into input mode. However, the pull is still none
changed in kernel, which can cause voltage problems, so should
always keep the PWM pin pull down mode, with 0~50 μA power
increase.

Change-Id: I9f46feca00bdb6e8cad4794342d2936d62206164
Signed-off-by: David Wu <david.wu@rock-chips.com>
2019-10-31 15:23:18 +08:00
David Wu
99c28b5be0 arm64: dts: rockchip: Set pwm pin default pull setting when used for pwm regulator
As a second global reset, the GRF is not reset, the iomux and
pull of PWM pin is still keeping, but PWM controller is reset,
PWM pin goes into input mode. However, the pull is still none
changed in kernel, which can cause voltage problems, so should
always keep the PWM pin pull down mode, with 0~50 μA power
increase.

Change-Id: Ibb1cbb5f5371d7838783264e23d5160c0757aaa6
Signed-off-by: David Wu <david.wu@rock-chips.com>
2019-10-31 15:21:02 +08:00
David Wu
016e8545af pwm: rockchip: Make pwm pinctrl setting after pwm enabled
If the PWM pinctrl uses default state, the iomux setting will
be done at probe, the PWM may not be enabled at this moment.
It will make PWM into an intermediate state, destroy the default
hardware state, the PWM is not ready for work yet. So it is better
for doing PWM pinctrl setting after PWM enabled.

Change-Id: Iea34a7baf6a4d7df0c631f7f4fdab5b9d61bbd5f
Signed-off-by: David Wu <david.wu@rock-chips.com>
2019-10-31 15:05:41 +08:00
David Wu
ddce12799c pwm: rockchip: Make pwm configure correctly for enable_conf
If some PWM enable_conf was configured with different values at
uboot/loader, the enable_conf should be cleaned firstly and
configured them at kernel. It is better to use the same parameters
on both sides to ensure excessive smoothing.

Change-Id: Ib1b7b55e9816639d9915543dadf059ce0e8be103
Signed-off-by: David Wu <david.wu@rock-chips.com>
2019-10-31 15:04:41 +08:00
Finley Xiao
5717787f94 arm64: dts: rockchip: rk3368: Add reboot frequcey for cpu
Change-Id: Icc09762bdc11eb33733c3dcc26ba0d4a1bdd59c1
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2019-10-31 14:59:22 +08:00
Finley Xiao
7a3872f748 arm64: dts: rockchip: rk3368: Add system monitor node
Change-Id: Id35935b83026a88af8bf137a8611dc93dd9ce945
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2019-10-31 14:58:32 +08:00
Yifeng Zhao
060a7cf7a7 drivers: rk_nand: fix access to virtual address 0 bug
The write or read request buffers may or may not be a highmem
page highmem or not allocated page, so the page->virtual will be
NULL, kmap it always need.

BUG:
[   25.928352] Unable to handle kernel paging request at virtual address 0
[   31.721348] pgd = a13fe17e
[   31.724062] [0] *pgd=00000000
[   31.727651] Internal error: Oops: 5 [#1] PREEMPT SMP ARM
[   31.732966] Modules linked in:

Change-Id: Icdbb052bb488ecc10be1c8a8b0ca954f65c17474
Signed-off-by: Yifeng Zhao <zyf@rock-chips.com>
2019-10-31 14:57:46 +08:00
Tao Huang
8a61de5df0 ARM: rockchip_defconfig: enable INITRD_ASYNC
Save about 50ms of boot time on RK3288 EVB

Change-Id: Id99a4e73019cad603a243f09f681f8c60faab8af
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-10-31 11:04:23 +08:00
Tao Huang
2f1bc0f1e6 ARM: rockchip_defconfig: merge q/android-4.19/android-base.config
https://android.googlesource.com/kernel/configs
commit aa4b4db78846 ("Freeze Q kernel configs")

Change-Id: Ibb68cd93491c5a748c675b8bb7a00d7448bfb9ed
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-10-31 11:04:23 +08:00
Tao Huang
77e6c0b329 ARM: rockchip_defconfig: Sync for 4.19
Change-Id: Ie07e3260bb01b53d52e2d49cd8ce99326cee6838
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2019-10-31 11:04:23 +08:00
Jianqun Xu
3cd7acb403 arm64: dts: rockchip: rk3368 init cpub/l freq to 600MHz
Since opp-suspend of cpub/l is 216MHz@950000mV, and the max frequency
under 950000mV is 600MHz, so initialize cpub/l freq to 600MHz.

Change-Id: I02d2ac44f4e5d125dfa90796b839c4a733442274
Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
2019-10-30 16:53:45 +08:00
Sandy Huang
b8f61f5bf3 drm/rockchip: vop: fix multile area win state error
the supported multile area win gate only can be closed when area0 is
disabled.

Change-Id: Idd447bb7c2157587456391c1abeeefc9a5d61bbd
Signed-off-by: Sandy Huang <hjc@rock-chips.com>
2019-10-30 16:10:17 +08:00