Icenowy Zheng
e8e18442ff
FROMLIST: dt-bindings: Add ANX6345 DP/eDP transmitter binding
...
The ANX6345 is an ultra-low power DisplayPort/eDP transmitter designed
for portable devices.
Add a binding document for it.
Change-Id: Ie4200b390c6c0b6f19abdcb3eb2aca8a8314e82b
Signed-off-by: Icenowy Zheng <icenowy@aosc.io >
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20181018073327.64942-5-icenowy@aosc.io
2018-12-18 19:08:26 +08:00
Icenowy Zheng
4956a85e36
FROMLIST: drm/bridge: extract some Analogix I2C DP common code
...
Some code can be shared within different DP bridges by Analogix.
Extract them to a new module.
Change-Id: I0a23391f94a8a66f6722193e0f81381bba817833
Signed-off-by: Icenowy Zheng <icenowy@aosc.io >
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20181018073327.64942-4-icenowy@aosc.io
2018-12-18 19:08:26 +08:00
Icenowy Zheng
4c0585fcaf
FROMLIST: drm/bridge: split some definitions of ANX78xx to dedicated headers
...
Some definitions currently in analogix-anx78xx.h are not restricted to
the ANX78xx series, but also applicable to other DisplayPort
transmitters by Analogix.
Split out them to dedicated headers, and make analogix-anx78xx.h include
them.
Change-Id: Ibcacea3a20857b5929b0b73c42fbf95433667799
Signed-off-by: Icenowy Zheng <icenowy@aosc.io >
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20181018073327.64942-3-icenowy@aosc.io
2018-12-18 19:08:25 +08:00
Icenowy Zheng
2ddf051f7c
FROMLIST: drm/bridge: move ANA78xx driver to analogix subdirectory
...
As ANA78xx chips are designed and produced by Analogix Semiconductor,
Inc, move their driver codes into analogix subdirectory.
Change-Id: I33b4bc6c8ac6b438c676b719294397ebcef70096
Signed-off-by: Icenowy Zheng <icenowy@aosc.io >
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20181018073327.64942-2-icenowy@aosc.io
2018-12-18 19:08:25 +08:00
Andy Shevchenko
0dbb67fb43
UPSTREAM: drm/bridge: analogix-anx78xx: Remove duplicate NULL check
...
Since i2c_unregister_device() became NULL-aware we may remove duplicate
NULL check.
Change-Id: I380063d51883bb94ac211928df516bb30c9fb51a
Cc: Archit Taneja <architt@codeaurora.org >
Cc: Andrzej Hajda <a.hajda@samsung.com >
Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com >
Cc: David Airlie <airlied@linux.ie >
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com >
Link: https://patchwork.freedesktop.org/patch/msgid/20171031142149.32512-6-andriy.shevchenko@linux.intel.com
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com >
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
(cherry-picked from 0173bfd421 )
2018-12-18 19:08:25 +08:00
Inki Dae
64f86c5460
UPSTREAM: drm/bridge: analogix-anx78xx: clean up drm_bridge_add call
...
This patch removes unnecessary checking of return value.
Change-Id: Ie02d2755ddcec5024019a9405f45259ac62f1263
Signed-off-by: Inki Dae <inki.dae@samsung.com >
Signed-off-by: Archit Taneja <architt@codeaurora.org >
Link: http://patchwork.freedesktop.org/patch/msgid/1499071350-25168-4-git-send-email-inki.dae@samsung.com
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
(cherry-picked from dd2adf743b )
2018-12-18 19:08:24 +08:00
Jose Abreu
a59b68ab7b
UPSTREAM: drm/bridge: analogix-anx78xx: Use bridge->mode_valid() callback
...
Now that we have a callback to check if bridge supports a given mode
we can use it in Analogix bridge so that we restrict the number of
probbed modes to the ones we can actually display.
Also, there is no need to use mode_fixup() callback as mode_valid()
will handle the mode validation.
Change-Id: I7411e25508096ac0cc52b1eb4a84e06249c3d054
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com >
Signed-off-by: Jose Abreu <joabreu@synopsys.com >
Cc: Carlos Palminha <palminha@synopsys.com >
Cc: Daniel Vetter <daniel.vetter@ffwll.ch >
Cc: Archit Taneja <architt@codeaurora.org >
Cc: Andrzej Hajda <a.hajda@samsung.com >
Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com >
Cc: David Airlie <airlied@linux.ie >
Signed-off-by: Archit Taneja <architt@codeaurora.org >
Link: http://patchwork.freedesktop.org/patch/msgid/1d0ed1858ae56c827bd09cc1fa6ff4a05d1530eb.1495720737.git.joabreu@synopsys.com
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
(cherry-picked from 7dbcbce9f5 )
2018-12-18 19:08:23 +08:00
Boris Brezillon
b9edab067b
UPSTREAM: drm/bridge: anx78xx: Rely on the default ->best_encoder() behavior
...
We have a 1:1 relationship between connectors and encoders, and the driver
is relying on the atomic helpers: we can drop the custom ->best_encoder(),
and let the core call drm_atomic_helper_best_encoder() for us.
Change-Id: I55d9c6faa082b51985aa476ac7f072af07fbcd6c
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com >
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch >
Link: http://patchwork.freedesktop.org/patch/msgid/1465300095-16971-18-git-send-email-boris.brezillon@free-electrons.com
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
(cherry-picked from 6f7ff54cf5 )
2018-12-18 19:08:23 +08:00
Enric Balletbo i Serra
191d9d7e77
UPSTREAM: drm/bridge: Add Analogix anx78xx support
...
Although there are other chips from the same family that can reuse this
driver, at the moment we only tested ANX7814 chip.
The ANX7814 is an ultra-low power Full-HD (1080p60) SlimPort transmitter
designed for portable devices. This driver adds initial support for HDMI
to DP pass-through mode.
Change-Id: Ic12fc6a11a7b0dfd1a3d0a39973be672a3b01db9
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
Tested-by: Nicolas Boichat <drinkcat@chromium.org >
Reviewed-by: Nicolas Boichat <drinkcat@chromium.org >
Cc: Emil Velikov <emil.l.velikov@gmail.com >
Cc: Rob Herring <robh@kernel.org >
Cc: Dan Carpenter <dan.carpenter@oracle.com >
Cc: Daniel Kurtz <djkurtz@chromium.org >
Cc: Nicolas Boichat <drinkcat@chromium.org >
Cc: Thierry Reding <treding@nvidia.com >
[treding@nvidia.com: coding style, propagate regulator_get() errors]
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry-picked from 0647e7dd3f )
2018-12-18 19:08:22 +08:00
Enric Balletbo i Serra
147b905563
UPSTREAM: drm/dp: Add define to set 0.5% down-spread in MAX_DOWNSPREAD register
...
Support of 0.5% down-spread is required for DisplayPort Specification
Version 1.1 Sink.
Change-Id: Ia1a3036e36a95638e90da3e76fece7897a0883be
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com >
[treding@nvidia.com: rename to DP_MAX_DOWNSPREAD_0_5]
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com>
(cherry-picked from 56c5da0027 )
2018-12-18 19:08:22 +08:00
Wyon Bi
a1d7fccc8a
clk/rockchip: rk618: add CLK_IGNORE_UNUSED for lvds_clk
...
Change-Id: I2c2f9a40ba5e09a64f059415ffc50458aa74ca5e
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
2018-12-18 17:59:44 +08:00
Wyon Bi
74f866a9cc
mfd: rk618: bypass reset sequence if I2C communication is ok
...
Change-Id: I7f70c142e55679d34d80917ea6cde7e4aec77901
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
2018-12-18 17:59:44 +08:00
Wyon Bi
4b2e9b94ed
drm/rockchip: rgb: Correct encoder->port field
...
Change-Id: I88bed17827754e506e8fb8cb6361042125e4e2b3
Signed-off-by: Wyon Bi <bivvy.bi@rock-chips.com >
2018-12-18 17:59:21 +08:00
Lin Jinhan
e79c0b958c
media: soc_camera: ov9750 add enum_frame_size support
...
users can get available frame size to fix
cheese/obs-studio player crush bug.
Change-Id: Ia5f12d6289d431195def181819777ca9a0968498
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com >
2018-12-18 15:29:14 +08:00
Lin Jinhan
51a22ca3c7
media: rk-isp10: add enum_frame_size support
...
Change-Id: Iaf0bdac9608fd66f8a1155732c3f7f7d7ebb4701
Signed-off-by: Lin Jinhan <troy.lin@rock-chips.com >
2018-12-18 15:29:06 +08:00
Guochun Huang
a64bd52dc4
arm64: dts: rockchip: rk3399: avb: fsmgr_flags = "wait" for vendor partition
...
Change-Id: I9ac38b3504061075fff12d37ebb586e5facded16
Signed-off-by: Guochun Huang <hero.huang@rock-chips.com >
2018-12-18 15:23:47 +08:00
Jeffy Chen
ff12055f98
init/initramfs: Add dump_initrd command line option
...
Add a dump_initrd option to allow dumping /initrd.image after successful
unpack.
Require BLK_DEV_RAM=y.
Change-Id: I77a41867afa7b4a51604a5153792a49efbab6189
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com >
2018-12-18 14:50:55 +08:00
Cai YiWei
b41c3c70fb
media: i2c: ov7251: update regs and exposure
...
Change-Id: I88f98bc9a326a1f7414d22e4fd51fa735c46472b
Signed-off-by: Cai YiWei <cyw@rock-chips.com >
2018-12-18 14:29:21 +08:00
Shawn Lin
45da3b1bff
arm64: dts: rockchip: improve max eMMC clock to 200MHz for RK1808 evb
...
The IO capability for RK1808 was intent to be able work under 200MHz
clock, and the test result seems positive. However, we want a broader
test, so let's improve the max clock to 200MHz for all evb.
Change-Id: Ic7c694af92cb61a5d75edca7515f9f83f6ca98e4
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com >
2018-12-17 15:21:10 +08:00
Sugar Zhang
67248712db
dt-bindinds: pinctrl: rockchip: add pinctrl for rv1108 soc
...
This patch adds pinctrl compatible string for rv1108 soc.
Change-Id: I5a32f96439f337e77aa4288ca6bceccb49e1c976
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2018-12-17 15:13:49 +08:00
Sugar Zhang
10e9a421f2
dt-bindings: soc: rockchip: add pmugrf compatible for rv1108 soc
...
This patch adds pmugrf compatible for rv1108 soc.
Change-Id: I0b2e6fdcbd565ea324e403cddae8b4d56e8a9b46
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2018-12-17 15:10:40 +08:00
Sugar Zhang
a7d7fb454d
ARM: dts: rockchip: add rv1108-minievb-v10.dts
...
This patch add support for rv1108 minievb v10 board.
Change-Id: I579ce78c1c4d3ebaebf25f5aa0a22413799ed06d
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2018-12-17 14:47:22 +08:00
Sugar Zhang
04ed04fc82
ARM: dts: rockchip: add core dtsi for rv1108
...
rv1108 is a high performance low power application processor.
embedded with a new generation DSP for digital process and an
arm cortex-a7 single core processor for system and application.
Change-Id: I56f9537467042aa512fb27de974d5ae7dc2ed669
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2018-12-17 14:44:11 +08:00
Sugar Zhang
b4f93f7e7b
clk: rockchip: add clock controller for rv1108
...
This patch add the clock tree definition for rv1108.
Change-Id: I9b55cd46c62331057fe8a404c606fe9d08f03388
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2018-12-17 14:38:47 +08:00
Sugar Zhang
dae1e6294f
clk: rockchip: add dt-binding header for rv1108
...
Change-Id: I15f39d705c2ab7a19c2f0f7c9c804073ee23631d
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com >
2018-12-17 14:33:56 +08:00
Nickey Yang
7369672155
drm/rockchip: vop: rk312x: add missing config for dclk_pol and en
...
Change-Id: Ica43ea70163f115c3344f480b9374a81c3c524ce
Signed-off-by: Nickey Yang <nickey.yang@rock-chips.com >
2018-12-17 09:59:30 +08:00
Liang Chen
d630b488a5
drivers: cpufreq_interactive: recover tunables when switch governor
...
Android will switch governor between different applications, so we
must recover tunables for interactive governor.
Change-Id: Ieb3d1f46ec628bf0a70d2656b63dd255f36770e0
Signed-off-by: Liang Chen <cl@rock-chips.com >
2018-12-14 17:20:15 +08:00
Hu Kejun
cb38ae649b
ARM: dts: rk3288-rkisp1: add interrupt name
...
Change-Id: Ie9d58d68ec857821a1645741899fb58f3db1a096
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
2018-12-14 17:13:49 +08:00
Hu Kejun
1dad3d275a
arm64: dts: rockchip: rk1808: add mi/mipi irq setting
...
Change-Id: I2025e6de06f0aec1e18289bf0eec8445d5a11820
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
2018-12-14 17:13:22 +08:00
Hu Kejun
4b7f84b478
arm64: dts: rockchip: rk3399: add interrupt name for rkisp
...
Change-Id: If942773bb18b55463cdd2137493f6573ce747893
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
2018-12-14 17:12:58 +08:00
Hu Kejun
89212f02e2
arm64: dts: rockchip: px30: add mi/mipi irq setting
...
Change-Id: I2146d37c18d8418b32cf13736ecccb0510a851d9
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
2018-12-14 17:12:40 +08:00
Hu Kejun
993dd376b8
media: rockchip: isp1: request isp irqs independently
...
Change-Id: Ia43930306e41d6475cddcfb1a80a41c848d38ecc
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
2018-12-14 17:12:34 +08:00
Hu Kejun
fb05f0421c
camera: rockchip: add ov5640 driver
...
Change-Id: I6113fc659ae4eb971aa60774ebb90a106e94f06e
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
2018-12-14 17:12:09 +08:00
Hu Kejun
e9d7e12f68
media: rockchip: isp1: add version number
...
Change-Id: I4b86a96a2242c97f56ff3e053dafa73ae234184d
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
2018-12-14 17:11:03 +08:00
Chen Lei
5d239ed3da
ARM: dts: rk322x: sdmmc add cd-gpios
...
This modification is to solve the problem of hot plug failure when
SD card is inserted after boot, because det pin is initialized as GPIO
Change-Id: I1cd49faa92fa7502c23dd30c2c35fa712e5d0ea3
Signed-off-by: Chen Lei <lei.chen@rock-chips.com >
2018-12-14 17:08:54 +08:00
Simon Xue
835986100e
arm64: dts: rockchip: rk1808: Add missing inbound/outbound win nums
...
Change-Id: Ibd85ca71f7d6c87d0461eff2ba6dada6b0862040
Signed-off-by: Simon Xue <xxm@rock-chips.com >
2018-12-14 14:57:20 +08:00
Weixin Zhou
7c3dcf45c5
arm64: dts: rockchip: rk3399pro-evb-v11: set vdd_center off in suspend
...
Change-Id: I6b9c51a0f036a31b51b69b5f8d1d374511135c10
Signed-off-by: Weixin Zhou <zwx@rock-chips.com >
2018-12-14 14:42:55 +08:00
Simon Xue
e8aec0b3a6
PCI: rockchip: Support PCIe training controlled by userspace
...
Change-Id: I875ea3f3558cb1c3ef4b0a821d51f56a3f8431ae
Signed-off-by: Simon Xue <xxm@rock-chips.com >
2018-12-14 11:43:12 +08:00
Simon Xue
37091a2c50
PCI: rockchip: Support PCIe dma transfer on RK3399 platform
...
Change-Id: I8545ddb459b8275489fa9b7a70e54c6b57cc514c
Signed-off-by: Simon Xue <xxm@rock-chips.com >
2018-12-14 11:43:04 +08:00
Simon Xue
e3e8b9874a
PCI: rockchip: enable uDMA interrupt on RK3399 platform
...
Change-Id: I2ee4cd5de4aa7b4e067b2b8015a833706392e5bd
Signed-off-by: Simon Xue <xxm@rock-chips.com >
2018-12-14 11:40:32 +08:00
Simon Xue
e5ac47b69e
PCI: rockchip: Support DW PCIe dma transfer
...
Change-Id: I52cb60b22919faadfb83d2026a1dd61c01d48fe5
Signed-off-by: Simon Xue <xxm@rock-chips.com >
2018-12-14 11:40:25 +08:00
Alex Zhao
409cd1d0b9
net: wireless: update bcmdhd driver to "1.579.77.41.10 (r)"
...
Change-Id: I8c8c1f7e6b9e9b686eeebb404f5fae061bbad361
Signed-off-by: Alex Zhao <zzc@rock-chips.com >
2018-12-14 11:37:28 +08:00
Sudeep Holla
7f34408740
UPSTREAM: drivers: firmware: psci: unify enable-method binding on ARM {64,32}-bit systems
...
Currently ARM CPUs DT bindings allows different enable-method value for
PSCI based systems. On ARM 64-bit this property is required and must be
"psci" while on ARM 32-bit systems this property is optional and must
be "arm,psci" if present.
However, "arm,psci" has always been the compatible string for the PSCI
node, and was never intended to be the enable-method. So this is a bug
in the binding and not a deliberate attempt at specifying 32-bit
differently.
This is problematic if 32-bit OS is run on 64-bit system which has
"psci" as enable-method rather than the expected "arm,psci".
So let's unify the value into "psci" and remove support for "arm,psci"
before it finds any users.
Reported-by: Soby Mathew <Soby.Mathew@arm.com >
Cc: Rob Herring <robh+dt@kernel.org >
Acked-by: Mark Rutland <mark.rutland@arm.com >
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com >
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com >
Signed-off-by: Arnd Bergmann <arnd@arndb.de >
(cherry picked from commit 978fa43623 )
Change-Id: Ie75091185d9236595c564081083ffc202f9ba178
2018-12-13 18:08:05 +08:00
Lin Jianhua
1c6ad43bbc
arm64: dts: rockchip: add uboot wide temperature node for rk3308k
...
Change-Id: Ie9f907fda41a70b9e8527f0aa7f4e28215928b17
Signed-off-by: Lin Jianhua <linjh@rock-chips.com >
2018-12-13 14:28:04 +08:00
Shixiang Zheng
46d6a1ae32
video/rockchip: rga2: add RGA_CACHE_FLUSH command mode
...
Change-Id: I9b54155fa85fa394a7eb816c48c71523786d6867
Signed-off-by: Shixiang Zheng <shixiang.zheng@rock-chips.com >
2018-12-13 10:01:44 +08:00
Zorro Liu
9aa48044f7
arm64: dts: rockchip: add display proterty "pixelclk-active" for rk3368-xikp and rk3368-p9 boards
...
Change-Id: I86f85d8d35b04a9c7de41c083816f5ed00d6435d
Signed-off-by: Zorro Liu <lyx@rock-chips.com >
2018-12-13 09:29:03 +08:00
Weixin Zhou
29d4a50b70
arm64: dts: rockchip: add dts file for RK3399Pro evb v11
...
Add support for RK3399Pro evb rev11.
Change-Id: I5842ed747f80fafc3beacb5d449c77cf27605af4
Signed-off-by: Weixin Zhou <zwx@rock-chips.com >
2018-12-12 20:43:51 +08:00
Zorro Liu
0bd274f4c7
arm64: dts: rockchip: add rk3368-xikp-avb and rk3368-p9-avb board files
...
Change-Id: Ie9b8a9e95cfdd108ec22141d1cff5b11736d6234
Signed-off-by: Zorro Liu <lyx@rock-chips.com >
2018-12-12 20:37:05 +08:00
Zorro Liu
a67f509e88
arm64: dts: rockchip: rk3368: move firmware_android node from android.dtsi to dts files
...
Change-Id: I738445395c01fa896071610c1b279afc84448d41
Signed-off-by: Zorro Liu <lyx@rock-chips.com >
2018-12-12 20:37:05 +08:00
Hu Kejun
88f7ff2b04
media: i2c: add ov2718 driver with hdr and linear mode
...
Change-Id: I534793509a0f607e46822763e97b07d33a138dcb
Signed-off-by: Hu Kejun <william.hu@rock-chips.com >
2018-12-12 17:24:29 +08:00