Commit Graph

603768 Commits

Author SHA1 Message Date
Alex Zhao
5fda03d4a9 net: rfkill: rockchip: add vbat_gpio to control the wifi power supply
Change-Id: I4746fd5c46c5e1a7df2bb18f80f5a8efee20605f
Signed-off-by: Alex Zhao <zzc@rock-chips.com>
2017-10-17 11:05:46 +08:00
Tao Huang
053de347cd rk: remove unused PIE support
Change-Id: Ib7793724ef4e1c681898813e4ca5dd47a1960ae2
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
2017-10-16 17:55:00 +08:00
Elaine Zhang
fba107bd06 clk: rockchip: rk3368: set clk parent npll to dummy_npll
npll is just for dclk_vop, others clk not allowed to set npll as parent.

Change-Id: I11e1770acab5486acaebafd56a0c57847f7f533c
Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com>
2017-10-16 17:25:42 +08:00
kenjc.bian
914276d56b ARM64: dts: rockchip: rk3368-android: Enable verity-boot on vendor partition node for Android Oreo Treble.
Change-Id: I5c247812d785183c59ec787e1a4cfe25e6b54397
Signed-off-by: kenjc.bian <kenjc.bian@rock-chips.com>
2017-10-16 10:27:42 +08:00
Wenping Zhang
ae4ed36190 ARM: dts: rockchip: improve bus speed of eMMC for rk3229-gva.
add mmc hs200/ddr mode support and increase the max clock frequence.

Change-Id: I7e81dfaf364d88a3e8bf0278a8f771a8179c6627
Signed-off-by: Wenping Zhang <wenping.zhang@rock-chips.com>
2017-10-13 18:13:03 +08:00
Huibin Hong
d7155171cb dmaengine: pl330: _loop_cyclic fix cycles of last loop
It has been tested by i2s, we can hear noise when play
music by unalign buffer size.

Change-Id: Ie52d5ac79c71df8fcec841d8801e24280831420e
Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
2017-10-13 10:43:44 +08:00
Jerry Xu
b6a5629d4d ARM: dts: rk3288-evb: modify the expression of the delay time for panel
Change-Id: Icc859a57caebde1eacefd27ba65f3e05f1466389
Signed-off-by: Jerry Xu <xbl@rock-chips.com>
2017-10-12 14:24:48 +08:00
Will Deacon
d86a4c8c46 BACKPORT: arm64/vdso: Fix nsec handling for CLOCK_MONOTONIC_RAW
commit dbb236c1ce upstream.

Recently vDSO support for CLOCK_MONOTONIC_RAW was added in
49eea433b3 ("arm64: Add support for CLOCK_MONOTONIC_RAW in
clock_gettime() vDSO"). Noticing that the core timekeeping code
never set tkr_raw.xtime_nsec, the vDSO implementation didn't
bother exposing it via the data page and instead took the
unshifted tk->raw_time.tv_nsec value which was then immediately
shifted left in the vDSO code.

Unfortunately, by accellerating the MONOTONIC_RAW clockid, it
uncovered potential 1ns time inconsistencies caused by the
timekeeping core not handing sub-ns resolution.

Now that the core code has been fixed and is actually setting
tkr_raw.xtime_nsec, we need to take that into account in the
vDSO by adding it to the shifted raw_time value, in order to
fix the user-visible inconsistency. Rather than do that at each
use (and expand the data page in the process), instead perform
the shift/addition operation when populating the data page and
remove the shift from the vDSO code entirely.

[jstultz: minor whitespace tweak, tried to improve commit
 message to make it more clear this fixes a regression]
Change-Id: Ib211fcb73106fd088bb3c43725df2b9264ab303d
Reported-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Tested-by: Daniel Mentz <danielmentz@google.com>
Acked-by: Kevin Brodsky <kevin.brodsky@arm.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Stephen Boyd <stephen.boyd@linaro.org>
Cc: Miroslav Lichvar <mlichvar@redhat.com>
Link: http://lkml.kernel.org/r/1496965462-20003-4-git-send-email-john.stultz@linaro.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
(cherry picked from LTS linux-4.9.y
 commit 99f66b5182)
2017-10-11 10:25:20 +08:00
John Stultz
edba96e19d BACKPORT: time: Fix CLOCK_MONOTONIC_RAW sub-nanosecond accounting
commit 3d88d56c58 upstream.

Due to how the MONOTONIC_RAW accumulation logic was handled,
there is the potential for a 1ns discontinuity when we do
accumulations. This small discontinuity has for the most part
gone un-noticed, but since ARM64 enabled CLOCK_MONOTONIC_RAW
in their vDSO clock_gettime implementation, we've seen failures
with the inconsistency-check test in kselftest.

This patch addresses the issue by using the same sub-ns
accumulation handling that CLOCK_MONOTONIC uses, which avoids
the issue for in-kernel users.

Since the ARM64 vDSO implementation has its own clock_gettime
calculation logic, this patch reduces the frequency of errors,
but failures are still seen. The ARM64 vDSO will need to be
updated to include the sub-nanosecond xtime_nsec values in its
calculation for this issue to be completely fixed.

Change-Id: I84f455fc9adbb26c4130205d9ebe3683f638fc1d
Signed-off-by: John Stultz <john.stultz@linaro.org>
Tested-by: Daniel Mentz <danielmentz@google.com>
Cc: Prarit Bhargava <prarit@redhat.com>
Cc: Kevin Brodsky <kevin.brodsky@arm.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Cc: Stephen Boyd <stephen.boyd@linaro.org>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Miroslav Lichvar <mlichvar@redhat.com>
Link: http://lkml.kernel.org/r/1496965462-20003-3-git-send-email-john.stultz@linaro.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tao Huang <huangtao@rock-chips.com>
(cherry picked from LTS linux-4.9.y
 commit a53bfdda06)
2017-10-11 10:18:45 +08:00
Sugar Zhang
9f2572ec7f video: rockchip: hdmi: enable nlpcm audio case
Change-Id: I21034b9053c171c3503054c4b23d67b11a7f430a
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
2017-10-10 16:03:57 +08:00
Yankun Zheng
d98c0f32ae input: touchpad: cy8c: modify interrupt level to falling
Change-Id: I76ecd950df00ff53dd677316f71b5083c6102cba
Signed-off-by: Yankun Zheng <zyk@rock-chips.com>
2017-10-10 11:29:52 +08:00
Hao Xiaowei
128eb5079c ARM64: dts: rockchip: rk3368-android: Add system/vendor partition nodes for Android Oreo Treble
Change-Id: If01bda29e9952164dd135c397a058bf67a5ea03b
Signed-off-by: Hao Xiaowei <hxw@rock-chips.com>
2017-10-10 09:38:48 +08:00
Liang Chen
3be9ee15fb ARM: dts: rockchip: add basic dts file for rk3128-fireprime board
Change-Id: I9a5e3c7a1f800533825d5bb20c996561431ee621
Signed-off-by: Liang Chen <cl@rock-chips.com>
2017-10-10 09:33:41 +08:00
David Wu
f838f63e15 ARM: dts: rockchip: Add gmac node for rk312x
Change-Id: I1b8b3041d5c020816a8afac117aed644c2d6e0e7
Signed-off-by: David Wu <david.wu@rock-chips.com>
2017-10-09 16:46:24 +08:00
Jason Song
a8facd8c95 input: touchscreen: gt9xx: compatible with gt9xxf.
Change-Id: Id428befa8db59870230865d1b5c11096c1ee5236
Signed-off-by: Jason Song <sxj@rock-chips.com>
2017-10-09 16:39:54 +08:00
David Wu
816a964571 ARM: dts: rockchip: Use default setting instead of up and down pull setting on rk312x
The rk312x soc's up and down pull setting is determined by the hardware.
So remove the wrong up and down pull setting, the pcfg_pull_none setting
is disabled the pull.

Change-Id: I2a2f33ab6b460806601ad5e1914a5e4eee013835
Signed-off-by: David Wu <david.wu@rock-chips.com>
2017-10-09 10:25:51 +08:00
David Wu
c4223b3000 net: stmmac: dwmac-rk: Add RK3128 GMAC support
Add constants and callback functions for the dwmac on rk3128 soc.
As can be seen, the base structure is the same, only registers
and the bits in them moved slightly.

Change-Id: I62617ad8d58ce3f19a1222e1494a89545d6ec45e
Signed-off-by: David Wu <david.wu@rock-chips.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-09 10:15:38 +08:00
David Wu
bb17dcd593 net: ethernet: stmmac: dwmac-rk: Add rv1108 gmac support
It only supports rmii interface. Add constants and callback functions
for the dwmac on rv1108 socs. As can be seen, the base structure is
the same, only registers and the bits in them moved slightly.

Change-Id: I91e6c812b8e3dc640884d66b41490f5e588a3f28
Signed-off-by: David Wu <david.wu@rock-chips.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-10-09 10:15:23 +08:00
Finley Xiao
1b0eb8126b arm64: dts: rockchip: rk3368: Select L2 if cpub leakage is greater than 50mA
Change-Id: I3ad9dd015320312ef3851c686a909553b36e874b
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2017-10-09 09:05:13 +08:00
Finley Xiao
e6c4c43e0d arm64: dts: rockchip: rk3399-sapphire-excavator: add dmc and dfi nodes
If ddr frequency can be changed according to vop bandwidth,
change auto-min-freq to 200MHz is okay and 200MHz is enough
for 1080P@30fs and 1080P@60fps.

Change-Id: I522fecb1f97430344b0b67c9ee72a447528c6b76
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2017-09-30 18:25:55 +08:00
Jerry Xu
6806cf409f ARM: dts: rk3288-android: simplify the node of dsi0_in_vopl and edp_in_vopl
Change-Id: I4e53512c2d773ec1023e9d6b96e7959a0c04e636
Signed-off-by: Jerry Xu <xbl@rock-chips.com>
2017-09-30 17:07:59 +08:00
Wenping Zhang
5a67cd3445 ARM: dts: rockchip: amend fiq instead of irq debug for rk3229
This patch amends fiq instead of irq debug for rk3229 SoCs.

Change-Id: Ib910fb07c5836caf6c0ea73e7693cae2b2b7042d
Signed-off-by: Wenping Zhang <wenping.zhang@rock-chips.com>
2017-09-30 17:07:37 +08:00
Frank Wang
5e2a674e07 ARM: dts: rockchip: add reserved-memory for trust on rk3229-evb board
This change reserved 14M memory zone for OPTEE side on rk3229-evb board.

Change-Id: I4f25f556f3adb649a5ac248a46927a716a38b902
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
2017-09-30 17:07:32 +08:00
shengfei Xu
ef06da2890 soc: rockchip: rockchip_pm_config: set the real pin number to ATF
If the gpio base is started from 1000, The real pin
number is "gpio number - 1000".

Change-Id: If9b627ce9689105d0cdb7314869d598b4132f486
Signed-off-by: shengfei Xu <xsf@rock-chips.com>
2017-09-30 15:47:07 +08:00
xuhuicong
727e0fe68d drm/edid: output common tv resolution and hdmi mode if no read the correct edid
Change-Id: Ib7379340e8c1d59382553d21b60165fe5fb371e8
Signed-off-by: xuhuicong <xhc@rock-chips.com>
2017-09-29 16:59:09 +08:00
Randy Li
c0aed970b7 rockchip: video: vpu: fix the ioctl for all platforms
The command defines for the ioctl will be installed
into userspace in a header file.

The arguments of the ioctl is the unique at a platform.

Change-Id: Ia86a12c91cc4243fea24fc21cc0a9f77ec9fb2d6
Signed-off-by: Randy Li <randy.li@rock-chips.com>
2017-09-29 10:28:01 +08:00
Jacob Chen
4a4a40b964 clk: rockchip: associate SCLK_MAC_PLL on rk3288
see:
http://elixir.free-electrons.com/linux/v4.8/source/Documentation/devicetree/bindings/net/rockchip-dwmac.txt#L32

Change-Id: Ibf94d88219b13f5dd16cfdeb02d1b255e695399f
Signed-off-by: Jacob Chen <jacob-chen@iotwrt.com>
2017-09-29 10:27:11 +08:00
Finley Xiao
83f6c09912 arm64: dts: rockchip: rk3399: add vop-bw-dmc-freq property for evb board
If ddr frequency can be changed according to vop bandwidth,
change auto-min-freq to 200MHz is okay and 200MHz is enough
for 1080P@30fs and 1080P@60fps.

Change-Id: I4fddb71ced34f4d217d7fc1b97ccf73e612683b0
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
2017-09-29 10:26:03 +08:00
Algea Cao
8cef5391e1 ARM: dts: rk3288: add hdmi gpio pinctrl
To set hdmi ddc pin HI-Z when suspend.

Change-Id: I82b0a1b0a7ec1899c13c14cfc250d3d5d30c19d5
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2017-09-28 17:45:17 +08:00
Algea Cao
7ed0a48a76 drm: bridge: dw-hdmi: set hdmi ddc pin HI-Z when suspend
Set hdmi ddc pin HI-Z to save power.

Change-Id: Ic5e15cac43c486e7de6be8526daea9b36da68bc8
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
2017-09-28 17:17:59 +08:00
Jerry Xu
8d2502bbf4 ARM: dts: rk3288: add rockchip,lane-rate for mipi dsi panel
give an example for client.

Change-Id: Ifd674dd4b2162dfb2ae6b90b272d502918b34890
Signed-off-by: Jerry Xu <xbl@rock-chips.com>
2017-09-28 16:50:20 +08:00
Jerry Xu
5fbe472645 drm/rockchip: dsi: fix phy pll programming order
The order of the write registers is as follows:
0x17->0x18(lsb)->0x19->0x18(msb)->0x19

Change-Id: I3164a46ed49be611db5bd62d2ae7810613bdbfe0
Signed-off-by: Jerry Xu <xbl@rock-chips.com>
2017-09-28 16:49:55 +08:00
Wyon Bi
0f4abff0dd arm64: dts: rockchip: rk3368-px5-evb-android: add support for edp panel
Change-Id: Ic6405b3ed8c0c4ff63484782bbeacdada343e6df
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2017-09-28 15:20:41 +08:00
Jason Song
4fa7f00a2b arm64: dts: rockchip: use gpio macro instead of number for rk3368-px5-evb-android
Change-Id: I74ddedaa5c4ad95acac2b738804e22957899e511
Signed-off-by: Jason Song <sxj@rock-chips.com>
2017-09-28 14:22:23 +08:00
Douglas Anderson
fc03ac3fd3 UPSTREAM: phy: rockchip-typec: Don't set the aux voltage swing to 400 mV
On rk3399-gru-kevin there are some cases where we're seeing AUX CH
failures when trying to do DisplayPort over type C.  Problems are
intermittent and don't reproduce all the time.  Problems are often
bursty and failures persist for several seconds before going away.
The failure case I focused on is:
* A particular type C to HDMI adapter.
* One orientation (flip mode) of that adapter.
* Easier to see failures when something is plugged into the _other
  type C port at the same time.
* Problems reproduce on both type C ports (left and right side).

Ironically problems also stop reproducing when I solder wires onto the
AUX CH signals on a port (even if no scope is connected to the
signals).  In this case, problems only stop reproducing on the port
with the wires connected.

From the above it appears that something about the signaling on the
aux channel is marginal and any slight differences can bring us over
the edge to failure.

It turns out that we can fix our problems by just increasing the
voltage swing of the AUX CH, giving us a bunch of extra margin.  In DP
up to version 1.2 the voltage swing on the aux channel was specced as
.29 V to 1.38 V.  In DP version 1.3 the aux channel voltage was
tightened to be between .29 V and .40 V, but it clarifies that it
really only needs the lower voltage when operating at the highest
speed (HBR3 mode).  So right now we are trying to use a voltage that
technically should be valid for all versions of the spec (including
version 1.3 when transmitting at HBR3).  That would be great to do if
it worked reliably.  ...but it doesn't seem to.

It turns out that if you continue to read through the DP part of the
rk3399 TRM and other parts of the type C PHY spec you'll find out that
while the rk3399 does support DP 1.3, it doesn't support HBR3.  The
docs specifically say "RBR, HBR and HBR2 data rates only".  Thus there
is actually no requirement to support an AUX CH swing of .4 V.

Even if there is no actual requirement to support the tighter voltage
swing, one could possibly argue that we should support it anyway.  The
DP spec clarifies that the lower voltage on the AUX CH will reduce
cross talk in some cases and that seems like it could be beneficial
even at the lower bit rates.  At the moment, though, we are seeing
problems with the AUX CH and not on the other lines.  Also, checking
another known working and similar laptop shows that the other laptop
runs the AUX channel at a higher voltage.

Other notes:
* Looking at measurements done on the AUX CH we weren't actually
  compliant with the DP 1.3 spec anyway.  AUX CH peek-to-peek voltage
  was measured on rk3399-gru-kevin as .466 V which is > .4 V.
* With this new patch the AUX channel isn't actually 1.0 V, but it has
  been confirmed that the signal is better and has more margin.  Eye
  diagram passes.
* If someone were truly an expert in the Type C PHY and in DisplayPort
  signaling they might be able to make things work and keep the
  voltage at < .4 V.  The Type C PHY seems to have a plethora of
  tuning knobs that could almost certainly improve the signal
  integrity.  Some of these things (like enabling tx_fcm_full_margin)
  even seem to fix my problems.  However, lacking expertise I can't
  say whether this is a better or worse solution.  Tightening signals
  to give cleaner waveforms can often have adverse affects, like
  increasing EMI or adding noise to other signals.  I'd rather not
  tune things like this without a healthy application of expertise
  that I don't have.

Change-Id: Ifa4fbb8844edd731debc4a469b762afdcdd449c2
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2017-09-28 14:13:09 +08:00
Douglas Anderson
e35d5a0ac9 UPSTREAM: phy: rockchip-typec: Set the AUX channel flip state earlier
On some DP monitors we found that setting the wrong flip state on the
AUX channel could cause the monitor to stop asserting HotPlug Detect
(HPD).  Setting the right flip state caused these monitors to start
asserting HotPlug Detect again.

Here's what we believe was happening:
* We'd plug in the monitor and we'd see HPD assert
* We'd quickly see HPD deassert
* The kernel would try to init the type C PHY but would init it in USB
  mode (because there was a peripheral there but no HPD)
* Because the kernel never set the flip mode properly we'd never see
  the HPD come back.

With this change, we'll still see HPD disappear (we don't think
there's anything we can do about that), but then it will come back.

Overall we can say that it's sane to set the AUX channel flip state
even when HPD is not asserted.

NOTE: to make this change possible, I needed to do a bit of cleanup to
the tcphy_dp_aux_calibration() function so that it doesn't ever
clobber the FLIP state.  This made it very obvious that a line of code
documented as "setting bit 12" also did a bunch of other magic,
undocumented stuff.  For now I'll just break out the bits and add a
comment that this is black magic and we'll try to document
tcphy_dp_aux_calibration() better in a future CL.

ALSO NOTE: the old function used to write a bunch of hardcoded
values in _some_ cases instead of doing a read-modify-write.  One
could possibly assert that these could have had (beneficial) side
effects and thus with this new code (which always does
read-modify-write) we could have a bug.  We shouldn't need to worry,
though, since in the old code tcphy_dp_aux_calibration() was always
called following the de-assertion of "reset" the the type C PHY.
...so the type C PHY was always in default state.  TX_ANA_CTRL_REG_1
is documented to be 0x0 after reset.  This was also confirmed by
printk.

Change-Id: Ie17b71f525dd39fc777f5072c16bb9cc9e6ff2ab
Suggested-by: Shawn Nematbakhsh <shawnn@chromium.org>
Reviewed-by: Chris Zhong <zyw@rock-chips.com>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2017-09-28 14:12:59 +08:00
Shawn Lin
f404c714d0 UPSTREAM: phy: rockchip-typec: remove unused dfp variable
In order to silent the 'W=1' compile warning:

drivers/phy/rockchip/phy-rockchip-typec.c: In function 'tcphy_get_mode':
drivers/phy/rockchip/phy-rockchip-typec.c:625:7: warning: variable 'dfp'
set but not used [-Wunused-but-set-variable]

Change-Id: I9aee0963db1fa23768550ae01c07190d5b8b2697
Cc: Chris Zhong <zyw@rock-chips.com>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2017-09-28 14:12:53 +08:00
Vivek Gautam
33273664b2 UPSTREAM: phy: Group vendor specific phy drivers
Adding vendor specific directories in phy to group
phy drivers under their respective vendor umbrella.

Also updated the MAINTAINERS file to reflect the correct
directory structure for phy drivers.

Change-Id: I94a1894be5f5134dfe819aee266d735b44a44ada
Signed-off-by: Vivek Gautam <vivek.gautam@codeaurora.org>
Acked-by: Heiko Stuebner <heiko@sntech.de>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Kishon Vijay Abraham I <kishon@ti.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Chen-Yu Tsai <wens@csie.org>
Cc: Sylwester Nawrocki <s.nawrocki@samsung.com>
Cc: Krzysztof Kozlowski <krzk@kernel.org>
Cc: Jaehoon Chung <jh80.chung@samsung.com>
Cc: Stephen Boyd <stephen.boyd@linaro.org>
Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-arm-msm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-omap@vger.kernel.org
Cc: linux-renesas-soc@vger.kernel.org
Cc: linux-rockchip@lists.infradead.org
Cc: linux-samsung-soc@vger.kernel.org
Cc: linux-usb@vger.kernel.org
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
2017-09-28 14:12:47 +08:00
Mark Yao
49648963fb arm64: dts: rockchip: add gamma lut for rk3399 evb3 android
Change-Id: I08fc9a93047886df23f97ddd249abb591a9b47ff
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-09-28 14:10:19 +08:00
Mark Yao
3343d6569e drm/rockchip: vop: support parse dsp-lut from dts
Change-Id: I2d827f44457aa06250a672e421cf31347254b57c
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-09-27 15:16:41 +08:00
Mark Yao
e7942c8835 drm/rockchip: logo: remove logo memory when show logo failed
Change-Id: I8191581a802b6dc74c23fc08d74f226ce4b38d40
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-09-27 10:39:08 +08:00
Mark Yao
973913b813 drm/rockchip: logo: fixup display state when show logo failed
Change-Id: I7c2afa8803d56333252306bd5039eddf4083c1f0
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-09-27 10:39:08 +08:00
Mark Yao
39d2b5207c drm/rockchip: vop: correct afbc atomic check
Afbc only check the new state, If new atomic state has no plane state,
But old plane state has afbdc, the afbc check would be wrong, and cause
display abnormal.

Change-Id: I078241149c302ca137bec69f310555c7c37c6992
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-09-27 10:16:40 +08:00
buluess.li
18506aa60b ARM: dts: rockchip: add peripheral for rk3229-evb
enable the following peripherals:hdmi/wifi/
hdmi_sound/spdif/sdio/sdmmc/hym8563(rtc);
enable the integrated phy for gmac by default.

Change-Id: I92f10e02c5c783c044ab4a080f6f553458d5a971
Signed-off-by: Xinhuang Li <buluess.li@rock-chips.com>
2017-09-26 18:11:12 +08:00
Mark Yao
2d604c4ebc video/rockchip: rga2: using common dma_buf api for ion dma fd
Change-Id: Iea8e6104f06341a5cadecec84ebdbd01d0512af1
Signed-off-by: Mark Yao <mark.yao@rock-chips.com>
2017-09-26 16:00:24 +08:00
Wyon Bi
aec25fa538 drm/rockchip: dsi: fix logic error in rockchip_dsi_host_attach()
At this point in time, dsi->slave is always NULL, so fix it.

Change-Id: I4f5a75d2547b1083751fcbbb0c7e0c568dc19028
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2017-09-26 15:59:48 +08:00
Wyon Bi
1a604d130e ARM: dts: rockchip: rk3288: add reset for dsi node
Change-Id: I99213f8c44c5b9123f5adc9cbc5b3db1660ed363
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2017-09-26 15:59:31 +08:00
Wyon Bi
11e801adcc drm/rockchip: dsi: properly check return value of some functions
Fixes: d6dfcd07b7 ("drm/rockchip: dw-mipi-dsi: analyze the platform parameters in the probe function")
Change-Id: Iecf9532f52a1b27ea063556701f840329881a2e2
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
2017-09-26 15:59:22 +08:00
David Wu
30027c2fda ARM: rockchip_defconfig: Enable CONFIG_KEYBOARD_ADC
Change-Id: I04aeb6a78ef37fa97ae190ac985cd67d00493041
Signed-off-by: David Wu <david.wu@rock-chips.com>
2017-09-26 15:58:48 +08:00
Liang Chen
9872adb6f4 ARM: dts: add key event for rk3126-evb
Change-Id: Id50dcb060dc505a9c938ac63daa335455eb0d741
Signed-off-by: Liang Chen <cl@rock-chips.com>
2017-09-26 15:57:24 +08:00