Commit Graph

654181 Commits

Author SHA1 Message Date
Joy Cho
14a5bf4602 ODROID-N2: clk: Update pll table to support 1.992GHz
Change-Id: Idb3565bb3e9f17950b9320c50fb5faf6564d1ef9
2019-07-23 17:52:49 +09:00
Portisch
987b4949fd ODROID-COMMON: add missing 'clocks' & 'clock-names' to node efuse 2019-07-23 17:52:49 +09:00
Portisch
cc9eee882e Revert "ODROID-COMMON: net/ethernet: MAC address from eFuse memory"
This reverts commit a79ad488a8.
2019-07-23 17:52:49 +09:00
Ray
334d542542 vh265: less kernel log spam 2019-07-23 17:52:49 +09:00
Ray
dd6cfe8904 vvc1: less pr_info spam 2019-07-23 17:52:49 +09:00
afl1
87bb377b1a h265: increase margin for dynamic buffers
Increasing margin from 7 to 8 fixes playback issue for some non-standard hevc streams.
2019-07-23 17:52:49 +09:00
afl1
1a28202b24 clean up compiler warnings 2019-07-23 17:52:49 +09:00
Ray
671f04279b amlogic/cpufreq: Register transition notifier only when dsu_clk and dsu_pre_parent are defined in device tree.
Fixes crash on suspend/resume
2019-07-23 17:52:49 +09:00
Ray
475c4a0446 amlogic/decoder/vh264: Define ENABLE_SEI_ITU_T35
This fixes fatal errors in the decoder when qos data is empty
2019-07-23 17:52:49 +09:00
Ray
4b2e4a2554 amlogic/decoder/vh264: use stretchblt_noalpha_noblk to not block ge2d 2019-07-23 17:52:49 +09:00
Ray
f326075229 amlogic/cec: reintroduce CEC changes for libcec 2019-07-23 17:52:49 +09:00
Ray
b56d62b1d2 amlogic/decoder/vh265: Add if/else check that was removed with bsp merge 2019-07-23 17:52:49 +09:00
Ray
3bcd0a9f79 amlogic/video: Add back VIDEO_NOTIFY_TRICK_WAIT 2019-07-23 17:52:49 +09:00
Ray
feb8346ab8 dts/amlogic: Add ppmgr for meson64_odroidn2 2019-07-23 17:52:49 +09:00
Portisch
53fc7a5a5b video_sink: add amvideocap module This will add the amvideocap module to kernel 4.9 If the frame rate is higher than 30 fps each second frame get captured. stretchblt: fix missing block assignment in _stretchblt_noalpha 2019-07-23 17:52:49 +09:00
Portisch
b2f2126dcb rc: implement ir-irmp-decoder 2019-07-23 17:52:49 +09:00
Portisch
55f8a7543f rc: irmp: enable common used ir protocols 2019-07-23 17:52:49 +09:00
Portisch
b9e90987a8 rc: port irmp to be able to use measured pulses Use U_BOOT_COMPATIBLE flag for raw IR bit data Tweak RC6 tolerances 2019-07-23 17:52:49 +09:00
Portisch
94ec01db12 rc: add original irmp 3.1.2 Source: https://github.com/svn2github/irmp 2019-07-23 17:52:49 +09:00
afl1
d29302a188 EXPORT_SYMBOL(videosync_pcrscr_update) 2019-07-23 17:52:49 +09:00
afl1
2211c47f93 type override 2019-07-23 17:52:49 +09:00
cdu13a
814e42f009 media/rc: meson-ir fixes from 3.14
Use meson-ir fixes from 3.14 temporarily until I get a chance to finish IR RC backport from mainline.
2019-07-23 17:52:49 +09:00
Alex Deryskyba
5ddb7c1a8c rc: meson-ir: switch config to NEC decoding on shutdown
On the Amlogic SoCs, the bootloader firmware can handle the IR hardware
in order to Wake up or Power back the system when in suspend on
shutdown mode.

This patch switches the hardware configuration in a state usable by the
firmware to permit powering the system back.

Some vendor bootloader firmware were modified to switch to this
configuration but it may not be the case for all available products.

This patch was originally posted at [1].

[1] https://github.com/LibreELEC/linux-amlogic/pull/27

Signed-off-by: Alex Deryskyba <alex@codesnake.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2019-07-23 17:52:49 +09:00
Javier Martinez Canillas
4932b33f6b rc: meson-ir: Fix module autoload
If the driver is built as a module, autoload won't work because the module
alias information is not filled. So user-space can't match the registered
device with the corresponding module.

Export the module alias information using the MODULE_DEVICE_TABLE() macro.

Before this patch:

$ modinfo drivers/media/rc/meson-ir.ko | grep alias
$

After this patch:

$ modinfo drivers/media/rc/meson-ir.ko | grep alias
alias:          of:N*T*Camlogic,meson-gxbb-irC*
alias:          of:N*T*Camlogic,meson-gxbb-ir
alias:          of:N*T*Camlogic,meson8b-irC*
alias:          of:N*T*Camlogic,meson8b-ir
alias:          of:N*T*Camlogic,meson6-irC*
alias:          of:N*T*Camlogic,meson6-ir

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2019-07-23 17:52:49 +09:00
cdu13a
73ce6190f0 use GPIOA_13(pin 7 on 40pin connector) for Spdifout by default 2019-07-23 17:52:49 +09:00
Ray
eb732e5137 amstream.c: Tweak video buffers 2019-07-23 17:52:49 +09:00
afl1
501ba82e9a enable build amlvideodri.ko 2019-07-23 17:52:49 +09:00
afl1
44da2c4a27 amlogic/vvp9: fix amlogic multi dec 2019-07-23 17:52:49 +09:00
Ray
4556bca7ba amlogic/vh264: Set enable_switch_fense to 0 2019-07-23 17:52:49 +09:00
afl1
1d6f5d8d7c amlogic/vh264: non-idr or non-I frame will set pts_valid 2019-07-23 17:52:49 +09:00
afl1
0cc5280261 amlogic/vh264: use error_recovery_mode = 1 for H264 2019-07-23 17:52:49 +09:00
Ray
c0792126ba amlogic/vmpeg4: calculate PTS from DTS for PTS_ON_KEYFRAME 2019-07-23 17:52:49 +09:00
Ray
3dfe633fbb amlogic/vvc1: calculate PTS from DTS for PTS_ON_KEYFRAME 2019-07-23 17:52:49 +09:00
Ray
b22960d9f5 AML: v4l2_qbuf 2019-07-23 17:52:49 +09:00
Ray
64c70a5b1a deinterlace.c: bypass on progressive 2019-07-23 17:52:49 +09:00
afl1
b357a898bd TSin: fix FEC_INPUT_CONTROL 2019-07-23 17:52:49 +09:00
Ray
bf913c91a3 tee: disable by default
Fixes weird h264 reset bug
2019-07-23 17:52:49 +09:00
Ray
1cb779efc5 realtek: Reinit phy after wakeup when WOL is disabled
When WOL is disabled the power is cut in uboot. After wakeup the speed
is very slow. Re-init fixes it.
2019-07-23 17:52:49 +09:00
Ray
2c0490bd9c meson-mmc: Fix SD suspend issue 2019-07-23 17:52:49 +09:00
Ray
ec33a5195c vpp: disable super_scaler
fixes cartoon like bleeding effects
2019-07-23 17:52:49 +09:00
cdu13a
eae15b9ac5 hdmi_tx: auto set cd/cs
Auto set cd to 10bit if supported. Auto set cs to keep us in spec.

note: This is made up from the relavent parts of multiple commits from osmc and
coreelec 3.14 kernel, and tweaked to fit in the 4.9 kernel.
2019-07-23 17:52:49 +09:00
cdu13a
26b285b434 hdmitx: add "now" to attr to trigger set_disp_mode_auto()
Useful for testing. Adding "now" to attr is a one shot way to force
changes to current hdmi settings to take effect imediatly instead of
waiting for a mode change.
2019-07-23 17:52:49 +09:00
cdu13a
f85efc92c9 hdmi_tx: improve display of current hdmi config
Use register info to get info about current config and display it in a more human
readable format.
2019-07-23 17:52:49 +09:00
Ray
f77581e5cf amvecm: Disable SDR to HDR by default 2019-07-23 17:52:49 +09:00
Portisch
96408cc843 meson-remote: remove default key mapping in dtb Rename 'rc@0xff808040' to 'meson-remote' in mesong12b.dtsi Do not trace missing key mappings on init as error 2019-07-23 17:52:49 +09:00
Ray
ebd6b1b549 cec: Fix kernel log spam when cec is disabled 2019-07-23 17:52:49 +09:00
Portisch
53d5b25588 hdmi_ao_cec: save given cec config parameter to u-boot register 2019-07-23 17:52:49 +09:00
Arthur Liberman
39078a2d9d dts/amlogic: add openvfd stub for the openvfd driver 2019-07-23 17:52:49 +09:00
adamg
72e16632b1 dts/amlogic: add virtual dtb for n2 that tracks upstream changes 2019-07-23 17:52:49 +09:00
Ray
2e2adc8bb5 dts/amlogic: mesonglx.dtsi, mesongxm.dtsi add missing reset-cells property 2019-07-23 17:52:49 +09:00