Commit Graph

1219634 Commits

Author SHA1 Message Date
Yang Deokgyu
4f04a59a64 ODROID-XU4: drivers/fbtft: Add fb_hktft32 module for Hardkernel 3.2 inch TFT LCD
No longer use flexfb, fbtft_device that is deprecated since kernel 5.4.

Signed-off-by: Yang Deokgyu <secugyu@gmail.com>
Change-Id: Iebd014360f90eab5210722102d54c6169be5e28e
2024-01-30 13:50:17 -03:00
Yang Deokgyu
f0299b4320 ODROID-XU4: drivers/fbtft: Add fb_hktft35 module for Hardkernel 3.5 inch TFT LCD
No longer use flexfb, fbtft_device that is deprecated since kernel 5.4.

Signed-off-by: Yang Deokgyu <secugyu@gmail.com>
Change-Id: Iae252c64b91b2eabe97eb3aace12d7c4b98801c5
2024-01-30 13:50:11 -03:00
MastaG
18882db4a0 MEMEKA: fix ODROID-XU3 headphone-jack volume 2024-01-30 13:50:04 -03:00
Marian Mihailescu
b786242eb0 MEMEKA: media: s5p-mfc: stop streaming before releasing queues
If streaming is active when the MFC device is closed, it will generate an IOMMU page-fault.

Signed-off-by: Marian Mihailescu <mihailescu2m@gmail.com>
2024-01-30 13:49:57 -03:00
Marian Mihailescu
d4b16fca46 MEMEKA: media: s5p-mfc: copy timestamp and timecode in encoder output
Signed-off-by: Marian Mihailescu <mihailescu2m@gmail.com>
2024-01-30 13:49:49 -03:00
Marian Mihailescu
21375aa2d9 MEMEKA: media: exynos-gsc: fix v4l2 SELECTION api
Signed-off-by: Marian Mihailescu <mihailescu2m@gmail.com>
2024-01-30 13:49:41 -03:00
Mauro (mdrjr) Ribeiro
fb1b8454c1 Revert "WIP: ARM/dma-mapping: implement ->alloc_noncontiguous"
This reverts commit 768d668ed0.
2024-01-30 13:49:32 -03:00
memeka
2e2e1f6f21 MEMEKA: ARM: dma-mapping: increase DMA coherent pool size to 2M 2024-01-30 13:49:24 -03:00
Pavel Golikov
9cd5a4c47d WIP: ARM/dma-mapping: implement ->alloc_noncontiguous
Implement support for allocating a non-contiguous DMA region. The
implementation is based on the ma-iommu driver.

Signed-off-by: Pavel Golikov <Paullo612@ya.ru>
2024-01-30 13:49:17 -03:00
Christian Hewitt
76977620c7 WIP: media: s5p-mfc: use EAGAIN not EIO for MFCINST_ERROR
Patch from https://forum.odroid.com/viewtopic.php?p=319025&sid=1fbdb9d8f7ea0ebee30dc8824f76d308#p319025

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
2024-01-30 13:49:05 -03:00
Pavel Golikov
bfd383cd5f WIP: media: s5p-mfc: Allow cache hints for queues
Passing V4L2_MEMORY_FLAG_NON_COHERENT from userspace significantly
improves video rendering performance on Exynos 5422 (Odroid XU4).

Signed-off-by: Pavel Golikov <Paullo612@ya.ru>
2024-01-30 13:48:57 -03:00
Christian Hewitt
6ee7f6c619 WIP: arm: dts: exynos5422: HC1/XU3/XU4 model name is ODROID not Odroid
Cosmetic change to model and audio card name for HC1/XU3/XU4 to
put ODROID in capitals (as per Hardkernel branding).

Signed-off-by: Christian Hewitt <christianshewitt@gmail.com>
2024-01-30 13:48:46 -03:00
Pavel Golikov
0cd454a543 WIP: soc: samsung: pm_domains: Bring back old driver implementation
Using new implementation decreases Mali GPU performance significantly
(with both KBase and Panfrost drivers).

Signed-off-by: Pavel Golikov <Paullo612@ya.ru>
2024-01-30 13:48:25 -03:00
Pavel Golikov
6ba8d4547e WIP: iommu/io-pgtable-arm: Fix coherency support for Mali LPAE
Mali T628r0p1 which may be found in Samsung Exynos 5422 SOC is
definitely not dma coherent, and it is not happy with PTE_SH_OS bit set
by default in commit 728da60da7 ("iommu/io-pgtable-arm: Support
coherency for Mali LPAE"). Use PTE_SH_IS by default for non dma
coherent Mali GPUs.

Signed-off-by: Pavel Golikov <Paullo612@ya.ru>
2024-01-30 13:47:46 -03:00
Pavel Golikov
29c910ca35 WIP: media: videobuf2: always enable V4L2_MEMORY_FLAG_NON_COHERENT
Always enable V4L2_MEMORY_FLAG_NON_COHERENT for all V4L queues.

Signed-off-by: Pavel Golikov <Paullo612@ya.ru>
2024-01-30 13:47:36 -03:00
Dongwon Kim
061cca15e3 HACK: drm: set DRM_RENDER_ALLOW flag on DRM_IOCTL_MODE_CREATE/DESTROY_DUMB ioctls
Render clients should be able to create/destroy dumb object to import
and use it as render buffer in case the default DRM device is different
from the render device (i.e. kmsro).

Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
2024-01-30 13:47:20 -03:00
Mauro (mdrjr) Ribeiro
d0181ce441 drm/exynos/mixer: never blend the base layer
On Exynos there is a solid color plane that is logically below all the other display planes.
This causes display artifacts due to alpha. The patch disables blending the base plane with
the solid color plane (no alpha).

Reviewed-by: memeka <mihailescu2m@gmail.com>
Signed-off-by: memeka <mihailescu2m@gmail.com>
2024-01-30 13:46:54 -03:00
Mauro (mdrjr) Ribeiro
a3f111de3a gpu/drm: exynos: add new pixel clocks and edid firmware 2024-01-30 13:31:31 -03:00
Mauro (mdrjr) Ribeiro
432b46a43c gpu/drm: exynos: add control of dvi mode via boot parameter 2024-01-30 13:31:21 -03:00
Mauro (mdrjr) Ribeiro
2e727665f6 ODROID: Mali: prepare for XU4 Mali GPU Driver 2024-01-30 13:10:40 -03:00
Mauro (mdrjr) Ribeiro
8373bb764d ODROID: config: update defconfig 2024-01-29 16:50:01 -03:00
Mauro (mdrjr) Ribeiro
9d75fef7b5 ODROID: overlays: correct panfrost overlay 2024-01-29 13:55:39 -03:00
Mauro (mdrjr) Ribeiro
1981dd5364 ODROID: overlays: rename all overlays to comply with kernel 6.6 2024-01-29 13:01:37 -03:00
Mauro (mdrjr) Ribeiro
422400155c ODROID: config: update defconfig 2024-01-29 12:42:51 -03:00
Dongjin Kim
09cf2171f9 ODROID-COMMON: scripts: fix to install dts/<soc>/overlays/<model>/*.dtbo
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ib62a6e2aae9e2eaa7a4d3d3aa829400c742f9ce1
2024-01-25 16:53:20 -03:00
Dongjin Kim
6121c553f5 ODROID-COMMON: add '--symbol' to device tree compiler
This change is to create device tree node '__symbol__' to support device
treey overlay features, *.dtbo won't be applied without this node.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I3b6102c925e871947f16e7c570563011101f5f86
2024-01-25 16:53:12 -03:00
Mauro (mdrjr) Ribeiro
9e70eec6a2 drivers/gpio: add back old gpio features 2024-01-25 16:30:02 -03:00
Mauro (mdrjr) Ribeiro
a513d25c43 ODROID: GOU: Add headphone detect switch 2024-01-25 16:21:51 -03:00
Mauro (mdrjr) Ribeiro
ce7e911d7d ODROID-N2: arm64/dts: add panfrost overlay 2024-01-25 16:21:12 -03:00
Dongjin Kim
201802a273 ODROID-N2L: arm64/dts: add 'meson64_odroidn2l.dtb' forks from 'meson-g12b-odroid-n2l.dts'
Change-Id: Iac89ae190771d460446ae2c38558de75ad3b89ea
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2024-01-25 16:20:16 -03:00
Dongjin Kim
56bd2a08e5 arm64/dts: meson: Add minimal support for Hardkernel ODROID-N2L
ODROID-N2L is a variant SBC in small form factor and some peripherals
are removed from ODROID-N2PLUS based on S922X SoC.

  - On-board ethernet is removed
  - On-board RTC is removed
  - USB 3.0 hub is removed, so one USB 2.0 and one USB 3.0 host ports
    are available
  - Huge heatsink is replaced with 40x40mm heatsink, 5V active heatsink
    is recommended or a tall passive sink is optional
  - 3.5mm earjack is removed
  - IR remote receiver is removed
  - MIPI DSI port is added new but not tested with upstream kernel yet

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I8dad585ade145d1bf9a2ffde22d89bff6b8e01bc
2024-01-25 16:20:08 -03:00
Dongjin Kim
4f45b3e201 Revert "arm64: dts: meson-sm1-odroid-hc4: disable unused USB PHY0"
This reverts commit 703e84d661.

Change-Id: I99dc0b936c2922f4ca8072978d6bc7f84c821b2b
2024-01-25 16:17:45 -03:00
steve.jeong
f8e5099afe ODROID-N2/C4: dtb/dtbo: Add spi overlay
Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: Ice09457178d84b2f7e98c0ad6525476b835e537b
2024-01-25 16:17:33 -03:00
Dongjin Kim
6f901580b7 arm64: dts: meson-sm1-odroid: Add i2c aliases
Change-Id: Idb380505c0a0d1e52cc2e086d765ac6f81c96372
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2024-01-25 16:17:26 -03:00
Dongjin Kim
600c082256 ODROID-C4: arm64/dts: add new display device tree for ODROID-VU7C
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I56e7fdd82981d8006b8016dcf1f5e397915f6f95
2024-01-25 16:17:19 -03:00
Dongjin Kim
11d298ba48 ODROID-N2/C4: arm64/dts: add PPS client device trees
Two device tree overlays are added to support GPS PPS client through
GPIO pin header #11 and #12 as 'pps-gpio_p11.dtbo' and
'pps-gpio_p12.dtbo' respectively.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I67c0a1750de0885e27b8545fab8acbd4ef0b7ef9
2024-01-25 16:17:06 -03:00
Lee Seungcheol
46dda4aaa6 ODROID-C4: arm64/dts: add pin mux for UART_AO_B
Change-Id: Ic7607e482b66a226667c9a62f613ec1cc125ed72
Signed-off-by: Lee Seungcheol <john.lee@hardkernel.com>
2024-01-25 16:16:58 -03:00
Lee Seungcheol
1b2e25cdba ODROID-N2: arm64/dts: make I2C0, I2C1 disabled by default and add DTBOs of them
Change-Id: I040ac27ebe99e3e077c5229cf372380c0204d444
Signed-off-by: Lee Seungcheol <john.lee@hardkernel.com>
2024-01-25 16:16:50 -03:00
Lee Seungcheol
80bff1a7e3 ODROID-C4: arm64/dts: make I2C0, I2C1 disabled by default and add DTBOs of them
Change-Id: I7ac97c6400bc75b72865593e0ca8cfd2b9fe7ac5
Signed-off-by: Lee Seungcheol <john.lee@hardkernel.com>
2024-01-25 16:16:41 -03:00
Deokgyu Yang
9bca733ace ODROID-C4: arm64/dts: Make UART_A disabled by default and add UART DTBOs
Since UART_A can be enabled by DTBO now.

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ie08f49bafc7fab96879469deeaa53b5d7c9a9dfa
2024-01-25 16:16:34 -03:00
Dongjin Kim
7f4ef4ff69 ODROID-C4: arm64/dts: add UART aliases for 'UART_<A/B/C/AO_B>'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Signed-off-by: Lee Seungcheol <john.lee@hardkernel.com>
Change-Id: Ia1b2f131368a72b3f52935a95e6b96e0b198221f
2024-01-25 16:16:27 -03:00
Dongjin Kim
ce489c3762 ODROID-N2/C4/HC4: arm64/dts: remove unused interrupt config for ethernet
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ic78316f40809e88536a08852fe2dd66e9f345f33
2024-01-25 16:16:20 -03:00
Dongjin Kim
1beb61e5e9 ODROID-N2: arm64/dts: pwmfan: add new temp to trigger
This device overlay patch is to set lower temperature that triggers
cooler fan at 45 degress celsius rather than 65 degrees celsius.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ifb1cfa5a06b2c7b25f9e14be5c9b800e16e10ce2
2024-01-25 16:16:12 -03:00
Dongjin Kim
e0384e4e3d (FIXME) ODROID-N2: arm64/dts: add missing 'spicc0' and 'uart_B'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ie6dd9a692d8c44f1b44eb690f1f792d0a454edeb
2024-01-25 16:16:01 -03:00
Dongjin Kim
45697e0bb0 ODROID-N2/N2Plus: arm64/dts: add full fan speed device tree overlay
Change-Id: Ie2918384cf4c85a5650297ad984ec3c396ba5a24
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2024-01-25 16:15:24 -03:00
Dongjin Kim
f84a7fcb84 ODROID-N2/N2Plus: fix I2C bus hardware properties
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ic68c578232cd080c980fb22d4e7d490997256592
2024-01-25 16:14:28 -03:00
Dongjin Kim
1faaa20274 ODROID-N2/C4: arm64/dts: add device tree overlay support
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: I325baa8ec879f6a004049d1fe0a8d79fdd5542cc
2024-01-25 16:13:18 -03:00
ckkim
b4d4630b3c ODROID-N2/C4: arm64:dts: reboot/power off support for ODROID-N2/N2Plus/C4
Signed-off-by: ckkim <changkon12@gmail.com>
Change-Id: I22316a4ab896a0d8511d2cb2c34ac00360bb44d1
2024-01-25 16:13:11 -03:00
Dongjin Kim
1dc7467bfb ODROID-N2/C4/HC4: arm64/dts: add new clock 1GHz for GPU
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ic1f4bb11a13ec003f35700d03c44f5b3e4f19a13
2024-01-25 16:12:48 -03:00
Dongjin Kim
26b10761e8 ODROID-N2/C4/HC4: arm64/dts: remove property 'resets' and 'reset-names'
Having this properties in the node 'ethmac', it does cause to load wrong
MAC address.

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Change-Id: Ifca39bb60d4cbb6586ef9a8789f6dd243352dc1e
2024-01-25 16:12:39 -03:00