Commit Graph

610930 Commits

Author SHA1 Message Date
David Wu
a69c844831 arm64: dts: rockchip: Add i2c nodes for rk1808
Change-Id: Idc9fe2e7b339dd30d770b1fe832bb170a670b393
Signed-off-by: David Wu <david.wu@rock-chips.com>
2018-08-03 11:05:24 +08:00
Tao Huang
40aa66fc68 Merge tag 'lsk-v4.4-18.07-android' of git://git.linaro.org/kernel/linux-linaro-stable.git
LSK 18.07 v4.4-android

* tag 'lsk-v4.4-18.07-android': (254 commits)
  Linux 4.4.143
  net/nfc: Avoid stalls when nfc_alloc_send_skb() returned NULL.
  rds: avoid unenecessary cong_update in loop transport
  KEYS: DNS: fix parsing multiple options
  netfilter: ebtables: reject non-bridge targets
  MIPS: Use async IPIs for arch_trigger_cpumask_backtrace()
  MIPS: Call dump_stack() from show_regs()
  rtlwifi: rtl8821ae: fix firmware is not ready to run
  net: cxgb3_main: fix potential Spectre v1
  net/mlx5: Fix command interface race in polling mode
  net_sched: blackhole: tell upper qdisc about dropped packets
  vhost_net: validate sock before trying to put its fd
  tcp: prevent bogus FRTO undos with non-SACK flows
  tcp: fix Fast Open key endianness
  r8152: napi hangup fix after disconnect
  qed: Limit msix vectors in kdump kernel to the minimum required count.
  net: sungem: fix rx checksum support
  net/mlx5: Fix incorrect raw command length parsing
  net: dccp: switch rx_tstamp_last_feedback to monotonic clock
  net: dccp: avoid crash in ccid3_hc_rx_send_feedback()
  ...

Fix wrong merge of include/linux/compiler-gcc.h

Change-Id: I1daae1251069d2791d2e29b65942d086fb8ad0ac
2018-08-03 10:09:13 +08:00
Li Huang
9e065854a5 video/rockchip: rga: Remove MMU struct unuse member
it will set alpha_rop_mode to 0, fixup rga blend error.

Change-Id: I6c10df0e4d198ab8da8d352239151ddc3605e860
Signed-off-by: Li Huang <putin.li@rock-chips.com>
2018-08-03 09:37:44 +08:00
Hu Kejun
fad2756f8c media: rockchip: isp1: fix dq timeout
After enter->capture->video->exit->enter ...... long time test,
the shadow register of mi buffer base address can't update
automatically any more.

In application layer, we will get dq timeout error log.

Add CIF_IRCL_MI_SW_RST in rkisp1_isp_stop can fix this bug.

Change-Id: I386d6b2d2c3882fc76eb9f7283e1bc2309ee3210
Signed-off-by: Hu Kejun <william.hu@rock-chips.com>
2018-08-03 09:33:02 +08:00
Boris Brezillon
01eef91312 UPSTREAM: leds: pwm: Use pwm_get_args() where appropriate
The PWM framework has clarified the concept of reference PWM config (the
platform dependent config retrieved from the DT or the PWM lookup table)
and real PWM state.

Use pwm_get_args() when the PWM user wants to retrieve this reference
config and not the current state.

This is part of the rework allowing the PWM framework to support
hardware readout and expose real PWM state even when the PWM has just
been requested (before the user calls pwm_config/enable/disable()).

Change-Id: I8286b16dc8d828ba8a66a17675fe6fbedcba480b
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Acked-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
(cherry picked from commit 1b50673dfa)
2018-08-02 19:43:16 +08:00
William Wu
cbc9f84034 ARM: rockchip_defconfig: enable usb configfs uvc
Change-Id: Iccb30e546eecc90ceaa5e4e3039c2f29f2542bde
Signed-off-by: William Wu <william.wu@rock-chips.com>
2018-08-02 19:21:39 +08:00
William Wu
825a3df1a8 arm64: rockchip_defconfig: enable usb configfs uvc
Change-Id: Iade4b2959450e51cb1f75b1b4b1ccbe9cc3fc2e3
Signed-off-by: William Wu <william.wu@rock-chips.com>
2018-08-02 19:21:39 +08:00
William Wu
af0dd3d28b usb: gadget: uvc: fix bFrameIndex of streaming interface descriptor
The bFrameIndex of video streaming interface descriptor
is initialized to 1 in uvcg_frame_make(), but never be
setted for different frame resolutions, this cause host
to fail to select the correct frame resolution. This patch
increases the bFrameIndex in order.

Change-Id: Ic0609976e09d9e3d6f82595c00e2ac7b356e4f5f
Signed-off-by: William Wu <william.wu@rock-chips.com>
2018-08-02 19:21:39 +08:00
William Wu
23f0e17a96 usb: dwc_otg_310: do not clear nak when prepare for setup packet
When prepare setup packet, don't clear nak before call
ep0_out_start(), because clear nak will make the usb
core to handle OUT transaction immediately without
NAK response, this may cause OUT transaction fail.

We can reproduce this issue in the following two case:
 - Configure usb device as rndis, connect to Windows PC;
 - Configure usb device as uvc, connect to Windows PC,
   and take still image;

Use the usb analyzer to capture data in case2,we can
easily to find the problem.

Without this patch, the Class request OUT transfer is:
 - SETUP transaction
 - OUT transaction
   - OUT packet
   - DATA1 packet
   - ACK pakcet
 - IN transactions
   - IN packet
   - NAK packet (response NAK forever)

With this patch, the Class request OUT transfer is:
 - SETUP transaction
 - OUT transaction
   - OUT packet
   - DATA1 packet
   - NAK packet
 - PING transactions
 - OUT transaction
   - OUT packet
   - DATA1 packet
   - ACK pakcet
 - IN transaction
   - IN packet
   - DATA1 packet
   - ACK pakcet

Change-Id: I5ea915bc425ffa2f2a06a1a830f6f88725c94b03
Signed-off-by: William Wu <william.wu@rock-chips.com>
2018-08-02 19:21:39 +08:00
William Wu
6e1353425b usb: dwc_otg_310: do not stop isoc ep transfer when ep dequeue
When dequeue req which already queued on the endpoint,
don't stop the transfer and also don't flush the Tx FIFO
for isoc endpoint, otherwise, it may fail when set NAK
bit and disable ep in dwc_otg_pcd_ep_stop_transfer().

Change-Id: Ib3c1215f9c9507c08cc12c966456209384811b6d
Signed-off-by: William Wu <william.wu@rock-chips.com>
2018-08-02 19:21:39 +08:00
William Wu
f0cdce4eaa usb: dwc_otg_310: use wait-till-ready timeout loop for ep deactivate
In some error case, it may fail to set the NAK bit
or Disable bit for endpoint when do ep deactivate
operation. We need to use wait-till-ready timeout
loop for ep deactivate instead of while loop.

Change-Id: I0e5ed61b2528f89910333c5eb907677e492fe3a0
Signed-off-by: William Wu <william.wu@rock-chips.com>
2018-08-02 19:21:39 +08:00
William Wu
94ddeb4fa9 usb: dwc_otg_310: reinit isoc ep frame num when dequeue
The frame num of isoc ep is initialized to 0xFFFFFFFF in
ep_enable and start_next_request(), and then in the NAK
interrupt handler, it will check if the ep frame num is
0xFFFFFFFF, then reset the frame num to 0 and start next
request.

But if we dequeue the isoc ep request if it's already
enqueued, if may fail to call complete_ep() -> start_
next_request(), so the isoc ep frame num can't be reinit
to 0xFFFFFFFF, this cause NAK interrupt handler check
the frame num incorrectly, and fail to start next request.

Change-Id: Iab8526f6e3979347bdbe6c49525ec0ba8130d4bc
Signed-off-by: William Wu <william.wu@rock-chips.com>
2018-08-02 19:21:39 +08:00
William Wu
160f9f6f0a usb: dwc_otg_310: don't print info when start zl transfer
The dwc_otg_ep_start_zl_transfer() can be called from irq
handler in the top half, so don't print additional log to
avoid wasting too much time in interrupt handling.

If someone needs to dump verbose log, just set the debug
level to appropriate value.

Change-Id: If6fb8a22e0c42fb2b629c3a82d8e632254434784
Signed-off-by: William Wu <william.wu@rock-chips.com>
2018-08-02 19:21:39 +08:00
Frank Wang
4b72b4c39f usb: dwc_otg_310: fix usb devices reconnect failed
Sometimes we found the usb device could not connect to the HUBs when
the cable plug in and out constantly, the root cause is "USB RESET"
was missed from these HUBs, and we only try 2 times to reconnect.

This patch as one workaround to increase reconnect times to 6, and
add the delay time (3.5ms-4ms) after DCTL.SftDiscon bit was clear.

Change-Id: I57cfe5dc68e6d3d67c20771423dae29542ed047d
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Signed-off-by: William Wu <william.wu@rock-chips.com>
2018-08-02 19:21:39 +08:00
William Wu
02ac9b28b5 usb: dwc_otg_310: set transmit threshold length to 16 DWORDS
According to DWC2 databook V3.10a, 5.3.5.14 Device Threshold
Control Register (DTHRCTL), it recommends that the Transmit
Threshold Length (TxThrLen) is to be the same as the programmed
AHB Burst Length (GAHBCFG.HBstLen), on Rockchip platform the
value is 16.

Change-Id: I6427e3a3fc7b57e85229cdf4b9c5fff878b919b6
Signed-off-by: William Wu <william.wu@rock-chips.com>
2018-08-02 19:21:39 +08:00
Frank Wang
5e5c15bd6a usb: dwc_otg_310: amend last_id property to support PM suspend
Move last_id property from static to struct dwc_otg_device as a static
global variable to support PM suspend process.

Change-Id: I7729095339aed3dcca6481005f249c855ebbdb3c
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
Signed-off-by: William Wu <william.wu@rock-chips.com>
2018-08-02 19:21:39 +08:00
William Wu
6b9332d6e9 usb: dwc_otg_310: pcd: don't print info if no more ISOC requests
Change-Id: I672f3246cd14e6978fec6c62f471e16b2a3863bd
Signed-off-by: William Wu <wulf@rock-chips.com>
2018-08-02 19:21:39 +08:00
William Wu
799e7f1c33 usb: dwc_otg_310: support high bandwidth endpoints
According to 'DesignWare Cores USB 2.0 Hi-Speed On-The-Go (OTG)
Programmer's Guide' 2.1.3.3 Dedicated FIFO Mode with Thresholding,
We can use threshold to support the following case:

1. To have a smaller FIFO size;
2. To have faster DMA response;

The threshold is useful for rockchip platforms which has a smaller
FIFO size and try to support three isochronous back-to-back packets
(high bandwidth).

And we also need to set GAHBCFG.HBstLen to INCR16 for high bandwidth
endpoints. If you want to support high bandwidth endpoints, it needs
to add a new property 'rockchip,high-bandwidth' in dts usb node.

Change-Id: I0c1d373cdaa51f22c15484912b752fb0b6ad4b9c
Signed-off-by: William Wu <wulf@rock-chips.com>
2018-08-02 19:21:39 +08:00
Finley Xiao
846fbdc826 arm64: dts: rockchip: rk3399: Change vdd_log to 900000uV
As 900000uV is enough for vdd_log.

Change-Id: I05194a4071aba066683f48e04c1d467f54bc77dc
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-08-02 19:20:43 +08:00
Finley Xiao
026df77241 arm64: dts: rockchip: Change vdd_log to 900000uV for rk3399-sapphire
As 900000uV is enough for vdd_log.

Change-Id: I479a857735e4f49141322e7635dea7c1bee0e118
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2018-08-02 19:20:43 +08:00
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