Joy Cho
f9a06bbe3c
ODROID: dts: add hardkernel remote IR table
...
Change-Id: I0f02af4becf3059e25062f3e6525b6ad475a1ea7
2019-12-11 18:19:05 +09:00
Joy Cho
4b07703791
ODROID: clk: add overclocking freq sets
...
Conflicts:
drivers/amlogic/clk/g12a/g12a.h
Change-Id: I82b691007a48b8f24ea7686205a464d54e3277c7
2019-12-11 16:23:57 +09:00
Joy Cho
4b05b022b0
ODROID: dts: adjust thermal throttling rules
...
Change-Id: Iec2c134e2996ea57b7c7fcae394e66d3b7d56593
2019-12-11 15:55:21 +09:00
Luke Go
6d5360b734
ODROID: dts: Change odm type and mnt_flags on N2.
...
Change-Id: Ie4bc1691aa47103990db5b8909572ba2f0ee215c
2019-12-11 15:55:13 +09:00
Dongjin Kim
b1a7b5ca62
ODROID-COMMON: arm64/config: removing CONFIG_PCI
...
Change-Id: I949d7a05cebf2786afe513fa67c0614a4ef2ebea
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-12-11 15:55:05 +09:00
Kevin Kim
b04da58ff0
ODROID-COMMON:Support up to 384KHz sample rate.
...
Change-Id: Iad8a1337637b5f09d444c632935a1326123a04d8
2019-12-11 15:54:20 +09:00
Joy Cho
4aa26e26bd
ODROID-N2: cpufreq: Add setup routine to set max cpu freq using boot.ini
...
setenv bootargs ${bootargs}
max_freq_a53=${a53_cpufreq_in_mhz} max_freq_a73=${a73_cpufreq_in_mhz}
ex) setenv bootargs ${bootargs} max_freq_a53=1512 max_freq_a73=1896
Change-Id: I2a9e90c57fe94f43b17dd6408d0a5ab4533a8443
2019-12-11 15:51:24 +09:00
Dongjin Kim
f8c1a444c0
ODROID-COMMON: mmc/block: add to validate MPT partition table on eMMC
...
The 'MPT' partition table is non-standard type which contains the partitions
at certain blocks on eMMC device to provide many partitions more than MBR
partition. When this partition table is discovered, standard partitions
such as MBR are ignored such that only the partitions from MPT are valid.
But there is a kernel crash bug when 'MPT' partition table is not exist.
This patch will check if 'MPT' partition is exist while checking its magic
number and proceed further more if it's valid.
Since Android needs to use 'MPT' partition, this cannot be simply eliminated.
Change-Id: Ic27fef3e28eab009affbb0f11a12472d58a373f6
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-12-11 15:47:35 +09:00
Luke Go
0d1853d9ba
ODROID: dts: change odm partition type and flags.
...
- ext4 -> vfat.
Change-Id: Ie1c68e28e54321f5f3f890811bff210b7f92fa8b
2019-12-11 15:47:27 +09:00
Dongjin Kim
4ef8771a67
ODROID: arch/arm64: fix to run 'dtbs_install'
...
Change-Id: I3e2249c444aa407712a133837dc3b1d84cdc5682
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-12-11 15:47:17 +09:00
Dongjin Kim
bfed6e2b14
ODROID-COMMON: arch/arm64: remove ',' from model name in a device-tree
...
Change-Id: Ie3126e5470e0a8b70661b071d5a76d619ead0538
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-12-11 15:47:09 +09:00
Joy Cho
e6461c976b
ODROID-N2: dts: remove usable-memory that overrides memory config as a fixed one
...
Change-Id: I0ea7eba3d59deb3ee89a032b138e0c552f89630e
2019-12-11 15:46:59 +09:00
Joy Cho
cda32a36c8
ODROID-C3: clk: add a new higher cpu frequency, 2GHz for ODROID-C3
...
Conflicts:
drivers/amlogic/clk/g12a/g12a.h
Change-Id: I28496cd7d93c1ccc8770fa010e9ba6f7d2995ed6
2019-12-11 15:46:35 +09:00
Joy Cho
086700791a
ODROID-N2: clk: add cpu overclocking frequency sets
...
Change-Id: I47c38143e051faa97234cf05a0b53ac10e404734
2019-12-11 15:42:15 +09:00
Dongjin Kim
ee1488ae2f
ODROID-C3/N2: mmc: remap the MPT partition table
...
After reduce the size of boot loader area to fit in 1MB, MPT partition table
can be fit at 2048 LBA and this partition table would be used by Android
for numerous partitions other than Linux based platforms.
Change-Id: Ic8b8defedb4103abf547bae7f533036904578b59
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
Conflicts:
drivers/mmc/card/block.c
2019-12-11 15:42:06 +09:00
Dongjin Kim
3f6e08705e
ODROID-COMMON: arm64/dts: move common device node into 'mesong12_odroid_common.dtsi'
...
Change-Id: I98055ccfb746a33c57d38beac0a1b19ad39b86a9
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-12-11 15:41:47 +09:00
Dongjin Kim
c1248dfce3
ODROID-COMMOM: arm64/dts: build selected device tree
...
Change-Id: I37d1aa678d851c9ce994fadf525c9a2fa430f680
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-12-11 15:38:41 +09:00
Dongjin Kim
87e8058d85
ODROID-C3/N2: mmc: read MPT partition from a certain sector
...
Change-Id: Ibac5bb733270583f1a3a2ee7a24091c453261753
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-12-11 15:38:29 +09:00
Dongjin Kim
cab14d47f1
ODROID-C3/N2: arm64/dts: remove NAND device nodes
...
Change-Id: Icc3b4b1e10de53d0c6190036d1c2f3ddfb1364da
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-12-11 15:38:20 +09:00
Dongjin Kim
19c29f2526
ODROID-C3/N2: usb/phy: use 'CONFIG_ARCH_MESON64_ODROID_COMMON'
...
Change-Id: Ib78b7e773705e930f3493fa3b56be2617450d0f2
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-12-11 15:38:01 +09:00
Dongjin Kim
6778b77c3c
ODROID-N2: arch/arm64: enable CONFIG_ODROID_N2
...
Change-Id: I063fa3c44b96c866d79e7570d4c864972905f83d
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-12-11 15:31:39 +09:00
codewalker
240c9a6fcc
ODROID-C3: config: add bluetooth stuffs.
...
Change-Id: I6cfbc58d05e9182e37d97ca54881e2f3de5df1df
2019-12-11 15:31:28 +09:00
codewalker
2a4796c0bd
ODROID-C3: config: remove amlogic bt.
...
Change-Id: Icdeb0159d553047ca2ed786548b48e43a5b7e0db
2019-12-11 15:31:18 +09:00
codewalker
7319338b7a
ODROID-C3: config: add to enable Hardkernel's ODROID-C3 board
...
divide buildroot and android config.
Change-Id: I05a6bd8a2a3df4df5ed98c4b440aa33422c544c8
2019-12-11 15:31:06 +09:00
Dongjin Kim
a561bbaeb0
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
2019-12-11 15:30:58 +09:00
Dongjin Kim
9c7be702ef
ODROID-N2: arch/arm64: add kernel config and DTS for ANDROID
...
Change-Id: I8e2dd02ae5e7db69dfec1b5167433b198d1e75cc
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-12-11 15:30:41 +09:00
codewalker
73a6828181
ODROID-C3: dts, kbuild: add s905d2_odroidc3_android.dtb
...
Change-Id: Id9d7c6c0bd8aad126214f373581922040be7a3f1
2019-12-11 15:30:32 +09:00
Joy Cho
ce14a513f1
ODROID-N2: add odroid-n2 defconfig and dts
...
Conflicts:
MAINTAINERS
Change-Id: I4d4544e282e60f40b0cb120981ca3701e1db3434
2019-12-11 15:29:06 +09:00
Luke Go
3e6f224642
ODROID-C3: arm64/dts: Add remote controller mappings.
...
Change-Id: I215eb1ae34766840822a9bfd1078de5eba057fdf
2019-12-11 15:03:52 +09:00
Luke Go
80b9ade1bb
ODROID-C3: arm64/dts: Add android firmware & fstab infos.
...
- Add android dts.
Change-Id: I0cddcd443735e82ca0b58fb9f696ab2e21e5fa00
2019-12-11 15:03:40 +09:00
Kevin Kim
914cbd827e
ODROID-C3: arm64/dts: changes for sound card configuration
...
Change-Id: I45b73be84c7e9a406b1d71ec141f706d40cce228
2019-12-11 15:03:32 +09:00
Kevin Kim
d4320f5488
ODROID-C3: arm64/dts: add support UHS-1 for uSD card
...
Change-Id: I365c7d333ae6a4e1568f7a486ab134f1afb679e3
2019-12-11 15:03:22 +09:00
Dongjin Kim
f22bb2af44
ODROID-C3: arm64/dts: add 'drive-strength = <3>' to i2c-3
...
Change-Id: I440ca37ae62fdfdd9909f7e7121d4ef35ab98130
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-12-11 15:03:13 +09:00
Dongjin Kim
9f6ed4a03d
ODROID-C3: config: add to enable RTC driver PCF8563
...
Change-Id: I5b6d9ac23d3e930eeffd11725a983515a59b3c93
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-12-11 15:03:02 +09:00
Dongjin Kim
ee6827088f
ODROID-C3: arm64/dts: add RTC component 'pcf8563' to 'i2c3'
...
Change-Id: I8b55481be6efee867b67f807e9b40870f2b3fc2d
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-12-11 15:02:47 +09:00
Dongjin Kim
34b93a8184
ODROID-C3: config: add to enable Hardkernel's ODROID-C3 board
...
Change-Id: I374bed44b920583708ddb5ae719fdaf64fb24783
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-12-11 15:02:35 +09:00
Dongjin Kim
1fe29d0099
ODROID-C3: add new Hardkernel's ARMv8 based board configuration
...
Change-Id: I8c20c453c60698b05e3adc7160653e5996a3db9c
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-12-11 15:02:25 +09:00
Dongjin Kim
72602869e4
ODROID-C3: arm64/dts: remove invalid hardware, external LCD panel
...
Change-Id: Ib45f41e24ccd3d258d3b9bfea38a4e52d6bc7827
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-12-11 15:02:11 +09:00
Dongjin Kim
dbe8710b98
ODROID-N2: usb/gadget: add 'compat_ioctl(...)' for 32bit Android
...
Change-Id: I0ff9c0c97feb7388db8bb8ec4fb283fceb088ee7
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-12-11 15:01:53 +09:00
Dongjin Kim
6944c4ae46
ODROID-C3: arm64/dts: remove non-onboard components on 'i2c0'
...
Change-Id: I141f36c3c5b7dbaf1eaaf2d20d7a1d4ee65bf4b6
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-12-11 15:01:43 +09:00
Dongjin Kim
fb303002f3
ODROID-C3: arm64/dts: fix to set the model name
...
Change-Id: I490de55a4aae3d93940ea007ac11470cb5a641c2
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-12-11 15:01:24 +09:00
Dongjin Kim
da5ec008c4
ODROID-C3: arm64/dts: add system LED with 'heartbeat' trigger
...
Change-Id: I78e85d395975a0c4849b9f67915e3fa680d65e53
Signed-off-by: Dongjin Kim <tobetter@gmail.com >
2019-12-11 15:01:12 +09:00
Robert Richter
2141927ed9
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 >
2019-12-11 15:00:36 +09:00
Robert Richter
536ed4340f
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 >
2019-12-11 14:57:48 +09:00
Joy Cho
1982cc2e11
ODROID-C3: arm64: configs: add odroid-c3 defconfig and dts
...
Change-Id: I2630a3a3d5ce9489990276ca655f37438ffdef3b
2019-12-11 14:57:38 +09:00
renjiang.han
76de9b2a7a
ppmgr: Unbound kstrdup and Potential Null Dereference. [1/1]
...
PD#OTT-4872
Problem:
Unbound kstrdup and Potential Null Dereference.
Solution:
Add a judgment on the return value and the null pointer.
Verify:
on u212
Change-Id: I1e493c8125e08d4a6fb9fb46f28309eba6f0e47b
Signed-off-by: renjiang.han <renjiang.han@amlogic.com >
2019-10-30 16:34:44 +08:00
renjiang.han
68580b1246
ppmgr: modify first frame garbage. [1/1]
...
PD#SWPL-9350
Problem:
ppmgr first frame garbage for afbc.
Solution:
alloc canvas.
Verify:
on u212
Change-Id: Ifd8d865240fee07f37d8ed47b224a39f24eac3d4
Signed-off-by: renjiang.han <renjiang.han@amlogic.com >
2019-10-30 16:31:57 +08:00
renjiang.han
26ca83e283
ppmgr: add compatibility with doublewrite. [1/1]
...
PD#SWPL-9350
Problem:
For output with compressed and uncompressed formats,
ppmgr recognizes the compressed format and returns directly.
Solution:
add compatibility with doublewrite.
Verify:
on u212
Change-Id: I9fffa720deee80b5db4ef21086c4638a630f9a80
Signed-off-by: renjiang.han <renjiang.han@amlogic.com >
2019-10-30 16:29:12 +08:00
renjiang.han
1f4c27e21f
ppmgr: Interlaced video only shows half. [1/1]
...
PD#SWPL-9350
Problem:
Interlaced video only shows half.
Solution:
Interlaced video height is divided by 2.
Verify:
on U212
Change-Id: I983e3369687eeb55f03d3e7f8474b9e37549440f
Signed-off-by: renjiang.han <renjiang.han@amlogic.com >
2019-10-30 16:25:02 +08:00
renjiang.han
3c257cbf92
ppmgr: add phy_addr add support. [6/6]
...
PD#SWPL-9350
Problem:
ppmgr not support vf with phy_addr.
Solution:
config canvas
Verify:
on U212
Change-Id: I96629ed6287edaf4e7d7a2673ff604e99e3b12df
Signed-off-by: renjiang.han <renjiang.han@amlogic.com >
2019-10-30 16:23:25 +08:00