Commit Graph

128129 Commits

Author SHA1 Message Date
Brian Kim
4a253fdea8 arm64: cpuinfo: Add "Hardware" and "Revision" information in the '/proc/cpuinfo'
Some software such as wiringPi library refers this information in order
to detect hardware.

Change-Id: Ia30543f548a919442798e620beb805426fb7e88a
2017-11-13 14:00:44 +09:00
Joy Cho
59444d8d9b arm64/dts: fix some of rk808 pmic configuration
- set LDO2 as off by default (nc)
- fix vddio's source (vcc_3v0)

Change-Id: Ie0c0741260deadb586bedec895c92eb5705c7d12
2017-11-10 16:14:59 +09:00
Joy Cho
484ef169f8 arm64/dts: remove unused hw components
Change-Id: I979c08ea4bc1f017baf6fa955106944a20c79535
2017-11-10 15:30:09 +09:00
Joy Cho
5d2d0c7f05 arm64/dts,config: remove fairchild type-c controller
Change-Id: Ifa6f4bdeb9508ab8bc2a259013a71948cdd00371
2017-11-10 10:16:00 +09:00
Luke Go
dbf0bde927 arm64/dts: pwm: odroid-n1: enable pwm1.
Change-Id: I0acdb8d7e8d449b0d1a3bc244b4e0478c4c89a81
2017-11-06 12:03:30 +09:00
Luke Go
67deeb3e5a arm64: odroid: not build kernel.img and resource.img
- Now no more need add *.img command when build Image & dtb file.
  Instead, please use 'make Image dtbs' commands.
- rk3399-odroidn1-rev0.dtb

Change-Id: I7693aaca53ff6c9376351a5e0ec119611e146102
2017-11-06 10:25:34 +09:00
Luke Go
33c1805059 arm64/dts: remove mpu6550.
Change-Id: I49a599617e8f165cc58ff73c3548ee889ba5e6e5
2017-11-03 14:15:09 +09:00
Luke Go
ad73ac7858 Merge "arm64/dts: thermal: migrate theraml map." into odroidn1-4.4.y-android 2017-10-31 13:39:18 +09:00
Luke Go
28c4288394 arm64/dts: thermal: migrate theraml map.
- This patch migrate the thermal maps from rk3399.dtsi to
  rk3399-odroidn1.dtsi for fixing the original rk3399 dts file.

Change-Id: I963203916f51b32ff01a14cdfc82a6df3f4fe2cd
2017-10-30 14:23:01 +09:00
Joy Cho
2e04622808 arm64/dts: Fix vin-supply of VDD_CPU_B and VDD_GPU
Change-Id: Icf91288b50c6317b3355cda28991590a3a570f7e
2017-10-20 12:22:04 +09:00
Joy Cho
a714ee6cfb Merge "ARM64/defconfig: Activate CONFIG_POWER_RESET_GPIO_RESTART" into odroidn1-4.4.y-android 2017-10-16 10:34:32 +09:00
Joy Cho
6b365ae952 Merge "ARM64/kernel: use do_kernel_restart in machine_restart by force" into odroidn1-4.4.y-android 2017-10-16 10:34:20 +09:00
Joy Cho
da47456f40 Merge "ARM64/dts: Add gpio-restart devicetree to handle cold reset" into odroidn1-4.4.y-android 2017-10-16 10:34:08 +09:00
Joy Cho
7b7543ce8d ARM64/defconfig: Activate CONFIG_POWER_RESET_GPIO_RESTART
Change-Id: I1b1a1205f617872ecc34598345640fcdcba83438
2017-10-15 13:31:44 +09:00
Joy Cho
c51fd83fbc Merge "ODROID-N1: remove pwm key wakeup event of RKPM" into odroidn1-4.4.y-android 2017-10-15 13:20:39 +09:00
Joy Cho
5eb0f48ee1 ARM64/kernel: use do_kernel_restart in machine_restart by force
- to use restart_handler.notifier_call of drivers

Change-Id: I6b55d83f0e6010fc8c9350d07f137f1983aaa678
2017-10-15 13:13:51 +09:00
Joy Cho
486d2da990 ARM64/dts: Add gpio-restart devicetree to handle cold reset
This commit is to activate cold reset by handling OTP_OUT_H
and it makes RK808 to enter cold reset status.
- OTP_OUT_H : GPIO1_A6 (Active High)

Change-Id: I2e25fd76160a10bf8768fa14aa8a625d8cef7c5a
2017-10-15 13:12:53 +09:00
joy
94e352d0fd ARM64/defconfig: Introduce a config, CONFIG_PLAT_RK3399_ODROIDN1
Change-Id: I1b8bb3b210f16ae63bebef024a512d644ac2c75e
2017-10-02 09:38:36 +09:00
Joy Cho
cd1e520a13 odroid-sysfs: add odroid-sysfs including boot mode detection
Change-Id: I77954dde91d2f85bc57d00173b79a1922cbaf2bf
2017-09-28 18:09:39 +09:00
Joy Cho
2f424f09f3 arm64/dts: adjust voltage for VDD_CPU_B and VDD_CPU_L
in case of the max frequency set, increase operation voltage
- 1.992 GHz : 1.25V -> 1.3V
- 1.512 GHz : 1.125V -> 1.2V

Change-Id: I6612502c2bac3ba1b80ec751a585fc7b3580ad95
2017-09-27 10:16:31 +09:00
Chris Kim
a9374bbcf7 Merge "ODROID-N1: Add si1132 si702x drivres." into odroidn1-4.4.y-android 2017-09-25 15:32:27 +09:00
Chris Kim
54f7985911 Merge "ODROID: touch: Add D-WAV Multitouch driver." into odroidn1-4.4.y-android 2017-09-25 15:32:22 +09:00
Joy Cho
f6c3aade0c Merge "arm64/defconfig: activate LEDS_TRIGGER_HEARTBEAT to support alive LED (blue)" into odroidn1-4.4.y-android 2017-09-25 14:53:58 +09:00
Joy Cho
55214982ef Merge "arm64/dts: add alive LED (blue) operation" into odroidn1-4.4.y-android 2017-09-25 14:53:45 +09:00
joy
2fe028f465 arm64/dts: add alive LED (blue) operation
Change-Id: I7032995552164f71320c2a1f7954d4bbef92c6f9
2017-09-25 14:17:10 +09:00
Joy Cho
4c4f37fc59 Merge "arm64/dts: adjust pwm duty for cooling-levels" into odroidn1-4.4.y-android 2017-09-25 14:15:33 +09:00
codewalker
3b75e7b72d ODROID-N1: Add si1132 si702x drivres.
CONFIG_SI1132=m
CONFIG_SI702X=m

Conflicts:
	arch/arm64/configs/odroidc2_defconfig

Change-Id: I6899d816f302de8069b5fd0850f16ad7dab8e848
2017-09-25 13:56:42 +09:00
codewalker
fbcdc1ee2a ODROID: touch: Add D-WAV Multitouch driver.
Conflicts:
	arch/arm64/configs/odroidc2_defconfig
	drivers/hid/hid-core.c
	drivers/input/touchscreen/Kconfig
	drivers/input/touchscreen/Makefile

Change-Id: Ia1c8c29d3f69c6ba5d630279c4cc98119b68ab71
2017-09-25 13:56:31 +09:00
joy
b43593812e arm64/defconfig: activate LEDS_TRIGGER_HEARTBEAT to support alive LED (blue)
Change-Id: I7f1e43e9ebb4a7c8a3c43a113e8c36be3b5a11d3
2017-09-23 13:04:59 +09:00
Joy Cho
fe596c310e Merge "ARM64/dts: add a custom cluster0/1_opp table including 1.5GHz/1.9GHz" into odroidn1-4.4.y-android 2017-09-22 17:38:26 +09:00
Joy Cho
342b115de1 arm64/dts: adjust pwm duty for cooling-levels
- center frequency : 25 kHz
- adjust cooling-levels

Change-Id: Idc58e1a961501207b772bf3c5d1f1fc3a75cbe8e
2017-09-22 17:33:38 +09:00
Luke Go
b4a9059082 ARM64: dts: rk3399: Changing thermal trottling maps.
- Changing pwm-fan active thermal point to avoid early activation of fan.

Change-Id: I09f04e46201ee13c64d9e32b7aefee0a251615d0
2017-09-21 17:15:58 +09:00
Joy Cho
ab46941585 ARM64/dts: add a custom cluster0/1_opp table including 1.5GHz/1.9GHz
Change-Id: I22e45f630f4aa86420f12c607959ea5b24b1ddff
2017-09-21 15:21:58 +09:00
Brian Kim
7a5722e4e8 ARM64: dts: rk3399-odroidn1-rev0: Changing mac related clocks
This patch is to change for the mac related clocks, PLL_NPLL and
ACLK_GMAC. PLL_NPLL is the parent clock of 'clk_gmac'.

- PLL_NPLL	: 600000000 -> 1000000000
- ACLK_GMAC	: 400000000 -> 200000000

Their new clocks are in order to enable ethernet device in ODROID-N1.
The new clock values were referenced from previous 6.0 SDK.

Change-Id: I7fa784e4486dfde43a48b5d159f41edc7e472975
2017-09-20 09:07:31 +09:00
Luke Go
a1fc28c4ee ODROID-N1: thermal: Changed theraml throttling points.
Change-Id: Ic6877d283d4217fe28e91a8923be24b98e88d8e7
2017-09-19 17:34:06 +09:00
Luke Go
ecb52cf6b2 Merge changes Ie397539a,I1c6c88da,I96f6cf92,I1594305f,I6f5bf0f6, ... into odroidn1-4.4.y-android
* changes:
  thermal: rockchip: fixes the conversion table
  thermal: rockchip: handle set_trips without the trip points
  thermal: rockchip: optimize the conversion table
  thermal: rockchip: fixes invalid temperature case
  thermal: rockchip: don't pass table structs by value
  ODROID-N1: thermal: changed thermal policy and map.
  ODROID-N1: enable hwmon pwm-fan with pwm0
2017-09-19 17:12:37 +09:00
Joy Cho
fcecff2091 ODROID-N1: remove pwm key wakeup event of RKPM
Change-Id: I5a51996237ce48909617fdeba19b2c919144ae84
2017-09-19 15:18:42 +09:00
Brian Kim
2383cf459b ARM64: dts: rk3399-odroidn1-rev0: Changing mac related clocks
This patch is to change for the mac related clocks, PLL_NPLL and
ACLK_GMAC. PLL_NPLL is the parent clock of 'clk_gmac'.

- PLL_NPLL	: 600000000 -> 1000000000
- ACLK_GMAC	: 400000000 -> 200000000

Their new clocks are in order to enable ethernet device in ODROID-N1.
The new clock values were referenced from previous 6.0 SDK.

Change-Id: I41a0a3b6ecc82d8485b6b0167e6b1ae8789192b6
2017-09-15 11:02:32 +09:00
Luke Go
b2f39cb06f ODROID-N1: thermal: changed thermal policy and map.
- policy : power_allocator -> step_wise.
- Added thermal map to fan, big and little clusters.

Change-Id: I1195be00aed7e879b1fca74f2275c047573b3f08
2017-09-14 19:08:56 +09:00
Joy Cho
059cc220ac ODROID-N1: enable hwmon pwm-fan with pwm0
Change-Id: I0f9f48d7b162c90089cc2e75f821567f5cc12532
2017-09-14 17:56:00 +09:00
Joy Cho
2f555ba735 ODROID-N1: Fix HDMI port configuration
Change-Id: I96b25de523baba17b8818ca0b8b56f2e1060e59d
2017-09-07 20:35:21 +09:00
Luke Go
a3dab67c17 Merge "ODROID-N1: Using Linux Bluetooth device drivers." into odroidn1-4.4.y-android 2017-08-11 17:54:24 +09:00
Joy Cho
f9e7fc8fab ODROID-N1: Adjust sound card configruation for N1 HW
- remove spdif sound card
- remove realtek rt5651 components

Change-Id: I4d36c7b6513ac838046c90094e4602419d365a73
2017-08-11 12:05:42 +09:00
Luke Go
84cbef58a3 ODROID-N1: Using Linux Bluetooth device drivers.
- Using Linux Bluetooth device drivers to use USB Bluetooth dongles.

Change-Id: I1dc1584518f95b1a65121813327acae45a6a50e0
2017-08-10 14:05:45 +09:00
Joy Cho
cbcb3d3075 ODROID-N1: remove sdio0 on N1 HW
Change-Id: I30107be62522c6dde4c3e1c53eb396cd75a511f9
2017-08-02 15:04:54 +09:00
codewalker
9e43f82915 ODROID-N1: Add wifi(RT5572, RT5370).
Change-Id: Iacf7963e4db21e173dacb0ecd7d46dcbeaf60143
2017-07-25 18:44:09 +09:00
codewalker
159c21e9c9 ODROID-N1: Support wifi(rtl8192, 8812au).
Change-Id: Ifd6341fc1a145a57bb1e7397f8bbe360728b85fb
2017-07-25 17:49:49 +09:00
codewalker
6cab03aaf9 ODROID-N1: Update odroidn1_defconfig.
Change-Id: I9752de6006bf98e9612f78ef897f26bae74318df
2017-07-25 17:45:52 +09:00
Joy Cho
aa1f9a2377 ODROID-N1: Change dr_mode of USB3 block 0 as a host mode
Change-Id: Id87d2033746643147905485e1fb1973876419f30
2017-07-24 13:05:58 +09:00
Joy Cho
e95c3fd240 ODROID-N1: Change pci max-link-speed to Gen2 (5GT/s)
Change-Id: I1ace152a3df4b15d23a4b8137c48568fc59a8d6b
2017-07-19 10:58:44 +09:00