1. 10 Jan, 2023 4 commits
    • Arnd Bergmann's avatar
      Merge tag 'qcom-dts-fixes-for-6.2' of... · 985d7fef
      Arnd Bergmann authored
      Merge tag 'qcom-dts-fixes-for-6.2' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux into arm/fixes
      
      Qualcomm ARM32 DTS fix for 6.2
      
      This fixes a regression on Inforce 6540, as the sdhci nodes no longer
      overrides the platform's mmc nodes.
      
      * tag 'qcom-dts-fixes-for-6.2' of https://git.kernel.org/pub/scm/linux/kernel/git/qcom/linux:
        ARM: dts: qcom: apq8084-ifc6540: fix overriding SDHCI
      
      Link: https://lore.kernel.org/r/20230110212750.2182904-1-andersson@kernel.orgSigned-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      985d7fef
    • Arnd Bergmann's avatar
      Merge branch 'armsoc-build-fixes' of... · 6437c029
      Arnd Bergmann authored
      Merge branch 'armsoc-build-fixes' of https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc into arm/fixes
      
      ARM: SoC fixes
      
      These are three fixes for mistakes I discovered during the preparation
      of the boardfile removal. Robert noticed the accidental removal
      of PXA310 and PXA320 support because of a misplaced Kconfig statement,
      and the two OMAP patches were build failures that got introduced
      earlier but that I found while testing the removal.
      
      * 'armsoc-build-fixes' of https://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        ARM: omap1: fix building gpio15xx
        ARM: omap1: fix !ARCH_OMAP1_ANY link failures
        ARM: pxa: enable PXA310/PXA320 for DT-only build
      6437c029
    • Arnd Bergmann's avatar
      ARM: omap1: fix building gpio15xx · 9d46ce57
      Arnd Bergmann authored
      In some randconfig builds, the asm/irq.h header is not included
      in gpio15xx.c, so add an explicit include to avoid a build fialure:
      
      In file included from arch/arm/mach-omap1/gpio15xx.c:15:
      arch/arm/mach-omap1/irqs.h:99:34: error: 'NR_IRQS_LEGACY' undeclared here (not in a function)
         99 | #define IH2_BASE                (NR_IRQS_LEGACY + 32)
            |                                  ^~~~~~~~~~~~~~
      arch/arm/mach-omap1/irqs.h:105:38: note: in expansion of macro 'IH2_BASE'
        105 | #define INT_MPUIO               (5 + IH2_BASE)
            |                                      ^~~~~~~~
      arch/arm/mach-omap1/gpio15xx.c:28:27: note: in expansion of macro 'INT_MPUIO'
         28 |                 .start  = INT_MPUIO,
            |                           ^~~~~~~~~
      Acked-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      9d46ce57
    • Arnd Bergmann's avatar
      ARM: omap1: fix !ARCH_OMAP1_ANY link failures · 980a637d
      Arnd Bergmann authored
      While compile-testing randconfig builds for the upcoming boardfile
      removal, I noticed that an earlier patch of mine was completely
      broken, and the introduction of CONFIG_ARCH_OMAP1_ANY only replaced
      one set of build failures with another one, now resulting in
      link failures like
      
      ld: drivers/video/fbdev/omap/omapfb_main.o: in function `omapfb_do_probe':
      drivers/video/fbdev/omap/omapfb_main.c:1703: undefined reference to `omap_set_dma_priority'
      ld: drivers/dma/ti/omap-dma.o: in function `omap_dma_free_chan_resources':
      drivers/dma/ti/omap-dma.c:777: undefined reference to `omap_free_dma'
      drivers/dma/ti/omap-dma.c:1685: undefined reference to `omap_get_plat_info'
      ld: drivers/usb/gadget/udc/omap_udc.o: in function `next_in_dma':
      drivers/usb/gadget/udc/omap_udc.c:820: undefined reference to `omap_get_dma_active_status'
      
      I tried reworking it, but the resulting patch ended up much bigger than
      simply avoiding the original problem of unused-function warnings like
      
      arch/arm/mach-omap1/mcbsp.c:76:30: error: unused variable 'omap1_mcbsp_ops' [-Werror,-Wunused-variable]
      
      As a result, revert the previous fix, and rearrange the code that
      produces warnings to hide them. For mcbsp, the #ifdef check can
      simply be removed as the cpu_is_omapxxx() checks already achieve
      the same result, while in the io.c the easiest solution appears to
      be to merge the common map bits into each soc specific portion.
      This gets cleaned in a nicer way after omap7xx support gets dropped,
      as the remaining SoCs all have the exact same I/O map.
      
      Fixes: 615dce5b ("ARM: omap1: fix build with no SoC selected")
      Cc: stable@vger.kernel.org
      Acked-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      980a637d
  2. 09 Jan, 2023 7 commits
  3. 06 Jan, 2023 1 commit
  4. 03 Jan, 2023 6 commits
  5. 02 Jan, 2023 2 commits
  6. 01 Jan, 2023 11 commits
  7. 31 Dec, 2022 9 commits