Commit Graph

379912 Commits

Author SHA1 Message Date
charles
03e1ec2b72 ODROIDC:disable meson8b ADC keypad. enable realtek wifi modules.
Change-Id: I9997f2e900260c1164afc4c8cd7346a21ab52846

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:49 +09:00
Mauro Ribeiro
9ef11d8610 amlogic:logo: add 800x480p60hz to boot flags as well
Change-Id: I1fb6f592aa87fd1466b3b0642d89f090537c4a72
2014-12-16 02:26:49 +09:00
Mauro Ribeiro
082752cd5c AMLOGIC: add 800x480 60hz support
Change-Id: I0d0c16d6186ad4a06a7a57c31c81c9104561bca0

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:48 +09:00
Mauro Ribeiro
03a2484051 ODROIDC:defconfig: More stuff needed by Ubuntu
Change-Id: I49db713431d4ce147a8894847790242900efb3e9

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:48 +09:00
Mauro Ribeiro
ff09e4f82d ODROIDC:defconfig: minor updates for Ubuntu
Change-Id: I0c0476ac4f20f0059ba6dd8125d3ced20bfec7fc

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:47 +09:00
Mauro Ribeiro
3705f71a7c amlogic:logo: new modes should be usable on hdmimode= as well
Change-Id: Ibc31893ee1c02614ebd81449b4af642919e8f5ba
2014-12-16 02:26:47 +09:00
Mauro Ribeiro
12214957b0 ODROIDC:dtd: If U-Boot default is 720p, so should be the kernel
AMLogic drivers doesn't like resetting the same mode.
So this is only for sanity reasons and prevent a blanking screen with certain variations of logo= and hdmimode=

Change-Id: Id4e403eadcc892fc2a2979f3776f8e2c45469d5b

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:46 +09:00
Charles
e2d4b7e5bc drivers/gpio/gliolib_of: Replace of_get_named_gpio_flags(...)
Since AMLogic's GPIOLIB does not support standard framework yet,
of_get_named_gpio_flags is replaced to use AMLogic's own framework such that
GPIO will be obtained from wrapper function.

Change-Id: I29b5a3bc99bbfa7b299c575b08e10fea81935cef

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:46 +09:00
Dongjin Kim
290709b64c ODROIDC:power: Add reboot condition for power-off
Since ODROID-C does not PMU, it won't stop or off completely. Hence this
reboot condition will reach to bootloader and halt the system.

Change-Id: I6bb8c5628bfbf0f9c120062fe7cb207aeb2aac2c
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
(cherry picked from commit 2bbc6b65c4586cf0e78cffadd490d8156d3f5133)
2014-12-16 02:26:45 +09:00
Mauro Ribeiro
de3b865e3e Remove mkimage and let the kernel use the OS mkimage instead of this x86 binary
Change-Id: Ic5faf36677a01e564593f5850c1c83f40a75685c

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:45 +09:00
Mauro Ribeiro
1532af8cb4 AMLOGIC: Support 1280x800
Change-Id: I80b22cccf872ab3b27be5c4c5e2f033f74a54eed

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:45 +09:00
Mauro Ribeiro
37bc4f8146 odroidc: defconfig: update to enable required symbols to Ubuntu work properly
Change-Id: I621882c117c8c29e76c7ca1f666f1557a145e3be

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:44 +09:00
Mauro Ribeiro
078bcb4b86 kgid/kuid: I have no idea why someone needs to touch it.. But lets fix it
Change-Id: I9b8f22a9c4c02c377e8035068aec4727fa6b9fc4

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:43 +09:00
Dongjin Kim
fb2cfca28c ODROIDC:dtd: Remove Securitykey device node
Change-Id: I22cd831d5586bd91d93cb32722e596eab21e60af
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
(cherry picked from commit b9713f6c1c9dd8b3f5ed2c5976d5f59927c95abf)
2014-12-16 02:26:43 +09:00
Dongjin Kim
13aafdbba4 ODROIDC:config: remove kernel feature CONFIG_SECURITYKEY
Change-Id: I1e01159f21b213083be374f22c0342343e935525
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
(cherry picked from commit 74295dc1264095a78083bbb84c196306d2938318)
2014-12-16 02:26:43 +09:00
Mauro Ribeiro
92a96c2689 osd: disable free scale during initial mode set
Change-Id: I19c109832211318a261cf40685218bffd165633d

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:42 +09:00
ckkim
02dcb20caf ODROIDC:Ethernet MAC_address using efuse data
Change-Id: I0789ff649a462e00f62705d8b3b08ef5c27a8b82
(cherry picked from commit 577b9c2c49122ea751175530ffca3ffa5d7ec494)

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:42 +09:00
Dongjin Kim
6c8d8d6c15 Revert "ODROIDC:hdmi: Try to read proper mode before video stream out"
This reverts commit 34e3ccb261b48dc64a4b79770980807baae125d3.

Change-Id: I6dd61f28ff003ae4c35c4b79bec29a75c6562bca

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:41 +09:00
Dongjin Kim
b4135e11fc ODROIDC:audio: Disable HP detection on sound driver
Change-Id: I48c9c2851accfaff733cb33933388a6e51be47bd
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:41 +09:00
Dongjin Kim
970ce6dab3 ODROIDC:dtd: remove unnecessary property nodes on aml_m8_sound_card
Change-Id: I4bcf208fceb8bf66723955658b21bd35cc2df8ef
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:40 +09:00
Mauro Ribeiro
8b1d6532eb enc_clk_config: 480p has wrong clocking setting giving us a out of range on monitor. This makes the 480p@60hz work.
Change-Id: Ia793bdf1cf1e3cf4bd24d5b8086c0fb9ae97a09e

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:40 +09:00
Mauro Ribeiro
67353156ca osd: complete modesetting on probe
Change-Id: I62850b6e4477bf6e22709f616b9db23e908d89f4

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:39 +09:00
Mauro Ribeiro
9f68df1c94 ODROIDC:defconfig: add LCD_BACKLIGHT just to clear a warning
Change-Id: Id465074a80b67925896295b7818e68830dbeaccb

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:38 +09:00
ckkim
ff6f6b46af ODROIDC:sdhc: Fix to dedicate SDHC as mmcblk0 device always
Change-Id: Ib6ca8501ac7527c15d11721dab42e2e5b341169a

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:37 +09:00
Mauro Ribeiro
ab3bd6b62c ODROIDC:dtd: remove eMMC dtd as its not being used anymore
Change-Id: If1ecefd4140bd688c9124d0bd7e6e1929b747a7a

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:37 +09:00
ckkim
6f644f1e2e ODROIDC: mmc: Support UHS-1 micro sdcard
Since MESON8B has single SDHC and SDIO block, 'meson8b_odroidc.dtd' is to boot by sdcard
and 'meson8b_odroidc_emmc.dtd' by eMMC.

Change-Id: I5550197122c023d50665a3bcfc740567b99420f4

Conflicts:
	arch/arm/boot/dts/amlogic/meson8b_odroidc.dtd
2014-12-16 02:26:36 +09:00
Dongjin Kim
f090980070 ODROIDC:dtd: Managing single device tree for SDCARD or eMMC boot
In order to assign a boot media to SDHC block between SDCARD or eMMC,
different two device tree have to be maintained. But this is risky to
maintain. Hence add both properties of SDCARD and eMMC to each contoller, SDHC
and SDIO, remove one of them in U-boot. Finally Linux kernel will have proper
device tree with corresponding to boot deivce.

Change-Id: I607575123f81e85d93c0c2613738e11f53892731
Signed-off-by: Dongjin Kim <tobetter@gmail.com>

Conflicts:
	arch/arm/boot/dts/amlogic/meson8b_odroidc.dtd
2014-12-16 02:26:36 +09:00
codewalker
a9f48b76f1 ODROIDC:hdmi: Try to read proper mode before video stream out
Change-Id: I80d7bb91cc49f2cd4cdb8d961bcdea35f98ef7a1
(cherry picked from commit 5162ac8869a36453a8918e6d16d657f3d864dd3f)
2014-12-16 02:26:35 +09:00
ckkim
59f928f8c7 ODROIDC:dtd: Remove ADC keypad node
Change-Id: Ideaf2d3b9d887e7442a589c988bd1d2a12a951bb
Signed-off-by: Kevin Kim <ckkim@hardkernel.com>
2014-12-16 02:26:35 +09:00
ckkim
9880c4f389 ODROIDC:dtd: Add 'change-frequent-only' property to DVFS node.
Since ODROIDC does not have PMU for voltage scaling, only required to
scale the CPU frequencies.

Change-Id: I6e49d7b00fb057776e97fafc3a1dc6daa8494e1e
2014-12-16 02:26:34 +09:00
ckkim
e6d5521aed ODROIDC:audio: Add dummy_codec to support SPDIF
Change-Id: Id35540e7809515d9bf7b1a30fbfbc76775e0b4d9
Signed-off-by: Kevin Kim <ckkim@hardkernel.com>
2014-12-16 02:26:34 +09:00
Dongjin Kim
69582898f6 ODROIDC:input: Removi GPIOKEY device nodes
Change-Id: Ic81139b6a58f04f9e4d8126f0d1b1bf8287a3d45
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:33 +09:00
Dongjin Kim
46b7fb448e ODROIDC: use generic partition tables on MBR
Change-Id: Ia8d4869ff336ad6a2deed92bff2190509507b948
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:33 +09:00
Mauro Ribeiro
c425e6a187 amlogic patch to support: 640x480, 1280x1024 and 1920x1200
Change-Id: Ied4e43e5cb17d24a5abd7d0736c45df74d507bea
2014-12-16 02:26:32 +09:00
Mauro Ribeiro
7f9b6dd937 apply dos2unix to some of the AMLogic files so patch's applies cleanly
Change-Id: I13f9faff4b386773f305f447a882457fa22888a7
2014-12-16 02:26:32 +09:00
ckkim
5134a48cbe mmc/sdhc: Fix clk_div for maximum clock
Change-Id: I5dabc4071c2f1d2d4f4ea550097b990757c74e99
Signed-off-by: Kevin Kim <chkim@hardkernel.com>
(cherry picked from commit 18dc68ff78151320c4a6133f5731448d2ac4f500)
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:32 +09:00
Dongjin Kim
53b0e22817 mtd/nand: Fix build error since NAND feature is disabled
drivers/mtd/nand/nand_base.c:2863:12:
error: ‘nand_flash_detect_onfi’ defined but not used [-Werror=unused-function]
cc1: all warnings being treated as errors

Change-Id: I66511666e9dc561ae8adc06d73aa21b3856d3a37
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
(cherry picked from commit 00abfbee13b5210ea67b6abf4fe5f7dc12a57ee3)
2014-12-16 02:26:31 +09:00
ckkim
39248e3ac4 ODROIDC:usb: USB Hub reset control, OTG VBUS control
Change-Id: Id5656c4f5404864d4536972beed7fa352ba77eb5
Signed-off-by: ckkim <ckkim@hardkernel.com>
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:31 +09:00
Dongjin Kim
d31a826035 dtd: ODROIDC: Remove dummy PMU device nodes
Change-Id: I2cb76fb311398e36bb6f4a5aff14e9c0975d12cd
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:30 +09:00
ckkim
8aace15aa7 ODROIDC: rtc: Supporting RTC hwclock
Change-Id: Iedf453c1bdd01bd1682ec2bce4d2e0148153ece2
(cherry picked from commit f6d103a55073201fad32407a1ff125f4b822d2c8)
2014-12-16 02:26:30 +09:00
Mauro Ribeiro
707fbd40d1 config: disable LCD support, backlight support and other ethernet phy's that we don't use.
Change-Id: I67faa37a58bc77c77ec560027ba50ec24c3cc417

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:29 +09:00
Dongjin Kim
a501bb6ada config:ODROIDC: Kernel porting to ODROIDC board (rev 1.0)
Below hardware/components are deprecated
        PMU (AML1618)
        NAND
        Audio Codec

Change-Id: Ica61b729b1fc8abc8df9bb60d84279c3f0269d85
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:29 +09:00
Mauro Ribeiro
3a17cff0da mali: fixes mali drm in-tree building
Change-Id: I6807fbd278772a8913f767b1de389f3d4258390d

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:28 +09:00
Mauro Ribeiro
2eed5585f2 defconfig: enable Mali DRM
Change-Id: Id7dd38ad04acc60475959a40914ada55795ee5ec

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:28 +09:00
Mauro Ribeiro
7f7e8a67ba defconfig: update defconfig to include drivers/Linux Support
Change-Id: I1a7a986103093d7cd85d8824344e8b3516fb9da4

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:27 +09:00
Dongjin Kim
bc00425c49 config:ODROIDC: Enable a sysfs interface for GPIOs.
Change-Id: If5ad26b1f2619b478f4a025db223267e2e3e69fc
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:27 +09:00
Dongjin Kim
9ba3b552a7 FIXME: this code block removes emmc partitions while kernel boot
Change-Id: Ia8d4869ff336ad6a2deed92bff2190509507b948
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:26 +09:00
Mauro Ribeiro
c6813edb88 ump: fix ump include
Change-Id: Icd1ce71443e4d4968e28826d86b7c5b39d0f9b13

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:26 +09:00
Mauro Ribeiro
c8d7278511 Makefile: those hacks are needed to build AMLogic drivers on newer GCC's
Change-Id: I3f3c3824df8887a32af75b0bbcd5d563de547638

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:25 +09:00
Mauro Ribeiro
d9c74f71b0 mali: fixes ump build
Change-Id: I7431bc059a011c8db122ece1c35749c0593b7b19

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:25 +09:00