Kconfig 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. # SPDX-License-Identifier: GPL-2.0+
  2. #
  3. # Copyright (C) STMicroelectronics SA 2017
  4. #
  5. # Authors: Philippe Cornu <philippe.cornu@st.com>
  6. # Yannick Fertre <yannick.fertre@st.com>
  7. menuconfig VIDEO_STM32
  8. bool "Enable STM32 video support"
  9. depends on DM_VIDEO
  10. help
  11. STM32 supports many video output options including RGB and
  12. DSI. This option enables these supports which can be used on
  13. devices which have RGB TFT or DSI display connected.
  14. config VIDEO_STM32_MAX_XRES
  15. int "Maximum horizontal resolution (for memory allocation purposes)"
  16. depends on VIDEO_STM32
  17. default 640
  18. help
  19. The maximum horizontal resolution to support for the framebuffer.
  20. This configuration is used for reserving/allocating memory for the
  21. framebuffer during device-model binding/probing.
  22. config VIDEO_STM32_MAX_YRES
  23. int "Maximum vertical resolution (for memory allocation purposes)"
  24. depends on VIDEO_STM32
  25. default 480
  26. help
  27. The maximum vertical resolution to support for the framebuffer.
  28. This configuration is used for reserving/allocating memory for the
  29. framebuffer during device-model binding/probing.
  30. config VIDEO_STM32_MAX_BPP
  31. int "Maximum bits per pixel (for memory allocation purposes)"
  32. depends on VIDEO_STM32
  33. default 16
  34. help
  35. The maximum bits per pixel to support for the framebuffer.
  36. This configuration is used for reserving/allocating memory for the
  37. framebuffer during device-model binding/probing.