Joshua Yang [Wed, 13 Feb 2019 07:49:48 +0000 (16:49 +0900)]
ODROID-N2: arm64/dts: Make I2C-2, I2C-3, SPI functionalities disabled by default
These functions can be enabled using device-tree-compiler.
Refer to the following locations.
spi
/soc/cbus@
ffd00000/spi@13000
/soc/cbus@
ffd00000/spi@13000/spidev@0
i2c-2
/soc/cbus@
ffd00000/i2c@1d000
i2c-3
/soc/cbus@
ffd00000/i2c@1c000
Change-Id: I85f8b3402343a0910b902ac0f8e46f79ae6bf594
Joy Cho [Mon, 31 Dec 2018 06:31:50 +0000 (15:31 +0900)]
ODROID-N2: media: rc: activate meson-ir driver to support LIRC
Change-Id: Ibe8c8b1199a5f505665c88c9c40fabfed525fb20
Joy Cho [Fri, 15 Feb 2019 06:47:39 +0000 (15:47 +0900)]
ODROID-N2: media: rc: update meson-ir driver
Change-Id: I435e618af7436d0485423f541f9df841716810b5
Mauro (mdrjr) Ribeiro [Wed, 13 Feb 2019 07:49:37 +0000 (05:49 -0200)]
ODROID-N2: prepare defconfig for release
Change-Id: I5d712b539dd68c97e257dc0d1f727a39f34dcca3
Joy Cho [Tue, 12 Feb 2019 05:05:36 +0000 (14:05 +0900)]
ODROID-N2: osd: support flexible fb size with free scale option
Change-Id: I87a63eda62b96e3d54cb88f92e16364ba8250acf
Joy Cho [Tue, 12 Feb 2019 08:42:49 +0000 (17:42 +0900)]
ODROID-N2: vout: update current vout mode string
Change-Id: I19584a9dedfcf66a7ad2efbdcfddd9b5218add70
Dongjin Kim [Mon, 11 Feb 2019 04:54:38 +0000 (13:54 +0900)]
ODROID-COMMON: spifc: add new hardware node 'spifc'
In order to access SPI-NOR flash memory from Linux kernel, new node 'spifc' is
added as 'disabled' by default. Since SPI flash memory shares the hardware bus
with eMMC, one can not be enabled when another one is enabled.
Change-Id: I7ae258dcc1b18df59dc33e8473c83f7ff0329461
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Kevin Kim [Wed, 16 Jan 2019 05:49:59 +0000 (14:49 +0900)]
ODROID-COMMON: Add pwm-gpio driver for cooling fan control
Change-Id: I906fdd7d8b3da407f8ea7560562df7cc46b3d8fa
Kevin Kim [Tue, 15 Jan 2019 02:47:04 +0000 (11:47 +0900)]
ODROID-COMMON: arm64/dts:Modified PWM pinctrl
Change-Id: I951fd8481328149e64536cbf2a02e51d47b36acd
Kevin Kim [Wed, 16 Jan 2019 05:45:10 +0000 (14:45 +0900)]
ODROID-COMMON: 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>
Joshua Yang [Wed, 16 Jan 2019 04:51:55 +0000 (13:51 +0900)]
ODROID-N2: Add CONFIG_USB_SERIAL_CP210X
Change-Id: I33cb95010cc122c2688e2713da27a0f59a732b6f
Chris KIM [Thu, 31 Jan 2019 05:38:57 +0000 (14:38 +0900)]
ODROID-N2: Fix build error.
Change-Id: I3014c2b540b91eeafde3a151e3752b02bbd30ccc
(cherry picked from commit
7461978eb42c664d7867eb11248d51f9d957cbcf)
Kevin Kim [Thu, 31 Jan 2019 07:40:41 +0000 (16:40 +0900)]
ODROID-N2: mmc: Initate MMC power state on reboot
Change-Id: Ifade734854d94c1c98b34c55a431835b80c5f7e4
Dongjin Kim [Fri, 21 Dec 2018 09:28:17 +0000 (18:28 +0900)]
ODROID-COMMON: cpuinfo: add to print the board UUID on eFUSE
Change-Id: Ia6400b15d6a16329d0d326492a0131003de8785f
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Dongjin Kim [Mon, 28 Jan 2019 18:18:06 +0000 (03:18 +0900)]
ODROID-COMMON: efuse: fix to print true UUID from /sys/class/efuse/uuid
Change-Id: Ic27fcef584be7a05ff384fa7cd350c34fdf9315c
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Dongjin Kim [Fri, 25 Jan 2019 10:27:00 +0000 (19:27 +0900)]
ODROID-N2: arch/arm64: removing the node 'unifykey'
The 'unifykey' is the storage only in an eMMC and not required for
other devices which does not use eMMC. Therefore, deprecated.
Change-Id: Ia59b9b53145038187bacb3f9469078f9f813278c
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Dongjin Kim [Fri, 25 Jan 2019 05:37:03 +0000 (14:37 +0900)]
ODROID-COMMON: dts: no building of DTB for AMLogic boards
Change-Id: I08cf75c6f1c6536c54b34ea8af33ff8e173d9e3a
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Dongjin Kim [Thu, 24 Jan 2019 15:57:33 +0000 (10:57 -0500)]
ODROID-N2: config: enable kernel features for Docker
Change-Id: I28aff3d9fd0c143afecd7425ab55e2ddb2757c65
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Dongjin Kim [Thu, 24 Jan 2019 16:10:52 +0000 (11:10 -0500)]
ODROID-N2: git: removing '.git/pre-commit'
Change-Id: Ia44136b12853e4555159dcb5aa046ea711d0c206
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Kevin Kim [Fri, 25 Jan 2019 03:07:04 +0000 (12:07 +0900)]
ODROID-COMMON: mmc/core: Removed HS400
Change-Id: Ic2082a938ff2966f74717796e3d52a4546fef0e6
Joy Cho [Thu, 24 Jan 2019 05:04:32 +0000 (14:04 +0900)]
ODROID-N2: cpufreq: adjust default freq of A73 core to 1.8GHz
Change-Id: I1e845ac032fbd42c7f01de9a0032284f0e06aceb
Joy Cho [Thu, 17 Jan 2019 08:52:51 +0000 (17:52 +0900)]
ODROID-N2: dts: adjust thermal trip point
Change-Id: Ied585cecf025b0c71e6c0fe2f414a1465b34b1e0
Joy Cho [Thu, 24 Jan 2019 02:40:59 +0000 (11:40 +0900)]
ODROID-COMMON: arm64: dma-mapping: increase DMA coherent pool size to 2M
Change-Id: I55c33b5966a4468fe0c28659fcc24896c9f95262
SeungChul Lee [Mon, 14 Jan 2019 06:27:32 +0000 (15:27 +0900)]
ODROID-COMMON: efuse: fix to return error code
Change-Id: I6f21d63900a01829489bdb63665c0801ad0636c9
Signed-off-by: SeungChul Lee <john.lee@hardkernel.com>
Dongjin Kim [Sun, 13 Jan 2019 03:22:20 +0000 (22:22 -0500)]
ODROID-COMMON: Revert "Makefile: lock kernel version without localversion appended"
This reverts commit
e95ed5b5710829aedfe290181960f4500966c6c2.
Change-Id: I3a30f8eebd7f15f22cd363c683d81be374cac976
Dongjin Kim [Sun, 13 Jan 2019 03:22:04 +0000 (22:22 -0500)]
ODROID-COMMON: Revert "module: skip sublevel and crc when ver check"
This reverts commit
872270857a0d0bc91fd1738c8962f5a0e4c3e9ac.
Change-Id: I68098f90e09e62c260274b808af89a524eb3d295
Yixun Lan [Mon, 26 Jun 2017 07:08:24 +0000 (15:08 +0800)]
ODROID-COMMON: Revert "Makefile: fix generation dependency for utsrelease.h"
This reverts commit
7996a0673063bd8efaa769c6e2daf96a73856046.
Change-Id: Iad1252580ef751ec46cb2cf08535ea560beb0ead
Dongjin Kim [Sun, 13 Jan 2019 03:21:03 +0000 (22:21 -0500)]
ODROID-COMMON: Revert "Makefile: generate kernel_full in seperate command"
This reverts commit
7c6adea43cba783a08ad911090c4293f35c29b9b.
Change-Id: If46fc1c8183a20350a6e649599c7af771bcae752
codewalker [Mon, 14 Mar 2016 05:53:47 +0000 (14:53 +0900)]
ODROID-N2: Add D-WAV Multitouch driver.
Change-Id: Ia1c8c29d3f69c6ba5d630279c4cc98119b68ab71
Kevin Kim [Fri, 4 Jan 2019 08:20:01 +0000 (17:20 +0900)]
ODROID-COMMON:Spicc driver pinctrl for odroid
Change-Id: I0560900a68861592d1717b5421ef0b8324fcbc76
Kevin Kim [Tue, 8 Jan 2019 05:47:43 +0000 (14:47 +0900)]
ODROID-COMMON:Add support Dallas 1-wire for odroid
Change-Id: I85055b83cffbfbfb0886b93d5bdc5b6152b986cb
Kevin Kim [Tue, 8 Jan 2019 05:26:58 +0000 (14:26 +0900)]
ODROID-COMMON: PWM driver pinctrl for odroid.
Change-Id: Iced9657a28d6cf1715f5d130644079b0dc96c865
Kevin Kim [Tue, 8 Jan 2019 03:10:37 +0000 (12:10 +0900)]
ODROID-COMMON: I2C, RTC driver as a module
Change-Id: Ifee1d369d05469989e2e7b875abe93c69b9ab648
Kevin Kim [Tue, 8 Jan 2019 02:40:18 +0000 (11:40 +0900)]
ODROID-COMMON: Amlogic i2c master pinctrl for odroid.
Change-Id: I3a1a931769104de99f87e013a0e488304fdf2c38
Dongjin Kim [Fri, 21 Dec 2018 09:23:05 +0000 (18:23 +0900)]
ODROID-COMMON: arm64/dts: disable 'vdin0/1' nodes unsupported
Change-Id: If1910cc8e9317b9e1a153196ad46f4d2c5142d1d
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Dongjin Kim [Wed, 9 Jan 2019 04:01:16 +0000 (13:01 +0900)]
ODROID-N2: config: enable kernel feature 'KEXEC' and 'SYSVIPC'
Change-Id: Ie783641f2f9d88bdc1cd0ef620b0e9bc3db9e15c
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Dongjin Kim [Wed, 9 Jan 2019 04:00:16 +0000 (13:00 +0900)]
ODROID-N2: arch/arm64: add dummy subnode 'chosen {}' for KEXEC
Change-Id: I40ed4aa47d8fe25941fcdc5ee1b1de8fe514e69c
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Mauro (mdrjr) Ribeiro [Wed, 9 Jan 2019 00:09:34 +0000 (22:09 -0200)]
ODROID-N2: support true 4k framebuffer
Change-Id: Ic28199b8226a0d284d9b05abab505f87b12f4e7e
Dongjin Kim [Wed, 2 Jan 2019 05:41:27 +0000 (14:41 +0900)]
ODROID-N2: arch/arm64: rename 's922d_odroidn2.dts' to 'meson64_odroidn2.dts'
Change-Id: Iebdb89126627cb19e3a93cc99cd8d37f3638c1ce
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
charles.park [Mon, 31 Dec 2018 06:55:43 +0000 (15:55 +0900)]
ODROID-N2: bgr flag enable for ili9488 lcd
Change-Id: I4e116df4a6cf935df829fc8ab1303e62966babb9
charles.park [Mon, 31 Dec 2018 06:04:53 +0000 (15:04 +0900)]
ODROID-N2: fbtft compile error fix.
Change-Id: If388f41f9c4ad7ff9a08644cfeffb9c9405fb2a6
charles.park [Mon, 31 Dec 2018 03:05:36 +0000 (12:05 +0900)]
ODROID-N2: ODROID 3.5" I2C Touch sx8650 Document added.
Change-Id: Ia83e31210e7c02437e4a3dc585cbfd8eadf9b464
charles.park [Mon, 31 Dec 2018 03:01:39 +0000 (12:01 +0900)]
ODROID-N2: ODROID 3.5" touch driver added
Change-Id: Ide9262fde0f1d9955a9c736cb63e7d3eb822f562
charles.park [Mon, 31 Dec 2018 03:01:01 +0000 (12:01 +0900)]
ODROID-N2: fbtft ili9488 lcd module added.
Change-Id: I701bf93801c55f9e28395bc8ee7c9b88e6859a09
charles.park [Mon, 31 Dec 2018 02:33:22 +0000 (11:33 +0900)]
ODROID-N2: ODROID 3.5" Touchscreen driver added
Change-Id: I16f3db468278221dc1ba3ce76961e9bac2b4e548
charles.park [Mon, 31 Dec 2018 02:28:36 +0000 (11:28 +0900)]
ODROID-N2: ODROID-3.5" I2C Touch screen driver added.
Change-Id: I1e8973f8d25b75319b641616e40e4d5cc8694b2c
charles.park [Mon, 31 Dec 2018 01:53:11 +0000 (10:53 +0900)]
ODROID-N2: modified for ODROID 3.2" SPI Touch Screen
Change-Id: I3b63a9c5529519626e4be738a88bca607c0c044c
Dongjin Kim [Thu, 13 Dec 2018 02:30:34 +0000 (11:30 +0900)]
ODROID-COMMON: efuse: reset the efuse map for ODROID boards
Change-Id: Ic594aa3b8e6e5d52f0ca3fdbc9ae6117e7a1bb9c
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Joy Cho [Tue, 18 Dec 2018 07:39:22 +0000 (16:39 +0900)]
ODROID-N2: thermal: fix power to freq table generation bug
Change-Id: Icb25b389c8f2f88c367eef0b296300aca878bd0f
Kevin Kim [Wed, 12 Dec 2018 09:53:53 +0000 (18:53 +0900)]
ODROID-COMMON:Modified Internal-DAC output gain.(near to 0dB)
Change-Id: I036b534ed0299d228e3d96b6419c7e515140e5c8
Kevin Kim [Thu, 11 Oct 2018 07:49:40 +0000 (16:49 +0900)]
ODROID-COMMON: Support for emmc HS400 mode.
Change-Id: I4dfcb28e9c93ba09214436190b82c025d3527f31
Joy Cho [Fri, 24 Aug 2018 06:52:31 +0000 (15:52 +0900)]
ODROID-COMMON: add gator driver
- gator driver version : 670
- default disabled
Change-Id: Ibc67cfe17cb8d94ab8aa82c2bd2a16ba045be010
Kevin Kim [Thu, 6 Dec 2018 09:29:01 +0000 (18:29 +0900)]
ODROID-COMMON: adjust sound card dai link for spdif_out.
hw:0,0 -> tdmc <-> internal DAC
hw:0,1 -> spdif_b <-> hdmitx
hw:0,2 -> spdif_a <-> spdif_out(GPIOA_11)
Change-Id: I2d31ec832d6cb82e2363977cbcbc5bc96fa3f993
Joy Cho [Thu, 6 Dec 2018 01:31:36 +0000 (10:31 +0900)]
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
charles.park [Tue, 4 Dec 2018 09:24:25 +0000 (18:24 +0900)]
ODROID-N2: staging/fbtft: add 3.2" SPI TFT Driver
Change-Id: I85b2915cece7ac97b9ad2919440cdbfb3542cbfb
charles.park [Tue, 4 Dec 2018 09:21:48 +0000 (18:21 +0900)]
ODROID-N2: spi/spidev: comaptible name added (linux,spidev)
Change-Id: I1559c4f3c8425f469147fe54134d5fab2fd3e33c
charles.park [Tue, 4 Dec 2018 09:13:52 +0000 (18:13 +0900)]
ODROID-N2: spi: add alias for spidev bus-number
Change-Id: I14d5f6286e235926bd12096f225b2c8f0b785f4b
Joy Cho [Mon, 26 Nov 2018 23:53:48 +0000 (08:53 +0900)]
ODROID-N2: dts: adjust default cpu opp table
Change-Id: I42ed48f07936c6bb92416a666cb472d7da144c81
Kevin Kim [Fri, 30 Nov 2018 02:52:50 +0000 (11:52 +0900)]
ODROID-COMMON:Add /dev/gpiomem device for rootless user GPIO access
Change-Id: I559e9155294144372d64a8b79044ea53318c4e0a
Kevin Kim [Thu, 29 Nov 2018 09:38:05 +0000 (18:38 +0900)]
ODROID-COMMON: arch/arm64: Add device information to /proc/cpuinfo
Change-Id: I1148522b11733bfa05a1f74ecb756cf78a0b4fe4
Mauro (mdrjr) Ribeiro [Thu, 29 Nov 2018 01:29:36 +0000 (10:29 +0900)]
ODROID-N2: Prepare defconfig for release
Change-Id: I4a2e44848753aae3e2acb219943c479bc5b7a52c
Mauro (mdrjr) Ribeiro [Tue, 27 Nov 2018 02:08:17 +0000 (11:08 +0900)]
ODROID-COMMON: Support for Wifi Modules
Change-Id: Id44c28078722efb0cbda44f8ccb5b953572235ce
Mauro (mdrjr) Ribeiro [Wed, 28 Nov 2018 08:09:36 +0000 (17:09 +0900)]
ODROID-COMMON: media_modules: fix amlogic driver build on GCC 7
Change-Id: Ifd530ad7e9f147aad040d5bc3abbbf4f7ed03ec2
Mauro (mdrjr) Ribeiro [Tue, 27 Nov 2018 01:50:22 +0000 (10:50 +0900)]
ODROID-COMMON: lock gpu frequency to its maximum
Change-Id: Ic967f79a1bff001336a5e41a2bc644d5108ecb6a
Mauro (mdrjr) Ribeiro [Thu, 22 Nov 2018 04:40:49 +0000 (13:40 +0900)]
ODROID-COMMON: osd/fb: set default color format for Linux
Change-Id: I1d95d63215d5567673380740528eff65562bc6df
Mauro (mdrjr) Ribeiro [Wed, 28 Nov 2018 07:36:12 +0000 (16:36 +0900)]
ODROID-COMMON: fix build on GCC 7
Change-Id: I858c8d4de03e4609b9e14fa4bb0daa3f9cd9d1bb
Mauro (mdrjr) Ribeiro [Mon, 20 Aug 2018 19:16:59 +0000 (16:16 -0300)]
ODROID-N2: slipstream Mali Dvalin Kernel Driver
Kevin Kim [Thu, 22 Nov 2018 03:17:26 +0000 (12:17 +0900)]
ODROID-COMMON:USB hub enable/reset control && Unused i2c0 disabled.
Change-Id: Ib66ca11cdad3d65187ff06fe3ac981300c894bc3
Joy Cho [Fri, 19 Oct 2018 09:37:56 +0000 (18:37 +0900)]
ODROID: dts: add hardkernel remote IR table
Change-Id: I0f02af4becf3059e25062f3e6525b6ad475a1ea7
Joy Cho [Wed, 29 Aug 2018 08:44:05 +0000 (17:44 +0900)]
ODROID-N2: clk: add overclocking freq sets
Change-Id: I82b691007a48b8f24ea7686205a464d54e3277c7
Conflicts:
drivers/amlogic/clk/g12a/g12a.h
Joy Cho [Fri, 7 Sep 2018 09:01:05 +0000 (18:01 +0900)]
ODROID: dts: adjust thermal throttling rules
Change-Id: Iec2c134e2996ea57b7c7fcae394e66d3b7d56593
Dongjin Kim [Tue, 28 Aug 2018 09:23:31 +0000 (18:23 +0900)]
ODROID-N2: arm64/config: removing CONFIG_PCI
Change-Id: I949d7a05cebf2786afe513fa67c0614a4ef2ebea
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Kevin Kim [Tue, 11 Sep 2018 07:18:45 +0000 (16:18 +0900)]
ODROID-COMMON: sound/soc: support up to 384KHz sample rate.
Change-Id: Iad8a1337637b5f09d444c632935a1326123a04d8
Joy Cho [Wed, 19 Sep 2018 05:59:19 +0000 (14:59 +0900)]
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
Dongjin Kim [Sat, 1 Sep 2018 14:56:17 +0000 (23:56 +0900)]
ODROID-COMMON: arch/arm64: fix to run 'dtbs_install'
Change-Id: I3e2249c444aa407712a133837dc3b1d84cdc5682
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Joy Cho [Tue, 14 Aug 2018 09:18:04 +0000 (18:18 +0900)]
ODROID-N2: dts: remove usable-memory that overrides memory config as a fixed one
Change-Id: I0ea7eba3d59deb3ee89a032b138e0c552f89630e
Joy Cho [Thu, 28 Jun 2018 09:49:13 +0000 (18:49 +0900)]
ODROID-COMMON: clk: add a new higher cpu frequency, 2GHz for ODROID-N2
Change-Id: I28496cd7d93c1ccc8770fa010e9ba6f7d2995ed6
Conflicts:
drivers/amlogic/clk/g12a/g12a.h
Joy Cho [Mon, 23 Jul 2018 06:19:17 +0000 (15:19 +0900)]
ODROID-N2: clk: add cpu overclocking frequency sets
Change-Id: I47c38143e051faa97234cf05a0b53ac10e404734
Kevin Kim [Wed, 25 Jul 2018 05:54:06 +0000 (14:54 +0900)]
ODROID-COMMON: 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>
Dongjin Kim [Tue, 24 Jul 2018 04:16:01 +0000 (13:16 +0900)]
ODROID-N2: arch/arm64: add new board platform 'ODROID-N2'
Change-Id: I92d70879831321c21095cba5e507a6defc5dba11
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Robert Richter [Wed, 3 Sep 2014 14:17:02 +0000 (16:17 +0200)]
ODROID-COMMON: 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>
Robert Richter [Fri, 29 Aug 2014 12:17:02 +0000 (14:17 +0200)]
ODROID-COMMON: 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:
f4d4ffc03efc 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>
Dongjin Kim [Thu, 26 Jul 2018 13:56:12 +0000 (22:56 +0900)]
ODROID-COMMON: mmc: read MPT partition from a certain sector
Change-Id: Ibac5bb733270583f1a3a2ee7a24091c453261753
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Dongjin Kim [Fri, 6 Mar 2020 03:14:17 +0000 (12:14 +0900)]
ODROID-COMMON: slipstream from Amlogic Buildroot BSP (201911)
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I393ae25d3e29e2765df80e2d4841ce998df25979
MingLiang Dong [Fri, 1 Nov 2019 07:06:56 +0000 (15:06 +0800)]
hdr: default disable hdr hist module [1/1]
PD#SWPL-16107
Problem:
tm2 default hdr hist module enable,
it cause power consumption is high.
Solution:
1. default disable hdr hist module
2. if enable hdr2sdr, enable hist module
Verify:
verify on TM2
Change-Id: I648e9d5ac6739c1b6ef04db5ac3aec6e8f695cf7
Signed-off-by: MingLiang Dong <mingliang.dong@amlogic.com>
qi duan [Mon, 4 Nov 2019 10:27:06 +0000 (18:27 +0800)]
DTS: TL1/TM2 internal phy led is H0/H1. [1/1]
PD#SWPL-16192
Problem:
ab301 ethernet can not link
Solution:
LED GPIO is GPIOH_0 and GPIOH_1
TL1 is the same gpio
Verify:
ab301
Change-Id: Id4e0a94a021d72d3b952d2dd15a86caf45a16ca0
Signed-off-by: qi duan <qi.duan@amlogic.com>
xianjun.liu [Fri, 11 Oct 2019 03:32:22 +0000 (11:32 +0800)]
mtd: nand: support new slc nand [2/2]
PD#SWPL-14719
Problem:
4Gb SLC nand MT29F4G08ABAFAWP,MX30LF4G28AD requsted by Market
Solution:
add the nand id into amlogic nand flash id table
Verify:
AXG-S400
Change-Id: If2bd3cc90585b2a3cbcd500a9354cde4c65bc355
Signed-off-by: xianjun.liu <xianjun.liu@amlogic.com>
Zhengrong.Zhu [Sat, 2 Nov 2019 03:38:11 +0000 (11:38 +0800)]
hdmirx: Coverity defect cleanup:hdmi rx [1/1]
PD#SWPL-15167
Problem:
Coverity defect cleanup:hdmi rx
Solution:
Modify code according to coverity
Verify:
verify on the board of x3011
Change-Id: I1f8bac51101a5ae1a8a27ffd14e899b75ab99c04
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
Mingyen Hung [Tue, 5 Nov 2019 08:34:59 +0000 (16:34 +0800)]
dts: km3: add attestationdevidbox to more platforms [1/1]
PD#SWPL-12224
Problem:
Support Device ID attestation on multiple platforms
Solution:
1. Add new key slot, attestationdevidbox, to unify keys
Verify:
1. Android P + all android platforms
2. run cts -m CtsKeystoreTestCases -t \
android.keystore.cts.KeyAttestationTest#testDeviceIdAttestation
Change-Id: I95ba42b2df808a4aec5ad47d00ec9684c36e4ad3
Signed-off-by: Mingyen Hung <mingyen.hung@amlogic.com>
yicheng shen [Wed, 16 Oct 2019 08:46:59 +0000 (16:46 +0800)]
hdmirx: fix hdcp2.2 error after resume [1/1]
PD#SWPL-15872
Problem:
ESM init failed after boot-up twice
Solution:
Use the correct HPI address when request_mem_region called.
Verify:
TL1 4g ddr
Change-Id: I5fd30166b3a36e5f4a12b8b6b893df9c9f20ddaf
Signed-off-by: yicheng shen <yicheng.shen@amlogic.com>
Ao Xu [Wed, 23 Oct 2019 11:24:27 +0000 (19:24 +0800)]
drm: solve debug node write string issue [1/1]
PD#SWPL-15143
Problem:
userspace program use the write() syscall to write the node.
when write the strlen() length content, it will fail.
Solution:
use the buf[size] to instead of buf[size-1]
Verify:
U200
Change-Id: I886d9a1cbf3da459476bca76c9a5708ecbc20afe
Signed-off-by: Ao Xu <ao.xu@amlogic.com>
Zhengrong.Zhu [Sat, 2 Nov 2019 02:01:55 +0000 (10:01 +0800)]
hdmitx: Coverity defect cleanup: VOUT [1/1]
PD#SWPL-13989
Problem:
Coverity defect cleanup: VOUT
Solution:
Modify code according to coverity
Verify:
verify on the board of U212
Change-Id: I787429350be37da84ccd85332e97d472f45d3826
Signed-off-by: Zhengrong Zhu <zhengrong.zhu@amlogic.com>
renjiang.han [Thu, 17 Oct 2019 12:32:19 +0000 (20:32 +0800)]
amlvideo2: Screen capture adds support for decoder data. [1/1]
PD#SWPL-16197
Problem:
The data from the decoder is not equipped with a canvas.
Solution:
screenshot adds support for vframes without canvas.
Verify:
on X301
Change-Id: I706b87d6f59da27ffda7ace0d3486d6d978a292a
Signed-off-by: renjiang.han <renjiang.han@amlogic.com>
nengwen.chen [Fri, 1 Nov 2019 13:09:23 +0000 (21:09 +0800)]
atv_demod: fix atv audio no output when line frequency offset over default [1/1]
PD#SWPL-16188, PD#TV-11641, PD#TV-10181, PD#TV-9714
Problem:
fix atv audio no output when line frequency offset over 200Hz.
Solution:
1.fix atv audio no output when line frequency offset over 200Hz.
2.atv demod version: [V2.15].
Verify:
verified by tl1.
Change-Id: Ic43c707d3401ea93909856ff83a6842e14f0fc61
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
Tao Zeng [Tue, 5 Nov 2019 11:59:41 +0000 (03:59 -0800)]
Merge "Revert "io: make register access in amvecm simple [1/1]"" into amlogic-4.9-dev
Jianxin Pan [Tue, 5 Nov 2019 11:55:40 +0000 (04:55 -0700)]
Revert "io: make register access in amvecm simple [1/1]"
This reverts commit
7436b7dc4acf29ea9549249cbdd2ef6df1b91e92.
revert this now, print_vpp_lut() stack is 1840, when this applied,
it will bigger than 1880. werror will be triggerd.
Change-Id: Ia7b084ee800081a75c70f4e6ea6ce739f113f2b8
Yong Qin [Sat, 12 Oct 2019 09:40:14 +0000 (17:40 +0800)]
vdin: vdin add dolby vision de-scramble & scramble
PD#SWPL-14888
Problem:
New feature, dolby source vdin have de-scramble,
scrable function
Solution:
add feature for dv de scramble function
Verify:
tm2 ab301
Change-Id: Ib7c10fcf53232c84411ae366618b2ddcd9948527
Signed-off-by: Yong Qin <yong.qin@amlogic.com>
Shuai Li [Tue, 5 Nov 2019 06:47:37 +0000 (14:47 +0800)]
audio: fix might_sleep warning at bootup [1/1]
PD#SWPL-16123
Problem:
might_sleep() is triggered by regmap_read().
[ 3.106894@0] Workqueue: events tl1_acodec_release_fast_mode_work_func
[ 3.106903@0] [
bc059af4+ 16][<
c020e3a8>] show_stack+0x20/0x24
[ 3.106910@0] [
bc059b1c+ 40][<
c05dff94>] dump_stack+0xb8/0xf4
[ 3.106917@0] [
bc059b44+ 40][<
c0258138>] ___might_sleep+0x1c8/0x208
[ 3.106922@0] [
bc059b6c+ 40][<
c02581ec>] __might_sleep+0x74/0xac
[ 3.106928@0] [
bc059bb4+ 72][<
c0393a80>] kmem_cache_alloc_trace+0x12c/0x2c0
[ 3.106935@0] [
bc059bfc+ 72][<
c06bd03c>] regcache_rbtree_write+0x2dc/0x4f0
[ 3.106941@0] [
bc059c1c+ 32][<
c06bbbd8>] regcache_write+0x64/0x6c
[ 3.106945@0] [
bc059c44+ 40][<
c06b9260>] _regmap_write+0x144/0x16c
[ 3.106948@0] [
bc059c64+ 32][<
c06bab4c>] regmap_write+0x4c/0x6c
[ 3.106953@0] [
bc059c74+ 16][<
c0c79088>] snd_soc_component_write+0x28/0x48
[ 3.106958@0] [
bc059c84+ 16][<
c0c790c4>] snd_soc_write+0x1c/0x20
[ 3.106962@0] [
bc059c9c+ 24][<
c0c7c0b0>] tl1_acodec_start_up+0x24/0x44
[ 3.106967@0] [
bc059cbc+ 32][<
c0c7c1b8>]
tl1_acodec_release_fast_mode_work_func+0x54/0xe4
[ 3.106973@0] [
bc059cfc+ 64][<
c0245dc8>] process_one_work+0x200/0x624
[ 3.106977@0] [
bc059d3c+ 64][<
c0246dc4>] worker_thread+0x58/0x5c4
[ 3.106982@0] [
bc059d94+ 88][<
c024c5c0>] kthread+0x128/0x144
[ 3.106987@0] [
00000000+ 0][<
c020885c>] ret_from_fork+0x14/0x38
Solution:
This is a mmio regmap constrain using spinlock_irq to protect the
critical read and write.
But if the default reg cache is not allocated, the read routine will
malloc() buffer which is non-atomic. That is the root cause of this warning.
So we add num_reg_defaults_raw to tell regmap to malloc the buffer at
initializing stage.
Verify:
TL1.
Change-Id: I42f87fa89bbe99762ada36337b5ed6565b06b891
Signed-off-by: Shuai Li <shuai.li@amlogic.com>
Jianxin Pan [Thu, 24 Oct 2019 11:02:49 +0000 (19:02 +0800)]
io: make register access in amvecm simple [1/1]
PD#SWPL-15713
Problem:
There are too many register access in vsync isr from pq
Solution:
Make register access quicker
Verify:
TL1
Change-Id: I72972ccb8f2cf1bd53eda7fc40697cb5df4f5ede
Signed-off-by: Jianxin Pan <jianxin.pan@amlogic.com>
Yong Qin [Tue, 22 Oct 2019 07:08:32 +0000 (15:08 +0800)]
cec: finetune cecb ARB rising time [1/1]
PD#SWPL-15616
Problem:
when cec bus conect other cec connector, may lose cec ARB
Solution:
finetune ARB rising time.
Verify:
tl1
Change-Id: Icf422505602f75307f0b91c7841f0aae5e09c22d
Signed-off-by: Yong Qin <yong.qin@amlogic.com>