Commit Graph

648167 Commits

Author SHA1 Message Date
Kevin Kim
f4740d0ff8 Revert "ODROID-C3: usb/phy: GPIO pin init for usb3.0 hub enable/reset."
Change-Id: I5053768a046418ae06b4500ccf62f3d3c9cce2cf
2018-11-21 16:13:55 +09:00
Dongjin Kim
2c7fb624ea ODROID-COMMON: arm64/dts: move common device node into 'mesong12_odroid_common.dtsi'
Change-Id: I98055ccfb746a33c57d38beac0a1b19ad39b86a9
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2018-11-21 16:11:46 +09:00
Dongjin Kim
1c90969766 ODROID-COMMOM: arm64/dts: build selected device tree
Change-Id: I37d1aa678d851c9ce994fadf525c9a2fa430f680
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2018-11-21 16:11:19 +09:00
Dongjin Kim
3c187102e8 ODROID-C3/N2: mmc: read MPT partition from a certain sector
Change-Id: Ibac5bb733270583f1a3a2ee7a24091c453261753
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2018-11-21 16:10:38 +09:00
Dongjin Kim
8c98322f4e ODROID-C3/N2: arm64/dts: remove NAND device nodes
Change-Id: Icc3b4b1e10de53d0c6190036d1c2f3ddfb1364da
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2018-11-21 16:10:20 +09:00
Dongjin Kim
87117e37fd ODROID-C3/N2: usb/phy: use 'CONFIG_ARCH_MESON64_ODROID_COMMON'
Change-Id: Ib78b7e773705e930f3493fa3b56be2617450d0f2
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2018-11-21 16:10:08 +09:00
Dongjin Kim
0fe8dda40f ODROID-N2: arch/arm64: enable CONFIG_ODROID_N2
Change-Id: I063fa3c44b96c866d79e7570d4c864972905f83d
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2018-11-21 16:09:46 +09:00
codewalker
17f462a1e6 ODROID-C3: config: add bluetooth stuffs.
Change-Id: I6cfbc58d05e9182e37d97ca54881e2f3de5df1df
2018-11-21 16:09:32 +09:00
codewalker
5a89789af3 ODROID-C3: config: remove amlogic bt.
Change-Id: Icdeb0159d553047ca2ed786548b48e43a5b7e0db
2018-11-21 16:09:04 +09:00
codewalker
bdd1dec9fd ODROID-C3: config: add to enable Hardkernel's ODROID-C3 board
divide buildroot and android config.

Change-Id: I05a6bd8a2a3df4df5ed98c4b440aa33422c544c8
2018-11-21 16:08:35 +09:00
Dongjin Kim
b177a3d648 ODROID-C3/N2: configs: retune the default kernel config
Change-Id: I92d70879831321c21095cba5e507a6defc5dba11
Signed-off-by: Dongjin Kim <tobetter@gmail.com>

Conflicts:
	arch/arm64/configs/odroidc3_android_defconfig
2018-11-21 16:07:53 +09:00
Dongjin Kim
442d97535a ODROID-N2: arch/arm64: add kernel config and DTS for ANDROID
Change-Id: I8e2dd02ae5e7db69dfec1b5167433b198d1e75cc
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2018-11-21 15:52:25 +09:00
codewalker
2d08631ae6 ODROID-C3: dts, kbuild: add s905d2_odroidc3_android.dtb
Change-Id: Id9d7c6c0bd8aad126214f373581922040be7a3f1
2018-11-21 15:52:14 +09:00
Joy Cho
13a4ba23c4 ODROID-N2: add odroid-n2 defconfig and dts
Change-Id: I4d4544e282e60f40b0cb120981ca3701e1db3434

Conflicts:
	MAINTAINERS
2018-11-21 15:51:07 +09:00
Joy Cho
5f78225ae8 ODROID-N2: add odroid-n2 defconfig and dts
Change-Id: I4d4544e282e60f40b0cb120981ca3701e1db3434

Conflicts:
	MAINTAINERS
2018-11-21 15:49:23 +09:00
Kevin Kim
474c689930 ODROID-C3: usb/phy: GPIO pin init for usb3.0 hub enable/reset.
Change-Id: If46fce7fd85922ffb6a77ab5937a7be2373c8370
2018-11-21 15:34:33 +09:00
Luke Go
a85c677742 ODROID-C3: arm64/dts: Add remote controller mappings.
Change-Id: I215eb1ae34766840822a9bfd1078de5eba057fdf
2018-11-21 15:34:15 +09:00
Luke Go
7e29592789 ODROID-C3: arm64/dts: Add android firmware & fstab infos.
- Add android dts.

Change-Id: I0cddcd443735e82ca0b58fb9f696ab2e21e5fa00
2018-11-21 15:34:05 +09:00
Kevin Kim
b56f4b4236 ODROID-C3: arm64/dts: changes for sound card configuration
Change-Id: I45b73be84c7e9a406b1d71ec141f706d40cce228
2018-11-21 15:33:56 +09:00
Kevin Kim
25dc57713a ODROID-C3: arm64/dts: add support UHS-1 for uSD card
Change-Id: I365c7d333ae6a4e1568f7a486ab134f1afb679e3
2018-11-21 15:33:46 +09:00
Dongjin Kim
02c8c7f3bf ODROID-C3: arm64/dts: add 'drive-strength = <3>' to i2c-3
Change-Id: I440ca37ae62fdfdd9909f7e7121d4ef35ab98130
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2018-11-21 15:33:35 +09:00
Dongjin Kim
aab4c63c91 ODROID-C3: config: add to enable RTC driver PCF8563
Change-Id: I5b6d9ac23d3e930eeffd11725a983515a59b3c93
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2018-11-21 15:33:25 +09:00
Dongjin Kim
ef4103891f ODROID-C3: arm64/dts: add RTC component 'pcf8563' to 'i2c3'
Change-Id: I8b55481be6efee867b67f807e9b40870f2b3fc2d
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2018-11-21 15:33:14 +09:00
Dongjin Kim
f1a3e4a068 ODROID-C3: config: add to enable Hardkernel's ODROID-C3 board
Change-Id: I374bed44b920583708ddb5ae719fdaf64fb24783
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2018-11-21 15:33:00 +09:00
Dongjin Kim
f8e3b6729b ODROID-C3: add new Hardkernel's ARMv8 based board configuration
Change-Id: I8c20c453c60698b05e3adc7160653e5996a3db9c
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2018-11-21 15:32:45 +09:00
Dongjin Kim
f5142c2442 ODROID-C3: arm64/dts: remove invalid hardware, external LCD panel
Change-Id: Ib45f41e24ccd3d258d3b9bfea38a4e52d6bc7827
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2018-11-21 15:32:34 +09:00
Dongjin Kim
1e0c5d3c2a ODROID-C3: arm64/dts: remove non-onboard components on 'i2c0'
Change-Id: I141f36c3c5b7dbaf1eaaf2d20d7a1d4ee65bf4b6
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2018-11-21 15:32:21 +09:00
Dongjin Kim
a41cbf6807 ODROID-C3: arm64/dts: fix to set the model name
Change-Id: I490de55a4aae3d93940ea007ac11470cb5a641c2
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2018-11-21 15:32:05 +09:00
Dongjin Kim
4392b94f5b ODROID-C3: arm64/dts: add system LED with 'heartbeat' trigger
Change-Id: I78e85d395975a0c4849b9f67915e3fa680d65e53
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2018-11-21 15:31:54 +09:00
Robert Richter
a1b86e55b2 ODROID-C3: dts, kbuild: Implement support for dtb vendor subdirs
This patch adds support of vendor sub directories for dtb files.
Subdirectories can be specified in $(dts-dirs). Kbuild traverses over
all directories while building and installing dtb files. The directory
tree is also reflected in the install path.

Change-Id: Iab8d4cf4b76f7122892e87137fd0ec60565e1db0
Tested-by: Andrew Bresticker <abrestic@chromium.org>
Signed-off-by: Robert Richter <rrichter@cavium.com>
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2018-11-21 15:31:27 +09:00
Robert Richter
839b38a9ee ODROID-C3: dts, arm64: Add dtbs_install make target
This adds the dtbs_install make target to arm64. The target has been
introduced already to arch/arm with the following commit:

 f4d4ffc03e kbuild: dtbs_install: new make target

Implementation for arm64 is the same as for arm.

With 'dtbs_install' all config enabled dtb files are installed to
either the INSTALL_DTBS_PATH directory or the default location:

 $INSTALL_PATH/dtbs/$KERNELRELEASE

Change-Id: I5605ea7d723e2a658f7d85177d1221b83d612bcb
Signed-off-by: Robert Richter <rrichter@cavium.com>
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2018-11-21 15:30:31 +09:00
Joy Cho
7cdfc2a6e6 ODROID-C3: arm64: configs: add odroid-c3 defconfig and dts
Change-Id: I2630a3a3d5ce9489990276ca655f37438ffdef3b
2018-11-21 15:25:50 +09:00
Hanjie Lin
1e6c6118ec rlimits: increase memlock limit [1/1]
PD#SWPL-982

Problem:
CtsHostsideNetworkTests module 22 fail
netd can't create bpf map because of memlock limit

Solution:
increase memlock limit

Verify:
p212

Change-Id: Ia770fce7d826c639b171f8e8807425202de58320
Signed-off-by: Hanjie Lin <hanjie.lin@amlogic.com>
2018-10-27 08:28:25 -07:00
Long Yu
133c9560ef emmc: get emmc cmd-window for HS400 busmode
PD#169808: emmc: get emmc cmd-window for HS400 busmode

Change-Id: I88de1e9e5470bb6be7ad91e1ee58f5636f994923
Signed-off-by: Long Yu <long.yu@amlogic.com>
2018-10-26 08:39:27 -07:00
Yi Zhou
73c0a0b001 hdmitx: add hdr10+ mechanism in hdmitx [2/2]
PD#SWPL-869

Problem:
need support hdr10+

Solution:
1. parse hdr10+ vsvdb
2. add hdr10+ vsif

Verify:
U200(G12A)

Change-Id: I0761efa7cadcb73bd9394820b080c9a127d03382
Signed-off-by: Yi Zhou <yi.zhou@amlogic.com>
2018-10-26 05:35:55 -07:00
xianjun.liu
5d78760a78 mtd: nand: tl1: add support slc nand driver [1/1]
PD#172587

Problem:
Bringup slc nand for TL1.

Solution:
Add mtd driver for TL1.

Verify:
Just coding for tl1 and test later.

Change-Id: I910a8047394e0ff8fa7e617b90502910e1186c68
Signed-off-by: xianjun.liu <xianjun.liu@amlogic.com>
2018-10-26 04:50:13 -07:00
Yi Zeng
2b3d5fef40 arm: dts: tl1: add spi-nor node for tl1 [1/1]
PD#172587

Problem:
Bringup spi-nor for TL1.

Solution:
Add spi-nor node into dts file, default disabled.

Verify:
Verified on PXP.

Change-Id: I9edd358d41b052b7ecae47a550dcacbc27353955
Signed-off-by: Yi Zeng <yi.zeng@amlogic.com>
2018-10-26 04:48:19 -07:00
Ruixuan Li
78027c0e6d emmc: meson: add sdcard support for tl1 [1/1]
PD#172587

Problem:
Bringup emmc for tl1.

Solution:
Add sdcard support for tl1.

Verify:
Verified on pxp.

Change-Id: I73503d36b671da8d88a3613b4d6fd17434ff1fbf
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
2018-10-26 04:01:25 -07:00
Zhuo Wang
841e4fb4f1 ethernet: fix crash when not use gpioz14/15 [1/1]
PD#174843

Problem:
g12b will crash when not include internal_eth_pins

Solution:
continue when it null

Verify:
verified in w400 with liaomin

Change-Id: Ib636e307f0697fa4eab1d0784543af96641def2e
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2018-10-25 23:56:50 -07:00
Blance Tang
f5040dfe88 buildroot: Enable ppmgr in g12b_a113d_skt DTS [1/1]
PD#SWPL-802

Problem:
  Black screen when play video, due to ppmgr is not enabled in g12b_skt
dts

Solution:
  Enable ppmgr in g12b_a113d_skt DTS file

Verify:
  W400

Change-Id: Ibe94b113552d54d365775556807bdacb249f9a00
Signed-off-by: Blance Tang <guofeng.tang@amlogic.com>
2018-10-25 19:50:16 -07:00
pengcheng chen
fd943af50c osd: fix osd get windows axis error [1/1]
PD#IPTV-31

Problem:
get sys class windows axis error

Solution:
fix osd get windows axis error

Verify:
u211

Change-Id: I5df5880bc43cb663255ecbf72d2b93b9c099b811
Signed-off-by: pengcheng chen <pengcheng.chen@amlogic.com>
2018-10-25 08:21:43 -07:00
Ruixuan Li
37c199da52 emmc: emmc: modify the memory allocation mode when operate dtb [1/1]
PD#SWPL-426

Problem:
black screen when OTA upgrade

Solution:
modify the memory allocation mode when operate dtb

Verify:
p212

Change-Id: Idf67edd44f5e9f1d88be1e552fae485e04a655c6
Signed-off-by: Ruixuan Li <ruixuan.li@amlogic.com>
2018-10-25 08:18:47 -07:00
Dezhi Kong
d0365ffe94 vpp: add video disable for g12 [1/1]
PD#174579

Problem:
osd shake once after quit local video play

Solution:
add video disable in advance for g12

Verify:
u211

Change-Id: Ic43693b25cf7bf8be24801a22ad36ac09c84a475
Signed-off-by: Dezhi Kong <dezhi.kong@amlogic.com>
2018-10-24 23:44:58 -07:00
Nan Li
050918ac85 emmc: add sd/sdio fixdiv calc support [1/1]
PD#SWPL-139

Problem:
	kernel sd card r/w error.

Solution:
	add fixdiv calculate supported.

Verify:
	verified in u200.

Change-Id: Ib454ffee5db26194631ae2e1c3d127bceab59bb7
Signed-off-by: Nan Li <nan.li@amlogic.com>
2018-10-24 17:46:44 +08:00
Zhuo Wang
3d481c04c2 ethernet: add g12a/b mac wol function [1/1]
PD#173550

Problem:
g12a no wol function in internal phy, we add this function in mac

Solution:
add wol function in MAC

Verify:
verified in u200 board with uboot patch from guohong

Change-Id: I0a8fa81fbfb81d79c471bbafe68174118e276a46
Signed-off-by: Zhuo Wang <zhuo.wang@amlogic.com>
2018-10-24 00:38:41 -07:00
live.li
4ea2c5aab0 tsync: tsync: fix av sync problem random [1/1]
PD#SWPL-906

Problem:
The video and audio did not synchronous randomly

Solution:
it seems system time increase not by vsync isr,
so change the system time get interface to make
sure system time increase by vsync isr when
amaster mode

Verify:
R311&P321 32bit&64bit version

Change-Id: Ib3a556ba097fc6f0c51fd4560ab8101c6e7f509c
Signed-off-by: live.li <live.li@amlogic.com>
2018-10-23 22:26:31 -07:00
Tao Zeng
f80f942eb6 Merge "debug: After reboot,the platform print a lot of logs Frequency [1/1]" into amlogic-4.9-dev 2018-10-23 02:47:34 -07:00
Tao Zeng
5afbb4d83c Merge "dv: fix the flickered problem [1/1]" into amlogic-4.9-dev 2018-10-23 01:54:35 -07:00
Lianlian Zhu
e8614f100f audio: solve 32bit system hdmi in mute issue [1/1]
PD#SWPL-813

Problem:
audio_iomap read audin reg 2800 error

Solution:
register val read from aml_read_cbus
maybe not positive number in 32bit system,
so change *val == -1 to judge mistake.

Verify:
verified by p321

Change-Id: Ie87001fa1daa621cadc2ce329d8dd863f39dcdb6
Signed-off-by: Lianlian Zhu <lianlian.zhu@amlogic.com>
2018-10-23 01:43:05 -07:00
tao zeng
dccd086909 pagetrace: add support for arm 32bit [1/1]
PD#SWPL-917

Problem:
On ARM32, reading of /proc/pagetrace get nothing output

Solution:
fix page trace print for ARM32 and improve read speed

Verify:
p212

Change-Id: I8963ad0cfaa403f69b9f1a56523bbd5b1d7b6980
Signed-off-by: tao zeng <tao.zeng@amlogic.com>
2018-10-23 01:40:07 -07:00