Commit Graph

649849 Commits

Author SHA1 Message Date
Chris
6ab89e367c ODROID-N2: Fix otg_host_mode dtbo.
Change-Id: I71bddad59ea15863b96b9881e638971cdac51dc2
2021-06-24 09:28:44 +09:00
Chris
f63751077c ODROID-G12: Add to dtbo for otg.
If you wnat to use VU series with OTG port,
   this dts makes OTG port stayed USB HOST mode.

Change-Id: I216cd9aaf6266ddc15f7913bbccb321b99ed5862
2021-06-22 14:36:44 +09:00
Luke go
99a686df24 ODROID-C4: dts/amlogic: GPIOH_5 is dedicated to GPIO pin header.
Change-Id: I4f34841e66f3273750bd755556f9be8c6d1d4c8f
Signed-off-by: Luke go <sangch.go@gmail.com>
g12_9.0.0_64_20210531
2021-05-26 12:18:51 +09:00
Deokgyu Yang
33849b867b ODROID-COMMON: arm64/dts: Add GPIO pinctrl for PWM pins back
This ensures where the PWM pins located to which GPIO pins so that the
unexpected error showing without this patch once unexport a PWM pin does
not occurs

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I854e2f8d12ded46bb079fb1c6fe80cb1eb82a358
2021-04-28 10:48:23 +09:00
Deokgyu Yang
bfd09d0271 ODROID-C4: arm64/dts: Add uart_AO_B DTBO for the 7pin header
Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: I2d3609283b8dac5db71388e8b6f36dd2cf94da58
2021-04-28 10:05:24 +09:00
Luke go
14183358d7 ODROID: arm64/dts: overlay: add codec_mm_cma alloc-arange.
Change-Id: I48d5e508cc9da25ca46e2d64ea8c5d770a236c2d
2021-04-27 11:38:09 +09:00
Luke go
a9e92b1695 ODROID: arm64/dts: Revert Rearrange the codec cma area.
- It cause codec_mm_cma alloc failes on the ODROID-N2.

Change-Id: I75192bab3c20749a87cf8f7d379d640b0f90b341
2021-04-23 08:45:37 +09:00
Chris
48c86e1b98 Revert "sound/soc/auge: fix HD audio passthrough"
This reverts commit a200d22a27.

Change-Id: I3ffe6a1df69f7e6747425a7c77087d7dc8053ca2
g12_9.0.0_64_20210414
2021-03-29 17:58:18 +09:00
Chris
1a65cbed5a Revert "sound/soc/auge: fix clock for DD+"
This reverts commit 3dabbe6096.

Change-Id: I5384ea8672fabd68697ade9f97767e8d7259c765
2021-03-29 17:58:09 +09:00
Chris
35c08c8c74 Merge "ODROID: Make sure to use CRS B/T module than RealTek combo." into odroidg12-4.9.y-android g12_9.0.0_64_20210219 2021-02-18 16:44:57 +09:00
Luke go
e0da186b57 ODROID: arm64/dts: Rearrange the codec cma area
- Android media server is built for 32 bit. So when using the mmap
function, you can face the memory issue with over the 2GB memory access.
So to avoid memory issues with this problem, I rearranged the codec cma
area address.

Change-Id: If7215175d768123b0156a7e914d250a9c0a92f0f
2021-01-28 12:26:50 +09:00
Chris
7582b32538 ODROID: Make sure to use CRS B/T module than RealTek combo.
If system have a Realtek combo(8821CU) and a CSR BT module at time,
system make sure to use a CSR B/T module.

Bus 001 Device 003: ID 0a12:0001 <- CSR B/T
Bus 001 Device 006: ID 0bda:c820 <- RealTek combo B/T

Change-Id: I082d3966a88cef6dec03cbe07458c07e6ff77cf3
2021-01-28 09:51:58 +09:00
Deokgyu Yang
fba033fa1a ODROID-COMMON: drivers/spi: Revert force64b flag back
To avoid unnecessary 64 bit calculation, which is for DMA, data
swapping is needed to be an option.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ie186a332984246bfb83b128b5771197457f4dd21
2021-01-21 17:26:39 +09:00
Luke go
312db50237 Revert "Revert "ODROID-COMMON: drivers/spi: Set the 64 bits per word by default""
This reverts commit 4389a90ae4.

Change-Id: I7f750bd403e75bb7bf871bca01b4bcfcd0389757
2021-01-21 17:26:38 +09:00
Luke go
4389a90ae4 Revert "ODROID-COMMON: drivers/spi: Set the 64 bits per word by default"
This reverts commit 1cff1ec2e4.

Change-Id: I59f92b783a89be3d9fca5663a929b30ccfa33972
2021-01-21 11:40:51 +09:00
Chris
f5eb5e5cc2 Merge "ODROID: Add multitouch v/pid." into odroidg12-4.9.y-android 2021-01-08 09:20:18 +09:00
Chris
9ad0001a5e ODROID: Add multitouch v/pid.
/* UPERFECT HDMI capacitive Screen */
 #define USB_VENDOR_ID_UPERFECT^I^I0x27c0
 #define USB_DEVICE_ID_UPERFECT^I^I0x0818

Change-Id: I9f0d004c2d88fb02e04e9d3f1a50ae7e94190319
2021-01-06 12:07:40 +09:00
Joy Cho
1b7f42a399 ODROID-COMMON: osd: Adjust vertical osd scaler setting
Change-Id: I4d04daf48321b28a30a561ef30a87cdba2fbc7cc
2021-01-06 10:36:05 +09:00
Luke go
331955368f ODROID-N2: Support mpt partition.
Change-Id: Ic65e9a81ef8371fd42162056808224eaeecc5d23
g12_9.0.0_64_20201221
2020-12-21 11:15:30 +09:00
Luke go
c80c005ab8 ODROID-C4: arch/arm64: audio: re-aline the audio card configuration.
- card 0, device 0 (alsaPORT-spdif) - spdif
- card 0, device 1 (alsaPORT-i2s) - i2s(j4, Line-out), hdmitx
- card 0, device 2 alsaPORT-i2s1) - i2s(j7, hifi)

Change-Id: I4e9f0695766eff665c6490e23f7e6e527602252c
2020-12-11 14:29:45 +09:00
Luke go
0af41814b2 ODROID-C4: arm64/dts: audio: Remove spdifb.
- ODROID-C4 does not use the spdifb.

Change-Id: I326f46c221c6e4ab5593b52de0c47c15ee28e7d5
2020-12-09 17:38:21 +09:00
ckkim
424b298e61 ODROID-COMMON:C4 i2s/line-out error fix
Signed-off-by: ckkim <changkon12@gmail.com>
Change-Id: I86efb023d46dbef769d548be81b7357a015dc0e2
2020-12-09 17:17:20 +09:00
Luke go
cd78762894 ODROID-C4: arm64/dts: audio: Add tdmb (I2S) out.
Change-Id: I56631689a261ac212bc2233188788d27bee892bc
2020-12-04 18:04:02 +09:00
Luke go
49cd68db2d ODROID-COMMON: mpt: Find boot device.
- When mount the mpt, find boot device from the 'boot_device' arguments.

Change-Id: I6d092783f4d081bd803933a8036c0fad2607d82d
2020-12-03 18:15:06 +09:00
Luke go
466ecaa193 ODROID-COMMON: Support MPT partition from block device.
- Before this patch, Only mmc device (eMMC/SD) can use MPT (Multimedia
  Partition Table). So th other devices like ssd, hdd and usb storage
  can't be main storage of the android. To solve this problem, Applied
  new partition support method - mpt partitions.

- It works subset of the msdos partition.

Change-Id: I2a192bf27e75dc040ccc3ea93a79d35c93db8543
2020-12-03 18:15:02 +09:00
Chris
973c3dff8a Merge "Bluetooth: btrtl: Fix an issue that failing to download the FW which size is over 32K bytes" into odroidg12-4.9.y-android 2020-11-09 16:19:04 +09:00
Chris
6ff28c6329 Merge "Bluetooth: btrtl: Remove trailing newline from calls to rtl_dev macros" into odroidg12-4.9.y-android 2020-11-09 16:18:56 +09:00
Chris
a3786624c3 Merge "Bluetooth: btrtl: Remove redundant prefix from calls to rtl_dev macros" into odroidg12-4.9.y-android 2020-11-09 16:18:50 +09:00
Chris
ad8a76fb68 Merge "Bluetooth: btrtl: Add firmware version print" into odroidg12-4.9.y-android 2020-11-09 16:18:42 +09:00
Chris
0447dae959 Merge "Bluetooth: btrtl: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY" into odroidg12-4.9.y-android 2020-11-09 16:18:34 +09:00
Chris
9c82a554d6 Merge "Bluetooth:: btrtl: Add support for RTL8723DU" into odroidg12-4.9.y-android 2020-11-09 16:18:20 +09:00
Chris
2a263e59db Merge "Bluetooth: btrtl: HCI reset on close for Realtek BT chip" into odroidg12-4.9.y-android 2020-11-09 16:18:09 +09:00
Chris
9676daf339 Merge "Bluetooth: btrtl: Restore old logic to assume firmware is already loaded" into odroidg12-4.9.y-android 2020-11-09 16:18:00 +09:00
Chris
d1797cb808 Merge "Bluetooth: btrtl: Add support for RTL8822C with USB interface" into odroidg12-4.9.y-android 2020-11-09 16:17:52 +09:00
Chris
bc30475f2b Merge "Bluetooth: btrtl: Make array extension_sig static, shrinks object size" into odroidg12-4.9.y-android 2020-11-09 16:17:45 +09:00
Chris
c9b7d89405 Merge "Bluetooth: btrtl: Add support for a config filename postfix" into odroidg12-4.9.y-android 2020-11-09 16:17:37 +09:00
Chris
4fcd45ebaf Merge "Bluetooth: btrtl: add support for the RTL8723BS and RTL8723DS chips" into odroidg12-4.9.y-android 2020-11-09 16:17:30 +09:00
Chris
5f6b2db435 Merge "Bluetooth: btrtl: add support for retrieving the UART settings" into odroidg12-4.9.y-android 2020-11-09 16:17:23 +09:00
Chris
9ffc94b44b Merge "Bluetooth: btrtl: Use rtl_dev_err and rtl_dev_info" into odroidg12-4.9.y-android 2020-11-09 16:17:03 +09:00
Chris
5ccd5b3715 Merge "Bluetooth: btrtl: split the device initialization into smaller parts" into odroidg12-4.9.y-android 2020-11-09 16:16:55 +09:00
Chris
5cf810c0f2 Merge "Bluetooth: btrtl: add MODULE_FIRMWARE declarations" into odroidg12-4.9.y-android 2020-11-09 16:16:48 +09:00
Chris
545c8ee16d Merge "Bluetooth: btrtl: Add RTL8723D and RTL8821C devices" into odroidg12-4.9.y-android 2020-11-09 16:16:41 +09:00
Chris
f5d2110753 Merge "Bluetooth: Use bt_dev_err and bt_dev_info when possible" into odroidg12-4.9.y-android 2020-11-09 16:16:33 +09:00
Chris
51f2f8037d Merge "Bluetooth: btrtl: Fix a error code in rtl_load_config()" into odroidg12-4.9.y-android 2020-11-09 16:16:25 +09:00
Chris
bbcbe19935 Merge "Bluetooth: btrtl: Change message for missing config file" into odroidg12-4.9.y-android 2020-11-09 16:16:17 +09:00
Max Chou
cde6144004 Bluetooth: btrtl: Fix an issue that failing to download the FW which size is over 32K bytes
Fix the issue that when the FW size is 32K+, it will fail for the download
process because of the incorrect index.

When firmware patch length is over 32K, "dl_cmd->index" may >= 0x80. It
will be thought as "data end" that download process will not complete.
However, driver should recount the index from 1.

Signed-off-by: Max Chou <max.chou@realtek.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Change-Id: Ic2ea247c2df828df28f535efb61ddf1c5d379367
2020-11-06 17:17:30 +09:00
Alex Lu
7b5b38f352 Bluetooth: btrtl: Remove trailing newline from calls to rtl_dev macros
These printing macros already add a trailing newline, so drop these
unnecessary additional newlines.

Signed-off-by: Alex Lu <alex_lu@realsil.com.cn>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Change-Id: I54df8f119c1927971e4382eaa381981264b68f6a
2020-11-06 17:17:29 +09:00
Alex Lu
9559208a49 Bluetooth: btrtl: Remove redundant prefix from calls to rtl_dev macros
the rtl: or RTL: prefix in the string is pointless. The rtl_dev_* macros
already does that.

Signed-off-by: Alex Lu <alex_lu@realsil.com.cn>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Change-Id: I4d9b975b0f914f08bf556282a3a0140b71225283
2020-11-06 17:17:28 +09:00
Alex Lu
c39dc71767 Bluetooth: btrtl: Add firmware version print
This patch is used to print fw version for debug convenience

Signed-off-by: Alex Lu <alex_lu@realsil.com.cn>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Change-Id: I47c36597134eb6e1cea3f984951de2e76b52a267
2020-11-06 17:17:27 +09:00
Alex Lu
d4e1827a68 Bluetooth: btrtl: Set HCI_QUIRK_SIMULTANEOUS_DISCOVERY
Realtek Bluetooth controllers can do both LE scan and BR/EDR inquiry
at once, need to set HCI_QUIRK_SIMULTANEOUS_DISCOVERY quirk.

Signed-off-by: Alex Lu <alex_lu@realsil.com.cn>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Change-Id: If809ec66e8aebe7ba8e675606f5d6202b981f54e
2020-11-06 17:17:26 +09:00