Commit Graph

603887 Commits

Author SHA1 Message Date
Douglas Anderson
48ea802727 BACKPORT: UPSTREAM: mmc: dw_mmc: Add locking to the CTO timer
This attempts to instill a bit of paranoia to the code dealing with
the CTO timer.  It's believed that this will make the CTO timer more
robust in the case that we're having very long interrupt latencies.

Note that I originally thought that perhaps this patch was being
overly paranoid and wasn't really needed, but then while I was running
mmc_test on an rk3399 board I saw one instance of the message:
  dwmmc_rockchip fe320000.dwmmc: Unexpected interrupt latency

I had debug prints in the CTO timer code and I found that it was
running CMD 13 at the time.

...so even though this patch seems like it might be overly paranoid,
maybe it really isn't?

Presumably the bad interrupt latency experienced was due to the fact
that I had serial console enabled as serial console is typically where
I place blame when I see absurdly large interrupt latencies.  In this
particular case there was an (unrelated) printout to the serial
console just before I saw the "Unexpected interrupt latency" printout.

...and actually, I managed to even reproduce the problems by running
"iw mlan0 scan > /dev/null" while mmc_test was running.  That not only
does a bunch of PCIe traffic but it also (on my system) outputs some
SELinux log spam.

Change-Id: I56373c6740d38b5c45a078e835f594261bad78d2
Fixes: 03de19212e ("mmc: dw_mmc: introduce timer for broken command transfer over scheme")
Tested-by: Emil Renner Berthing <kernel@esmil.dk>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
(cherry picked from https://patchwork.kernel.org/patch/10002767/)
2017-11-01 15:22:09 +08:00
Douglas Anderson
56c6184515 BACKPORT: UPSTREAM: mmc: dw_mmc: Fix the CTO timeout calculation
In the commit 03de19212e ("mmc: dw_mmc: introduce timer for broken
command transfer over scheme") we tried to calculate the expected
hardware command timeout value.  Unfortunately that calculation isn't
quite correct in all cases.  It used "bus_hz" but, as far as I can
tell, it's supposed to use the card clock.  Let's account for the div
value, which is documented as 2x the value stored in the register, or
1 if the register is 0.

NOTE: It's not expected that this will actually fix anything important
since the 10 ms margin added by the function will pretty much dwarf
any calculations.  The card clock should be 100 kHz at minimum and:
  1000 ms/s * (255 * 2) / 100000 Hz.
  Gives us 5.1 ms.

...so really the point of this patch is just to make the code more
"correct" in case anyone ever tries to remove the 10 ms buffer.

Change-Id: Ie5d902edb3a5bdfb9dc9233eb46edbbee334994c
Fixes: 03de19212e ("mmc: dw_mmc: introduce timer for broken command transfer over scheme")
Tested-by: Emil Renner Berthing <kernel@esmil.dk>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
(cherry picked from https://patchwork.kernel.org/patch/10002775/)
2017-11-01 15:21:37 +08:00
Douglas Anderson
150548af41 BACKPORT: UPSTREAM: mmc: dw_mmc: cancel the CTO timer after a voltage switch
When running with the commit 03de19212e ("mmc: dw_mmc: introduce
timer for broken command transfer over scheme") I found this message
in the log:
  Unexpected command timeout, state 7

It turns out that we weren't properly cancelling the new CTO timer in
the case that a voltage switch was done. Let's promote the cancel
into the dw_mci_cmd_interrupt() function to fix this.

Change-Id: I2ee3537eb7a756d64964cc49114011ad329409b8
Fixes: 03de19212e ("mmc: dw_mmc: introduce timer for broken command transfer over scheme")
Tested-by: Emil Renner Berthing <kernel@esmil.dk>
Reviewed-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
(cherry picked from https://patchwork.kernel.org/patch/10002779/)
2017-11-01 15:21:33 +08:00
Jacob Chen
6a77d26968 media: rockchip: rga: add quantization support
Also:
- correct the default quantization for RGB input, it should be full range.

Change-Id: I786799a3532b5c3a18e67c9195ec24ea811d1144
Signed-off-by: Jacob Chen <jacob2.chen@rock-chips.com>
2017-11-01 14:39:35 +08:00
Zheng Yang
3b85c52032 drm: bridge: dw-hdmi: support deep color mode
Introduce mtmdsclock to record tmds clock, which is different
to mpixelclock in deep color mode. Use this variable to select
synopsys phy curr_ctrl/phy_config, and audio N/CTS.

Change-Id: Ia78dee9c4901d2f1ca7f339dfb030d65bbf6861d
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2017-11-01 11:43:52 +08:00
Zheng Yang
da59743ca6 drm/rockchip: hdmi: support modify color format
This patch is based on https://patchwork.kernel.org/patch/9801533,
add the drm property "hdmi_output_format", the possible value
could be:
     - RGB
     - YCBCR 444
     - YCBCR 422

To handle various subsampling of YCBCR output types, this property
allows two special automatic cases:
     - DRM_HDMI_OUTPUT_YCBCR_HQ
       This indicates preferred output should be YCBCR output,
       with highest subsampling rate by the source/sink, which
       can be typically:
	- ycbcr444
	- ycbcr422
	- ycbcr420
     - DRM_HDMI_OUTPUT_YCBCR_LQ
       This indicates preferred output should be YCBCR output, with
       lowest subsampling rate supported by source/sink, which can be:
	- ycbcr420
	- ycbcr422
	- ycbcr444

Default value of the property is set to 0 = RGB, so no changes if you
don't set the property.

Change-Id: Ie4a98ba91c8285a2e8f1ec7832d73183ad57665e
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2017-11-01 11:21:25 +08:00
Zheng Yang
199377c761 drm/rockchip: hdmi: support modify color depth
This patch introduce a drm property hdmi_output_depth to
get/set HDMI color depth, the possible value could be
	- Automatic
	  This indicates prefer highest color depth, it is
	  30bit on rockcip platform.
	- 24bit
	- 30bit
The default value of property is 24bit.

The max_tmds_clock is 0 on some display device, we think it's
max_tmds_clock is 340MHz.

If tmdsclock > max_tmds_clock, real output color depth fallback
to 24bit.

Change-Id: I666ac85d1ce5e73af31251eae324d1a6ae00b31e
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2017-11-01 09:08:04 +08:00
Zheng Yang
a7a73c3770 drm: bridge: dw-hdmi: support attach property
Introduce struct dw_hdmi_property_ops in plat_data to attach
vendor connector property.

Change-Id: I3d23e40e9d342b22ca47f723b3f81057b58010e8
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2017-11-01 09:08:04 +08:00
Chris Zhong
b00b64f4d8 ARM: dts: rk3066a-rayeager: add supports- for mmc
Add supports-emmc for emmc; supports-sd for sdcard; supports-sdio for
wifi.

Change-Id: I13d3918f41f63ed9b27e9969e6f89d1006c9d45c
Signed-off-by: Chris Zhong <zyw@rock-chips.com>
2017-10-31 19:01:12 +08:00
Tao Huang
d13199220b iio: add QUATERNION channel type and R modifier
Fix kasan bug:
BUG: KASAN: global-out-of-bounds in __iio_add_chan_devattr

Fixes: a3c1d3323d ("staging: iio: new invensence mpu6050/6500 driver")
Change-Id: I9c6f7f47ac415798ed1747e2c6dcbfd407d22ee7
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2017-10-31 18:13:06 +08:00
Matthew Auld
a82b74c184 UPSTREAM: drm: fix send_vblank_event use-after-free error
The drm_pending_event can be freed by drm_send_event_locked, as a
result we should call trace_drm_vblank_event_delivered before this
to avoid hitting a user-after-free error when accessing the pid member:

[  378.438497] BUG: KASAN: use-after-free in send_vblank_event+0xf0/0x310 [drm] at addr ffff8801ac7e50a0
[  378.438500] Read of size 4 by task Xorg/1562
[  378.438501] =============================================================================
[  378.438504] BUG kmalloc-128 (Tainted: G    B          ): kasan: bad access detected
[  378.438506] -----------------------------------------------------------------------------

[  378.438509] INFO: Freed in 0x10001309c age=18446737369265680575 cpu=0 pid=0
[  378.438541]  drm_send_event_locked+0x207/0x2f0 [drm]
[  378.438544]  __slab_free+0x24c/0x650
[  378.438546]  kfree+0x3a2/0x760
[  378.438578]  drm_send_event_locked+0x207/0x2f0 [drm]
[  378.438610]  send_vblank_event+0xb7/0x310 [drm]
[  378.438643]  drm_crtc_send_vblank_event+0x130/0x1f0 [drm]
[  378.438722]  intel_atomic_commit_tail+0x23b5/0x53f0 [i915]
[  378.438802]  intel_atomic_commit+0xbae/0x12f0 [i915]
[  378.438839]  drm_atomic_commit+0xb0/0x120 [drm]
[  378.438855]  drm_atomic_helper_connector_dpms+0x339/0x5d0 [drm_kms_helper]
[  378.438891]  drm_mode_obj_set_property_ioctl+0x8f1/0xcc0 [drm]
[  378.438927]  drm_mode_connector_property_set_ioctl+0xf3/0x170 [drm]
[  378.438959]  drm_ioctl+0x2d7/0xae0 [drm]
[  378.438962]  do_vfs_ioctl+0x1c9/0x1280
[  378.438964]  SyS_ioctl+0x79/0x90
[  378.438967]  entry_SYSCALL_64_fastpath+0x1a/0xa4

Cc: dri-devel@lists.freedesktop.org
Cc: Daniel Vetter <daniel.vetter@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1466440966-5410-1-git-send-email-matthew.auld@intel.com
(cherry picked from commit c001da4f7c)

Change-Id: I9f7871d661335613df4bf59f7014fb077559fa6a
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-10-31 16:54:47 +08:00
Algea Cao
404b9369da ARM: dts: rk3288-evb-android-rk818-mipi: fix up HDMI can't display after resume
HDMI can't display afer resume, because HDMI 5v was turn off.
This patch fix up this problem.

Change-Id: Id48ca0616b81ea27416dc733662f388d51b2643c
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2017-10-31 15:47:41 +08:00
Algea Cao
4ff789c341 ARM: dts: rk3288-evb-android-rk818-lvds: fix up HDMI can't display after resume
HDMI can't display afer resume, because HDMI 5v was turn off.
This patch fix up this problem.

Change-Id: Ia3994c756324043d1c71c7840ed3ff2a303af523
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2017-10-31 15:47:31 +08:00
Algea Cao
62680836ee ARM: dts: rk3288-evb-android-rk818-edp: fix up HDMI can't display after resume
HDMI can't display afer resume, because HDMI 5v was turn off.
This patch fix up this problem.

Change-Id: Ib43893cdbdafec2cf264c724d5c56e9e0f63d8b5
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2017-10-31 15:47:22 +08:00
Zheng Yang
a931e3a83f drm: fix ycbcr 420 deep color defination
According to HDMI2.0 spec table 10-6, DC_48bit_420/DC_36bit_420/
DC_30bit_420 is at bit2~bit0 of HDMI Fortum Vendor Specific Data
Block byte7.

Change-Id: Iab2748695c68b950617955132579a3c12476cc5b
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2017-10-31 11:51:47 +08:00
Mark Yao
196f8ea7af drm/rockchip: vop: force swap rb on YUV444 output
There is no media type for YUV444 output. so when bus format is yuv,
and out_mode is AAAA or P888, assume output is YUV444.

From H/W testing, YUV444 mode need a rb swap.

Change-Id: I1191df702ebe4afc107cf321fe5381be4f07eb7b
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2017-10-31 11:18:15 +08:00
Alex Zhao
20e331abc4 ARM: rockchip_defconfig: Enable CONFIG_WIFI_BUILD_MODULE
Change-Id: I5bbd67e283072bbd1882b994346334e14f86090d
Signed-off-by: Alex Zhao <zzc@rock-chips.com>
2017-10-31 11:17:16 +08:00
Alex Zhao
b4098fb117 ARM64: rockchip_defconfig: Enable CONFIG_WIFI_BUILD_MODULE
Change-Id: I3491227c05b63d6e6cb1be3286c7e74decbfb060
Signed-off-by: Alex Zhao <zzc@rock-chips.com>
2017-10-31 10:48:43 +08:00
Alex Zhao
d0eaf0d99e net: wireless: rockchip_wlan: add CONFIG_WIFI_BUILD_MODULE
support compile wifi driver as ko module

Change-Id: Idfb9951f2851dee51e8cc88ad938301f280119dd
Signed-off-by: Alex Zhao <zzc@rock-chips.com>
2017-10-31 10:48:25 +08:00
Alex Zhao
53d1a87a0b ARM: dts: rockchip: rk3126-bnd-d708: add wifi support
Change-Id: I4eb164908020ce913444816d7f666fe7060d84db
Signed-off-by: Alex Zhao <zzc@rock-chips.com>
2017-10-31 10:44:07 +08:00
Langlang Wang
7746365205 input: sensor: add gsensor bma2xx and p/lsenspr stk3410 support
Change-Id: Id863d67574cfe9aa463090b3377e8945a5146f7a
Signed-off-by: Langlang Wang <langlang.wang@rock-chips.com>
2017-10-31 10:37:07 +08:00
Peng Zhou
016f7ec166 Rockchip: vip: support cif controller
Transplant from kernel v3.10.

Change-Id: I8b1f8d664ebcaad435132f260250204255793b66
Signed-off-by: Peng Zhou <benjo.zhou@rock-chips.com>
2017-10-31 09:49:17 +08:00
Joseph Chen
392fd544e8 regulator: rk808: fix rk816 regulators register failed
fix commit: 45a046e.
regulator framework requires continuous regulator id.

Change-Id: I2e2b789c3ab9126e793d9e304ef2a44d8f46eacd
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2017-10-31 09:39:45 +08:00
Joseph Chen
80e52d1b8a ARM: rockchip_defconfig: enable rk816 battery
Change-Id: I59bd7037c2650f5a66d5168bf52422646aa829d6
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2017-10-31 09:39:37 +08:00
Joseph Chen
c6151403e7 power: add rk816 battery support
porting from kernel 3.10, it includes fuel gauge and charger.

Change-Id: Ib1dbc6a2c869a44459570f5368900e9dbfe93ed0
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2017-10-31 09:39:03 +08:00
Zheng Yang
81ba0ec901 drm: bridge: dw-hdmi: add switch state in dw_hdmi_connector_force
Application need to listen HDMI connector state when connector is
forced on/off, so we add switch_set_stat in dw_hdmi_connector_force.

Change-Id: I2b76a0a647eb6a4cfde7584e085f53540d0fa27f
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2017-10-30 20:57:34 +08:00
Huibin Hong
4391b28ca8 serial: 8250_dw: set uart clk according to buadrate
Change-Id: I27f92816b202bbe4fa9d97f7656721661afbaa6e
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
2017-10-30 15:52:41 +08:00
Liang Chen
e67276b8f7 ARM: dts: rk3126-evb: correct pull state of rk816 interrupt pin
Change-Id: Ice5e4608fa2e228a58655f484e8c58c7cd431e16
Signed-off-by: Liang Chen <cl@rock-chips.com>
2017-10-30 15:51:54 +08:00
Zheng Yang
a1af913eb2 drm/edid: fix color format when parsing hdmi deep color info
According to HDMI spec 1.4, YCbCr422 is also 36-bit mode, so
we remove the override of color format when parsing hdmi deep
color info. And record hdmi YCbCr444 deep color info in
edid_hdmi_dc_modes.

The edid_hdmi_dc_modes should be clean up when parsing EDID.

Change-Id: Ic5bd3ff5e50b37f04ed4a0688be68bd8259e5af0
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2017-10-30 11:08:57 +08:00
Jyri Sarha
5cb9cc3e1b UPSTREAM: drm: Make drm_atomic_replace_property_blob_from_id() more generic
Change drm_atomic_replace_property_blob_from_id()'s first parameter
from drm_crtc to drm_device, so that the function can be used for other
drm_mode_objects too.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/851b8504c7f294a10645ba6f6d391ac9764068b7.1492768073.git.jsarha@ti.com
(cherry picked from commit dafee60d48)

Change-Id: I479323a163deaeb6e6ecac2f04fecb39d48444b1
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2017-10-30 11:08:41 +08:00
Randy Li
4280fa5581 ARM: dts: rockchip: bind the internal ethernet at rk3036
It allows me to set the mac address in the bootloader.

Change-Id: Iad988205c6953e843e62aec67daad52128086324
Signed-off-by: Randy Li <randy.li@rock-chips.com>
2017-10-30 10:47:31 +08:00
Randy Li
b759d24c86 ARM: dts: rockchip: enable the video decoder at rk3036 kylin
The kylin is ready for the media time.

Change-Id: I94e46912c82b4ad8b8b184b34dd2820078e0c697
Signed-off-by: Randy Li <randy.li@rock-chips.com>
2017-10-30 10:46:44 +08:00
Randy Li
d03d742c29 ARM: dts: rockchip: add hevc & vpu service for rk3036
There is a combo of a HEVC decoder and a VPU1 decoder at rk3036.

Change-Id: Ia7174cc9e2f2d640a74271077bd62cc68f3482b4
Signed-off-by: Randy Li <randy.li@rock-chips.com>
2017-10-30 10:46:37 +08:00
Wu Liangqing
be95647823 driver: input: touch: rockchip_gslX680 remove log printk
Change-Id: Ied793a64b2ea1830df51a96a7b4a3ce7401a69f5
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2017-10-30 10:44:20 +08:00
Wu Liangqing
33d10ca2e8 ARM: dts: rockchip: rk3126c: add battery in bnd-d708
Change-Id: I01854a7d233f5bf4b783392641093503cbda9217
Signed-off-by: Wu Liangqing <wlq@rock-chips.com>
2017-10-30 10:26:26 +08:00
Langlang Wang
ad2af6f833 arm64: dts: rockchip: rk3368-xikp: change the layout of gsensor
Change-Id: I8855196b4a3bec0f2470f12b754d2285fd71f0a9
Signed-off-by: Langlang Wang <langlang.wang@rock-chips.com>
2017-10-30 10:09:27 +08:00
Mark Yao
3651973a75 drm/rockchip: vop: support yuv420 mode on rk3288w
Change-Id: I1b0b41df5c521b1113407ab6a87353eb1ec23a84
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-10-30 09:18:07 +08:00
Mark Yao
0f391989ce drm/rockchip: vop: correct rk3288 vop version
From rk3288 vop version register, rk3288 vop version is 3.0

Change-Id: Ib7e40ec93792290a8ea6e350bb7fdcfeeb697ec6
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-10-30 09:15:57 +08:00
Mark Yao
c852061b5a drm/rockchip: hdmi: support yuv420 mode on rk3288w
Change-Id: Ie7c68dad11a98a1142388deadb7d3034443f9658
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-10-30 09:15:56 +08:00
Zheng Yang
9156d7504c drm: bridge: dw-hdmi: fix ycbcr_420_allowed condition of RK3288
The version of RK3288 HDMI is 0x200a, it doesn't support ycbcr420 mode.

Change-Id: I65ee16ae79f42fd13514db8e5819db6d07db9d3d
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com>
2017-10-30 09:15:55 +08:00
Randy Li
eb3761e409 staging: ion: implement the vmap() and vunmap()
Comparing to the latest the ion driver, the vmap() or
vunmap() are not supported yet, but at least it would
be more easy to implement the sync function.

I didn't remove those legacy iommu code this time, I just
add this patch to make the functions I want work.

Change-Id: Id7731fd44b729338c0a0059a1517bfe1333391e8
Signed-off-by: Randy Li <randy.li@rock-chips.com>
2017-10-27 11:05:04 +08:00
Langlang Wang
a769f78068 input: sensor: mc3230: ensure the layout can be apply by the driver
Change-Id: I9481b4b15103a57571d448efb65e7bc539f85349
Signed-off-by: Langlang Wang <langlang.wang@rock-chips.com>
2017-10-27 10:57:00 +08:00
Langlang Wang
c47a241f69 ARM: dts: rockchip: rk3368-bnd: change backlightscale and add gsensor
Change-Id: I768b9649c212ba0214136626b950e2da37682d78
Signed-off-by: Langlang Wang <langlang.wang@rock-chips.com>
2017-10-27 10:56:29 +08:00
Simon Xue
6edf2bce3e dt-bindings: iommu: add disable iommu reset and skip iommu read for rockchip iommu
Change-Id: I3f31f5745078717dfecba649ae6aca573eb7f30b
Signed-off-by: Simon Xue <xxm@rock-chips.com>
2017-10-27 09:18:18 +08:00
Simon Xue
9589e35ca4 ARM: dts: rk3128: add skip mmu read for vop mmu
Change-Id: Ibdae8ec005fd87eb2a9db36e53d260996797e3a6
Signed-off-by: Simon Xue <xxm@rock-chips.com>
2017-10-27 09:17:59 +08:00
Simon Xue
539e70084b iommu/rockchip: skip read vop iommu registers on rk3128 and rk3126
RK3128 and RK3126 failed to read vop iommu register, it is SoC bug.
Add this patch as a workaround for this bug, make SoC work as normal

Change-Id: I44d4ef7f6e15f85a466563b0b3e8e091db23fba0
Signed-off-by: Simon Xue <xxm@rock-chips.com>
2017-10-27 09:17:51 +08:00
hgc
e41c016401 arm64: rockchip_linux_defconfig: enable initramfs
Change-Id: Ibb6db8a415a498896ee22d2d143529dc8c559a4a
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com>
2017-10-26 10:10:28 +08:00
shengfei Xu
dce2f990d7 regulator: rk808: fix the regulator control value in system suspend for rk816
set 1 if the regulator is enabled in system suspend, 0 if not.

Change-Id: I8d51ac685bbd2417f440842d010fe47946c9f567
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
2017-10-26 10:07:42 +08:00
Tao Huang
26f7f90fa4 ARM: rockchip_defconfig: disable DEVKMEM
42019da52a ("android: base-cfg: turn off /dev/mem and /dev/kmem")

Change-Id: I2d34d76b6ed85fbd590be2e0c445c19f253bc2c4
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2017-10-25 15:51:43 +08:00
Tao Huang
3770f6c8a5 arm64: rockchip_defconfig: disable DEVKMEM and DEVPORT
42019da52a ("android: base-cfg: turn off /dev/mem and /dev/kmem")
870f86b79c85 ("Unsetting DEVPORT from marlin configurations.")

Change-Id: I03610d55f3af2e9398b02e36d1d6c05a2eda9657
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2017-10-25 15:42:12 +08:00