Joy Cho
74f7463b03
ODROID-N2: display: Support hdmi phy control using osd blank ioctl
...
1. control with env 'monitor_onoff' in boot.ini
2. blank_mode
- FB_BLANK_POWERDOWN - hdmi phy off
- FB_BLANK_UNBLANK - hdmi phy on
Change-Id: I00411be529fe80f19d9a1e4b17eed3583934ff4a
2019-03-28 15:42:18 +09:00
Kevin Kim
9a4a1f4b14
ODROID-COMMON: Removed mono sound channel, as it currently doesn't work and has issues
...
Change-Id: I7959e3c2b4f28b998ca2300e9c59fcef77d92854
4.9.162-22
4.9.162-21
2019-03-25 12:04:11 +09:00
Mauro Ribeiro
b457f6db31
Merge "ODROID-N2: config: disable 'CONFIG_AMLOGIC_PAGE_TRACE'" into odroidn2-4.9.y
4.9.162-20
2019-03-22 20:42:30 +09:00
Mauro Ribeiro
66c954deda
Merge "ODROID-N2: config: disable 'CONFIG_AMLOGIC_VMAP'" into odroidn2-4.9.y
2019-03-22 20:42:03 +09:00
Dongjin Kim
eedc06cdd6
ODROID-N2: config: disable 'CONFIG_AMLOGIC_PAGE_TRACE'
...
This patch is to remove the logs below:
[ 0.000000] can't find symbol:arm_dma_alloc
[ 0.000000] can't find symbol:__alloc_from_contiguous
[ 0.000000] can't find symbol:cma_allocator_alloc
[ 0.000000] 0, addr:ffffff80099a15f0 + 140, aml_cma_alloc_post_hook
[ 0.000000] 1, addr:ffffff800957eb88 + 78, dma_alloc_from_contiguous
[ 0.000000] 2, addr:ffffff800922ebc8 + 2b8, cma_alloc
[ 0.000000] 3, addr:ffffff800921f638 + 300, __kmalloc_track_caller
[ 0.000000] 4, addr:ffffff800921c788 + 300, __kmalloc
[ 0.000000] 5, addr:ffffff800921c430 + 290, kmem_cache_alloc_trace
[ 0.000000] 6, addr:ffffff800921c1b0 + 280, kmem_cache_alloc
[ 0.000000] 7, addr:ffffff800921c138 + 78, __slab_alloc.isra.23.constprop.27
[ 0.000000] 8, addr:ffffff800921bdc0 + 378, ___slab_alloc.constprop.28
[ 0.000000] 9, addr:ffffff80092198d0 + 580, new_slab
[ 0.000000] 10, addr:ffffff800920c940 + 70, vmalloc
[ 0.000000] 11, addr:ffffff800920c858 + 70, vzalloc
[ 0.000000] 12, addr:ffffff800920c308 + 2a0, __vmalloc_node_range
[ 0.000000] 13, addr:ffffff80091f0070 + 110, kmalloc_order_trace
[ 0.000000] 14, addr:ffffff80091eff00 + 170, kmalloc_order
[ 0.000000] 15, addr:ffffff80091cf638 + 168, __alloc_page_frag
[ 0.000000] 16, addr:ffffff80091cf5d0 + 68, alloc_pages_exact
[ 0.000000] 17, addr:ffffff80091cf5a0 + 30, get_zeroed_page
[ 0.000000] 18, addr:ffffff80091cf548 + 58, __get_free_pages
[ 0.000000] 19, addr:ffffff80091ce738 + e10, __alloc_pages_nodemask
[ 0.000000] 20, addr:ffffff800909d8a0 + 258, __dma_alloc
Change-Id: Ib81bd3617a47b60472aab2cf4adc4beb1a2643aa
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-03-22 16:34:49 +09:00
Dongjin Kim
163fc91f2d
ODROID-N2: config: disable 'CONFIG_AMLOGIC_VMAP'
...
This patch is to remove the error below.
[ 0.282128] VMAP:handle_vmap_fault address ffffff80200c4000 out of range
[ 0.282152] VMAP:handle_vmap_fault PC is:ffffff800925db6c, copy_mount_options, LR is:ffffff800925dad8 copy_mount_options
[ 0.282159] VMAP:handle_vmap_fault task:44 kdevtmpfs, stack:ffffff80200c0000, ffffffc0cf308960
[ 0.282167] CPU: 0 PID: 44 Comm: kdevtmpfs Not tainted 4.9.162+ #1
[ 0.282172] Hardware name: Hardkernel ODROID-N2 (DT)
[ 0.282178] Call trace:
[ 0.282189] [ffffffc0cf308880+ 128][<ffffff800908b908>] dump_backtrace+0x0/0x288
[ 0.282198] [ffffffc0cf308900+ 32][<ffffff800908bc14>] show_stack+0x24/0x30
[ 0.282207] [ffffffc0cf308920+ 64][<ffffff800944d560>] dump_stack+0xb0/0xe0
[ 0.282218] [ffffffc0cf308960+ 64][<ffffff80099a0544>] handle_vmap_fault+0x1e4/0x218
[ 0.282226] [ffffffc0cf3089a0+ 0][<ffffff8009082f68>] el1_da+0x14/0x148
[ 0.282234] [ffffff80200c3d20+ 80][<ffffff800925dad8>] copy_mount_options+0xb8/0x1b0
[ 0.282241] [ffffff80200c3d70+ 64][<ffffff800925eba8>] SyS_mount+0x70/0x108
[ 0.282251] [ffffff80200c3db0+ 112][<ffffff800957d0f8>] devtmpfsd+0x80/0x190
[ 0.282260] [ffffff80200c3e20+ 0][<ffffff80090cd298>] kthread+0xf8/0x110
[ 0.282268] [0000000000000000+ 0][<ffffff8009083ad0>] ret_from_fork+0x10/0x40
Change-Id: If59066c6e094be7f25ba33f1978acde03975700c
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-03-22 16:34:24 +09:00
Kevin Kim
ba7624d44f
ODROID-COMMON:alsa-default-sink set to HDMI-output
...
Change-Id: I6165eed22baca6150b4dfc79e9108ba344385d0d
2019-03-22 15:21:55 +09:00
Joy Cho
739dc21a18
osd: Fix an overscan issue in case of missing the value
...
Change-Id: If830d1efa02eeef3d74af7554345a3f71f0c1ded
2019-03-22 14:02:18 +09:00
Joy Cho
2c85c1f633
osd: Update overscan logic at booting stage
...
Change-Id: I0df7d807e55452604b228a46df9e83027ef19211
2019-03-20 15:53:12 +09:00
Joy Cho
f7300ee716
osd: Fix a wrong fb window axis issue
...
Change-Id: I591510797a03c69648c3da38d03b60fc46fa38dd
2019-03-19 08:23:58 +09:00
Dongjin Kim
06e6a318b5
Merge "BACKPORT: ALSA: usb-audio: Eliminate noise at the start of DSD playback." into odroidn2-4.9.y
2019-03-18 15:31:53 +09:00
Dongjin Kim
50f67111e2
ODROID-COMMON: net/ethernet: fix compilation error of implicit delcaration
...
Change-Id: I054510f2d0671563b42575c60e5441ed3351347d
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-03-18 13:48:33 +09:00
Dongjin Kim
a79ad488a8
ODROID-COMMON: net/ethernet: MAC address from eFuse memory
...
Change-Id: Ic7c01dba43300c8fb507fbfcc87404585a09e220
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-03-18 13:19:48 +09:00
Nobutaka Okabe
e265143c2d
BACKPORT: ALSA: usb-audio: Eliminate noise at the start of DSD playback.
...
[Problem]
In some USB DACs, a terrible pop noise comes to be heard
at the start of DSD playback (in the following situations).
- play first DSD track
- change from PCM track to DSD track
- change from DSD64 track to DSD128 track (and etc...)
- seek DSD track
- Fast-Forward/Rewind DSD track
[Cause]
At the start of playback, there is a little silence.
The silence bit pattern "0x69" is required on DSD mode,
but it is not like that.
[Solution]
This patch adds DSD silence pattern to the endpoint settings.
Change-Id: I173538b84978d4136eb0dca31f12738814375604
Signed-off-by: Nobutaka Okabe <nob77413@gmail.com >
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-03-18 12:31:49 +09:00
Kevin Kim
4b79a61ce3
odroid-common:pwm-fan device enabled for active cooling.
...
Change-Id: I1dcdfa4c22ab72cd24b1be870727420683073f9a
2019-03-15 11:13:10 +09:00
Joy Cho
5d01c3b7ee
remote: Add a setup of user remote wakeup decode type
...
Change-Id: Ib7bb759dfec67433b596ed64997f6894d1c7ec27
2019-03-14 15:43:25 +09:00
Joy Cho
4a534ab482
Merge "media: rc: Add lirc helper to support user remote wakeup" into odroidn2-4.9.y
2019-03-14 15:42:48 +09:00
Dongjin Kim
22d698f4d2
ODROID-N2: phy/realtek: add to support Wake On Lan enable
...
Adding new kernel command line "enable_wol=<1|0>" will configure the WOL
features on next power off.
Change-Id: I4830aeb1651e90d4699887199000def1163fb6db
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-03-14 00:10:05 -04:00
Mauro Ribeiro
b20575b938
Merge "Revert "pinctrl: meson: add gen_clk_ee/ao pin groups for G12A/B [1/1]"" into odroidn2-4.9.y
4.9.162-19
2019-03-14 01:42:29 +09:00
Mauro Ribeiro
0317819759
Merge "Revert "clk: g12a: add gen clock [1/1]"" into odroidn2-4.9.y
2019-03-14 01:42:23 +09:00
Joy Cho
444000231d
media: rc: Add lirc helper to support user remote wakeup
...
- set user remote wakeup key
- set ir decode protocol for wakeup
Change-Id: If083545f64d4e0b9c30bed89ce4bc9ecd37ea8ac
2019-03-13 16:52:21 +09:00
Kevin Kim
a11bceab27
ODROID-COMMON:audio mclk set to continuous clock
...
Change-Id: I2184521fb9370018f7d38fad2aea2bb63adab4fa
2019-03-13 16:03:06 +09:00
Kevin Kim
8f4e460c92
odroid-common:Matching the mixer control with alsa-util
...
Change-Id: I276e86be72f8bd00215b540e4c312ba5a4a1706c
2019-03-13 16:03:05 +09:00
Dongjin Kim
71551e3aa1
ODROID-C3/N2: remove unsupported feature 'MEDIA_ENHANCEMENT_DOLBYVISION'
...
Change-Id: I8674837de099f3653d7b101c47cae012273fc8d1
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-03-12 18:39:18 +09:00
Dongjin Kim
c0adde9190
Revert "pinctrl: meson: add gen_clk_ee/ao pin groups for G12A/B [1/1]"
...
This reverts commit ef149016c1 .
Change-Id: If7da89a658a76e346d8daa40f422fecfa4a38a06
2019-03-12 18:32:02 +09:00
Dongjin Kim
d7eb7fe638
Revert "clk: g12a: add gen clock [1/1]"
...
This reverts commit 4e9d208858 .
Change-Id: I54a05c486c2a8a3d024a40dbea7ddc154ce7a4a0
2019-03-12 18:31:59 +09:00
Dongjin Kim
99b7123712
media: rc: quick fix missing 'GPIO_IR_DRIVER_NAME'
...
Change-Id: I008fd318b57d5afee9e0b2828b7320cdbb12bc3b
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-03-12 17:46:22 +09:00
Dongjin Kim
8b155a4361
ODROID-COMMONfbcon: quick fix missing '/'
...
Change-Id: I8cc674ae263959646c9034545a1f639de0504d97
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-03-12 17:45:02 +09:00
Dongjin Kim
06e489b8ed
ODROID-COMMON: fbcon: use soft cursor instead of hardware cursor
...
The hardware cursor is not visible, so ....use soft cursor instead.
Change-Id: Ibb4e4b831940f0a4674adf27a6b6e5653a59d001
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-03-12 17:20:31 +09:00
Dongjin Kim
ad5225bace
ODROID-COMMON: media/osd: add new kernel parameter 'overscan='
...
The new kernel parameter 'overscan=' is to set the ratio to control the overscan
ratio in percent.
Change-Id: I0fc667ccf20349247d4e10196d7acdbc6e5a1fb2
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-03-12 17:18:47 +09:00
Dongjin Kim
05e8bced71
ODROID-N2: bios: include PCF8563 RTC driver
...
Change-Id: I9434ccb11ba2ceeddafdc88dca56713497906961
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-03-12 17:15:15 +09:00
Dongjin Kim
e31fd75ab7
ODROID-N2: config: Add 'gpioplug_ir_recv' for GPIO-based IR receiver
...
Change-Id: I09c12bfa0f4832971ddedd5140128085bc26087d
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-03-12 14:43:01 +09:00
Joy Cho
d52a3aa42a
media: rc: Add new IR receiver to specify gpio number for IR sensor
...
This driver helps to register the device of GPIO based IR receiver, "gpio-ir-recv"
with the gpio number and pulse trigger when driver is loading. For example,
# modprobe gpio-ir-recv
# modprobe gpioplug-ir-recv gpio_nr=473 active_low=1
Change-Id: I377be5e1d1926d0e777b7e18feef7f0d4bc45f40
Signed-off-by: Joy Cho <joy.cho@hardkernel.com >
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-03-12 14:42:57 +09:00
Dongjin Kim
e5ff7549fd
ODROID-N2: arm64/dtb: change to suport 'both' interrupt edge trigger
...
Change-Id: I033e6bf4cbb35199a26572fd442264cc4cb0e58b
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-03-11 15:34:53 +09:00
Kevin Kim
a4a2424ceb
ODROID-N2:40p expansion I2C function enabled by default.
...
Change-Id: Ifd14a7a8b0fbd14d636122c013cad3452e3ae245
2019-03-11 12:22:05 +09:00
Dongjin Kim
56eab9fb24
Merge "ODROID-COMMON: mm: quick fix if 'CONFIG_AMLOGIC_PAGE_TRACE' is not enabled" into odroidn2-4.9.y
2019-03-07 14:50:49 +09:00
Dongjin Kim
39e8c749c5
ODROID-COMMON: mm: quick fix if 'CONFIG_AMLOGIC_PAGE_TRACE' is not enabled
...
Change-Id: Id63e7c4cd0decfacc3708bd8887758d16df132ea
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-03-07 12:44:57 +09:00
Dongjin Kim
d2327f354d
Revert "Revert "canvas: get canvas w/h for frame check [2/2]""
...
This reverts commit f9e4d0b2e6 .
Change-Id: I9652945625684ca880215858621651c324b8ef63
(cherry picked from commit dd2a580802222ced106aae8e5351c0de945d5da2)
2019-03-07 10:50:18 +09:00
Mauro (mdrjr) Ribeiro
a79c7062da
Merge tag 'v4.9.162' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidn2-4.9.y
...
This is the 4.9.162 stable release
Change-Id: I8042a515f639d3857bb6aae03284aabaede1f7b9
4.9.162-18
2019-03-06 10:45:14 -03:00
Mauro (mdrjr) Ribeiro
2ab9e6444f
Merge tag 'v4.9.161' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable into odroidn2-4.9.y
...
This is the 4.9.161 stable release
2019-03-06 10:45:05 -03:00
Mauro (mdrjr) Ribeiro
9c7f743d41
ODROID-N2: config: re-enable f2fs as built-in
...
Change-Id: Iea1adf6dfe1cb612a4cbe2b60e568246a25682af
2019-03-06 10:39:03 -03:00
Dongjin Kim
0f42b08762
Merge branch 'odroidn2-4.9.y-upstream' into odroidn2-4.9.y
...
Change-Id: I72085e10de290bd3a6116fd60abdd58fd76c2246
2019-03-06 18:51:45 +09:00
Dongjin Kim
e76386a854
ODROID-N2: config: reconfig based on BSP openlinux-20190220
...
Change-Id: I09d6bba84c65b72e72c32f4de9af4bc9ff41b605
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-03-06 18:51:23 +09:00
Cheng Tong
577a82f2da
dts: g12a: add clk_81 to enable demux pcr [1/1]
...
PD#SWPL-4469
Problem:
dolby files have no sounds after replay
Solution:
in u212, the clk_81 is null when init, it is related
to demux pcr, so add clk_81 to enable demux pcr
Verify:
verify by franklin
Change-Id: Id862e4e8ac49c19bbd52fa6fa4831de20abad6c8
Signed-off-by: Cheng Tong <cheng.tong@amlogic.com >
2019-03-06 18:50:40 +09:00
Guosong Zhou
9d329b38f5
isp: config temper buffer size in dts [1/2]
...
PD#SWPL-4177
Problem:
temper buffer size is a fixed value in code
Solution:
config temper buffer size from dts
Verify:
verify by w400
Change-Id: I17ef428221f149a888e0318bc27d7b7d309c00ce
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com >
2019-03-06 18:50:40 +09:00
Guosong Zhou
21a425ae2e
camera: support the dvp camera [1/1]
...
PD#SWPL-2133
Problem:
don't support dvp camera
Solution:
add dvp camera driver
Verify:
verify by u200
Change-Id: I8517913e0c3724247b396e8d054d6a4541a1993a
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com >
2019-03-06 18:50:40 +09:00
Guosong Zhou
9278c8f0e7
camera: add dvp camera [1/1]
...
PD#OTT-1204
Problem:
don't support dvp camera
Solution:
add dvp camera gc2145 camera driver
Verify:
test pass on U200
Change-Id: I5927d49a93952587af7bb460a5c405293d692153
Signed-off-by: Guosong Zhou <guosong.zhou@amlogic.com >
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com >
Conflicts:
MAINTAINERS
2019-03-06 18:50:40 +09:00
shuanglong.wang
e00528d754
video: video peek do not post video start event [1/1]
...
PD#SWPL-4317
Problem:
for video peek, before audio post audio start, video may have rended.
Solution:
do not post video start for video peek, all wait for audio start to
start pcr
Verify:
verify by p212
Change-Id: If5656154e30613164465f84c44d3fd1ee386d654
Signed-off-by: shuanglong.wang <shuanglong.wang@amlogic.com >
2019-03-06 18:50:40 +09:00
Huan Biao
cd637a0dcb
arm64: dts: gxl: optimize ipa parameter [1/1]
...
PD#SWPL-3726
Problem:
game cannot run smoothly
Solution:
1:modify cooling devices min status
cpufreq 1000Mhz-->1200Mhz
gpufreq 400MHz -->500MHz
2:modify switch trippoint freq trippoint hotplug trippoint
70000-->80000
80000-->90000
85000-->100000
Verify:
p215 pass
Change-Id: I36d8ac8ca578f92c8aeda7d979df1f3f56311ce3
Signed-off-by: Huan Biao <huan.biao@amlogic.com >
2019-03-06 18:50:40 +09:00
Huan Biao
95ce9e5084
arm: dts: gxl: optimize ipa parameter [1/1]
...
PD#SWPL-3726
Problem:
game cannot run smoothly
Solution:
1:modify cooling devices min status
cpufreq 1000Mhz-->1200Mhz
gpufreq 400MHz -->500MHz
2:modify switch trippoint freq trippoint hotplug trippoint
70000-->80000
80000-->90000
85000-->100000
3:fix gpupp get fail issue
Verify:
p215 pass
Change-Id: Id0a1e1ac9619f0d9a20e2aad172ba0c84c7a2e9d
Signed-off-by: Huan Biao <huan.biao@amlogic.com >
2019-03-06 18:50:40 +09:00