Zhang Zhijie
b04da73d7f
OP-TEE: remove macro SWITCH_CPU0_DEBUG
...
Now OP-TEE OS can run in muti-core state,
so don't need switch to cpu0 anymore.'
Change-Id: I4f61120250823d6e2e13e2edeee58c26a184b7d2
Signed-off-by: Zhang Zhijie <zhangzj@rock-chips.com >
2017-06-23 16:16:58 +08:00
huweiguo
0ee648d77c
arm64: dts: rk3368-r88: wifi work up
...
Change-Id: I3b110916ac835be300253133a1977c7fd44bf332
Signed-off-by: huweiguo <hwg@rock-chips.com >
2017-06-23 15:53:21 +08:00
xuhuicong
e0da313aa4
drm: bridge: dw-hdmi: set hdcp1x_enable in the dts so uboot can visit
...
Change-Id: Ibaf91c5beac2355e5c270f1edb69a63795dbff6a
Signed-off-by: xuhuicong <xhc@rock-chips.com >
2017-06-23 15:51:56 +08:00
WeiYong Bi
05dd7934ce
clk: rockchip: rk3228: add CLK_IGNORE_UNUSED flag for vio_h2p
...
Change-Id: Ieca7abf5d01f70db09aa0fcc77b838c106f4fc87
Signed-off-by: WeiYong Bi <bivvy.bi@rock-chips.com >
2017-06-23 15:22:03 +08:00
Finley Xiao
37648ee775
clk: rockchip: rk3228: fix some PLL_NUX_CLKs' gates
...
Some PLL_NUX_CLKs' gates is actually behind muxs according to latest TRM,
so move the gates to composite clocks and amend their parent clocks.
Change-Id: Ib6043caa61e9df0473f2d0bdc756850968bb2a55
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
2017-06-23 11:58:55 +08:00
Finley Xiao
011fafcfa0
clk: rockchip: rk3228: fix gpu gate-register
...
Fix a typo making the aclk_gpu and aclk_gpu_noc access a wrong register to
handle its gate.
Change-Id: Ie0bac8014363af7c0409b8a56eacf2e858818843
Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com >
2017-06-23 11:58:46 +08:00
huweiguo
ec6e78e958
arm64: dts: rk3368-r88: gmac work up
...
Change-Id: I43ffe5abe8293232f026f4696b17b36024d392cd
Signed-off-by: huweiguo <hwg@rock-chips.com >
2017-06-23 09:50:08 +08:00
David Wu
6edd38d8c5
ARM: dts: rockchip: Reduce the time of phy reset for rk3288-evb
...
It is too long to reset the time with 1000ms, which
would make the system init and resume slowly, 50ms
is enough.
Change-Id: Ifba39f401d14e161dd3d49e1b20ae102569ebb58
Signed-off-by: David Wu <david.wu@rock-chips.com >
2017-06-22 21:18:54 +08:00
algea.cao
69a8f47034
arm64: rockchip_linux_defconfig: enable drm tve
...
Change-Id: I1e3ddee6b8f0b1987604fff727d4e33ef35c7d5c
Signed-off-by: algea.cao <algea.cao@rock-chips.com >
2017-06-22 21:18:53 +08:00
algea.cao
c64bc3bdfa
drm/rockchip: vop: support rk3328 linux drm cvbs
...
Change-Id: Ie412fb30794b0addb2a4a0844af65e8356ab98c0
Signed-off-by: algea.cao <algea.cao@rock-chips.com >
2017-06-22 21:18:53 +08:00
algea.cao
ce0eedfcb2
drm/rockchip: support rk3328 linux drm cvbs
...
This adds support for Rockchip CVBS found on rk3328 Linux.
The CVBS driver is based on the DRM framework.
NTSC(720x480i60hz) and PAL(720x576i50hz) modes are supported.
it's worth noting that rk3328 CVBS dclk is base on hdmi clk,so hdmi
should be enabled.
Change-Id: I059808111bfa96724eb629b6fc37915a4852e234
Signed-off-by: algea.cao <algea.cao@rock-chips.com >
2017-06-22 21:18:47 +08:00
huweiguo
e0436fde65
net: wireless: rockchip_wlan: add rtl8189fs support
...
update rtl8189fs wifi driver to version v4.3.24.8_22657.20170607
Change-Id: Ia8154d438b8d17eb334ccac0bd366f19d7b0f785
Signed-off-by: huweiguo <hwg@rock-chips.com >
2017-06-22 18:41:34 +08:00
William Wu
93ed9f2f5d
Revert "usb: xhci-plat: check hcc_params after add hcd"
...
This reverts commit 4301c33db2 .
Since we have merged upstream patch, so let's revert this patch.
Change-Id: I188629f566e50810bd633bff8cc63edda42efe28
Signed-off-by: William Wu <william.wu@rock-chips.com >
2017-06-22 10:57:27 +08:00
wlq
e6d194d389
arm64: dts: rk3399-mid: add otg switch regulator node
...
Change-Id: I61cb0c65c3bec7750f6b58711e7271c42c72b8bf
Signed-off-by: Wu Liangqing <wlq@rock-chips.com >
2017-06-22 10:51:57 +08:00
Jianhong Chen
6ed39ee817
arm64: dts: rk3368-p9: add otg switch regulator node
...
Change-Id: Ia200739711b6cc88e605981c325124720b1dc105
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com >
2017-06-22 10:51:11 +08:00
Jianhong Chen
e503851471
power: rk818-charger: set otg5v by regulator framework
...
because rk818 regulator driver registers all regulators into
system without checking whether they are defined in dts, so we
have to control it by regulator framework. Otherwise,
psci_system_suspend_finish() will disable it after system wakeup.
Change-Id: Ia9d9c0b7a8cf42ccee071ac0416c1ef2f711df2f
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com >
2017-06-22 10:49:58 +08:00
Jianhong Chen
d222955baf
power: rk818-charger: support set charge current by battery temperature
...
Change-Id: I10b71fae6400f3c0125cab7af1524c2091c8924a
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com >
2017-06-22 10:49:34 +08:00
Huang zhibao
adf8608182
arm64: dts: rk3368-r88: r88 board work up
...
Change-Id: I86b88bb57d6c61b6dfd898cc45bc927c57a6c6ec
Signed-off-by: Huang zhibao <hzb@rock-chips.com >
2017-06-22 10:48:25 +08:00
Yankun Zheng
bfdfc14d82
ARM: dts: rk3229-gva-sdk: let wifi/bt working properly
...
Change-Id: I548200c4e81b56cbfdaa78b86369cdb5880b1fba
Signed-off-by: Yankun Zheng <zyk@rock-chips.com >
2017-06-21 18:57:00 +08:00
Xu Xuehui
8d2949d928
arm: rockchip_defconfig: netfilter: add iptables for IPV6
...
Change-Id: I5c5709cc5335ce0ac5670df7fa0af41eab6e35dc
Signed-off-by: Xu Xuehui <xxh@rock-chips.com >
2017-06-21 18:56:32 +08:00
Xu Xuehui
8fcec302bf
net: wireless: rockchip_wlan: fix bug for ap6335
...
1. fix when start softap, wifi driver crash
2. fix p2p mac addr not correct, this case p2p can not use
Change-Id: Ia9b5d7ac660ec9b954a682345c52778f7534229e
Signed-off-by: Xu Xuehui <xxh@rock-chips.com >
2017-06-21 18:55:45 +08:00
huweiguo
32d2c0fd14
net: wireless: rockchip_wlan: update rtl8189es wifi driver to version v4.3.18.4_22798.20170620
...
Change-Id: I257bf2273e34ea9fcc5e1f4199abed892bc1c0d4
Signed-off-by: huweiguo <hwg@rock-chips.com >
2017-06-21 18:54:53 +08:00
Grzegorz Prajsner
235e4db801
FROMLIST: drm/rockchip: add fb_dmabuf_export support
...
Add support for fb_dmabuf_export call, which is executed when ioctl
FBIOGET_DMABUF is called.
Change-Id: I13b753ae25d043835b1f4ffc20b5e233171d1096
Signed-off-by: Guillaume Tucker <guillaume.tucker@arm.com >
Signed-off-by: Mark Yao <mark.yao@rock-chips.com >
(am from 61062681c9 )
2017-06-21 15:13:25 +08:00
Jamie Nicol
1f6daacebe
FROMLIST: fb: add dma-buf support
...
Add support for the dma-buf exporter role to the frame buffer API. The
importer role isn't meaningful for frame buffer devices, as the frame
buffer device model doesn't allow using externally allocated memory.
taken from an RFC on the linaro-mm-sig mailing list:
http://lists.linaro.org/pipermail/linaro-mm-sig/2012-June/002167.html
Fixes by Mark Yao:
add FBIOGET_DMABUF to compat_ioctl.
Change-Id: I39c9bbdd6b88c6d5ba7524abfc5b560dceb4633e
Signed-off-by: Guillaume Tucker <guillaume.tucker@arm.com >
Signed-off-by: Mark Yao <mark.yao@rock-chips.com >
(am from https://patchwork.linuxtv.org/patch/12980 )
2017-06-21 15:13:01 +08:00
Mark Yao
f917a54ff7
drm/rockchip: protect loader clocks
...
Change-Id: Ie9217de35ea1dc11d99b6340fc9f6ecc27ba33c8
Signed-off-by: Mark Yao <mark.yao@rock-chips.com >
2017-06-21 15:12:18 +08:00
Zhaoyifeng
779bec37f5
drivers: rk_nand: modify write permissions for proc files
...
modify "rknand" and "mtd" write permissions, read only.
Change-Id: Ib5b35059c5f075b1bade4400e1bf846222ae9a49
Signed-off-by: Zhaoyifeng <zyf@rock-chips.com >
2017-06-21 15:11:31 +08:00
Jianhong Chen
ab4d8e9a7b
power: rk818-charger: fix input current 80ma define error
...
1. input current 800ma should be 80ma, it's safe to change,
because 800ma was not used;
2. set lowest one as default value when decode charge parameter.
Change-Id: I1683ebff708a62db2711b40f8f449f07936245f4
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com >
2017-06-21 15:07:08 +08:00
Jianhong Chen
2bdcc84d45
power: rk818-battery: update ts1 current select
...
select 40uA when temperature lower than 0'C, otherwise 60uA.
Change-Id: Ib235441c3adb146b8d1746a435875c19b1d8624d
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com >
2017-06-21 14:08:00 +08:00
Jianhong Chen
a51aee4744
power: rk818-battery: fix battery charging state report error
...
RK818_VB_MON_REG register needs at least 100ms to be correct
status for checking whether charger is online or offline.
So We search power_supply_class to get usb and ac psy for
charging state.
Change-Id: Ic332c055100309481d0dcd6d4bf030cc8db77d2d
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com >
2017-06-21 14:07:17 +08:00
Jianhong Chen
a427c42979
power: rk818-battery: add notify to broadcast battery temperature
...
Change-Id: I2ee392f1885e87b0398eaff5ab7d0a0c89527e93
Signed-off-by: Jianhong Chen <chenjh@rock-chips.com >
2017-06-21 14:07:01 +08:00
Binyuan Lan
610e4df92c
ARM: dts: rk322x-android: enable uart1
...
Change-Id: I5218cb893854900bb6a4b50910078be0cc598475
Signed-off-by: Binyuan Lan <lby@rock-chips.com >
2017-06-20 18:32:59 +08:00
Ville Syrjälä
aafad914ee
UPSTREAM: drm/edid: Move dvi_dual/max_tmds_clock parsing out from drm_edid_to_eld()
...
drm_edid_to_eld() is just mean to cook up the ELD for the audio driver,
so having it parse non-audio related stuff seems just wrong, and
potentially could lead to that information not being even filled out
if the function doesn't even get called. Let's move that stuff to the
place where we parse the color formats and whatnot from the CEA ext
block.
Change-Id: I8f881f192ed06f4e16ec5e3811690c1df62c7546
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com >
Acked-by: Christian König <christian.koenig@amd.com >
Reviewed-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch >
Link: http://patchwork.freedesktop.org/patch/msgid/1475070703-6435-9-git-send-email-ville.syrjala@linux.intel.com
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
(cherry picked from commit 23ebf8b9ea )
2017-06-20 17:22:50 +08:00
Ville Syrjälä
879276546c
UPSTREAM: drm/edid: Move dvi_dual/max_tmds_clock to drm_display_info
...
We have the drm_display_info for storing information about the sink, so
let's move dvi_dual and max_tmds_clock in there.
v2: Deal with superfluous code shuffling
Document dvi_dual and max_tmds_clock too
Change-Id: I678b50021e8b9fb03554f15e2bc003037813d51a
Cc: Alex Deucher <alexander.deucher@amd.com >
Cc: "Christian König" <christian.koenig@amd.com >
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com >
Reviewed-by: Christian König <christian.koenig@amd.com > (v1)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch >
Link: http://patchwork.freedesktop.org/patch/msgid/1475070703-6435-5-git-send-email-ville.syrjala@linux.intel.com
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
(cherry picked from commit 2a272ca9b8 )
2017-06-20 17:22:50 +08:00
Ville Syrjälä
b6ff5a9ecd
UPSTREAM: drm/edid: Make max_tmds_clock kHz instead of MHz
...
We generally store clocks in kHz, so let's do that for the
HDMI max TMDS clock value as well. Less surpising.
v2: Deal with superfluous code shuffling
Change-Id: I27afd0604e5e7f1bfaa572c1c5b81ecfbcf0994e
Cc: Alex Deucher <alexander.deucher@amd.com >
Cc: "Christian König" <christian.koenig@amd.com >
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com >
Reviewed-by: Christian König <christian.koenig@amd.com > (v1)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch >
Link: http://patchwork.freedesktop.org/patch/msgid/1475070703-6435-4-git-send-email-ville.syrjala@linux.intel.com
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
(cherry picked from commit ab5603c4d3 )
2017-06-20 17:22:50 +08:00
Ville Syrjälä
eec15bd5b9
UPSTREAM: drm/edid: Clear the old cea_rev when there's no CEA extension in the new EDID
...
It's not a good idea to leave stale cea_rev in the drm_display_info. The
current EDID might not even have a CEA ext block in which case we'd end
up leaving the stale value in place.
Change-Id: I57e2bd4a92ddcab8c8f345c5e7e251cfa1fbd231
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com >
Acked-by: Christian König <christian.koenig@amd.com >
Reviewed-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch >
Link: http://patchwork.freedesktop.org/patch/msgid/1475070703-6435-8-git-send-email-ville.syrjala@linux.intel.com
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
(cherry picked from commit 011acce285 )
2017-06-20 17:22:50 +08:00
Ville Syrjälä
296db6a5fd
UPSTREAM: drm/edid: Reduce the number of times we parse the CEA extension block
...
Instead of parsing parts of the CEA extension block in two places
to determine supported color formats and whatnot, let's just
consolidate it to one function. This also makes it possible to neatly
flatten drm_assign_hdmi_deep_color_info().
Change-Id: I68bd125757e6e5c8f13db62e52c4da827c040809
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com >
Acked-by: Christian König <christian.koenig@amd.com >
Reviewed-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch >
Link: http://patchwork.freedesktop.org/patch/msgid/1475070703-6435-7-git-send-email-ville.syrjala@linux.intel.com
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
(cherry picked from commit 1cea146a80 )
2017-06-20 17:22:50 +08:00
Ville Syrjälä
a94d0e3ed9
UPSTREAM: drm/edid: Don't pass around drm_display_info needlessly
...
We already pass the connector to drm_add_display_info() and
drm_assign_hdmi_deep_color_info(), so passing the
connector->display_info also is pointless.
Change-Id: I6c2035b7d9dd942adeb4e3477ef8999aca4a74a4
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com >
Acked-by: Christian König <christian.koenig@amd.com >
Reviewed-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch >
Link: http://patchwork.freedesktop.org/patch/msgid/1475070703-6435-6-git-send-email-ville.syrjala@linux.intel.com
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
(cherry picked from commit 1826750f57 )
2017-06-20 17:22:50 +08:00
Ville Syrjälä
a9541c5897
UPSTREAM: drm/edid: Clear old dvi_dual/max_tmds_clock before parsing the new EDID
...
Clear out old max_tmds_clock and dvi_dual information (possibly from a
previous EDID) before parsing the current EDID. Tne current EDID might
not even have these in its HDMI VSDB, which would mean that we'd leave
the old stale values in place.
Change-Id: Ia0acb9ca673f8bf9badfda1cf99899298bae464b
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com >
Acked-by: Christian König <christian.koenig@amd.com >
Reviewed-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch >
Link: http://patchwork.freedesktop.org/patch/msgid/1475070703-6435-3-git-send-email-ville.syrjala@linux.intel.com
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
(cherry picked from commit 75d7e542bd )
2017-06-20 17:22:50 +08:00
Ville Syrjälä
7dc29946bd
UPSTREAM: drm/edid: Clear old audio latency values before parsing the new EDID
...
Clear out stale audio latency information (potentially from a previous
EDID) before constructing the ELD from the EDID.
Change-Id: I1e770776f031864f597c5cd143c5fc120b313b7d
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com >
Acked-by: Christian König <christian.koenig@amd.com >
Reviewed-by: Alex Deucher <alexander.deucher@amd.com >
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch >
Link: http://patchwork.freedesktop.org/patch/msgid/1475070703-6435-2-git-send-email-ville.syrjala@linux.intel.com
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
(cherry picked from commit 85c9158055 )
2017-06-20 17:22:50 +08:00
Clint Taylor
3beeb3ae34
UPSTREAM: drm/edid: CEA mode 64 1080p100 vsync pulse width incorrect
...
In the CEA-861 specification VIC 64 specifies a vsync pulse of 5 and
a backporch of 36. Adjust vsync pulse width to match specification.
Change-Id: I8a02c2c754644e911eff74c4a179a6825398f2d7
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com >
Signed-off-by: Clint Taylor <clinton.a.taylor@intel.com >
Signed-off-by: Sean Paul <seanpaul@chromium.org >
Link: http://patchwork.freedesktop.org/patch/msgid/1471282288-30909-1-git-send-email-clinton.a.taylor@intel.com
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
(cherry picked from commit 8f0e4907a8 )
2017-06-20 17:22:50 +08:00
Dave Airlie
ed71fabca4
UPSTREAM: drm/edid: add displayid detailed 1 timings to the modelist. (v1.1)
...
The tiled 5K Dell monitor appears to be hiding it's tiled mode
inside the displayid timings block, this patch parses this
blocks and adds the modes to the modelist.
v1.1: add missing __packed.
Change-Id: Ide9eb60dd88614669ea5070c9135a880819c71f0
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95207
Signed-off-by: Dave Airlie <airlied@redhat.com >
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
(cherry picked from commit a39ed680bd )
2017-06-20 17:22:50 +08:00
Dave Airlie
173b0285c5
UPSTREAM: drm/edid: move displayid validation to it's own function.
...
We need to use this for validating modeline additions.
Change-Id: Idda40c52ff9372433e8bf81e1df5af7b59ce9b4c
Signed-off-by: Dave Airlie <airlied@redhat.com >
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
(cherry picked from commit c97291774c )
2017-06-20 17:22:50 +08:00
Tomas Bzatek
0a15bdaf49
UPSTREAM: drm/displayid: Iterate over all DisplayID blocks
...
This will iterate over all DisplayID blocks found in the buffer.
Previously only the first block was parsed.
https://bugs.freedesktop.org/show_bug.cgi?id=95207
Change-Id: I952ea2442e8b7c31d8ca882cff8211f008cdd073
Signed-off-by: Tomas Bzatek <tomas@bzatek.net >
Reviewed-by: Jani Nikula <jani.nikula@intel.com >
Signed-off-by: Dave Airlie <airlied@redhat.com >
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
(cherry picked from commit 3a4a2ea39f )
2017-06-20 17:22:50 +08:00
Dave Airlie
1fa6471843
UPSTREAM: drm/edid: move displayid tiled block parsing into separate function.
...
This just makes the code easier to follow.
Change-Id: Ic3ca12dd72c44fccfa16503822611ab4fd6b46ef
Reviewed-by: Jani Nikula <jani.nikula@intel.com >
Signed-off-by: Dave Airlie <airlied@redhat.com >
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
(cherry picked from commit 5e546cd5b3 )
2017-06-20 17:22:50 +08:00
Paul Parsons
623a9a8175
UPSTREAM: drm/edid: Fix parsing of EDID 1.4 Established Timings III descriptor
...
The EDID 1.4 specification section 3.10.3.9 defines an Established Timings III
descriptor (tag #F7h). The parsing of this descriptor by drm_est3_modes() is
off by one byte: the offset of the first timing bitmap is 6, not 5.
Change-Id: Ic24532d54245e035feb474309a609d7efb330658
Signed-off-by: Paul Parsons <lost.distance@yahoo.com >
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com >
Signed-off-by: Jani Nikula <jani.nikula@intel.com >
Link: http://patchwork.freedesktop.org/patch/msgid/20160328002258.E75DF6E35D@gabe.freedesktop.org
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
(cherry picked from commit f3a32d74ef )
2017-06-20 17:22:50 +08:00
Paul Parsons
0b7573a7ac
UPSTREAM: drm/edid: Fix EDID Established Timings I and II
...
Three of the VESA DMT timings in edid_est_modes[] are slightly off.
1. 640x480@72Hz vsync_end should be 492, not 491.
2. 640x480@60Hz clock should be 25175, not 25200.
3. 1024x768@75Hz clock should be 78750, not 78800.
This patch corrects those timings per the VESA DMT specification, and
thus brings them into line with the identical timings in drm_dmt_modes[].
Change-Id: I351bc886ef2fb120ed62caaff9d0fff6b1868e4f
Signed-off-by: Paul Parsons <lost.distance@yahoo.com >
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com >
Signed-off-by: Jani Nikula <jani.nikula@intel.com >
Link: http://patchwork.freedesktop.org/patch/msgid/20160402100817.B60776E23A@gabe.freedesktop.org
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
(cherry picked from commit 87707cfdc3 )
2017-06-20 17:22:50 +08:00
Mario Kleiner
d93e39c5f5
UPSTREAM: drm/edid: Set 8 bpc color depth for displays with "DFP 1.x compliant TMDS".
...
According to E-EDID spec 1.3, table 3.9, a digital video sink with the
"DFP 1.x compliant TMDS" bit set is "signal compatible with VESA DFP 1.x
TMDS CRGB, 1 pixel / clock, up to 8 bits / color MSB aligned".
For such displays, the DFP spec 1.0, section 3.10 "EDID support" says:
"If the DFP monitor only supports EDID 1.X (1.1, 1.2, etc.)
without extensions, the host will make the following assumptions:
1. 24-bit MSB-aligned RGB TFT
2. DE polarity is active high
3. H and V syncs are active high
4. Established CRT timings will be used
5. Dithering will not be enabled on the host"
So if we don't know the bit depth of the display from additional
colorimetry info we should assume 8 bpc / 24 bpp by default.
This patch adds info->bpc = 8 assignement for that case.
Change-Id: Ie7603f8bf19eeeb1cd1988b6a245ead5d2e52763
Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com >
Cc: Jani Nikula <jani.nikula@intel.com >
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com >
Cc: Daniel Vetter <daniel.vetter@ffwll.ch >
Signed-off-by: Dave Airlie <airlied@redhat.com >
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
(cherry picked from commit 210a021dab )
2017-06-20 17:22:50 +08:00
Jani Nikula
41f1374f07
UPSTREAM: drm/edid: respect connector force for drm_get_edid ddc probe
...
Skip DDC probe for forced connector status. Don't try to read the EDID
if the connector is forced off. Skipping probe for forced on connectors
will make more sense when drm_do_get_edid() will handle override and
firmware EDIDs.
Change-Id: I43c16b3bfd85520536445265ee693765538e4800
Suggested-by: Ville Syrjälä <ville.syrjala@linux.intel.com >
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com >
Signed-off-by: Jani Nikula <jani.nikula@intel.com >
Link: http://patchwork.freedesktop.org/patch/msgid/1487344854-18777-4-git-send-email-jani.nikula@intel.com
Signed-off-by: Zheng Yang <zhengyang@rock-chips.com >
(cherry picked from commit 15f080f08d )
2017-06-20 17:22:50 +08:00
Wenping Zhang
bb0bcb79fc
ARM: dts: rk3229-gva-sdk: add new dts for google voice assistant sdk.
...
Change-Id: Ib1fedf6a86dff770f59e1a9313356d65c39835a4
Signed-off-by: Wenping Zhang <wenping.zhang@rock-chips.com >
2017-06-20 17:12:06 +08:00
Wenping Zhang
fa96033dcf
ARM: rockchip_defconfig: enable CONFIG_RK_NAND support.
...
Change-Id: If44d8809787e065cddfcbbd207a2b3ba3b97085d
Signed-off-by: Wenping Zhang <wenping.zhang@rock-chips.com >
2017-06-20 17:11:27 +08:00