1. 20 Feb, 2020 21 commits
    • Frieder Schrempf's avatar
      arm64: dts: Add support for the Kontron N80xx i.MX8M-Mini boards and modules · 15ee6bde
      Frieder Schrempf authored
      The Kontron N8000 is a SMARC module with an i.MX8M-Mini SoC, PMIC,
      LPDDR4 RAM, SPI NOR, eMMC, 1G Ethernet, USB 2.0 Hub.
      
      The Kontron N8010 is a SoM module with an i.MX8M-Mini SoC,
      LPDDR4 RAM, SPI NOR, eMMC and PMIC.
      Signed-off-by: Frieder Schrempf's avatarFrieder Schrempf <frieder.schrempf@kontron.de>
      15ee6bde
    • Frieder Schrempf's avatar
      ARM: dts: Add support for more Kontron i.MX6UL/ULL SoMs and boards · e86c168d
      Frieder Schrempf authored
      In order to support more of the i.MX6UL/ULL-based SoMs and boards by
      Kontron Electronics GmbH, we restructure the devicetrees to share common
      parts and add new devicetrees for the missing boards.
      
      Currently there are the following SoM flavors:
        * N6310: SoM with i.MX6UL-2, 256MB RAM, 256MB SPI NAND
        * N6311: SoM with i.MX6UL-2, 512MB RAM, 512MB SPI NAND (new)
        * N6411: SoM with i.MX6ULL, 512MB RAM, 512MB SPI NAND (new)
      
      Each of the SoMs also features 1MB SPI NOR and an Ethernet PHY. The carrier
      board for the evalkit is the same for all SoMs.
      
      This series also includes some small fixes for the shared parts of the
      devicetrees.
      Signed-off-by: Frieder Schrempf's avatarFrieder Schrempf <frieder.schrempf@kontron.de>
      e86c168d
    • Frieder Schrempf's avatar
      44ece41d
    • Fancy Fang's avatar
      ARM64: dts: imx8mm: Extend and fix devicetree for display support · c1d0f36b
      Fancy Fang authored
      The following changes were squashed into this commit:
      
      ARM64: dts: imx8mm: add display devices nodes
      ARM64: dts: imx8mm: correct 'reg' property for display nodes
      ARM64: dts: imx8mm: re-order display nodes
      ARM64: dts: imx8mm: increase cma size to '0x28000000'
      arm64: dts: imx8mm: Add 'dispmix-reset' device
      arm64: dts: imx8mm: Define resets for LCDIF and DSIM
      arm64: dts: imx8mm: rename apb clock names for dispmix reset
      imx8mm.dtsi: Fix some display settings
      c1d0f36b
    • Frieder Schrempf's avatar
      Revert "clk: imx8mm: Switch to platform driver" · 3ea8997c
      Frieder Schrempf authored
      This reverts commit af7e7ee0 which
      for some unknown reasons breaks SPI support for i.MX8MM.
      3ea8997c
    • Frieder Schrempf's avatar
      arm64: dts: imx8mm: Add the node for the CAAM crypto module · edf59661
      Frieder Schrempf authored
      This is ported from the i.MX8MQ devicetree, as the SoCs use the same
      crypto hardware.
      Signed-off-by: Frieder Schrempf's avatarFrieder Schrempf <frieder.schrempf@kontron.de>
      edf59661
    • Frieder Schrempf's avatar
      arm64: dts: imx8mm: Add missing mux options for UART1 and UART2 signals · e9d8be9f
      Frieder Schrempf authored
      According to the reference manual and the "Pins Tool" from NXP, the
      signals for UART1 and UART2 can be muxed to the SAI2 and SAI3 pads
      respectively. Let's add the missing options.
      Signed-off-by: Frieder Schrempf's avatarFrieder Schrempf <frieder.schrempf@kontron.de>
      e9d8be9f
    • Frieder Schrempf's avatar
      arm64: dts: imx8mm: Remove DMA from SPI nodes · 53f5fe05
      Frieder Schrempf authored
      Currently DMA does not work for i.MX8MM ECSPI. Therfore just remove
      it for now to use PIO mode instead.
      
      For details see: https://lore.kernel.org/patchwork/cover/1086452/Signed-off-by: Frieder Schrempf's avatarFrieder Schrempf <frieder.schrempf@kontron.de>
      53f5fe05
    • Robin Gong's avatar
      regulator: Add support for NXP PCA9450 PMIC regulators · 40851798
      Robin Gong authored
      Add a new regulator driver for the PCA9450 PMIC for use with the
      i.MX8M-Mini/Nano.
      Signed-off-by: default avatarJohn Lee <john.lee@nxp.com>
      Signed-off-by: default avatarRobin Gong <yibin.gong@nxp.com>
      Reviewed-by: default avatarAnson Huang <anson.huang@nxp.com>
      (cherry picked from commit 90f61a4155308cfd0e33116540ec0c939204ce73)
      40851798
    • Robin Gong's avatar
      mfd: pca9450: Add support for NXP PCA9450 PMIC · dfec7521
      Robin Gong authored
      Add a new mfd driver for the PCA9450 PMIC for use with the
      i.MX8M-Mini/Nano.
      Signed-off-by: default avatarJohn Lee <john.lee@nxp.com>
      Signed-off-by: default avatarRobin Gong <yibin.gong@nxp.com>
      Reviewed-by: default avatarAnson Huang <anson.huang@nxp.com>
      (cherry picked from commit 2189979539bb9817d3d8bf0f5489f906d86e673f)
      dfec7521
    • Frieder Schrempf's avatar
      mtd: spi-nor: Add support for Macronix MX25R1635F · 2a674d99
      Frieder Schrempf authored
      The MX25R1635F is similar to the MX25V8035F that is already
      supported. The main differences are a wider supply voltage
      range and twice the size (16Mb).
      
      It was tested on the Kontron Electronics i.MX8MM SoM (N8010)
      using raw read and write from and to the mtd device and
      the 'flash_erase' command.
      Signed-off-by: Frieder Schrempf's avatarFrieder Schrempf <frieder.schrempf@kontron.de>
      2a674d99
    • Valentin Raevsky's avatar
      drm/bridge: sn65dsi83: Add TI SN65DSI DSI to LVDS bridge · 2d4f1cce
      Valentin Raevsky authored
      Import the driver for the SN65DSI LVDS bridge from the Variscite kernel at
      https://github.com/varigit/linux-imx/tree/imx_4.14.98_2.0.0_ga_var01/drivers/gpu/drm/bridge/sn65dsi83
      
      This contains the following squashed commits:
      
      sn65dsi83: Add dsi2lvds bridge
      sn65dsi83: Fixed Kconfig help messages
      sn65dsi83: Convert debug messages from dev_info() to dev_dbg()
      sn65dsi83: Add burst/sync option switch
      sn65dsi83: Add panel-enable option
      sn65dsi83: Add de-neg-polarity option
      sn65dsi83: Add dual channel support
      sn65dsi83: forward port changes for 5.4
      2d4f1cce
    • Robert Chiras's avatar
      drm/bridge: adv7511: Add support for ADV7535 and other fixes and improvements · fa2f0a4e
      Robert Chiras authored
      This contains the following squashed changes:
      
      MLK-16347-6 drm/bridge: adv7511: Add new compatible string
      MLK-16918-15 drm/bridge: Update adv7511 driver with some regs for adv7535
      MLK-16986-4 drm/bridge: adv7511: set bus_flags and bus_format
      MLK-17275-1 drm/bridge: adv7511: Add support for OF_DYNAMIC
      MLK-17275-7 drm/bridge: adv7511: Add dsi-channel property
      MLK-17650-1 drm/bridge: adv7511: Add support for programmable i2c addresses
      MLK-18877-1 drm/bridge: adv7511: Add debug info for HPD event
      MLK-17537-1 drm/bridge: Correct the ADV7533 init
      drm/bridge: adv7511: Fix of_reconfig
      fa2f0a4e
    • Fancy Fang's avatar
      drm/imx: sec_mipi_dsim-imx: add DSIM host driver · 6a246a67
      Fancy Fang authored
      This contains the following squashed commits:
      
      MLK-18535-8 drm/imx: sec_mipi_dsim-imx: add DSIM host driver
      drm/imx: add DISPMIX power domain support for SEC DSIM
      MLK-19017-6 drm/imx: add system pm support for SEC DSIM
      MLK-19017-7 drm/imx: sec-dsim_imx: add rpm status check for suspend/resume
      MLK-19158-1 drm/imx: sec-dsim_imx: add bus format check for ENCODER
      MLK-19537-3 drm/imx: sec-dsim_imx: remove dphy slave reset
      drm/imx: sec-dsim_imx: move PLL check to DSIM Encoder
      drm/imx: sec-dsim_imx: improve DPHY TIMING configs
      MLK-19400-2 drm/imx: sec-dsim_imx: alter 'rpm_suspended' to a counter
      drm/imx: sec-dsim_imx: a general way to compute PLL PMS
      drm/imx: sec-dsim_imx: correct DSIM version register access
      drm/imx: dsim: change DISPMIX reset for IMX8MN
      MLK-22304-1 drm/imx: dsim: fix build warnings if CONFIG_PM_SLEEP off
      drm/imx: Replace reset flow for DSIM
      drm/imx: sec-dsim_imx: add resets put for probe failure
      drm/imx: sec_dsim-imx: add imx8mn compatible support
      LF-46 drm/imx: sec-dsim: use late suspend
      sec_mipi_dsim-imx: Remove busfreq
      6a246a67
    • Fancy Fang's avatar
      drm/bridge: sec-dsim: add bridge driver support · 76b35d45
      Fancy Fang authored
      This contains the following squashed commits:
      
      MLK-18535-7 drm/bridge: sec-dsim: add bridge driver support
      MLK-18535-13 dt-bindings: display: bridge: add sec-dsim bindings
      MLK-19081 drm/bridge: sec-dsim: correct args of 'drm_bridge_attach' call
      MLK-18605-1 drm/bridge: sec-dsim: add cleanup when detach dsi client
      MLK-18605-2 drm/bridge: sec-dsim: allow same panel can be re-attached
      MLK-18605-3 drm/bridge: sec-dsim: refuse unknown dsi device attach
      MLK-18605-4 drm/bridge: sec-dsim: refine data lanes stop state check
      MLK-18605-5 drm/bridge: sec-dsim: correct 'DSIM_FIFOCTRL' offset
      MLK-18605-6 drm/bridge: sec-dsim: add fifo pointers initialization
      MLK-18605-7 drm/bridge: sec-dsim: correct a register macro misspelt
      MLK-18605-8 drm/bridge: sec-dsim: add non-continuous clock support
      MLK-18605-9 drm/bridge: sec-dsim: increase timeout values for BTA and LPRX
      MLK-18605-10 drm/bridge: sec-dsim: complete mipi panel support
      MLK-19017-5 drm/bridge: sec-dsim: add DISPMIX power domain support
      MLK-19082 drm/bridge: sec-dsim: wait 'ph_tx_done' for long packet send
      MLK-19252-1 drm/bridge: sec-dsim: move PLL check to DSIM Encoder
      MLK-19252-3 drm/bridge: sec-dsim: workaround 3 data lanes case
      MLK-19252-4 drm/bridge: sec-dsim: improve HT configs
      MLK-19252-5 drm/bridge: sec-dsim: improve PLL PMS configs
      MLK-19252-6 drm/bridge: sec-dsim: improve DPHY TIMING configs
      MLK-19252-7 drm/bridge: sec-dsim: workaround for 720p@60Hz on 4 lanes
      MLK-19317-1 drm/bridge: sec-dsim: add missing 'ctrail' assignment
      MLK-19317-2 drm/bridge: sec-dsim: fine tune for '720p@60Hz' mode on 2 lanes
      MLK-19400-1 drm/bridge: sec-dsim: correct one fail branching
      MLK-21150-1 drm/bridge: sec-dsim: change uint64_t clk fields to uint32_t
      MLK-21150-2 drm/bridge: sec-dsim: refine hblank word count compute
      MLK-21150-3 drm/bridge: sec-dsim: add a new property 'pref-rate'
      MLK-21150-4 drm/bridge: sec-dsim: a general way to compute PLL PMS
      MLK-21252 drm/bridge: sec-dsim: resolve OVERFLOW_BEFORE_WIDEN warns
      MLK-21383 drm/bridge: sec-dsim: fix maybe-uninitialized build warnings
      MLK-21880-1 drm/bridge: sec-dsim: correct DSIM version register access
      MLK-21911 drm/bridge: sec-dsim: free 'pll_pms' to avoid memory leak
      MLK-21274-3 drm/bridge: sec-dsim: add defer probe support
      MLK-21274-2 drm/bridge: sec-dsim: remove bridge assign for encoder
      MLK-20687 drm/bridge: sec-dsim: correct LPM config for Long Packet
      MLK-20438 drm/bridge: sec-dsim: remove 'FORCEBTA' for packet send
      LF-335 drm/bridge: sec-dsim: solve fallthrough build warnings
      sec-dsim.c: Enable disp APB clock
      76b35d45
    • Fancy Fang's avatar
      drm/imx: core: add LCDIF support · 58857d70
      Fancy Fang authored
      This contains the following squashed changes:
      
      MLK-18535-6 drm/imx: core: add LCDIF support
      MLK-18535-3 gpu: imx: add LCDIF core driver
      MLK-18535-5 drm/imx: add LCDIF DRM/KMS driver
      MLK-21876-10 gpu: drm: lcdif: fix headfile reference issue
      gpu: imx: lcdif: break Kconfig recursive dependency
      MLK-18535-10 drm/imx: lcdif: limit the maximum resolution to '1920x1080'
      MLK-18560 drm/imx: lcdif: refine bus format sanity check for plane
      MLK-18605-14 drm/imx: lcdif: adjust 'max_height' for '1080x1920' mode
      MLK-19017-2 gpu: imx: add DISPMIX power domain support for LCDIF
      MLK-19017-3 gpu: imx: add system pm support for LCDIF
      MLK-19017-4 gpu: imx: lcdif: add rpm status check for suspend/resume
      MLK-19083 drm/imx: lcdif: remove untrue condition for pixel format set
      MLK-19112 gpu: imx: lcdif: change 'rpm_suspended' to be atomic counter
      MLK-19152-1 gpu: imx: lcdif: realize fb horizontal crop via Pigeon Mode
      MLK-19152-2 drm/imx: lcdif: force 'mode_changed' when fb width changed
      MLK-19152-3 drm/imx: lcdif: add horizontal crop support to plane update
      MLK-19199 drm/imx: lcdif: replace FB width usage for cropping
      MLK-19158-2 drm/imx: lcdif: improve output bus format config
      MLK-19158-3 gpu: imx: lcdif: fix output order for 16bpp BGR formats
      MLK-19158-4 drm/imx: lcdif: remove bus format check from PLANE's check
      MLK-19158-5 drm/imx: lcdif: add bus format check to CRTC's check
      MLK-19318 drm/imx: lcdif: avoid log print when no device attached
      MLK-19819-1 drm/imx: lcdif: bypass atomic check when CRTC will be disabled
      MLK-19819-2 Revert "MLK-19318 drm/imx: lcdif: avoid log print when no device attached"
      MLK-20337 drm/imx: lcdif: block 'active CRTC with no plane' commit
      MLK-22158 drm/imx: lcdif: force 'mode_changed' for fb pix fmt change
      drm/imx: lcdif: change DISPMIX reset for IMX8MN
      gpu: imx: lcdif: fix build warnings if CONFIG_PM_SLEEP off
      drm/imx: Replace reset flow for LCDIF
      gpu: imx: lcdif: add imx8mn compatible support
      lcdif: Remove busfreq and fix MODULE_DEVICE_TABLE()
      58857d70
    • Liu Ying's avatar
      drm/imx: Preparations for extending the IMX DRM support · bc8ce2b0
      Liu Ying authored
      This contains the following squashed changes:
      
      drm/imx: Revert a patch which merges imx-drm-core and ipuv3-crtc in one module
      gpu: Move ipu-v3 to imx folder
      drm/imx: Extract IPUv3 specific KMS functions to ipuv3-kms.c (part 1)
      drm/imx: Extract IPUv3 specific KMS functions to ipuv3-kms.c (part 2)
      MLK-22171 drm/imx: Avoid leaking dangling pointer dev->driver_data to PM ops
      drm/imx: ipuv3-crtc: Rename some IPUv3 specific functions
      drm/imx: ipuv3-kms: Move to a new ipuv3 folder
      MLK-21876-10 gpu: drm: ipu: fix headfile reference issue (part2)
      MLK-22156-3 gpu: ipu-v3: move new ipu file ipu-ic-csc.c under gpu/imx
      bc8ce2b0
    • Fancy Fang's avatar
      reset: Add driver for dispmix reset · 8f871a1e
      Fancy Fang authored
      This is an reset driver to implement a reset controller
      device DISPMIX on IMX8MM and IMX8MN platforms. Dispmix
      reset is used to reset or enable related buses and clks
      for the submodules in DISPMIX.
      
      All the dispmix resets are divided into three subgroups:
      sft_rstn, clk_en and mipi_rst, and each of them contains
      several reset lines to control several different modules
      on and off in DISPMIX which doesn't require the standard
      reset flow, but only line assert and deassert operations.
      Signed-off-by: default avatarFancy Fang <chen.fang@nxp.com>
      
      The following patches from the NXP tree were squashed
      into this patch:
      
      6d73c7f3ae06 reset: Add driver for dispmix reset
      7a139f7c2521 reset: imx8m: Correct clock name for dispmix driver
      4ec8c8184529 reset: Kconfig: use 'ARCH_MXC' for reset dispmix
      8f871a1e
    • Frieder Schrempf's avatar
    • Frieder Schrempf's avatar
    • Frieder Schrempf's avatar
      crypto: caam: Add support for i.MX8MM · 2f277f0a
      Frieder Schrempf authored
      The i.MX8MM uses the same CAAM hardware as i.MX8MQ. Therefore we can
      just use the same configuration.
      Signed-off-by: Frieder Schrempf's avatarFrieder Schrempf <frieder.schrempf@kontron.de>
      2f277f0a
  2. 19 Feb, 2020 19 commits