diff --git a/repos/base-hw/board/imx8q_evk/arch b/repos/base-hw/board/imx8q_evk/arch deleted file mode 100644 index ae398b9a2e..0000000000 --- a/repos/base-hw/board/imx8q_evk/arch +++ /dev/null @@ -1 +0,0 @@ -arm_v8a diff --git a/repos/base-hw/board/imx8q_evk/image_link_address b/repos/base-hw/board/imx8q_evk/image_link_address deleted file mode 100644 index 11cc34e4d2..0000000000 --- a/repos/base-hw/board/imx8q_evk/image_link_address +++ /dev/null @@ -1 +0,0 @@ -0x40010000 diff --git a/repos/base-hw/lib/mk/spec/arm_v8/bootstrap-hw-imx8q_evk.mk b/repos/base-hw/lib/mk/spec/arm_v8/bootstrap-hw-imx8q_evk.mk deleted file mode 100644 index 3d601cb8b7..0000000000 --- a/repos/base-hw/lib/mk/spec/arm_v8/bootstrap-hw-imx8q_evk.mk +++ /dev/null @@ -1,14 +0,0 @@ -REP_INC_DIR += src/bootstrap/board/imx8q_evk - -SRC_CC += bootstrap/board/imx8q_evk/platform.cc -SRC_CC += bootstrap/spec/arm/gicv3.cc -SRC_CC += bootstrap/spec/arm_64/cortex_a53_mmu.cc -SRC_CC += lib/base/arm_64/kernel/interface.cc -SRC_CC += spec/64bit/memory_map.cc -SRC_S += bootstrap/spec/arm_64/crt0.s - -NR_OF_CPUS = 4 - -vpath spec/64bit/memory_map.cc $(call select_from_repositories,src/lib/hw) - -include $(call select_from_repositories,lib/mk/bootstrap-hw.inc) diff --git a/repos/base-hw/lib/mk/spec/arm_v8/core-hw-imx8q_evk.mk b/repos/base-hw/lib/mk/spec/arm_v8/core-hw-imx8q_evk.mk deleted file mode 100644 index 31231e27ee..0000000000 --- a/repos/base-hw/lib/mk/spec/arm_v8/core-hw-imx8q_evk.mk +++ /dev/null @@ -1,19 +0,0 @@ -REP_INC_DIR += src/core/board/imx8q_evk -REP_INC_DIR += src/core/spec/arm/virtualization - -# add C++ sources -SRC_CC += kernel/vm_thread_on.cc -SRC_CC += spec/arm/gicv3.cc -SRC_CC += spec/arm_v8/virtualization/kernel/vm.cc -SRC_CC += spec/arm/virtualization/platform_services.cc -SRC_CC += spec/arm/virtualization/vm_session_component.cc -SRC_CC += vm_session_common.cc -SRC_CC += vm_session_component.cc - -#add assembly sources -SRC_S += spec/arm_v8/virtualization/exception_vector.s - -NR_OF_CPUS = 4 - -# include less specific configuration -include $(call select_from_repositories,lib/mk/spec/arm_v8/core-hw.inc) diff --git a/repos/base-hw/recipes/src/base-hw-imx8q_evk/content.mk b/repos/base-hw/recipes/src/base-hw-imx8q_evk/content.mk deleted file mode 100644 index 31319dcaf1..0000000000 --- a/repos/base-hw/recipes/src/base-hw-imx8q_evk/content.mk +++ /dev/null @@ -1 +0,0 @@ -include $(GENODE_DIR)/repos/base-hw/recipes/src/base-hw_content.inc diff --git a/repos/base-hw/recipes/src/base-hw-imx8q_evk/hash b/repos/base-hw/recipes/src/base-hw-imx8q_evk/hash deleted file mode 100644 index 8ae3eeef75..0000000000 --- a/repos/base-hw/recipes/src/base-hw-imx8q_evk/hash +++ /dev/null @@ -1 +0,0 @@ -2021-10-13 e23737af156d1967b1d59c690b62f5538856a85c diff --git a/repos/base-hw/recipes/src/base-hw-imx8q_evk/used_apis b/repos/base-hw/recipes/src/base-hw-imx8q_evk/used_apis deleted file mode 100644 index ed9b772565..0000000000 --- a/repos/base-hw/recipes/src/base-hw-imx8q_evk/used_apis +++ /dev/null @@ -1,2 +0,0 @@ -base-hw -base diff --git a/repos/base-hw/src/bootstrap/board/imx8q_evk/board.h b/repos/base-hw/src/bootstrap/board/imx8q_evk/board.h deleted file mode 100644 index 4dc5f6de44..0000000000 --- a/repos/base-hw/src/bootstrap/board/imx8q_evk/board.h +++ /dev/null @@ -1,34 +0,0 @@ -/* - * \brief Board driver for bootstrap - * \author Stefan Kalkowski - * \date 2019-06-12 - */ - -/* - * Copyright (C) 2019 Genode Labs GmbH - * - * This file is part of the Genode OS framework, which is distributed - * under the terms of the GNU Affero General Public License version 3. - */ - -#ifndef _BOOTSTRAP__SPEC__IMX8Q_EVK__BOARD_H_ -#define _BOOTSTRAP__SPEC__IMX8Q_EVK__BOARD_H_ - -#include -#include -#include -#include - -namespace Board { - - using namespace Hw::Imx8q_evk_board; - - struct Cpu : Hw::Arm_64_cpu - { - static void wake_up_all_cpus(void*); - }; - - using Hw::Pic; -}; - -#endif /* _BOOTSTRAP__SPEC__IMX8Q_EVK__BOARD_H_ */ diff --git a/repos/base-hw/src/bootstrap/board/imx8q_evk/platform.cc b/repos/base-hw/src/bootstrap/board/imx8q_evk/platform.cc deleted file mode 100644 index cf5bd10b2d..0000000000 --- a/repos/base-hw/src/bootstrap/board/imx8q_evk/platform.cc +++ /dev/null @@ -1,231 +0,0 @@ -/* - * \brief Platform implementations specific for base-hw and i.MX8Q EVK - * \author Stefan Kalkowski - * \date 2019-06-12 - */ - -/* - * Copyright (C) 2019 Genode Labs GmbH - * - * This file is part of the Genode OS framework, which is distributed - * under the terms of the GNU Affero General Public License version 3. - */ - -#include - - -/** - * Leave out the first page (being 0x0) from bootstraps RAM allocator, - * some code does not feel happy with addresses being zero - */ -Bootstrap::Platform::Board::Board() -: - early_ram_regions(Memory_region { ::Board::RAM_BASE, ::Board::RAM_SIZE }), - late_ram_regions(Memory_region { }), - core_mmio(Memory_region { ::Board::UART_BASE, ::Board::UART_SIZE }, - Memory_region { ::Board::Cpu_mmio::IRQ_CONTROLLER_DISTR_BASE, - ::Board::Cpu_mmio::IRQ_CONTROLLER_DISTR_SIZE }, - Memory_region { ::Board::Cpu_mmio::IRQ_CONTROLLER_REDIST_BASE, - ::Board::Cpu_mmio::IRQ_CONTROLLER_REDIST_SIZE }) -{ - ::Board::Pic pic {}; - - static volatile unsigned long iomux_values[][2] { - // IOMUXC - { 0x30330064, 0x6 }, - { 0x30330140, 0x0 }, - { 0x30330144, 0x0 }, - { 0x30330148, 0x0 }, - { 0x3033014C, 0x0 }, - { 0x30330150, 0x0 }, - { 0x30330154, 0x0 }, - { 0x30330158, 0x0 }, - { 0x30330180, 0x2 }, - { 0x30330184, 0x0 }, - { 0x30330188, 0x0 }, - { 0x3033018C, 0x0 }, - { 0x30330190, 0x0 }, - { 0x30330194, 0x0 }, - { 0x30330198, 0x0 }, - { 0x3033019C, 0x0 }, - { 0x303301A0, 0x0 }, - { 0x303301A4, 0x0 }, - { 0x303301A8, 0x0 }, - { 0x303301AC, 0x0 }, - { 0x303301BC, 0x0 }, - { 0x303301C0, 0x0 }, - { 0x303301C4, 0x0 }, - { 0x303301C8, 0x0 }, - { 0x303301E8, 0x0 }, - { 0x303301EC, 0x0 }, - { 0x303301FC, 0x1 }, - { 0x30330200, 0x1 }, - { 0x3033021C, 0x10 }, /* Enable SION I2c2_scl */ - { 0x30330220, 0x10 }, /* Enable SION I2c2_sda */ - { 0x30330224, 0x10 }, - { 0x30330228, 0x10 }, - { 0x3033022C, 0x12 }, - { 0x30330230, 0x12 }, - { 0x30330244, 0x0 }, - { 0x30330248, 0x0 }, - { 0x3033029C, 0x19 }, - { 0x303302A4, 0x19 }, - { 0x303302A8, 0x19 }, - { 0x303302B0, 0xD6 }, - { 0x303302C0, 0x4F }, - { 0x303302C4, 0x16 }, - { 0x303302CC, 0x59 }, - { 0x30330308, 0x9F }, - { 0x3033030C, 0xDF }, - { 0x30330310, 0xDF }, - { 0x30330314, 0xDF }, - { 0x30330318, 0xDF }, - { 0x3033031C, 0xDF }, - { 0x30330320, 0xDF }, - { 0x30330324, 0xDF }, - { 0x30330328, 0xDF }, - { 0x3033032C, 0xDF }, - { 0x30330334, 0x9f }, - { 0x3033033C, 0x83 }, - { 0x30330340, 0xC3 }, - { 0x30330344, 0xC3 }, - { 0x30330348, 0xC3 }, - { 0x3033034C, 0xC3 }, - { 0x30330350, 0xC3 }, - { 0x30330368, 0x59 }, - { 0x30330370, 0x19 }, - { 0x3033039C, 0x19 }, - { 0x303303A0, 0x19 }, - { 0x303303A4, 0x19 }, - { 0x303303A8, 0xD6 }, - { 0x303303AC, 0xD6 }, - { 0x303303B0, 0xD6 }, - { 0x303303B4, 0xD6 }, - { 0x303303B8, 0xD6 }, - { 0x303303BC, 0xD6 }, - { 0x303303C0, 0xD6 }, - { 0x303303E8, 0xD6 }, - { 0x303303EC, 0xD6 }, - { 0x303303F0, 0xD6 }, - { 0x303303F4, 0xD6 }, - { 0x303303F8, 0xD6 }, - { 0x303303FC, 0xD6 }, - { 0x30330400, 0xD6 }, - { 0x30330404, 0xD6 }, - { 0x30330408, 0xD6 }, - { 0x3033040C, 0xD6 }, - { 0x30330410, 0xD6 }, - { 0x30330414, 0xD6 }, - { 0x30330424, 0xD6 }, - { 0x30330428, 0xD6 }, - { 0x3033042C, 0xD6 }, - { 0x30330430, 0xD6 }, - { 0x30330450, 0xD6 }, - { 0x30330454, 0xD6 }, - { 0x30330460, 0x19 }, - { 0x30330464, 0x49 }, - { 0x30330468, 0x49 }, - { 0x3033046C, 0x16 }, - { 0x30330484, 0x67 }, /* I2c2_scl pullup resistor 40 ohm */ - { 0x30330488, 0x67 }, /* I2c2_sda pullup resistor 40 ohm */ - { 0x3033048C, 0x67 }, - { 0x30330490, 0x67 }, - { 0x30330494, 0x76 }, - { 0x30330498, 0x76 }, - { 0x3033049C, 0x49 }, - { 0x303304A0, 0x49 }, - { 0x303304AC, 0x49 }, - { 0x303304B0, 0x49 }, - { 0x303304C8, 0x1 }, - { 0x303304CC, 0x4 }, - { 0x30330500, 0x1 }, - { 0x30330504, 0x2 }, - { 0x30340038, 0x49409600 }, - { 0x30340040, 0x49409200 }, - { 0x30340034, 0x4 }, /* MIPI mux selector */ -/* - { 0x30340060, 0x180800 }, - { 0x30340064, 0x6400520 }, - { 0x30340068, 0x0A }, */ - }; - - struct Gpio_reg : Genode::Mmio - { - Gpio_reg(Genode::addr_t const mmio_base) - : Genode::Mmio(mmio_base) { } - - struct Data : Register<0x0, 32> {}; - struct Dir : Register<0x4, 32> {}; - struct Int_conf_0 : Register<0xc, 32> {}; - struct Int_conf_1 : Register<0x10, 32> {}; - struct Int_mask : Register<0x14, 32> {}; - struct Int_stat : Register<0x18, 32> {}; - }; - - struct Ccm_reg : Genode::Mmio - { - Ccm_reg(Genode::addr_t const mmio_base) - : Genode::Mmio(mmio_base) { } - - struct Target_root_0 : Register<0x8000, 32> {}; - }; - - struct Pll_reg : Genode::Mmio - { - Pll_reg(Genode::addr_t const mmio_base) - : Genode::Mmio(mmio_base) { } - - struct Pll_arm_0 : Register<0x28, 32> {}; - struct Pll_arm_1 : Register<0x2c, 32> {}; - }; - - unsigned num_values = sizeof(iomux_values) / (2*sizeof(unsigned long)); - for (unsigned i = 0; i < num_values; i++) - *((volatile Genode::uint32_t*)iomux_values[i][0]) = (Genode::uint32_t)iomux_values[i][1]; - - - Ccm_reg ccm(0x30380000); - Ccm_reg pll(0x30360000); - - /* configure GPIO PIN 13 of GPIO 1 for high voltage */ - Gpio_reg regulator(0x30200000); - regulator.write(0); - regulator.write(0); - regulator.write(0x1000); - regulator.write(0xffffffff); - regulator.write(0x2328); - regulator.write(0x9f40); - - ccm.write(0x14000000); - pll.write(0x4a); - - unsigned long v = pll.read(); - pll.write(v & 0xffffffe0); - v = pll.read(); - pll.write(v | (1<<12)); - - while (!(pll.read() & (1<<11))) { ; } - - v = pll.read(); - pll.write(v ^ (1<<12)); - ccm.write(0x11000000); -} - - -void Board::Cpu::wake_up_all_cpus(void * ip) -{ - enum Function_id { CPU_ON = 0xC4000003 }; - - unsigned long result = 0; - for (unsigned i = 1; i < NR_OF_CPUS; i++) { - asm volatile("mov x0, %1 \n" - "mov x1, %2 \n" - "mov x2, %3 \n" - "mov x3, %2 \n" - "smc #0 \n" - "mov %0, x0 \n" - : "=r" (result) : "r" (CPU_ON), "r" (i), "r" (ip) - : "x0", "x1", "x2", "x3", "x4", "x5", "x6", "x7", - "x8", "x9", "x10", "x11", "x12", "x13", "x14"); - } -} diff --git a/repos/base-hw/src/core/board/imx8q_evk/board.h b/repos/base-hw/src/core/board/imx8q_evk/board.h deleted file mode 100644 index b6b3179529..0000000000 --- a/repos/base-hw/src/core/board/imx8q_evk/board.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * \brief Board driver for core - * \author Stefan Kalkowski - * \date 2019-06-12 - */ - -/* - * Copyright (C) 2019 Genode Labs GmbH - * - * This file is part of the Genode OS framework, which is distributed - * under the terms of the GNU Affero General Public License version 3. - */ - -#ifndef _CORE__SPEC__IMX8Q_EVK__BOARD_H_ -#define _CORE__SPEC__IMX8Q_EVK__BOARD_H_ - -/* base-hw internal includes */ -#include - -/* base-hw Core includes */ -#include -#include -#include - -/* base-hw includes */ -#include - -/* base-hw Core includes */ -#include - -namespace Board { - - using namespace Hw::Imx8q_evk_board; - - enum { - TIMER_IRQ = 14 + 16, - VT_TIMER_IRQ = 11 + 16, - VT_MAINTAINANCE_IRQ = 9 + 16, - VCPU_MAX = 16 - }; -}; - -#endif /* _CORE__SPEC__IMX8Q_EVK__BOARD_H_ */ diff --git a/repos/base-hw/src/include/hw/spec/arm_64/imx8q_evk_board.h b/repos/base-hw/src/include/hw/spec/arm_64/imx8q_evk_board.h deleted file mode 100644 index 401804a23d..0000000000 --- a/repos/base-hw/src/include/hw/spec/arm_64/imx8q_evk_board.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * \brief Board definitions for i.MX8 Quad EVK - * \author Stefan Kalkowski - * \date 2019-06-12 - */ - -/* - * Copyright (C) 2019 Genode Labs GmbH - * - * This file is part of the Genode OS framework, which is distributed - * under the terms of the GNU Affero General Public License version 3. - */ - -#ifndef _SRC__INCLUDE__HW__SPEC__ARM_64__IMX8Q_EVK__BOARD_H_ -#define _SRC__INCLUDE__HW__SPEC__ARM_64__IMX8Q_EVK__BOARD_H_ - -#include -#include - -namespace Hw::Imx8q_evk_board { - - using Serial = Genode::Imx_uart; - - enum { - RAM_BASE = 0x40000000, - RAM_SIZE = 0xc0000000, - - UART_BASE = 0x30860000, - UART_SIZE = 0x1000, - UART_CLOCK = 250000000, - }; - - namespace Cpu_mmio { - enum { - IRQ_CONTROLLER_DISTR_BASE = 0x38800000, - IRQ_CONTROLLER_DISTR_SIZE = 0x10000, - IRQ_CONTROLLER_VT_CPU_BASE = 0x31020000, - IRQ_CONTROLLER_VT_CPU_SIZE = 0x2000, - IRQ_CONTROLLER_REDIST_BASE = 0x38880000, - IRQ_CONTROLLER_REDIST_SIZE = 0xc0000, - }; - }; -}; - -#endif /* _SRC__INCLUDE__HW__SPEC__ARM_64__IMX8Q_EVK__BOARD_H_ */ diff --git a/repos/base/include/drivers/defs/imx8q_evk.h b/repos/base/include/drivers/defs/imx8q_evk.h deleted file mode 100644 index 6caddccf7a..0000000000 --- a/repos/base/include/drivers/defs/imx8q_evk.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * \brief MMIO and IRQ definitions for the i.MX8Q EVK board - * \author Christian Prochaska - * \date 2019-09-26 - */ - -/* - * Copyright (C) 2019 Genode Labs GmbH - * - * This file is part of the Genode OS framework, which is distributed - * under the terms of the GNU Affero General Public License version 3. - */ - -#ifndef _INCLUDE__DRIVERS__DEFS__IMX8Q_EVK_H_ -#define _INCLUDE__DRIVERS__DEFS__IMX8Q_EVK_H_ - -namespace Imx8 { - enum { - /* SD host controller */ - SDHC_2_IRQ = 55, - SDHC_2_MMIO_BASE = 0x30b50000, - SDHC_2_MMIO_SIZE = 0x00010000, - }; -}; - -#endif /* _INCLUDE__DRIVERS__DEFS__IMX8Q_EVK_H_ */ diff --git a/repos/base/ports/uboot.hash b/repos/base/ports/uboot.hash deleted file mode 100644 index 6c3b30bd29..0000000000 --- a/repos/base/ports/uboot.hash +++ /dev/null @@ -1 +0,0 @@ -f3fd6bdf4956fb3d4e9ae351030d8cc587f0ebcf diff --git a/repos/base/ports/uboot.port b/repos/base/ports/uboot.port deleted file mode 100644 index 90996f3ea8..0000000000 --- a/repos/base/ports/uboot.port +++ /dev/null @@ -1,12 +0,0 @@ -LICENSE := GPLv2 -VERSION := git -DOWNLOADS := ubfg.git - -URL(ubfg) := https://github.com/alex-ab/ubfg.git -REV(ubfg) := 89bb867cb58fa9d8fb2e38b6d52256a68920354d -DIR(ubfg) := scripts - -default: $(DOWNLOADS) - $(VERBOSE)echo "building imx8q_evk uboot" - $(VERBOSE)mkdir -p imx8q_evk - $(VERBOSE)cd imx8q_evk && ../scripts/create_uboot_imx8q_evk && cd .. diff --git a/repos/base/run/platform_drv.inc b/repos/base/run/platform_drv.inc index d7adf6f76a..c8b1c9f1ae 100644 --- a/repos/base/run/platform_drv.inc +++ b/repos/base/run/platform_drv.inc @@ -12,7 +12,6 @@ proc have_platform_drv {} { proc usb_host_drv_binary { } { if {[have_board rpi]} { return rpi_usb_host_drv } if {[have_board imx6q_sabrelite]} { return imx6q_sabrelite_usb_host_drv } - if {[have_board imx8q_evk]} { return imx8q_evk_usb_host_drv } if {[have_board pc]} { return x86_pc_usb_host_drv } return no_usb_drv_available } diff --git a/repos/dde_linux/imx8_fb.list b/repos/dde_linux/imx8_fb.list deleted file mode 100644 index 49c4384075..0000000000 --- a/repos/dde_linux/imx8_fb.list +++ /dev/null @@ -1,226 +0,0 @@ -linux-x.x.x/drivers/base/component.c -linux-x.x.x/drivers/base/devres.c -linux-x.x.x/drivers/dma-buf/dma-fence.c -linux-x.x.x/drivers/gpu/drm/drm_atomic.c -linux-x.x.x/drivers/gpu/drm/drm_atomic_helper.c -linux-x.x.x/drivers/gpu/drm/drm_blend.c -linux-x.x.x/drivers/gpu/drm/drm_bridge.c -linux-x.x.x/drivers/gpu/drm/drm_connector.c -linux-x.x.x/drivers/gpu/drm/drm_crtc.c -linux-x.x.x/drivers/gpu/drm/drm_crtc_helper_internal.h -linux-x.x.x/drivers/gpu/drm/drm_crtc_internal.h -linux-x.x.x/drivers/gpu/drm/drm_dp_helper.c -linux-x.x.x/drivers/gpu/drm/drm_edid.c -linux-x.x.x/drivers/gpu/drm/drm_encoder.c -linux-x.x.x/drivers/gpu/drm/drm_fourcc.c -linux-x.x.x/drivers/gpu/drm/drm_framebuffer.c -linux-x.x.x/drivers/gpu/drm/drm_gem.c -linux-x.x.x/drivers/gpu/drm/drm_gem_cma_helper.c -linux-x.x.x/drivers/gpu/drm/drm_gem_framebuffer_helper.c -linux-x.x.x/drivers/gpu/drm/drm_internal.h -linux-x.x.x/drivers/gpu/drm/drm_mipi_dsi.c -linux-x.x.x/drivers/gpu/drm/drm_mm.c -linux-x.x.x/drivers/gpu/drm/drm_mode_config.c -linux-x.x.x/drivers/gpu/drm/drm_mode_object.c -linux-x.x.x/drivers/gpu/drm/drm_modes.c -linux-x.x.x/drivers/gpu/drm/drm_modeset_helper.c -linux-x.x.x/drivers/gpu/drm/drm_modeset_lock.c -linux-x.x.x/drivers/gpu/drm/drm_of.c -linux-x.x.x/drivers/gpu/drm/drm_plane.c -linux-x.x.x/drivers/gpu/drm/drm_probe_helper.c -linux-x.x.x/drivers/gpu/drm/drm_property.c -linux-x.x.x/drivers/gpu/drm/drm_rect.c -linux-x.x.x/drivers/gpu/drm/drm_vblank.c -linux-x.x.x/drivers/gpu/drm/drm_vma_manager.c -linux-x.x.x/drivers/gpu/drm/bridge/nwl-dsi.c -linux-x.x.x/drivers/gpu/drm/imx/imx-drm.h -linux-x.x.x/drivers/gpu/drm/imx/imx-drm-core.c -linux-x.x.x/drivers/gpu/drm/imx/nwl_dsi-imx.c -linux-x.x.x/drivers/gpu/drm/imx/dcss/dcss-crtc.c -linux-x.x.x/drivers/gpu/drm/imx/dcss/dcss-crtc.h -linux-x.x.x/drivers/gpu/drm/imx/dcss/dcss-kms.c -linux-x.x.x/drivers/gpu/drm/imx/dcss/dcss-kms.h -linux-x.x.x/drivers/gpu/drm/imx/dcss/dcss-plane.c -linux-x.x.x/drivers/gpu/drm/imx/dcss/dcss-plane.h -linux-x.x.x/drivers/gpu/drm/imx/hdp/API_AFE_mcu1_dp.c -linux-x.x.x/drivers/gpu/drm/imx/hdp/API_AFE_mcu1_dp.h -linux-x.x.x/drivers/gpu/drm/imx/hdp/API_AFE_mcu2_dp.c -linux-x.x.x/drivers/gpu/drm/imx/hdp/API_AFE_mcu2_dp.h -linux-x.x.x/drivers/gpu/drm/imx/hdp/API_AFE_ss28fdsoi_kiran_hdmitx.c -linux-x.x.x/drivers/gpu/drm/imx/hdp/API_AFE_ss28fdsoi_kiran_hdmitx.h -linux-x.x.x/drivers/gpu/drm/imx/hdp/API_AFE_t28hpc_hdmitx.c -linux-x.x.x/drivers/gpu/drm/imx/hdp/API_AFE_t28hpc_hdmitx.h -linux-x.x.x/drivers/gpu/drm/imx/hdp/imx-arc.c -linux-x.x.x/drivers/gpu/drm/imx/hdp/imx-dp.c -linux-x.x.x/drivers/gpu/drm/imx/hdp/imx-dp.h -linux-x.x.x/drivers/gpu/drm/imx/hdp/imx-hdcp-private.h -linux-x.x.x/drivers/gpu/drm/imx/hdp/imx-hdcp.c -linux-x.x.x/drivers/gpu/drm/imx/hdp/imx-hdcp.h -linux-x.x.x/drivers/gpu/drm/imx/hdp/imx-hdmi.c -linux-x.x.x/drivers/gpu/drm/imx/hdp/imx-hdmi.h -linux-x.x.x/drivers/gpu/drm/imx/hdp/imx-hdp.c -linux-x.x.x/drivers/gpu/drm/imx/hdp/imx-hdp.h -linux-x.x.x/drivers/gpu/drm/imx/hdp/ss28fdsoi_hdmitx_table.c -linux-x.x.x/drivers/gpu/drm/imx/hdp/ss28fdsoi_hdmitx_table.h -linux-x.x.x/drivers/gpu/drm/imx/hdp/t28hpc_hdmitx_table.c -linux-x.x.x/drivers/gpu/drm/imx/hdp/t28hpc_hdmitx_table.h -linux-x.x.x/drivers/gpu/drm/panel/panel-raydium-rm67191.c -linux-x.x.x/drivers/gpu/imx/dcss/dcss-common.c -linux-x.x.x/drivers/gpu/imx/dcss/dcss-blkctl.c -linux-x.x.x/drivers/gpu/imx/dcss/dcss-ctxld.c -linux-x.x.x/drivers/gpu/imx/dcss/dcss-dec400d.c -linux-x.x.x/drivers/gpu/imx/dcss/dcss-dpr.c -linux-x.x.x/drivers/gpu/imx/dcss/dcss-dtg.c -linux-x.x.x/drivers/gpu/imx/dcss/dcss-dtrc.c -linux-x.x.x/drivers/gpu/imx/dcss/dcss-hdr10.c -linux-x.x.x/drivers/gpu/imx/dcss/dcss-hdr10-tables.h -linux-x.x.x/drivers/gpu/imx/dcss/dcss-prv.h -linux-x.x.x/drivers/gpu/imx/dcss/dcss-rdsrc.c -linux-x.x.x/drivers/gpu/imx/dcss/dcss-scaler.c -linux-x.x.x/drivers/gpu/imx/dcss/dcss-ss.c -linux-x.x.x/drivers/gpu/imx/dcss/dcss-wrscl.c -linux-x.x.x/drivers/i2c/i2c-boardinfo.c -linux-x.x.x/drivers/i2c/i2c-core-base.c -linux-x.x.x/drivers/i2c/i2c-core.h -linux-x.x.x/drivers/irqchip/irq-imx-irqsteer.c -linux-x.x.x/drivers/mxc/hdp/API_AFE.c -linux-x.x.x/drivers/mxc/hdp/API_AFE.h -linux-x.x.x/drivers/mxc/hdp/API_DPTX.c -linux-x.x.x/drivers/mxc/hdp/API_DPTX.h -linux-x.x.x/drivers/mxc/hdp/API_General.c -linux-x.x.x/drivers/mxc/hdp/API_General.h -linux-x.x.x/drivers/mxc/hdp/API_HDCP.c -linux-x.x.x/drivers/mxc/hdp/API_HDCP.h -linux-x.x.x/drivers/mxc/hdp/API_HDMITX.c -linux-x.x.x/drivers/mxc/hdp/API_HDMITX.h -linux-x.x.x/drivers/mxc/hdp/API_Infoframe.c -linux-x.x.x/drivers/mxc/hdp/API_Infoframe.h -linux-x.x.x/drivers/mxc/hdp/address.h -linux-x.x.x/drivers/mxc/hdp/all.h -linux-x.x.x/drivers/mxc/hdp/apb_cfg.h -linux-x.x.x/drivers/mxc/hdp/dptx_framer.h -linux-x.x.x/drivers/mxc/hdp/dptx_stream.h -linux-x.x.x/drivers/mxc/hdp/general_handler.h -linux-x.x.x/drivers/mxc/hdp/hdcp.h -linux-x.x.x/drivers/mxc/hdp/hdcp2.h -linux-x.x.x/drivers/mxc/hdp/hdcp_tran.h -linux-x.x.x/drivers/mxc/hdp/hdmi.h -linux-x.x.x/drivers/mxc/hdp/mailBox.h -linux-x.x.x/drivers/mxc/hdp/mhl_hdtx_top.h -linux-x.x.x/drivers/mxc/hdp/opcodes.h -linux-x.x.x/drivers/mxc/hdp/source_car.h -linux-x.x.x/drivers/mxc/hdp/source_phy.h -linux-x.x.x/drivers/mxc/hdp/source_pif.h -linux-x.x.x/drivers/mxc/hdp/source_vif.h -linux-x.x.x/drivers/mxc/hdp/util.c -linux-x.x.x/drivers/mxc/hdp/util.h -linux-x.x.x/drivers/mxc/hdp-cec/imx-hdp-cec.h -linux-x.x.x/drivers/phy/phy-mixel-mipi-dsi.c -linux-x.x.x/drivers/video/hdmi.c -linux-x.x.x/include/asm-generic/atomic64.h -linux-x.x.x/include/asm-generic/bitops/__ffs.h -linux-x.x.x/include/asm-generic/bitops/ffs.h -linux-x.x.x/include/asm-generic/bitops/fls64.h -linux-x.x.x/include/asm-generic/bitops/__fls.h -linux-x.x.x/include/asm-generic/bitops/fls.h -linux-x.x.x/include/asm-generic/bitops/non-atomic.h -linux-x.x.x/include/drm/drm_atomic.h -linux-x.x.x/include/drm/drm_atomic_helper.h -linux-x.x.x/include/drm/drm_auth.h -linux-x.x.x/include/drm/drm_blend.h -linux-x.x.x/include/drm/drm_bridge.h -linux-x.x.x/include/drm/drm_connector.h -linux-x.x.x/include/drm/drm_crtc.h -linux-x.x.x/include/drm/drm_crtc_helper.h -linux-x.x.x/include/drm/drm_debugfs_crc.h -linux-x.x.x/include/drm/drm_device.h -linux-x.x.x/include/drm/drm_displayid.h -linux-x.x.x/include/drm/drm_dp_helper.h -linux-x.x.x/include/drm/drm_drv.h -linux-x.x.x/include/drm/drm_edid.h -linux-x.x.x/include/drm/drm_encoder.h -linux-x.x.x/include/drm/drm_fb_cma_helper.h -linux-x.x.x/include/drm/drm_fb_helper.h -linux-x.x.x/include/drm/drm_file.h -linux-x.x.x/include/drm/drm_fourcc.h -linux-x.x.x/include/drm/drm_framebuffer.h -linux-x.x.x/include/drm/drm_gem.h -linux-x.x.x/include/drm/drm_gem_cma_helper.h -linux-x.x.x/include/drm/drm_gem_framebuffer_helper.h -linux-x.x.x/include/drm/drm_hashtab.h -linux-x.x.x/include/drm/drm_hdcp.h -linux-x.x.x/include/drm/drm_ioctl.h -linux-x.x.x/include/drm/drm_mipi_dsi.h -linux-x.x.x/include/drm/drm_mm.h -linux-x.x.x/include/drm/drm_mode_config.h -linux-x.x.x/include/drm/drm_mode_object.h -linux-x.x.x/include/drm/drm_modeset_helper.h -linux-x.x.x/include/drm/drm_modeset_helper_vtables.h -linux-x.x.x/include/drm/drm_modeset_lock.h -linux-x.x.x/include/drm/drm_modes.h -linux-x.x.x/include/drm/drm_of.h -linux-x.x.x/include/drm/drm_panel.h -linux-x.x.x/include/drm/drmP.h -linux-x.x.x/include/drm/drm_plane.h -linux-x.x.x/include/drm/drm_plane_helper.h -linux-x.x.x/include/drm/drm_prime.h -linux-x.x.x/include/drm/drm_print.h -linux-x.x.x/include/drm/drm_property.h -linux-x.x.x/include/drm/drm_rect.h -linux-x.x.x/include/drm/drm_vblank.h -linux-x.x.x/include/drm/drm_vma_manager.h -linux-x.x.x/include/drm/bridge/nwl_dsi.h -linux-x.x.x/include/linux/irqchip/chained_irq.h -linux-x.x.x/include/linux/busfreq-imx.h -linux-x.x.x/include/linux/component.h -linux-x.x.x/include/linux/dma-fence.h -linux-x.x.x/include/linux/fb.h -linux-x.x.x/include/linux/hdmi.h -linux-x.x.x/include/linux/i2c.h -linux-x.x.x/include/linux/idr.h -linux-x.x.x/include/linux/interval_tree_generic.h -linux-x.x.x/include/linux/interval_tree.h -linux-x.x.x/include/linux/irqdomain.h -linux-x.x.x/include/linux/irqhandler.h -linux-x.x.x/include/linux/list.h -linux-x.x.x/include/linux/list_sort.h -linux-x.x.x/include/linux/log2.h -linux-x.x.x/include/linux/math64.h -linux-x.x.x/include/linux/mod_devicetable.h -linux-x.x.x/include/linux/of_graph.h -linux-x.x.x/include/linux/pm_runtime.h -linux-x.x.x/include/linux/pm_wakeirq.h -linux-x.x.x/include/linux/phy.h -linux-x.x.x/include/linux/radix-tree.h -linux-x.x.x/include/linux/ratelimit.h -linux-x.x.x/include/linux/rbtree_augmented.h -linux-x.x.x/include/linux/rbtree.h -linux-x.x.x/include/linux/sort.h -linux-x.x.x/include/linux/vga_switcheroo.h -linux-x.x.x/include/linux/mfd/syscon/imx8mq-iomuxc-gpr.h -linux-x.x.x/include/linux/phy/phy.h -linux-x.x.x/include/linux/phy/phy-mixel-mipi-dsi.h -linux-x.x.x/include/soc/imx8/sc/ipc.h -linux-x.x.x/include/soc/imx8/sc/scfw.h -linux-x.x.x/include/soc/imx8/sc/sci.h -linux-x.x.x/include/soc/imx8/sc/types.h -linux-x.x.x/include/soc/imx8/soc.h -linux-x.x.x/include/uapi/drm/drm_fourcc.h -linux-x.x.x/include/uapi/drm/drm.h -linux-x.x.x/include/uapi/drm/drm_mode.h -linux-x.x.x/include/uapi/linux/byteorder/little_endian.h -linux-x.x.x/include/uapi/linux/cec.h -linux-x.x.x/include/uapi/linux/fb.h -linux-x.x.x/include/uapi/linux/i2c.h -linux-x.x.x/include/uapi/linux/media-bus-format.h -linux-x.x.x/include/uapi/linux/swab.h -linux-x.x.x/include/video/display_timing.h -linux-x.x.x/include/video/mipi_display.h -linux-x.x.x/include/video/of_videomode.h -linux-x.x.x/include/video/videomode.h -linux-x.x.x/include/video/viv-metadata.h -linux-x.x.x/include/video/imx-dcss.h -linux-x.x.x/lib/idr.c -linux-x.x.x/lib/list_sort.c -linux-x.x.x/lib/radix-tree.c -linux-x.x.x/lib/rbtree.c diff --git a/repos/dde_linux/lib/import/import-imx8_fb_include.mk b/repos/dde_linux/lib/import/import-imx8_fb_include.mk deleted file mode 100644 index 71e9053c84..0000000000 --- a/repos/dde_linux/lib/import/import-imx8_fb_include.mk +++ /dev/null @@ -1,22 +0,0 @@ -LX_CONTRIB_DIR := $(call select_from_ports,dde_linux)/src/drivers/framebuffer/imx8 -SRC_DIR := $(REP_DIR)/src/drivers/framebuffer/imx8 - -# architecture-dependent includes -ifeq ($(filter-out $(SPECS),arm_64),) - ARCH_SRC_INC_DIR += $(REP_DIR)/src/include/spec/arm_64 \ - $(LX_CONTRIB_DIR)/arch/arm64/include \ - $(LX_CONTRIB_DIR)/arch/arm64/include/uapi \ - $(LX_CONTRIB_DIR)/arch/arm64/include/generated \ - $(LX_CONTRIB_DIR)/arch/arm64/include/generated/uapi -endif # arm_64 - -INC_DIR += $(SRC_DIR)/include \ - $(REP_DIR)/src/include \ - $(ARCH_SRC_INC_DIR) \ - $(LX_CONTRIB_DIR)/drivers/gpu/drm \ - $(LX_CONTRIB_DIR)/drivers/gpu/drm/imx \ - $(LX_CONTRIB_DIR)/include \ - $(LX_CONTRIB_DIR)/include/uapi \ - $(LIB_CACHE_DIR)/imx8_fb_include/include/include/include - -CC_OPT += -U__linux__ -D__KERNEL__ diff --git a/repos/dde_linux/lib/mk/spec/arm_64/imx8_fb_drv.mk b/repos/dde_linux/lib/mk/spec/arm_64/imx8_fb_drv.mk deleted file mode 100644 index a80f3fd11a..0000000000 --- a/repos/dde_linux/lib/mk/spec/arm_64/imx8_fb_drv.mk +++ /dev/null @@ -1,57 +0,0 @@ -LX_CONTRIB_DIR := $(call select_from_ports,dde_linux)/src/drivers/framebuffer/imx8 -SRC_DIR := $(REP_DIR)/src/drivers/framebuffer/imx8 - -LIBS += imx8_fb_include - -SRC_C := -SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/drivers/dma-buf/*.c)) -SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/drivers/i2c/*.c)) -SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/drivers/base/*.c)) -SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/drivers/gpu/drm/*.c)) -SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/drivers/gpu/drm/bridge/*.c)) -SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/drivers/gpu/drm/imx/*.c)) -SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/drivers/gpu/drm/imx/dcss/*.c)) -SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/drivers/gpu/drm/imx/hdp/*.c)) -SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/drivers/gpu/drm/panel/*.c)) -SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/drivers/gpu/imx/dcss/*.c)) -SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/drivers/irqchip/*.c)) -SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/drivers/mxc/hdp/*.c)) -SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/drivers/phy/*.c)) -SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/drivers/video/*.c)) -SRC_C += $(notdir $(wildcard $(LX_CONTRIB_DIR)/lib/*.c)) - - -CC_OPT_nwl-dsi += -DMOD_SUFFIX=_bridge - -# -# Linux sources are C89 with GNU extensions -# -CC_C_OPT += -std=gnu89 - - -# -# Reduce build noise of compiling contrib code -# -CC_WARN = -Wall -Wno-uninitialized -Wno-unused-but-set-variable \ - -Wno-unused-variable -Wno-unused-function \ - -Wno-pointer-arith -Wno-pointer-sign \ - -Wno-int-to-pointer-cast -Wno-stringop-truncation - -vpath %.c $(LX_CONTRIB_DIR)/drivers/base -vpath %.c $(LX_CONTRIB_DIR)/drivers/dma-buf -vpath %.c $(LX_CONTRIB_DIR)/drivers/i2c -vpath %.c $(LX_CONTRIB_DIR)/drivers/gpu/drm -vpath %.c $(LX_CONTRIB_DIR)/drivers/gpu/drm/bridge -vpath %.c $(LX_CONTRIB_DIR)/drivers/gpu/drm/imx -vpath %.c $(LX_CONTRIB_DIR)/drivers/gpu/drm/imx/dcss -vpath %.c $(LX_CONTRIB_DIR)/drivers/gpu/drm/imx/hdp -vpath %.c $(LX_CONTRIB_DIR)/drivers/gpu/drm/panel -vpath %.c $(LX_CONTRIB_DIR)/drivers/gpu/imx/dcss -vpath %.c $(LX_CONTRIB_DIR)/drivers/irqchip -vpath %.c $(LX_CONTRIB_DIR)/drivers/mxc/hdp -vpath %.c $(LX_CONTRIB_DIR)/drivers/phy -vpath %.c $(LX_CONTRIB_DIR)/drivers/video -vpath %.c $(LX_CONTRIB_DIR)/lib - - -CC_CXX_WARN_STRICT = diff --git a/repos/dde_linux/lib/mk/spec/arm_64/imx8_fb_include.mk b/repos/dde_linux/lib/mk/spec/arm_64/imx8_fb_include.mk deleted file mode 100644 index e9a3112cfa..0000000000 --- a/repos/dde_linux/lib/mk/spec/arm_64/imx8_fb_include.mk +++ /dev/null @@ -1,37 +0,0 @@ -# -# Pseudo library to generate a symlink for each header file included by the -# contrib code. Each symlink points to the same 'lx_emul.h' file, which -# provides our emulation of the Linux kernel API. -# - -ifeq ($(called_from_lib_mk),yes) - -LX_CONTRIB_DIR := $(call select_from_ports,dde_linux)/src/drivers/framebuffer/imx8 -LX_EMUL_H := $(REP_DIR)/src/drivers/framebuffer/imx8/include/lx_emul.h - -# -# Determine the header files included by the contrib code. For each -# of these header files we create a symlink to 'lx_emul.h'. -# -SCAN_DIRS := $(addprefix $(LX_CONTRIB_DIR)/include/, asm-generic drm linux soc uapi video) \ - $(addprefix $(LX_CONTRIB_DIR)/, drivers lib) -GEN_INCLUDES := $(shell grep -rIh "^\#include .*" $(SCAN_DIRS) |\ - sed "s/^\#include [^<\"]*[<\"]\([^>\"]*\)[>\"].*/\1/" |\ - sort | uniq) - -# -# Put Linux headers in 'GEN_INC' dir, since some include use "../../" paths use -# three level include hierarchy -# -GEN_INC := $(shell pwd)/include/include/include -GEN_INCLUDES := $(addprefix $(GEN_INC)/,$(GEN_INCLUDES)) - -all: $(GEN_INCLUDES) - -$(GEN_INCLUDES): - $(VERBOSE)mkdir -p $(dir $@) - $(VERBOSE)ln -sf $(LX_EMUL_H) $@ - -endif - -CC_CXX_WARN_STRICT = diff --git a/repos/dde_linux/patches/imx8_fb_dcss_blkctl.patch b/repos/dde_linux/patches/imx8_fb_dcss_blkctl.patch deleted file mode 100644 index 3b0f41942b..0000000000 --- a/repos/dde_linux/patches/imx8_fb_dcss_blkctl.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/drivers/gpu/imx/dcss/dcss-blkctl.c b/drivers/gpu/imx/dcss/dcss-blkctl.c -index 2f13b33..a4b0620 100644 ---- a/drivers/gpu/imx/dcss/dcss-blkctl.c -+++ b/drivers/gpu/imx/dcss/dcss-blkctl.c -@@ -81,7 +81,7 @@ void dcss_blkctl_cfg(struct dcss_soc *dcss) - struct dcss_blkctl_priv *blkctl = dcss->blkctl_priv; - - if (blkctl->hdmi_output) -- dcss_writel((blkctl->clk_setting ^ HDMI_MIPI_CLK_SEL), -+ dcss_writel((blkctl->clk_setting), - blkctl->base_reg + DCSS_BLKCTL_CONTROL0); - else - dcss_writel((blkctl->clk_setting ^ HDMI_MIPI_CLK_SEL) | diff --git a/repos/dde_linux/patches/imx8_fb_dcss_common.patch b/repos/dde_linux/patches/imx8_fb_dcss_common.patch deleted file mode 100644 index 7ccd425039..0000000000 --- a/repos/dde_linux/patches/imx8_fb_dcss_common.patch +++ /dev/null @@ -1,23 +0,0 @@ -dcss_common.patch - -diff --git a/drivers/gpu/imx/dcss/dcss-common.c b/drivers/gpu/imx/dcss/dcss-common.c -index cb15533..90b6b4d 100644 ---- a/drivers/gpu/imx/dcss/dcss-common.c -+++ b/drivers/gpu/imx/dcss/dcss-common.c -@@ -19,6 +19,7 @@ - #include - #include - #include -+#include - #include - #include