Joy Cho [Fri, 28 Dec 2018 02:33:37 +0000 (11:33 +0900)]
ODROID-COMMON: osd: support flexible length of fb size
Change-Id: Iebdb7edf12f206696394a571575dac6879c9a591
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Joy Cho [Tue, 16 Oct 2018 07:18:54 +0000 (16:18 +0900)]
ODROID-COMMON: media: hdmi: add switching vout mode logic (dvi/hdmi)
ex)
setenv bootargs ${bootargs} voutmode=hdmi
setenv bootargs ${bootargs} voutmode=dvi
Change-Id: I2fd6cdafa6ae7dff7a7297982add66b038f3ae40
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Joy Cho [Mon, 15 Oct 2018 22:49:06 +0000 (07:49 +0900)]
ODROID-COMMON: media: hdmi: fix a warning
Change-Id: I178d7ff937e23ac25e40d4837212f78b36d8b964
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Joy Cho [Tue, 16 Oct 2018 07:05:22 +0000 (16:05 +0900)]
ODROID-COMMON: 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
Dongjin Kim [Mon, 9 Dec 2019 05:17:28 +0000 (14:17 +0900)]
ODOROID-C4/N2: arm64/dts: add 'clear-map' flag to clean up the memory on booting
drivers/base/dma-contiguous.c:
...
#ifdef CONFIG_AMLOGIC_CMA
if (of_get_flat_dt_prop(node, "clear-map", NULL))
cma_init_clear(cma, 1);
#endif
...
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I59cf826e35ae2cc9a6d0bcd8d76c2466cc3e1554
Dongjin Kim [Tue, 19 Feb 2019 09:05:50 +0000 (18:05 +0900)]
ODROID-COMMON: fbcon: use soft cursor instead of hardware cursor
The hardware cursor is not visible, so ....use soft cursor instead.
Change-Id: Ibb4e4b831940f0a4674adf27a6b6e5653a59d001
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Dongjin Kim [Fri, 21 Jun 2019 06:25:52 +0000 (15:25 +0900)]
ODROID-N2: amlogic/media: fix compile error when AMLOGIC_LCD_TABLET is off
Change-Id: I71a509cdef29065955c9792781409c910d9104ec
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Dongjin Kim [Wed, 11 Mar 2020 09:07:39 +0000 (18:07 +0900)]
ODROID-COMMON: media_modules: increase stack size for compilation error'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Id28c8c4e1ee3918837fe7d4dbc8267ee9b568b33
Dongjin Kim [Wed, 11 Mar 2020 08:54:15 +0000 (17:54 +0900)]
ODROID-COMMON: amlogic/i2c: fix compile error "'i2c_auto_test_setup' defined but not used"
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Id4cf47c1c14e01aad87f9c810239a209610e24d9
Dongjin Kim [Wed, 11 Mar 2020 08:27:40 +0000 (17:27 +0900)]
ODROID-COMMON: media/dvb-frontent: fix compile error due to missing 'SEC_VOLTAGE_ON:'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I901a6f98e1bc19d38ab7a4deac461d825eff5821
Mauro (mdrjr) Ribeiro [Thu, 23 Jan 2020 20:45:41 +0000 (17:45 -0300)]
ODROID-COMMON: dts: support erase/trim on MicroSD
Change-Id: I9516ce33c8c50886b8c500b9b20aa78151a0b75a
Dongjin Kim [Thu, 28 Nov 2019 17:54:42 +0000 (02:54 +0900)]
ODROID-COMMON: mtd/spi: add new SPI flash memory 'XT25F128B'
Change-Id: Ic133f3eee346f91a42864ae033db07ac31210794
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
femto [Fri, 20 Dec 2019 07:42:23 +0000 (16:42 +0900)]
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
femto [Thu, 19 Dec 2019 05:21:27 +0000 (14:21 +0900)]
ODROID-C4: Remove unused reserve memory region
Signed-off-by: femto <ckkim@hardkernel.com>
Change-Id: Id41f10dde0f654d00a72288ed25625171ea9af57
femto [Thu, 19 Dec 2019 05:11:28 +0000 (14:11 +0900)]
ODROID-C4: Change otg_vbus_enable pin
rev_0.3 : GPIOH_6
rev_0.4 : GPIOAO_2
Signed-off-by: femto <ckkim@hardkernel.com>
Change-Id: Icf46202de22792e8c3bd21cbb8ec43c6c69758db
femto [Wed, 11 Dec 2019 08:25:41 +0000 (17:25 +0900)]
ODROID-COMMOM: add label 'reboot' to reboot entry in DTS
Change-Id: Ia257f3b01aaa4f15603838a4ca52837b30d8fefe
Signed-off-by: femto <ckkim@hardkernel.com>
Dongjin Kim [Wed, 18 Dec 2019 06:15:26 +0000 (15:15 +0900)]
ODROID-COMMON: add missing documents for ODROID-N2 device tree
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I92b5009c49378fdb232933dbcde5ad6a96eb5bf7
femto [Tue, 10 Dec 2019 02:06:15 +0000 (11:06 +0900)]
ODROID-C4: arm64/dts: Enable spicc for rev_0.4
Signed-off-by: femto <ckkim@hardkernel.com>
Change-Id: I297dc577f7091f796dfd80cbf6be78baf1ae79ca
femto [Mon, 9 Dec 2019 09:19:08 +0000 (18:19 +0900)]
ODROID-C4: Enable UHS mode for uSD, added hw-reset-gpio(rev_0.4)
Signed-off-by: femto <ckkim@hardkernel.com>
Change-Id: Ib06d13685eaad974815157f4c6222f7a6aa05e45
femto [Mon, 9 Dec 2019 09:14:03 +0000 (18:14 +0900)]
ODROID-COMMON: reboot: Modified to uSD reset for hw_rev0.4
Change-Id: Ib723d0cbfacce651f6df2419d15fa231c67a58d6
Signed-off-by: femto <ckkim@hardkernel.com>
femto [Mon, 9 Dec 2019 09:11:32 +0000 (18:11 +0900)]
ODROID-C4: Fixed the soundcard to match hw_rev_0.4
Signed-off-by: femto <ckkim@hardkernel.com>
Change-Id: I242a8a27041e938723de54c6d4c52bf615eb1db5
femto [Tue, 10 Dec 2019 09:25:27 +0000 (18:25 +0900)]
ODROID-C4: CPUFREQ: update cpufreq 1.512G to 1.5G for sm1.
Change-Id: Ica94401462fe876178ff57e7bdbbda0f43f75c1b
femto [Tue, 10 Dec 2019 09:22:52 +0000 (18:22 +0900)]
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
femto [Tue, 10 Dec 2019 03:10:38 +0000 (12:10 +0900)]
ODROID-C4: enable ftrace_ramoops
Signed-off-by: femto <ckkim@hardkernel.com>
commit
ac05ed73efd978d8cb7d89afdc67b97bc37ae668
Author: Jianxin Pan <jianxin.pan@amlogic.com>
Date: Wed Apr 3 18:53:20 2019 +0800
debug: enable ftrace_ramoops [1/2]
PD#SWPL-6028
Problem:
enable ftrce in ramoops
Solution:
enable ftrce in ramoops
Verify:
u200
Change-Id: I2403bf82c342416b7c34f2115b14dce623406997
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
Change-Id: I7dc922ed93935cd68d22b8b53b8f8026a0b8073b
femto [Tue, 10 Dec 2019 05:52:38 +0000 (14:52 +0900)]
ODROID-C4: thermal: modify ipa parameter for sm1
Signed-off-by: femto <ckkim@hardkernel.com>
Change-Id: I350290422fa2e0daa9409a5faeb6320b79e1039b
commit
82745e4bcec5954ff02081ff46d20dd049aee685
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
Dongjin Kim [Thu, 28 Nov 2019 17:54:42 +0000 (02:54 +0900)]
ODROID-COMMON: arm/dts: add 'clear-map' to 'codec_mm'
Change-Id: Ia58e81077f821471802ab9bd7964fbce1c160cf0
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
femto [Tue, 3 Dec 2019 08:59:24 +0000 (17:59 +0900)]
ODROID-COMMON: mcp251x: CAN bus driver modified to use gpio irq.
Change-Id: I2c10f197558d8c1f62e1371a7f7f510688bbedc2
Signed-off-by: femto <ckkim@hardkernel.com>
femto [Fri, 8 Nov 2019 06:49:13 +0000 (15:49 +0900)]
ODROID-COMMON: device-tree refactor
This patch is to define a common dtsi for ODROID boards using g12a, g12b APs.
Change-Id: Id9f5ee8c96b2687e1205e2cb8898b9f934ef3f41
femto [Tue, 29 Oct 2019 06:02:09 +0000 (15:02 +0900)]
ODROID-C4: Setup sound-device based on board rev 0.3
**** List of PLAYBACK Hardware Devices ****
card 0: AMLAUGESOUND [AML-AUGESOUND], device 0: SPDIF-dummy dummy-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: AMLAUGESOUND [AML-AUGESOUND], device 1: TDM-A-dummy dummy-1 []
Subdevices: 1/1
Subdevice #0: subdevice #0
Change-Id: I476fcf055f845f18b96fe075f07f0e6f8f717d86
Signed-off-by: femto <ckkim@hardkernel.com>
Dongjin Kim [Mon, 9 Sep 2019 06:05:36 +0000 (15:05 +0900)]
ODROID-C4: dts/amlogic: fix USB host on new board rev 0.3
- GPIOH_5 is dedicated to GPIO pin header
- USB host port is fixed
Change-Id: I899028cc1513806de1132e0aa06ca5e9facd7fef
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
femto [Tue, 29 Oct 2019 06:04:04 +0000 (15:04 +0900)]
ODROID-C4: Restricted max_cpu_freq to 2.1GHz in board
Tested on the ODROID-C4 board (rev 0.3)
Change-Id: I690d38e13fab3d3b23c7b690fba85185c63647b8
Signed-off-by: femto <ckkim@hardkernel.com>
Dongjin Kim [Wed, 30 Oct 2019 03:37:19 +0000 (12:37 +0900)]
ODROID-COMMON: refactoring board macro functions
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Icf0266d5123a649b9707650faeb04953b34bacc4
Joshua Yang [Mon, 1 Jul 2019 03:30:31 +0000 (12:30 +0900)]
ODROID-C4: Fix gpiomem register range to use GPIO_AO bank
Change-Id: I403e57797a95d3e95e070d5f0cc574e709b06904
Signed-off-by: Joshua Yang <joshua.yang@hardkernel.com>
femto [Tue, 15 Oct 2019 08:48:00 +0000 (17:48 +0900)]
ODROID-COMMON:Reset uSD card to high-speed mode on reboot.
Fixes a problem where watchdog reset does not work properly on some cards that support UHS.
Change-Id: I940b993ea6d06196220a59557dede8fd2b556af7
Signed-off-by: femto <ckkim@hardkernel.com>
Signed-off-by: Yang Deokgyu <secugyu@gmail.com>
Dongjin Kim [Mon, 7 Oct 2019 07:33:34 +0000 (16:33 +0900)]
ODROID-C4: dts/amlogic: add new device entry 'hk-lirc-helper'
Change-Id: I01436b5db20446993ae4df10c4e4523edfe9d9e8
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Dongjin Kim [Mon, 7 Oct 2019 07:16:41 +0000 (16:16 +0900)]
ODROID-C4: dts/amlogic: add new devcie entry 'gpio_keypad'
Change-Id: I4a030a4f30ed0533ab621f59707d3492c4f37f6a
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Dongjin Kim [Mon, 30 Sep 2019 10:40:52 +0000 (19:40 +0900)]
ODROID-C4: dts/amlogic: add to enable IR receiver
Change-Id: I2722b40c209d2c9cc31c8f428cc4b2df43c2b4aa
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Dongjin Kim [Tue, 20 Aug 2019 04:02:58 +0000 (13:02 +0900)]
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>
Kevin.Kim [Tue, 13 Aug 2019 05:47:01 +0000 (14:47 +0900)]
ODROID-C4: kernel config and DTS fix to use PCIe USB 3.0 controller
Change-Id: I0197841dc4e93917aa56986b4d7968dd99c59e02
Signed-off-by: Kevin.Kim <ckkim@hardkernel.com>
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Dongjin Kim [Mon, 26 Aug 2019 06:08:00 +0000 (15:08 +0900)]
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>
Joshua Yang [Fri, 28 Jun 2019 06:49:54 +0000 (15:49 +0900)]
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>
Mauro (mdrjr) Ribeiro [Fri, 30 Aug 2019 02:26:54 +0000 (23:26 -0300)]
ODROID-COMMON: net/wireless: use vendor driver for rtl8192cu
Change-Id: Id31370e78d7bf5e6eca85e469c3b60e2d3e3ab0c
Mauro (mdrjr) Ribeiro [Thu, 29 Aug 2019 20:00:47 +0000 (17:00 -0300)]
ODROID-N2: config: enable missing CRYPTO modules
Change-Id: Iad80ff780bb8ed6f8ff3d6f48218c1e1bde0f551
Dongjin Kim [Thu, 22 Aug 2019 09:46:49 +0000 (18:46 +0900)]
ODROID-C4: remove 'memory@
00000000' from DTS
Change-Id: I692ae7effc1963635640192efd11cccff25dec55
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Dongjin Kim [Thu, 8 Aug 2019 09:51:03 +0000 (18:51 +0900)]
ODROID-N2: usb/gadget: add 'compat_ioctl(...)' for 32bit Android
Change-Id: I0ff9c0c97feb7388db8bb8ec4fb283fceb088ee7
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Kevin.Kim [Fri, 28 Jun 2019 05:22:59 +0000 (14:22 +0900)]
ODROID-C4: arm64/dts: Add overclock frequency table
Change-Id: If2ccfb890dedeeab98ad1a0c22d9eb592a7d99e5
Kevin.Kim [Fri, 28 Jun 2019 05:21:21 +0000 (14:21 +0900)]
ODROID-C4: Add sound card driver
Change-Id: Ie91640c3f324076076be6b19b71eb54a74483e1f
Dongjin Kim [Fri, 21 Jun 2019 06:26:17 +0000 (15:26 +0900)]
ODROID-C4: add new Hardkernel SBC 'ODROID-C4'
Change-Id: Ic73222cb1f9bd8fdacc091a3c6735904cb46dd2a
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Mauro (mdrjr) Ribeiro [Tue, 30 Jul 2019 02:24:55 +0000 (23:24 -0300)]
ODROID-N2: config: enable gamepad devices
Change-Id: I3a91cd72865f0ff670623393861707ec26374c3d
Mauro (mdrjr) Ribeiro [Tue, 30 Jul 2019 02:22:33 +0000 (23:22 -0300)]
ODROID-COMMON: HID: apply patchs to support extra game pads
Ref: https://forum.odroid.com/viewtopic.php?f=177&t=34769#p263859
Change-Id: Ifc22206ebab6136bd60e7cff2e5c732ff37cf482
Dongjin Kim [Thu, 20 Jun 2019 17:55:41 +0000 (02:55 +0900)]
ODROID-N2: config: update kernel config on 4.9.182
Change-Id: If111e911d4ad0a4fef894b6ec9dbc2ace13183db
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Dmitry_L [Sun, 9 Jun 2019 09:04:06 +0000 (12:04 +0300)]
ODROID-COMMON: HDMI: Amlogic typo fix for CTS value according to HDMI specification
Change-Id: I4ed112f9338fe10c4c73f021681e9a1a5c845f4a
Portisch [Mon, 3 Jun 2019 14:46:27 +0000 (14:46 +0000)]
ODROID-COMMON: add missing 'clocks' & 'clock-names' to node efuse
Kevin.Kim [Tue, 9 Jul 2019 06:55:37 +0000 (15:55 +0900)]
ODROID-N2:Support for MIDI/USB devices
Change-Id: I085ad8562b5ecb16384c9de474eb11d6ccfbcb52
Joshua Yang [Mon, 24 Jun 2019 05:52:30 +0000 (14:52 +0900)]
ODROID-COMMON: usb: xhci: Make sg_tablesize can be set by bootargs
Change-Id: Ic9e9db2ef3291c10bf4481791e0d38389e55f732
Signed-off-by: Joshua Yang <joshua.yang@hardkernel.com>
Mauro (mdrjr) Ribeiro [Wed, 26 Jun 2019 15:19:14 +0000 (12:19 -0300)]
ODROID-N2: lock minimum cpu frequency to 667Mhz
This locks both A72's and A53's clusters to 667Mhz minimum
Change-Id: I6f5446a8f31dff0ea9c48ac03f82fad8d5d2be1c
charles.park [Mon, 10 Jun 2019 01:43:28 +0000 (10:43 +0900)]
ODROID-N2 : Remove HID ignored device(0x0EEE:0x0005) for RPI Touch
Change-Id: Ic3bbb28952c52caeb22d7f80c5c6386fe8ecd9bd
Mauro (mdrjr) Ribeiro [Thu, 6 Jun 2019 21:04:02 +0000 (18:04 -0300)]
ODROID-N2: config: enable missing ALSA modules
Change-Id: I4e3ff521e9b292466829d38ce6451b567a36ed4d
Mauro (mdrjr) Ribeiro [Thu, 6 Jun 2019 00:50:29 +0000 (21:50 -0300)]
ODROID-N2: config: make xpad driver as module
Change-Id: Ifcce53bdcf9ac75ef7d51b36b8fb38fa81300f21
Dongjin Kim [Tue, 28 May 2019 06:31:16 +0000 (15:31 +0900)]
ODROID-N2: drm: add DRM featured kernel configuration
Change-Id: Ic2741f017a509543ba6f0e98e8f4bb18b28975d7
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Dongjin Kim [Thu, 30 May 2019 06:03:44 +0000 (15:03 +0900)]
ODORID-N2: gpu/drm: add ARM Mali Bifrost r16p0 kernel driver
Change-Id: Id32615f989570499c970d98713f8066504a348ec
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Dongjin Kim [Thu, 16 May 2019 05:43:02 +0000 (14:43 +0900)]
ODROID-N2: config: disable 'CONFIG_CGROUP_SCHEDTUNE'
Change-Id: I10c2828044a04a7b678c2fad3e2544699e1b3db5
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Mauro (mdrjr) Ribeiro [Wed, 8 May 2019 02:21:39 +0000 (23:21 -0300)]
ODROID-N2: config: enable missing CRYPTO modules
Change-Id: I05a0006dff7a80403ecd8c4507050081e2a7aad2
Kevin Kim [Tue, 23 Apr 2019 08:58:42 +0000 (17:58 +0900)]
ODROID-N2:Added force64b parameter to fbtft&spicc to increase the refresh-rate.
Ex)
modprobe spi_meson_spicc force64b=1
modprobe fbtft_device name=odroid35 rotate=90 force64b=1
Change-Id: I9545740a633f2289648e5bcf72e55fbc23aecebf
charles.park [Tue, 9 Apr 2019 02:51:27 +0000 (11:51 +0900)]
ODROID-N2: fbtft_device new fast spi lcd(ili9486) driver added.
Change-Id: Iaa24ea37679637729b0ca7b773b9c89e6a0167f5
charles.park [Thu, 4 Apr 2019 05:12:29 +0000 (14:12 +0900)]
ODROID-N2: fbtft odroid35 driver added(fast spi lcd)
Change-Id: Ic6a40551bf758d8e1f77b9dfe4031dc9d2f1f078
Dongjin Kim [Tue, 23 Apr 2019 04:23:56 +0000 (13:23 +0900)]
ODROID-N2: config: enable 'CONFIG_IP_MULTIPL_TABLES'
This patch is to prevent the error "ip rule returns RTNETLINK answers: Address
family not supported by protocol" for the command 'ip rules'.
https://forum.odroid.com/viewtopic.php?f=177&t=34657
Change-Id: I7eebdf2ecf85ba5688977ce0a4d595779cd99a5b
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Mauro (mdrjr) Ribeiro [Tue, 16 Apr 2019 14:38:01 +0000 (11:38 -0300)]
ODROID-N2: gpu/arm: MALI: don't use trace_printk
Change-Id: I802c61c126484c07ac2a28356bdd4c96f35bbe98
Singed-off-by: Mauro (mdrjr) Ribeiro <mauro.ribeiro@hardkernel.com>
Dongjin Kim [Sat, 13 Apr 2019 14:00:00 +0000 (23:00 +0900)]
ODROID-N2: config: add built-in drivers of a few USB/SCSI devices
Change-Id: Ieda6ccafaedb65a8428839db87f60ffd7f26be85
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Kevin Kim [Mon, 15 Apr 2019 01:34:33 +0000 (10:34 +0900)]
ODROID-N2:Add CONFIG_USB_ANNOUNCE_NEW_DEVICES
Change-Id: Ia27893c415cabbf17e6cd3d1bde255caafdd989d
Joy Cho [Fri, 29 Mar 2019 08:04:25 +0000 (17:04 +0900)]
ODROID-COMMON: xen: Remove -fshort-wchar gcc flag
- This commit fixes a error message generated by Make in case of distclean
drivers/xen/Makefile:13: *** Recursive variable 'LDFLAGS' references itself (eventually). Stop.
- Since the later sublevel of kernel 4.9.y, this options have been removed.
Change-Id: Ia80dbe6c45434fd6325ee4c39a67c047e1a27b45
Signed-off-by: Joy Cho <joy.cho@hardkernel.com>
Joy Cho [Wed, 10 Apr 2019 07:10:48 +0000 (16:10 +0900)]
ODROID-COMMON: vout: Fix hdmi display hotplug issue
Change-Id: Ia2a5cb027eb6bb24705da09875f79a97d6daef41
Anand Moon [Thu, 13 Apr 2017 06:14:58 +0000 (11:44 +0530)]
ODROID-COMMON: hwmon: pwm-fan: add sys attribute to control active cooling
update fan_speed sys attribute to update the cooling level
for pwm-fan.
Change-Id: I67b0d047dbe0cb0cfa81896ec6226e8e6d79fd1e
(cherry picked from commit
c2e92581daeaa811ceec4f301d85688567e699d2)
Kevin Kim [Mon, 25 Mar 2019 03:01:52 +0000 (12:01 +0900)]
ODROID-COMMON: Removed mono sound channel, as it currently doesn't work and has issues
Change-Id: I7959e3c2b4f28b998ca2300e9c59fcef77d92854
Dongjin Kim [Fri, 22 Mar 2019 07:32:20 +0000 (16:32 +0900)]
ODROID-N2: config: disable 'CONFIG_AMLOGIC_PAGE_TRACE'
This patch is to remove the logs below:
[ 0.000000] can't find symbol:arm_dma_alloc
[ 0.000000] can't find symbol:__alloc_from_contiguous
[ 0.000000] can't find symbol:cma_allocator_alloc
[ 0.000000] 0, addr:
ffffff80099a15f0 + 140, aml_cma_alloc_post_hook
[ 0.000000] 1, addr:
ffffff800957eb88 + 78, dma_alloc_from_contiguous
[ 0.000000] 2, addr:
ffffff800922ebc8 + 2b8, cma_alloc
[ 0.000000] 3, addr:
ffffff800921f638 + 300, __kmalloc_track_caller
[ 0.000000] 4, addr:
ffffff800921c788 + 300, __kmalloc
[ 0.000000] 5, addr:
ffffff800921c430 + 290, kmem_cache_alloc_trace
[ 0.000000] 6, addr:
ffffff800921c1b0 + 280, kmem_cache_alloc
[ 0.000000] 7, addr:
ffffff800921c138 + 78, __slab_alloc.isra.23.constprop.27
[ 0.000000] 8, addr:
ffffff800921bdc0 + 378, ___slab_alloc.constprop.28
[ 0.000000] 9, addr:
ffffff80092198d0 + 580, new_slab
[ 0.000000] 10, addr:
ffffff800920c940 + 70, vmalloc
[ 0.000000] 11, addr:
ffffff800920c858 + 70, vzalloc
[ 0.000000] 12, addr:
ffffff800920c308 + 2a0, __vmalloc_node_range
[ 0.000000] 13, addr:
ffffff80091f0070 + 110, kmalloc_order_trace
[ 0.000000] 14, addr:
ffffff80091eff00 + 170, kmalloc_order
[ 0.000000] 15, addr:
ffffff80091cf638 + 168, __alloc_page_frag
[ 0.000000] 16, addr:
ffffff80091cf5d0 + 68, alloc_pages_exact
[ 0.000000] 17, addr:
ffffff80091cf5a0 + 30, get_zeroed_page
[ 0.000000] 18, addr:
ffffff80091cf548 + 58, __get_free_pages
[ 0.000000] 19, addr:
ffffff80091ce738 + e10, __alloc_pages_nodemask
[ 0.000000] 20, addr:
ffffff800909d8a0 + 258, __dma_alloc
Change-Id: Ib81bd3617a47b60472aab2cf4adc4beb1a2643aa
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Dongjin Kim [Fri, 22 Mar 2019 06:13:18 +0000 (15:13 +0900)]
ODROID-N2: config: disable 'CONFIG_AMLOGIC_VMAP'
This patch is to remove the error below.
[ 0.282128] VMAP:handle_vmap_fault address
ffffff80200c4000 out of range
[ 0.282152] VMAP:handle_vmap_fault PC is:
ffffff800925db6c, copy_mount_options, LR is:
ffffff800925dad8 copy_mount_options
[ 0.282159] VMAP:handle_vmap_fault task:44 kdevtmpfs, stack:
ffffff80200c0000,
ffffffc0cf308960
[ 0.282167] CPU: 0 PID: 44 Comm: kdevtmpfs Not tainted 4.9.162+ #1
[ 0.282172] Hardware name: Hardkernel ODROID-N2 (DT)
[ 0.282178] Call trace:
[ 0.282189] [
ffffffc0cf308880+ 128][<
ffffff800908b908>] dump_backtrace+0x0/0x288
[ 0.282198] [
ffffffc0cf308900+ 32][<
ffffff800908bc14>] show_stack+0x24/0x30
[ 0.282207] [
ffffffc0cf308920+ 64][<
ffffff800944d560>] dump_stack+0xb0/0xe0
[ 0.282218] [
ffffffc0cf308960+ 64][<
ffffff80099a0544>] handle_vmap_fault+0x1e4/0x218
[ 0.282226] [
ffffffc0cf3089a0+ 0][<
ffffff8009082f68>] el1_da+0x14/0x148
[ 0.282234] [
ffffff80200c3d20+ 80][<
ffffff800925dad8>] copy_mount_options+0xb8/0x1b0
[ 0.282241] [
ffffff80200c3d70+ 64][<
ffffff800925eba8>] SyS_mount+0x70/0x108
[ 0.282251] [
ffffff80200c3db0+ 112][<
ffffff800957d0f8>] devtmpfsd+0x80/0x190
[ 0.282260] [
ffffff80200c3e20+ 0][<
ffffff80090cd298>] kthread+0xf8/0x110
[ 0.282268] [
0000000000000000+ 0][<
ffffff8009083ad0>] ret_from_fork+0x10/0x40
Change-Id: If59066c6e094be7f25ba33f1978acde03975700c
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Kevin Kim [Fri, 22 Mar 2019 05:03:21 +0000 (14:03 +0900)]
ODROID-COMMON:alsa-default-sink set to HDMI-output
Change-Id: I6165eed22baca6150b4dfc79e9108ba344385d0d
Dongjin Kim [Mon, 18 Mar 2019 04:48:12 +0000 (13:48 +0900)]
ODROID-COMMON: net/ethernet: fix compilation error of implicit delcaration
Change-Id: I054510f2d0671563b42575c60e5441ed3351347d
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Nobutaka Okabe [Mon, 12 Dec 2016 17:52:58 +0000 (02:52 +0900)]
ODROID-COMMON: BACKPORT: ALSA: usb-audio: Eliminate noise at the start of DSD playback.
[Problem]
In some USB DACs, a terrible pop noise comes to be heard
at the start of DSD playback (in the following situations).
- play first DSD track
- change from PCM track to DSD track
- change from DSD64 track to DSD128 track (and etc...)
- seek DSD track
- Fast-Forward/Rewind DSD track
[Cause]
At the start of playback, there is a little silence.
The silence bit pattern "0x69" is required on DSD mode,
but it is not like that.
[Solution]
This patch adds DSD silence pattern to the endpoint settings.
Change-Id: I173538b84978d4136eb0dca31f12738814375604
Signed-off-by: Nobutaka Okabe <nob77413@gmail.com>
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Kevin Kim [Wed, 13 Mar 2019 07:02:11 +0000 (16:02 +0900)]
ODROID-COMMON: pwm-fan device enabled for active cooling.
Change-Id: I1dcdfa4c22ab72cd24b1be870727420683073f9a
Signed-off-by: Kevin Kim <ckkim@hardkernel.com>
Joy Cho [Wed, 13 Mar 2019 00:57:04 +0000 (09:57 +0900)]
ODROID-COMMON: remote: Add a setup of user remote wakeup decode type
Change-Id: Ib7bb759dfec67433b596ed64997f6894d1c7ec27
Signed-by-off: Joy Cho <joy.cho@hardkernel.com>
Dongjin Kim [Wed, 13 Mar 2019 10:43:20 +0000 (06:43 -0400)]
ODROID-COMMON: phy/realtek: add to support Wake On Lan enable
Adding new kernel command line "enable_wol=<1|0>" will configure the WOL
features on next power off.
Change-Id: I4830aeb1651e90d4699887199000def1163fb6db
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Joy Cho [Thu, 7 Mar 2019 05:28:41 +0000 (14:28 +0900)]
ODROID-COMMON: media: rc: Add lirc helper to support user remote wakeup
- set user remote wakeup key
- set ir decode protocol for wakeup
Change-Id: If083545f64d4e0b9c30bed89ce4bc9ecd37ea8ac
Signed-off-by: Joy Cho <joy.cho@hardkernel.com>
Kevin Kim [Thu, 7 Mar 2019 05:16:41 +0000 (14:16 +0900)]
ODROID-COMMON: arm64/dts: audio mclk set to continuous clock
Change-Id: I2184521fb9370018f7d38fad2aea2bb63adab4fa
Dongjin Kim [Fri, 8 Mar 2019 10:12:38 +0000 (05:12 -0500)]
ODROID-N2: config: Add 'gpioplug_ir_recv' for GPIO-based IR receiver
Change-Id: I09c12bfa0f4832971ddedd5140128085bc26087d
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Joy Cho [Thu, 15 Mar 2018 03:05:54 +0000 (12:05 +0900)]
ODROID-COMMON: media: rc: Add new IR receiver to specify gpio number for IR sensor
This driver helps to register the device of GPIO based IR receiver, "gpio-ir-recv"
with the gpio number and pulse trigger when driver is loading. For example,
# modprobe gpio-ir-recv
# modprobe gpioplug-ir-recv gpio_nr=473 active_low=1
Change-Id: I377be5e1d1926d0e777b7e18feef7f0d4bc45f40
Signed-off-by: Joy Cho <joy.cho@hardkernel.com>
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Dongjin Kim [Fri, 8 Mar 2019 09:35:53 +0000 (04:35 -0500)]
ODROID-N2: arm64/dtb: change to suport 'both' interrupt edge trigger
Change-Id: I033e6bf4cbb35199a26572fd442264cc4cb0e58b
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Kevin Kim [Thu, 7 Mar 2019 05:25:47 +0000 (14:25 +0900)]
ODROID-N2:40p expansion I2C function enabled by default.
Change-Id: Ifd14a7a8b0fbd14d636122c013cad3452e3ae245
Dongjin Kim [Thu, 7 Mar 2019 03:44:48 +0000 (12:44 +0900)]
ODROID-COMMON: mm: quick fix if 'CONFIG_AMLOGIC_PAGE_TRACE' is not enabled
Change-Id: Id63e7c4cd0decfacc3708bd8887758d16df132ea
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Mauro (mdrjr) Ribeiro [Wed, 6 Mar 2019 13:39:03 +0000 (10:39 -0300)]
ODROID-N2: config: re-enable f2fs as built-in
Change-Id: Iea1adf6dfe1cb612a4cbe2b60e568246a25682af
Dongjin Kim [Tue, 26 Feb 2019 09:23:13 +0000 (18:23 +0900)]
ODROID-N2: config: reconfig based on BSP openlinux-
20190220
Change-Id: I09d6bba84c65b72e72c32f4de9af4bc9ff41b605
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Kevin Kim [Wed, 20 Feb 2019 09:13:24 +0000 (18:13 +0900)]
ODROID-COMMON: Add Mixer control for LINE-OUT Mute
Mute : amixer -c0 sset 'LINE_OUT mute' on
Unmute : amixer -c0 sset 'LINE_OUT mute' off
Boot on state : unmute
Change-Id: If899ea5607cbef8b62fb35b66c79089beb192d1a
Dongjin Kim [Thu, 28 Feb 2019 08:48:01 +0000 (03:48 -0500)]
ODROID-COMMON: usb3: do not reset USB hub on boot
Change-Id: I167f44ff20e35be30851e81cdd180afb5d093d29
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Dongjin Kim [Wed, 27 Feb 2019 07:46:40 +0000 (16:46 +0900)]
ODROID-COMMON: rtl8211: Link/Active LED configuration
* Green - 100Mbps
* Amber - 1000Mbps
Change-Id: Idc60ac29b5ddab39153a04564a6bb76d0ec02c17
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Joy Cho [Fri, 15 Feb 2019 09:32:15 +0000 (18:32 +0900)]
ODROID-N2: staging: lirc: support GPIO based IR Blaster
Change-Id: I0a4993e68784a31f3d89c2f54e69dc70aa7bc5f3
Joy Cho [Tue, 26 Feb 2019 04:45:34 +0000 (13:45 +0900)]
ODROID-COMMON: media: rc: add LIRC_CAN_SEND for the buffer allocation to support IR TX
Change-Id: I12c0695686084bd8f9a14e9b93284a17ef58c63f
Mauro (mdrjr) Ribeiro [Mon, 25 Feb 2019 08:46:57 +0000 (05:46 -0300)]
ODROID-N2: config: enable UAS
Change-Id: Idbb302e3ff68f054d6d9d33519e099b408c1f36e
Dongjin Kim [Mon, 25 Feb 2019 01:51:42 +0000 (10:51 +0900)]
ODROID-N2: USB Audio: add support for additional DSD raw capable devices
Change-Id: If1a619e86f6c0f0893a8ce1d65fd8fe6c8f97b8c
Signed-off-by: Gé Koerkamp<ge.koerkamp@gmail.com>
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Dongjin Kim [Sun, 24 Feb 2019 15:31:37 +0000 (00:31 +0900)]
ODROID-N2: config: enable 'CONFIG_FHANDLE' for systemd
Change-Id: I14f31de80b8bfca404bde3eda147adb7c8a1433b
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Joy Cho [Tue, 19 Feb 2019 01:30:18 +0000 (10:30 +0900)]
ODROID-N2: keyboard: add gpio power key that is set from boot.ini
Change-Id: Ic3a6152bcedf21e8600993e70394a1b894c1d212