Skip to content
Snippets Groups Projects
  1. Mar 08, 2024
    • Guiling Deng's avatar
      fbdev: fbmem: Fix logo center image dx issue · 853a8d30
      Guiling Deng authored and Dmitry Petrov's avatar Dmitry Petrov committed
      
      Image.dx gets wrong value because of missing '()'.
      
      If xres == logo->width and n == 1, image.dx = -16.
      
      Signed-off-by: default avatarGuiling Deng <greens9@163.com>
      Fixes: 3d8b1933 ("fbdev: fbmem: add config option to center the bootup logo")
      Cc: stable@vger.kernel.org # v5.0+
      Signed-off-by: default avatarHelge Deller <deller@gmx.de>
      (cherry picked from commit 971afb3bc2ef89f13cc89ad0400748eb2d9ef78a)
      853a8d30
    • Dmitry Petrov's avatar
      arm:dts:nallino: Add empty reserved-memory node · 16bac97c
      Dmitry Petrov authored
      The 'reserved-memory' node must exist in device tree, so that we can apply
      the DT overlay to reserve memory for a custom logo.
      
      (cherry picked from commit 518566e856ed0aa8e127a1eda48c6392a39e4e86)
      16bac97c
    • Dmitry Petrov's avatar
      arm:dts:imx6qdl-san: Add empty reserved-memory node · 9e591387
      Dmitry Petrov authored
      The 'reserved-memory' node must exist in device tree, so that we can apply
      the DT overlay to reserve memory for a custom logo.
      
      (cherry picked from commit 492a65c2b6fbf47ebe26b851d0adf1beca2ba2e9)
      9e591387
    • Mikhail Vanyulin's avatar
      logo: add mem logo · e3f55646
      Mikhail Vanyulin authored and Dmitry Petrov's avatar Dmitry Petrov committed
      
      This is a fix for issue [746-000092] logo: Implement logo driver to show
      logo from RAM
      
      If CONFIG_LOGO_SECO_MEMLOGO is set, logo driver will get logo memory address
      and size from dtb. And if this points to a correct data, logo, loaded into
      memory will be displayed.
      If some part of dtb node is missing or data in the memory is incorrect,
      a logo, which was selected by the driver before will be used.
      
      It is also necessary to reserve memory to which logo is loaded.
      
      Exampled dtb nodes:
             seco-memlogo {
                     compatible = "seco,memlogo";
                     address = <0x14000000>;
                     size = <74501>;
             };
      
             reserved-memory {
                     #address-cells = <1>;
                     #size-cells = <1>;
                     ranges;
      
                     logo_reserved: logo@14000000 {
                             reusable;
                             reg = <0x14000000 74501>;
                     };
             };
      
      Example script, which will generate logo from logo.png:
          WIDTH=492
          HEIGHT=150
          pngtopam logo.png > logo.ppm
          pnmpad -width $WIDTH -height $HEIGHT logo.ppm > logo_pad.ppm
          pnmcolormap 224 logo_pad.ppm > colormap
          pnmremap -floyd -plain -mapfile=colormap logo_pad.ppm > logo_plain.ppm
          seco-pnmtologo -t clut224 -o logo.dat -f bin logo_plain.ppm
      
      Example command to load logo into memory from U-Boot:
          load mmc 1:3 0x14000000 logo.dat
      
      Signed-off-by: default avatarMikhail Vanyulin <mikhail.vanyulin@rtsoft.de>
      (cherry picked from commit e30bc118a5d2b4fd003c71006980c5b2c06429ca)
      e3f55646
  2. Mar 06, 2024
  3. Mar 05, 2024
  4. Mar 04, 2024
  5. Feb 27, 2024
    • Tobias Kahlki's avatar
      driver:pca953x: Disable input latching for level interrupts · dae7cae0
      Tobias Kahlki authored
      For level interrupts, the latching of the inputs is rather unwanted. The
      latching might lead to false interrupt states which occur if the input changes
      again before the interrupt is completely processed. This can either be
      resolved by reading the input status register twice or by disabling the
      latching for level interrupt pins. Without the latching, very short level
      interrupt changes are ignored. Since we don't want them anyway, we opt for
      the second solution.
      dae7cae0
  6. Feb 26, 2024
  7. Feb 23, 2024
  8. Feb 22, 2024
  9. Feb 19, 2024
  10. Feb 07, 2024
  11. Feb 02, 2024
  12. Feb 01, 2024
  13. Jan 31, 2024
    • Tobias Kahlki's avatar
      arm64:dts:seco: Revert deletion of seco-imx8mp-d18.dts · 224c9a76
      Tobias Kahlki authored
      This partly reverts commit 8fa40ae3. In the original commit, the
      devicetree was split into two. With the splitting, cherry-picks from the
      upstream repo doesn't work anymore. As a workaround, we revert the
      seco-imx8mp-d18.dts to its original state, include it in a new
      devicetree include and remove the B79 nodes there.
      224c9a76
  14. Jan 24, 2024
  15. Jan 22, 2024
  16. Jan 19, 2024
  17. Jan 09, 2024
  18. Jan 08, 2024
  19. Dec 21, 2023
  20. Dec 15, 2023
Loading