Commit Graph

648459 Commits

Author SHA1 Message Date
Dongjin Kim
fd5b3c8c35 ODROID-COMMON: media/vout: add new kernel param 'cvbscable='
This patch is to indicate when CVBS cable is connected or not, '1' as the cable
is attached and '0' otherwise. Currently CVBS cable only can be detected by
U-boot since the detection signal can be read by ADC.

Change-Id: I8fdff0cf0a2cf2bb2a94b296a1e2e5946864513d
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
(cherry picked from commit 781aec7eee)
2019-03-08 13:08:08 +09:00
Dongjin Kim
0e689ef42e ODROID-COMMON: usb3: do not reset USB hub on boot
Change-Id: I167f44ff20e35be30851e81cdd180afb5d093d29
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
(cherry picked from commit 3fd41551e8)
2019-02-28 18:18:37 +09:00
Dongjin Kim
32d338926c ODROID-COMMON: rtl8211: Link/Active LED configuration
* Green - 100Mbps
  * Amber - 1000Mbps

Change-Id: Idc60ac29b5ddab39153a04564a6bb76d0ec02c17
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
(cherry picked from commit e0c47aefdd)
2019-02-28 11:48:54 +09:00
Kevin Kim
f59422e2f5 ODROID-COMMON:Add Mixer control for LINE-OUT Mute
Mute : tinymix -D 0 199 1
Unmute : tinymix -D 0 199 0
Boot on state : unmute

Change-Id: If899ea5607cbef8b62fb35b66c79089beb192d1a
s922_9.0.0_20190222
2019-02-22 12:06:03 +09:00
Dongjin Kim
f846045521 Merge "ODROID-N2: clk: add 2.004GHz cpu freq for A73 core and change the max" into odroidn2-4.9.y-android 2019-02-21 19:42:41 +09:00
Chris KIM
adc4fb5bc5 Revert "ODROID-N2: osd: support flexible fb size with free scale option"
This reverts commit e34d6ee040.

Change-Id: Icf9a0069fd26103fbb6185163dfbc9ea5ea78e96
2019-02-21 15:20:11 +09:00
Dongjin Kim
aedd70399d ODROID-N2: arm64/dts: add 'vdac_config' for CVBS output
Change-Id: Iad6c990888f804829b5e8ca3e5dfe9e1829ae9b2
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
(cherry picked from commit 3fa6871cff)
2019-02-20 17:27:21 +09:00
Chao Liu
579beb6892 dts: g12a/b: config hw rng with dts [1/1]
PD#OTT-2062

Problem:
Boot up time with power cable is longer than boot up with usb cable

Solution:
config hw rng with dts

Verify:
android p + u212

Change-Id: I61613e945dbc9be06f2cbb29aae5043c84fca1de
Signed-off-by: Chao Liu <chao.liu@amlogic.com>
(cherry picked from commit aabb72a65e)
2019-02-20 10:59:45 +09:00
Joy Cho
54eb2c5f7f ODROID-N2: clk: add 2.004GHz cpu freq for A73 core and change the max
Change-Id: I99274d1084fc20a277a26669024391132da010f8
2019-02-20 08:58:46 +09:00
Joy Cho
2ac237d84d ODROID-N2: thermal: fix power to freq table generation bug
Change-Id: Icb25b389c8f2f88c367eef0b296300aca878bd0f
s922_9.0.0_20190214
2019-02-13 12:11:24 +09:00
Joy Cho
e34d6ee040 ODROID-N2: osd: support flexible fb size with free scale option
Change-Id: I87a63eda62b96e3d54cb88f92e16364ba8250acf
2019-02-13 12:01:13 +09:00
Joy Cho
0432f8b81b Merge "ODROID-N2: vout: update current vout mode string" into odroidn2-4.9.y-android 2019-02-13 11:57:40 +09:00
Joy Cho
6503dc28bd Merge "ODROID-N2: vout: hdmitx: adjust hdmi timing and hpll over 2Gbps" into odroidn2-4.9.y-android 2019-02-13 11:57:18 +09:00
Joy Cho
4c752a48bb Merge "ODROID-N2: vout: fix default display init option" into odroidn2-4.9.y-android 2019-02-13 11:56:51 +09:00
Joy Cho
12dc36630f ODROID-N2: thermal: add an exeception logic to control max cpu level
Change-Id: I880b89d828034b029e306bda7c8be9004c3ec913
FIXME: find a better way not to modify thermal core drivers
2019-02-13 11:51:11 +09:00
Dongjin Kim
4f269734d7 Merge changes I3730ad2d,I2ee9c9ec into odroidn2-4.9.y-android
* changes:
  hdmitx: custombuilt: consider hdmi pll output under 1GHz
  ODROID-N2: hdmitx: add hdmi phy custombuilt mode
2019-02-13 11:49:42 +09:00
Kevin Kim
140d6f4266 ODROID-COMMON:PWM driver pinctrl for odroid.
Change-Id: Iced9657a28d6cf1715f5d130644079b0dc96c865
2019-02-13 10:41:02 +09:00
Joy Cho
606759b7e9 ODROID-N2: vout: fix default display init option
Change-Id: I33f3ea9374847117914b821193610d48f9e55106
2019-02-13 10:40:38 +09:00
Kevin Kim
f97ae0903f ODROID-COMMON:Add pwm-gpio driver for cooling fan control
Change-Id: I906fdd7d8b3da407f8ea7560562df7cc46b3d8fa
2019-02-13 10:39:04 +09:00
Joy Cho
d3ca17a12d ODROID-N2: vout: update current vout mode string
Change-Id: I19584a9dedfcf66a7ad2efbdcfddd9b5218add70
2019-02-13 10:11:54 +09:00
Joy Cho
35fb7dced2 ODROID-N2: vout: hdmitx: adjust hdmi timing and hpll over 2Gbps
2560x1440p60hz / 2560x1600p60hz

Change-Id: I10240001b7c655b95f4db5d3fea8cb147d7495ab
(cherry picked from commit d7df8c31c6)
2019-02-12 17:23:10 +09:00
Kevin Kim
3a4ee7be3a pwm: gpio: Add a generic gpio based PWM driver
From: Olliver Schinagl <oliver@schinagl.nl>

This patch adds a bit-banging gpio PWM driver. It makes use of hrtimers,
to allow nano-second resolution, though it obviously strongly depends on
the switching speed of the gpio pins, hrtimer and system load.

Each pwm node can have 1 or more "pwm-gpio" entries, which will be
treated as pwm's as part of a pwm chip.

Change-Id: Idd42bf6d79f8ce52275a15965b02af470f28da7c
Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
2019-02-08 18:31:02 +09:00
Chris KIM
7461978eb4 ODROID-N2: Fix build error.
https://git.linuxfactory.or.kr:8080/#/c/10770/

Change-Id: I3014c2b540b91eeafde3a151e3752b02bbd30ccc
2019-02-08 18:27:52 +09:00
Dongjin Kim
87003f2ce9 Merge "ODROID-N2: support true 4k framebuffer" into odroidn2-4.9.y-android 2019-02-08 18:19:00 +09:00
Joy Cho
fe07e8e9c3 arm64: dma-mapping: increase DMA coherent pool size to 2M
Change-Id: I55c33b5966a4468fe0c28659fcc24896c9f95262
(cherry picked from commit b75f191fea)
2019-02-08 18:16:11 +09:00
Joy Cho
19e6b2b3a0 hdmitx: custombuilt: consider hdmi pll output under 1GHz
Change-Id: I3730ad2d4c9e914c28f8d2e57da93561a72abe47
2019-02-08 18:13:09 +09:00
Joy Cho
57669d367a ODROID-N2: osd: support flexible length of fb size
Change-Id: Iebdb7edf12f206696394a571575dac6879c9a591
2019-02-08 18:13:09 +09:00
Joy Cho
88fbd20def ODROID-N2: hdmitx: add hdmi phy custombuilt mode
Change-Id: I2ee9c9eccda7d54e6a801ed6b90039deb3c3fc75
(cherry picked from commit 75a95d6280)
2019-02-08 18:13:09 +09:00
Joy Cho
a7ee2c4ce8 ODROID-N2: force to set default 1080p60hz with invalid vmode setting
Change-Id: I9702b0e778532bf0f6fb8dcf477ef7c6d222e93c
2019-02-08 18:13:09 +09:00
Joy Cho
a4b8fc6a84 ODROID-N2: vout: set default vout mode as HDMI always initialized
Change-Id: Id9adb4d3adbf95d61eb34ce9097a01738f54cb63
(cherry picked from commit 9c24c05ba1)
2019-02-08 18:13:09 +09:00
Kevin Kim
3a0e2b88a9 ODROID-N2: mmc: Initate MMC power state on reboot
Change-Id: Ifade734854d94c1c98b34c55a431835b80c5f7e4
2019-02-01 15:32:38 +09:00
Mauro (mdrjr) Ribeiro
ed4b41baad ODROID-N2: support true 4k framebuffer
Change-Id: Ic28199b8226a0d284d9b05abab505f87b12f4e7e
(cherry picked from commit 412d278a92)
2019-01-31 14:06:40 +09:00
Dongjin Kim
72c772ffc8 ODROID-N2/C3: arch/arm64: rename <s905d2|s922d>_odroid*.dts to 'meson64_odroid*.dts'
Change-Id: Iebdb89126627cb19e3a93cc99cd8d37f3638c1ce
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2019-01-31 14:05:57 +09:00
Joy Cho
9af2c4171c Merge "ODROID-N2: dts: adjust thermal trip point" into odroidn2-4.9.y-android 2019-01-31 11:53:33 +09:00
Luke Go
d95cf2b44d ODROID: android: mmc/block: Rename 'ignore' value to 'ignore_mpt'.
- Rename the 'ignore' to 'ignore_mpt' because the name make some
  misunderstand.

Change-Id: I82b0ae7e601725372651280bb679286c8adb9494
2019-01-30 09:43:16 +09:00
Dongjin Kim
2da511d6c9 ODROID-COMMON: cpuinfo: add to print the board UUID on eFUSE
Change-Id: I1745aee7539e4b6204e0807c5c963bcf046614d1
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2019-01-29 11:52:36 +09:00
Dongjin Kim
1d30365af7 ODROID-COMMON: efuse: fix to print true UUID from /sys/class/efuse/uuid
Change-Id: Ic27fcef584be7a05ff384fa7cd350c34fdf9315c
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
(cherry picked from commit 0cd89cf8dc)
2019-01-29 10:53:17 +09:00
Kevin Kim
6e6fc8e99c ODROID-COMMON:Modified Internal-DAC output gain.(near to 0dB)
Change-Id: I036b534ed0299d228e3d96b6419c7e515140e5c8
2019-01-27 10:53:50 +09:00
Kevin Kim
22d520eb37 ODROID-COMMON:Add support Dallas 1-wire for odroid
Change-Id: I85055b83cffbfbfb0886b93d5bdc5b6152b986cb
(cherry picked from commit fb3bca12f2)
2019-01-25 18:42:07 +09:00
Kevin Kim
da085f8013 ODROID-COMMON:Removed HS400
Change-Id: Ic2082a938ff2966f74717796e3d52a4546fef0e6
2019-01-25 14:59:26 +09:00
Joy Cho
b86100a064 ODROID-N2: dts: adjust thermal trip point
Change-Id: Ied585cecf025b0c71e6c0fe2f414a1465b34b1e0
2019-01-25 13:46:14 +09:00
Joy Cho
1c28a6e741 ODROID-N2: cpufreq: adjust default freq of A73 core to 1.8GHz
Change-Id: I1e845ac032fbd42c7f01de9a0032284f0e06aceb
2019-01-24 17:37:03 +09:00
Luke Go
254a0cdf6d arm64: config: Remove console configurations.
- VT, HW, and DUMMY console configurations.

Change-Id: I7ebae424fb188c6aab7f48e2a3a246cf0f8fc540
2019-01-24 17:10:13 +09:00
Luke Go
e800b3671c ODROID: mmc/block: add to ignore MPT partition table on media.
When multiple medias are attached, We should choice the MPT table of
booting media. So if choice the one media then ignore the others by
adding 'ignored' property to device tree blob.

Change-Id: Idf5b81ca7b7807deffd1709e73721a8a1b129194
2019-01-24 17:09:56 +09:00
Kevin Kim
06bf03bb58 ODROID-COMMON:Modify hdmi audio source to be selectable
Change-Id: Ifcf533c157ac1b461100ac38fc1b87781d70a739
2019-01-24 17:09:31 +09:00
Dongjin Kim
1cc84411bb ODROID-N2: cpuinfo: add to print the board UUID on eFUSE
Change-Id: Ia6400b15d6a16329d0d326492a0131003de8785f
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2019-01-24 12:46:53 +09:00
Chris KIM
a3b9435c24 ODROID: multitouch: Add dump multitouch v/pid.
Change-Id: Ib5351786525d9e132a339fb1421ad06144e71df8
2019-01-22 15:11:09 +09:00
Chris KIM
315e73c759 ODROID: defconfig: Add RTL8192CU driver.
Change-Id: I28bbfde542b474487e656b5c2b54e92daecb42c9
2019-01-18 17:15:01 +09:00
Chris KIM
85f2558498 ODROID: defconfig: Add CONFIG_NETFILTER_XT_MATCH_BPF
kernel/configs/p/android-4.9/android-base.cfg

Change-Id: I7eb0b8bd1f32ed98bbef07daabce83154dc9b089
2019-01-18 17:14:45 +09:00
Chris KIM
1d9efca9cf ODROID: Cleanup odroidn2_android_defconfig.
Change-Id: Ic28beae40a54f2d8156475d1bfb4f0eb51fba511
2019-01-18 17:14:34 +09:00