Commit Graph

648295 Commits

Author SHA1 Message Date
Mauro (mdrjr) Ribeiro
08b3f99cfe Merge tag 'v4.9.115' into odroidn2-4.9.y
This is the 4.9.115 stable release
2018-11-28 17:40:58 +09:00
Mauro (mdrjr) Ribeiro
e9ea4f397d Merge tag 'v4.9.114' into odroidn2-4.9.y
This is the 4.9.114 stable release
2018-11-28 17:40:47 +09:00
Mauro (mdrjr) Ribeiro
e53c00d7c1 ODROID-COMMON: Support for Wifi Modules
Change-Id: Id44c28078722efb0cbda44f8ccb5b953572235ce
2018-11-28 17:24:17 +09:00
Mauro (mdrjr) Ribeiro
1619ed75a5 ODROID: fix amlogic driver build on GCC 7 2018-11-28 17:09:36 +09:00
Mauro (mdrjr) Ribeiro
fd9428c31f ODROID-COMMON: lock gpu frequency to its maximum
Change-Id: Ic967f79a1bff001336a5e41a2bc644d5108ecb6a
2018-11-28 16:51:50 +09:00
Mauro (mdrjr) Ribeiro
5ef121eb61 ODROID-COMMON: slipstream Amlogic drivers
Change-Id: I96b0ed0cce029e85a12c1a04327f106b68ba7f43
2018-11-28 16:51:37 +09:00
Mauro (mdrjr) Ribeiro
f64e727448 osd/fb: set default color format for Linux
Change-Id: I1d95d63215d5567673380740528eff65562bc6df
2018-11-28 16:42:21 +09:00
Mauro (mdrjr) Ribeiro
8c7979c905 ODROID: fix build on GCC 7 2018-11-28 16:36:12 +09:00
Mauro (mdrjr) Ribeiro
2017ef2b5a ODROID-N2: slipstream Mali Dvalin Kernel Driver 2018-11-28 16:16:46 +09:00
Kevin Kim
10bdbdd937 ODROID-N2:Merge Amlogic 4.9.113 kernel
Change-Id: Id4f2cf50da7ed889d221727fdc6e5945a5b0d747
2018-11-22 16:40:10 +09:00
Kevin Kim
7034b69121 ODROID-N2:Merge Amlogic 4.9.113 kernel
Change-Id: Id4f2cf50da7ed889d221727fdc6e5945a5b0d747
2018-11-22 14:07:32 +09:00
Kevin Kim
02b13d9a58 ODROID-COMMON:USB hub enable/reset control && Unused i2c0 disabled.
Change-Id: Ib66ca11cdad3d65187ff06fe3ac981300c894bc3
2018-11-22 12:27:35 +09:00
Joy Cho
7702722138 media: hdmi: add switching vout mode logic (dvi/hdmi)
ex)
setenv bootargs ${bootargs} voutmode=hdmi
setenv bootargs ${bootargs} voutmode=dvi

Change-Id: I2fd6cdafa6ae7dff7a7297982add66b038f3ae40
2018-11-22 12:27:35 +09:00
Joy Cho
a1760d8011 media: osd: adjust initcall order of osd module
To fix an issue caused by the initialization process
of framebuffer console driver with built-in option
(CONFIG_FRAMEBUFFER_CONSOLE=y)

Change-Id: I8a84f206b1f73776ccc188193aa217d39d61f16f
2018-11-22 12:27:34 +09:00
Joy Cho
1ab30dc0cc ODROID: dts: add hardkernel remote IR table
Change-Id: I0f02af4becf3059e25062f3e6525b6ad475a1ea7
2018-11-22 12:27:34 +09:00
Joy Cho
765c650be4 media: hdmi: fix a warning
Change-Id: I178d7ff937e23ac25e40d4837212f78b36d8b964
2018-11-22 12:27:33 +09:00
Joy Cho
1bf959a7df media: hdmitx: add new hdmi resolutions
Change-Id: I909abfcfd408d1b3014ba7b9b750903e10e06aa6
2018-11-22 12:27:32 +09:00
Joy Cho
9cde9ea29b ODROID: clk: add overclocking freq sets
Change-Id: I82b691007a48b8f24ea7686205a464d54e3277c7

Conflicts:
	drivers/amlogic/clk/g12a/g12a.h
2018-11-21 16:55:02 +09:00
Joy Cho
9ab58cd116 ODROID: dts: adjust thermal throttling rules
Change-Id: Iec2c134e2996ea57b7c7fcae394e66d3b7d56593
2018-11-21 16:52:22 +09:00
Luke Go
fd94347f4e ODROID: dts: Change odm type and mnt_flags on N2.
Change-Id: Ie4bc1691aa47103990db5b8909572ba2f0ee215c
2018-11-21 16:52:10 +09:00
Dongjin Kim
912575de3a ODROID-COMMON: arm64/config: removing CONFIG_PCI
Change-Id: I949d7a05cebf2786afe513fa67c0614a4ef2ebea
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2018-11-21 16:51:53 +09:00
Kevin Kim
50253617ed ODROID-COMMON:Support up to 384KHz sample rate.
Change-Id: Iad8a1337637b5f09d444c632935a1326123a04d8
2018-11-21 16:51:38 +09:00
Joy Cho
6d2f5104cb 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
2018-11-21 16:51:25 +09:00
Dongjin Kim
040074a430 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>
2018-11-21 16:50:55 +09:00
Luke Go
2fc2674d1c ODROID: dts: change odm partition type and flags.
- ext4 -> vfat.

Change-Id: Ie1c68e28e54321f5f3f890811bff210b7f92fa8b
2018-11-21 16:50:34 +09:00
Luke Go
35a713b6f6 Revert "ODROID-C3: dts: Remove the odm from fstab."
This reverts commit 645a61575c62b8bdad75c0cd2b9dd7b771fd9991.

Change-Id: I6a8213c41598ee6629b55696cb2501501e8fb8d6
2018-11-21 16:50:21 +09:00
Dongjin Kim
3430b61ca0 ODROID: arch/arm64: fix to run 'dtbs_install'
Change-Id: I3e2249c444aa407712a133837dc3b1d84cdc5682
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2018-11-21 16:50:05 +09:00
Dongjin Kim
526cdb7107 ODROID-COMMON: arch/arm64: remove ',' from model name in a device-tree
Change-Id: Ie3126e5470e0a8b70661b071d5a76d619ead0538
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2018-11-21 16:49:48 +09:00
Joy Cho
3c5d514163 ODROID-N2: dts: remove usable-memory that overrides memory config as a fixed one
Change-Id: I0ea7eba3d59deb3ee89a032b138e0c552f89630e
2018-11-21 16:49:22 +09:00
Joy Cho
2a0a933b9d ODROID-C3: clk: add a new higher cpu frequency, 2GHz for ODROID-C3
Change-Id: I28496cd7d93c1ccc8770fa010e9ba6f7d2995ed6

Conflicts:
	drivers/amlogic/clk/g12a/g12a.h
2018-11-21 16:47:58 +09:00
Joy Cho
f86cd9487c ODROID-N2: clk: add cpu overclocking frequency sets
Change-Id: I47c38143e051faa97234cf05a0b53ac10e404734
2018-11-21 16:29:12 +09:00
Dongjin Kim
cacd743113 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
2018-11-21 16:23:46 +09:00
Luke Go
472bd94932 ODROID-C3: dts: Remove the odm from fstab.
Change-Id: I61cc976324dfda9df6c1d5c54ce74ed7c251e35e
2018-11-21 16:16:15 +09:00
Kevin Kim
760652e608 This driver allows GPIO lines to be used as reset signals.
It has two main use cases:

1) Allow drivers to reset their hardware via a GPIO line in a standard fashion
as supplied by the reset framework.
This allows adhoc driver code requesting GPIOs etc to be replaced with a
single call to device_reset().

2) Allow hardware on discoverable busses to be rest via a GPIO line
without driver modifications.

Examples of the second use case include:
* SDIO wifi modules
* USB hub chips with a reset line

In this second use case the reset has to be done externally to the driver
managing the hardware since resetting the device from the driver's probe()
method will either do nothing (if the device needs to be reset before
ennumeration will work) or cause racy beahviour (when the device disappears
from the bus during probe()).

So, in addition to providing a gpio based  reset controller implementation
it is also possible to reset devices at boot via a DT property or from
userspace on request via sysfs attributes.

Change-Id: I316f9e622d99cff7167b57e8fd5ff73a34dc2a81
Signed-off-by: Martin Fuzzey <mfuzzey@parkeon.com>
Signed-off-by: Kevin Kim <ckkim@hardkernel.com>
2018-11-21 16:14:28 +09:00
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