Chris KIM
e99eb048c7
ODROID: Add pl2303 driver as module
...
Change-Id: If1a0d18aecd3005bd091e5393333594195ee42bf
2020-06-10 11:38:09 +09:00
Luke Go
c02eb29f51
ODROID-COMMON: device-tree refactor
...
This patch is to define a common dtsi for ODROID boards, sm1 APs.
Change-Id: Id9f5ee8c96b2687e1205e2cb8898b9f934ef3f41
2020-06-10 11:38:04 +09:00
Dongjin Kim
168e78013b
ODROID-C4/N2: customize cpufreq/cooling for ODROID-N2
...
ODROID-N2 has two cpufreq clusters while ODROID-C4 has one. This patch is
to manage the cpufreq for the different CPU cluster setup while a board is
running instead of buildtime.
Change-Id: I53d8208f5f53d0e83dbe08c9d24123e64cc1e24f
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2020-06-10 11:26:07 +09:00
Kevin Kim
740b4e251c
ODROID-COMMON:Spicc driver pinctrl for odroid
...
Change-Id: I0560900a68861592d1717b5421ef0b8324fcbc76
2020-06-10 11:26:07 +09:00
Dongjin Kim
2a4dd34232
ODROID-COMMON: cpufreq: Add 'max_freq_a55=' for ODROID-C4
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: Ibdb7045d980a44358113881d5579ce20945e89da
2020-06-10 11:26:02 +09:00
femto
9e61144b71
ODROID-C4:dvfs: update cpufreq table for sm1 corner
...
commit dd7ed22b58cb33eeda076040122f5753feb05175
Author: Hong Guo <hong.guo@amlogic.com >
Date: Thu Aug 15 14:32:00 2019 +0800
dvfs: update cpufreq table for sm1 corner [1/1]
PD#SWPL-13264
Problem:
update cpufreq table for sm1 corner
Solution:
update cpufreq table for sm1 corner
Verify:
test pass on sm1_ac200
Change-Id: Iba08ceb00dc00994e1c383090d6ff5d9dfb91ce3
Signed-off-by: Hong Guo <hong.guo@amlogic.com >
Signed-off-by: Luan Yuan <luan.yuan@amlogic.com >
Change-Id: I67a4c2c132482f954e31efb210d0a1c986cd9a67
2020-06-10 10:56:26 +09:00
femto
193a7b110d
ODROID-C4:thermal: modify ipa parameter for sm1
...
Signed-off-by: femto <ckkim@hardkernel.com >
Change-Id: I350290422fa2e0daa9409a5faeb6320b79e1039b
commit 82745e4bce
Author: Huan Biao <huan.biao@amlogic.com >
Date: Wed Apr 17 14:57:58 2019 +0800
thermal: modify ipa parameter for sm1 [1/1]
PD#SWPL-7322
Problem:
sm1 ipa parameter not match soc power data
Solution:
update sm1 ipa dts parameter
Verify:
AC200
Change-Id: Ib636d5c4853d53cf6bafad9b5266e2b13dd7e85c
Signed-off-by: Huan Biao <huan.biao@amlogic.com >
Change-Id: I0e865a19ad4288f54f513e7e84d2ccf0962edf05
2020-06-10 10:56:18 +09:00
Luke Go
a0e98b4faf
ODROID-C4: arm64/dts: fix SPI cs_1 pin after H/W (rev.0.4)
...
Signed-off-by: femto <ckkim@hardkernel.com >
Change-Id: Icf46202de22792e8c3bd21cbb8ec43c6c69758db
2020-06-10 10:56:11 +09:00
femto
6285e25ae4
ODROID-C4: Enable spicc for rev_0.4
...
Signed-off-by: femto <ckkim@hardkernel.com >
Change-Id: I297dc577f7091f796dfd80cbf6be78baf1ae79ca
2020-06-10 10:56:03 +09:00
Dongjin Kim
efea05644c
ODROID-COMMON: refactoring board macro functions
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Change-Id: Icf0266d5123a649b9707650faeb04953b34bacc4
2020-06-10 10:55:56 +09:00
Dongjin Kim
89bedbd9b3
ODROID-COMMON: drivers/usb: code featuring for internal USB or external
...
This patch is to handle a SoC builtin or or an external USB controller by
the function 'odroid_amlogic_usb3()' where returns true for SoC builtin USB
controller and false for another one.
Change-Id: I13055dc87378175205ddb019c97d57db9d2e3d98
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2020-06-10 10:55:49 +09:00
femto
8a5ce0de85
odroid-c4:uSD:Change TFLASH_VDD_EN pin to fit hw rev_0.4
...
rev_0.3 : GPIOAO_8
rev_0.4 : GPIOAO_3
Signed-off-by: femto <ckkim@hardkernel.com >
Change-Id: Ie71731d8902c9353774d21d56d58f8efa524aa9c
2020-06-10 10:55:41 +09:00
Joshua Yang
20d6f4c11c
ODROID-COMMON: cpuinfo: set system revision by the board name in DT
...
Change-Id: I4ce4da547d246b3c82eb7dddb36a1d747f4d9cef
Signed-off-by: Joshua Yang <joshua.yang@hardkernel.com >
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2020-06-10 10:55:33 +09:00
femto
1c88682f8f
ODROID-COMMON: Modified to uSD reset for hw_rev0.4
...
Change-Id: Ib723d0cbfacce651f6df2419d15fa231c67a58d6
Signed-off-by: femto <ckkim@hardkernel.com >
2020-06-10 10:55:25 +09:00
Luke Go
16fd93ca00
ODROID-C4: Enable UHS mode for uSD, added hw-reset-gpio(rev_0.4)
...
Signed-off-by: femto <ckkim@hardkernel.com >
Change-Id: Ib06d13685eaad974815157f4c6222f7a6aa05e45
2020-06-10 10:55:13 +09:00
Luke Go
c5ad5a4407
ODROID-C4: dts/arm64: android: add sd configs.
...
Change-Id: Ia5331c2cb5ccf2fb99befbfbb3d6494c6c724908
Signed-off-by: Luke Go <sangch.go@gmail.com >
2020-06-10 10:53:54 +09:00
Luke Go
3e0b39ba34
ODROID: mem; Removed memory size limitation.
...
Change-Id: I166f9f8a69d3c46d275ae282321599d21cd146fd
Signed-off-by: Luke Go <sangch.go@gmail.com >
2020-06-10 10:52:43 +09:00
Luke Go
a48298a308
ODROID: WIFI/BT: Support the WIFI/BT Combo Shiled.
...
Change-Id: I37b02ef1638592aaf3f611de59b89cbe86c8ca85
Signed-off-by: Luke Go <sangch.go@gmail.com >
2020-06-10 10:52:35 +09:00
Luke Go
8c50d24da4
ODROID: bt: Apply bluetooth device and add bluetooth device tree
...
configs.
Signed-off-by: Luke Go <sangch.go@gmail.com >
Change-Id: Idc5fa7db15385b750e0c80365b7216b2676640db
2020-06-10 10:52:27 +09:00
Luke Go
0fc58bab9f
ODROID-C4: Add wifi dts configs and remove pci access routine from
...
aml_wifi.
Signed-off-by: Luke Go <sangch.go@gmail.com >
Change-Id: I0111583e1812633be391b7997388c1be1deadd32
2020-06-10 10:51:52 +09:00
Kevin.Kim
4d1e3c608c
ODROID-C4: Add sound card driver
...
Change-Id: Ie91640c3f324076076be6b19b71eb54a74483e1f
2020-06-10 10:51:39 +09:00
Luke Go
b93363af94
ODROID: bt: Apply bluetooth device and add bluetooth device tree
...
configs.
Change-Id: I2ebf83d4463c1ebbe006e21e65272d14f8e8295f
Signed-off-by: Luke Go <sangch.go@gmail.com >
2020-06-10 10:46:00 +09:00
Chris KIM
1d4e06684d
ODROID-C4: dts: Fix max clock to 2100000.
...
Change-Id: Ic44a13ce33619854341bf75c85f581cac0f6a8c7
Signed-off-by: Chris KIM <codewalker@hardkernel.com >
2020-06-10 10:45:52 +09:00
Kevin.Kim
0ab5c3eda1
ODROID-C4: arm64/dts: Add overclock frequency table
...
Change-Id: If2ccfb890dedeeab98ad1a0c22d9eb592a7d99e5
2020-06-10 10:45:45 +09:00
Chris KIM
2f7eb41159
ODROID-C4: Fix dts like odroidn2.
...
Change-Id: Ica2602ef558050e0ddcd2759b4ef71e53a5178f8
2020-06-10 10:45:05 +09:00
Chris KIM
01a68aa19d
ODROID-C4: dts: fix to use rtc shield.
...
Change-Id: I5b0b5b68e8f4ec6c410f45804925d482290b9345
2020-06-10 10:44:56 +09:00
Luke Go
0fe7c3f211
dts: ODROID-C4: Add odroid-c4 config files.
...
Change-Id: I1a3c8bebb6b7ca83cadfe4cf983f308956a7041f
2020-06-10 10:44:40 +09:00
Chris KIM
a01c0147fb
ODROID: Enable to prevent Sleep mode.
...
If prevent_sleep is 1, system never enter sleep mode,
but system turn off HDMI PHY, if suspend_hdmiphy is not 0.
Signed-off-by: Chris KIM <codewalker@hardkernel.com >
Change-Id: Ic7848d174390a9a9549222e421b1b7bbfc7fc404
s922_9.0.0_64_20200318
2020-03-10 10:54:11 +09:00
Chris KIM
dfadef6839
Revert "HID: multitouch: do not retrieve all reports for all devices"
...
This reverts commit c6e3c6628d .
Fix for eGalax Inc. USB TouchController(0EEF:0001) malfuncion.
Change-Id: I2859086f481346fef9c95ccec2fc35367b141076
2020-02-21 17:01:40 +09:00
Luke Go
a1238d0479
android: media: osd: The zoom related problem fix.
...
- In android, zoom in/out feature cause osd's free scale adjust problem.
So I separate the resolution table to adjust free scale mode.
I Limited applying free scale handling logic from 1920x1200. The free
scale handling will applied above 1920x1200 resolutions.
Change-Id: I00edf256ca9de16cb8fcbf987ee6dd75dec28a81
Signed-off-by: Luke Go <sangch.go@gmail.com >
s922_9.0.0_64_20200130
2020-01-30 10:46:39 +09:00
Joy Cho
46becbee5a
ODROID-N2: vout: hdmi: Add hpd control
...
Change-Id: Iebf0bf99dbdf7630dc972bba31a770fb1c7cd823
(cherry picked from commit ef4bb25aa5 )
2020-01-23 11:04:15 +09:00
Joy Cho
38d8e5eb01
media: osd: Limit android fb size to 1920x1080
...
On Android, higher framebuffer over 1920x1080
will be limited to 1920x1080 except 2560x1080
and osd driver needs to scale the size
to fit in actual hdmi output resolution.
Change-Id: I7ea24fb3f3d162b87a8a5b43af70d9ca7e5442fc
2020-01-14 22:28:31 +09:00
Joy Cho
4081d8076e
media: osd: Adjust osd scaler setting to fix osd shift issue
...
Change-Id: I5987a49de58db8e40cd7a21475353ecde34512c1
s922_9.0.0_64_20200110
2020-01-09 22:56:26 +09:00
Dongjin Kim
d670be77e5
ODROID-N2: arm64/dtb: change to suport 'both' interrupt edge trigger
...
Change-Id: I033e6bf4cbb35199a26572fd442264cc4cb0e58b
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2020-01-06 11:45:51 +09:00
Luke Go
0358e185a0
ODROID: bt: Bugfix.
...
- power_low_level value is not applied correctly.
Change-Id: Id98d8e819e0502f7ec2ae27f972a926ac7c855d2
Signed-off-by: Luke Go <sangch.go@gmail.com >
2019-12-31 14:49:59 +09:00
Luke Go
89611d2359
ODROID: bt: Apply bluetooth device and add bluetooth device tree
...
configs.
Change-Id: I2ebf83d4463c1ebbe006e21e65272d14f8e8295f
Signed-off-by: Luke Go <sangch.go@gmail.com >
s922_9.0.0_64_20191213
2019-12-10 17:35:14 +09:00
Luke Go
1160f845d6
ODROID-N2: Add wifi dts configs and remove pci access routine from
...
aml_wifi.
Signed-off-by: Luke Go <sangch.go@gmail.com >
Change-Id: I0111583e1812633be391b7997388c1be1deadd32
2019-12-10 17:35:14 +09:00
Chris KIM
c166e93753
ODROID-C4: Fix unused variable dovi_dual_layer.
...
Change-Id: Id0fd125957508f0f3bcf7fba4fbd816de45b9624
2019-12-10 17:35:14 +09:00
Joy Cho
cc2995a840
media: hdmitx: Update hdmi hpll generation logic of custombuilt mode
...
Change-Id: If4ab95d0c95ac49f4ce78801e1c2346e6301635e
2019-12-10 17:35:14 +09:00
Kevin Kim
9544037472
ODROID-N2: Merge amlogic BSP 2019.0415 (fix build err)
...
Change-Id: I1987cce33154a36658b066f44ce1463d267d0043
2019-12-10 17:35:14 +09:00
Shuai Li
f9838d7ef6
audio: add enable count for PDM module [1/1]
...
PD#IPTV-3723
Problem:
One use case is PDM module is sendig data
to both PDM device and LOOPBACK device.
Close one will make another useless.
Solution:
Add management of the PDM module by
a enable count.
Verify:
SM1.
Change-Id: Iceeb756c02671b16dbc3c49a9b793a50e6e559b5
Signed-off-by: Shuai Li <shuai.li@amlogic.com >
2019-12-10 17:35:14 +09:00
he.he
8dd1db05e0
USB: amldevread data failed [1/1]
...
PD#SWPL-5292
Problem:
g12b-revB, some u disk amldevread test failed.
Solution:
Changing the register 0x54 to 0x2a, enabled the hs rx idle noise filter,
and the abnormal u-disk has no problem in the amldevread test.
Verify:
g12b revB
Change-Id: Ibbf924c93d193d7e40c4d8121a4616a8d1caeaaa
Signed-off-by: he.he <he.he@amlogic.com >
2019-12-10 17:35:14 +09:00
he.he
f880076141
usb: revB usb EL compliance test [2/1]
...
PD#SWPL-4941
Problem:
EL27,28,29,31 failed in the el compliance test.
tl1 frameworks test result(USB20CV) failed.
Solution:
Change the parameters (0x10 and 0x38) of usb phy
to solve the el failed problem and modified the
dwc_otg_pcd_handle_enum_done_intr function to solve
the USB20CV failed problem.
Verify:
verify on revB
Test: Pass
Change-Id: I50ea27dbf9e3d74ca0c49e8615c6cf1bc27306aa
Signed-off-by: he.he <he.he@amlogic.com >
2019-12-10 17:35:14 +09:00
Evoke Zhang
c957ce365b
cvbsout: fix cgms bit mistake for NTSC [1/1]
...
PD#OTT-5683
Problem:
NTSC cgms data bit is incorrect
Solution:
fix cgms bit mistake
Verify:
u212
Change-Id: If1d26714eeed9061773c25871715713b122d9980
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com >
2019-12-10 17:35:14 +09:00
Evoke Zhang
1df50ca7d6
cvbsout: fix cgms config mistake for NTSC [1/1]
...
PD#OTT-5683
Problem:
NTSC cgms signal is incorrect
Solution:
fix cgms config mistake
Verify:
u212
Change-Id: I4a3dce8d6b3439be974a8aea48ca1d445feee25b
Signed-off-by: Evoke Zhang <evoke.zhang@amlogic.com >
2019-12-10 17:35:14 +09:00
Tao Zeng
1939c8104e
mm: fix crash in vmap stack [1/1]
...
PD#SWPL-12145
Problem:
When switch IRQ stack, there is a 16 bytes miss match of irq
stack. This may cause context not match some times;
Solution:
Save sp to right place
Verify:
X301
Change-Id: I75dfa5208cb3cec050c1568ac78ae2e783ca106b
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com >
2019-12-10 17:35:14 +09:00
Bencheng Jing
a92f0086f0
di: fix the flash mosaic caused by cue [1/1]
...
PD#SWPL-11034
Problem:
flash mosaic when play VTS_13_1.VOB
Solution:
adjust cue function
Verify:
sm1
Change-Id: If188f49f3972e5da2b2fe4e917bb6e1b14163569
Signed-off-by: Bencheng Jing <bencheng.jing@amlogic.com >
2019-12-10 17:35:14 +09:00
Tao Zeng
4143ffe607
kasan: fix pc crash if open kasan with vmap stack [1/1]
...
PD#SWPL-10141
Problem:
If open KASAN, connect wifi, and auto-start apk dianshijia, it will
soon crash as:
[ 56.655524@2] Unable to handle kernel NULL pointer dereference
at virtual address 00000050
[ 56.658155@2] pgd = d0104000
[ 56.661008@2] [00000050] *pgd=00000000
[ 56.664744@2] Internal error: Oops: 80000005 1 PREEMPT SMP ARM
common(O) firmware(O) media_clock(O) tb_detect(O)
dnlp_alg ldim_alg mxl661_fe_32(O)
[ 56.709028@2] CPU: 2 PID: 4930 Comm: kworker/u9:3 Tainted: O 4.9.113 #1
[ 56.716908@2] Hardware name: Generic DT based system
[ 56.721858@2] task: f2632bc0 task.stack: c2010000
[ 56.726530@2] PC is at 0x50
[ 56.729301@2] LR is at 0x0
Solution:
Fix wrong pmd check address
Verify:
TL1 X301
Change-Id: I85e01418789801e0ef7691a9d8963c233e115b28
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com >
2019-12-10 17:35:14 +09:00
Dongjin Kim
6bd052704e
ODROID-COMMON: arm/dts: add 'clear-map' to 'codec_mm'
...
Change-Id: Ia58e81077f821471802ab9bd7964fbce1c160cf0
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
s922_9.0.0_64_20191205
2019-12-03 11:44:11 +09:00
Tao Zeng
04b352f62d
secmon: clear mmu mapping of cma before a73 run [1/1]
...
PD#SWPL-8082
Problem:
Very low ratio(0.3%) of SError can be seen when do auto-reboot
test on g12b platfrom.
Solution:
Clear mmu mapping of secmon cma before a73 run
Verify:
w400
Change-Id: Idacfaea29dea2eff86304c7071a560c76654a5c3
Signed-off-by: Tao Zeng <tao.zeng@amlogic.com >
2019-11-29 11:53:55 +09:00