aboutsummaryrefslogtreecommitdiffstats
path: root/bsp/xilinx-zynqmp
AgeCommit message (Collapse)Author
2022-08-02config/video: replace VIDEO_V4L2 with VIDEO_DEVBruce Ashfield
commit 9958d30f38b96fb763a10d44d18ddad39127d5f4 Author: Mauro Carvalho Chehab <mchehab@kernel.org> Date: Sun Mar 13 07:25:46 2022 +0100 media: Kconfig: cleanup VIDEO_DEV dependencies media Kconfig has two entries associated to V4L API: VIDEO_DEV and VIDEO_V4L2. On Kernel 2.6.x, there were two V4L APIs, each one with its own flag. VIDEO_DEV were meant to: 1) enable Video4Linux and make its Kconfig options to appear; 2) it makes the Kernel build the V4L core. while VIDEO_V4L2 where used to distinguish between drivers that implement the newer API and drivers that implemented the former one. With time, such meaning changed, specially after the removal of all V4L version 1 drivers. At the current implementation, VIDEO_DEV only does (1): it enables the media options related to V4L, that now has: menu "Video4Linux options" visible if VIDEO_DEV source "drivers/media/v4l2-core/Kconfig" endmenu but it doesn't affect anymore the V4L core drivers. The rationale is that the V4L2 core has a "soft" dependency at the I2C bus, and now requires to select a number of other Kconfig options: config VIDEO_V4L2 tristate depends on (I2C || I2C=n) && VIDEO_DEV select RATIONAL select VIDEOBUF2_V4L2 if VIDEOBUF2_CORE default (I2C || I2C=n) && VIDEO_DEV In the past, merging them would be tricky, but it seems that it is now possible to merge those symbols, in order to simplify V4L dependencies. Let's keep VIDEO_DEV, as this one is used on some make *defconfig configurations. Suggested-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> # for meson-vdec & meson-ge2d Acked-by: Andrzej Pietrasiewicz <andrzejtp2010@gmail.com> Acked-by: Ɓukasz Stelmach <l.stelmach@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-04-03global: replace is not set with =nBruce Ashfield
Upstream is dropping support for is not set, so we adjust our configs accordingly. Commit: https://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git/commit/?h=for-next&id=55de8686df7ed2b5237867b130e30c728bbd9db4 kconfig: change .config format to use =n instead of "is not set" The .config file uses "# CONFIG_FOO is not set" form to represent disabled options. In the old days, it was useful because the .config was directly included from Makefiles. For example, you can use "ifdef CONFIG_FOO" in Makefiles to check if the option is enabled. Commit c955ccafc38e ("kconfig: fix .config dependencies") introduced include/config/auto.conf, which mirrors the .config, but trims down all disabled options. Since then, include/config/auto.conf defines CONFIG options during the build. The .config is used just for storing the user's configuration. I do not see a strong reason to use a particular pattern of comment for disabled options. With this commit, Kconfig will output disable options in a more natural form, "CONFIG_FOO=n". Kconfig accepts both "# CONFIG_FOO is not set" and "CONFIG_FOO=n" as a valid input. You do not need to update arch/*/configs/*_defconfig files for now. "git bisect" should be able to cross the commit in both ways without any issue. A problem may occur if you parse the .config for the "# ... is not set" patterns. I adjusted streamline_config.pl, merge_config.sh, scripts/kconfig/tests/. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Boris Kolpackov <boris@codesynthesis.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-12-27xilinx-zynqmp: add event device support for zynqmpQuanyang Wang
Since graphic system use /dev/input/eventX as input device, we need enable CONFIG_INPUT_EVDEV kernel option. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-09-19cfg: drop CONFIG_DRM_KMS_FB_HELPERBruce Ashfield
commit 91185d55b32e7e377f15fb46a62b216f8d3038d4 Author: Thomas Zimmermann <tzimmermann@suse.de> Date: Thu Apr 15 13:00:40 2021 +0200 drm: Remove DRM_KMS_FB_HELPER Kconfig option It's only used by DRM_FBDEV_EMULATION, so inline it there. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20210415110040.23525-5-tzimmermann@suse.de Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-07-07xilinx-zynqmp: add CONFIG_GPIO_ZYNQMP_MODEPIN for zynqmpQuanyang Wang
Add this kernel option to enable zynqmp gpio-modepin driver. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-07-03xilinx-zynqmp: add kernel options support for xilinx-zynqmpQuanyang Wang
Add kernel options to enable features in xilinx-zynqmp. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-05-21bsp: delete unused kernel option CONFIG_XILINX_DMA_ENGINESQuanyang Wang
The kernel option CONFIG_XILINX_DMA_ENGINES isn't used anymore since we have switched to mainline xilinx dma driver. Let's remove it to fix the warning as below: WARNING: linux-yocto-5.10.x do_kernel_configcheck: [kernel config]: specified values did not make it into the kernel's final configuration: [NOTE]: 'CONFIG_XILINX_DMA_ENGINES' last val (y) and .config val (n) do not match [INFO]: CONFIG_XILINX_DMA_ENGINES : n [INFO]: raw config text: Config 'XILINX_DMA_ENGINES' has the following Direct dependencies (XILINX_DMA_ENGINES=n): n Parent dependencies are: [INFO]: config 'CONFIG_XILINX_DMA_ENGINES' was set, but it wasn't assignable, check (parent) dependencies [INFO]: selection details for 'CONFIG_XILINX_DMA_ENGINES': Symbols currently n-selecting this symbol (no effect): - DRM_ZYNQMP_DPSUB Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-05-21xlinx: bsp: use CONFIG_GPIO_CDEV instead of CONFIG_GPIO_SYSFSQuanyang Wang
For now CONFIG_GPIO_CDEV is encouraged to use and CONFIG_GPIO_SYSFS is obsolete. In mainline commit 3b4feb21158f ("gpio: sysfs: Enforce character device"), CONFIG_GPIO_SYSFS can only be enabled with option CONFIG_EXPERT. In light of this, let's switch to CONFIG_GPIO_CDEV. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-12-21xilinx-zynqmp: enable CONFIG_COMMON_CLK_SI5341 and CONFIG_XILINX_ZYNQMP_DPDMAQuanyang Wang
Since we use si5341 as clk source, then enable CONFIG_COMMON_CLK_SI5341 to use its driver. And in order to use mainline dpdma driver, we need enable CONFIG_XILINX_ZYNQMP_DPDMA. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-09-02xilinx-zynqmp: enable CONFIG_RAS explicitlyQuanyang Wang
Because of the mainline commit 8c8ff55b4da7 ("PCI/AER: Don't select CONFIG_PCIEAER by default"), CONFIG_PCIEAER will not be enabled by default, this results that CONFIG_RAS which is seleted by CONFIG_PCIEAER will not be enabled either. Since CONFIG_EDAC_ZYNQMP_OCM depends on CONFIG_RAS, so we need enable CONFIG_RAS explicitly. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-07-24bsp: enable CONFIG_MEDIA_PLATFORM_SUPPORT kernel optionQuanyang Wang
Because of the commit 06b93644f4d1 ("media: Kconfig: add an option to filter in/out platform drivers"), CONFIG_MEDIA_PLATFORM_SUPPORT must be enabled when we want to enable CONFIG_V4L_PLATFORM_DRIVERS. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-03-21bsp: delete obsolete kernel option CONFIG_MTD_M25P80Quanyang Wang
Because of upstream commit b35b9a10362d ("mtd: spi-nor: Move m25p80 code in spi-nor.c"), CONFIG_MTD_M25P80 is not used anymore. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-03-16xilinx-zynqmp: add cpuidle support for zcu102Quanyang Wang
Because of upstream commit 788961462f347161 ("ARM: psci: cpuidle: Enable PSCI CPUidle driver"), the new kernel option CONFIG_ARM_PSCI_CPUIDLE is used to enable PSCI CPUidle driver. So enable CONFIG_ARM_PSCI_CPUIDLE for zcu102 board. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-12-29xilinx-zynqmp: change CONFIG_REMOTEPROC from m to yQuanyang Wang
Since the upstream commit 6334150e9a36 ("remoteproc: don't allow modular build") has forbidden CONFIG_REMOTEPROC from being "m", so we change it to be "y". Or else there will be warning as below: ---------- CONFIG_REMOTEPROC ----------------- Config: CONFIG_REMOTEPROC From: tmp-glibc/work-shared/xilinx-zynqmp/kernel-source/.kernel-meta/configs/standard/xilinx-zynqmp/bsp/xilinx-zynqmp/xilinx-zynqmp.cfg Requested value: CONFIG_REMOTEPROC=m Actual value: # CONFIG_REMOTEPROC is not set Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-12-03xilinx-zynqmp: enable clock-wizard driver on xilinx-zcu102 platformLimeng
canfd driver depend on clock wizard, so enable it. Signed-off-by: Meng Li <Meng.Li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-11-05xilinx-zynqmp: remove CONFIG_VIRTIO=y from xilinx-zynqmp.cfgQuanyang Wang
Don't need to set CONFIG_VIRTIO to be "y" explicitly, or else when bitbake core-image-base there will be building warning as below: WARNING: linux-yocto-5.2.x+gitAUTOINC+343a633207_b039f25b0a-r0 do_kernel_configcheck: [kernel config]: specified values did not make it into the kernel's final configuration: ---------- CONFIG_VIRTIO ----------------- Config: CONFIG_VIRTIO Requested value: CONFIG_VIRTIO=y Actual value: CONFIG_VIRTIO=m Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-10-19xilinx-zynqmp: delete obsolete kernel optionsQuanyang Wang
These kernel options have been removed frome kernel, so delete them from xilinx-zynqmp.cfg. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-10-19xilinx-zynqmp: add kernel options for ZynqMP PL ProgrammingQuanyang Wang
Add kernel options for zynqmp FPGA programming. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-10-07meta: add SPDX License Identifier and updates 00-README with License policyYann CARDAILLAC
Signed-off-by: Yann CARDAILLAC <ycnakajsph@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-07-22xilinx-zynqmp: enable kernel options for SDK xlnx_rebase_v4.19Quanyang Wang
The SDK xlnx_rebase_v4.19 bsp patches need enable more kernel options. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-06-10xilinx-zynqmp: add the basic support xilinx-zynqmpZumeng Chen
This patch is to add scc/cfg meta to build and boot zcu102 board with the bsp of xilinx-zynqmp. Signed-off-by: Zumeng.Chen <zumeng.chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>