1. 13 Nov, 2019 2 commits
  2. 11 Nov, 2019 4 commits
    • Markus Elfring's avatar
      ARM: OMAP2+: Add missing put_device() call in omapdss_init_of() · 0b491904
      Markus Elfring authored
      A coccicheck run provided information like the following.
      
      arch/arm/mach-omap2/display.c:268:2-8: ERROR: missing put_device;
      call of_find_device_by_node on line 258, but without a corresponding
      object release within this function.
      
      Generated by: scripts/coccinelle/free/put_device.cocci
      
      Thus add the missed function call to fix the exception handling for
      this function implementation.
      
      Fixes: e0c827ac ("drm/omap: Populate DSS children in omapdss driver")
      Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      0b491904
    • Ben Dooks (Codethink)'s avatar
      OMAP2: fixup doc comments in omap_device · 7b6560b4
      Ben Dooks (Codethink) authored
      The documentation comments in this file are out of
      date with the code, so fix this to avoid the
      following warnings:
      
      arch/arm/mach-omap2/omap_device.c:133: warning: Function parameter or member 'pdev' not described in 'omap_device_build_from_dt'
      arch/arm/mach-omap2/omap_device.c:133: warning: Excess function parameter 'pdev_name' description in 'omap_device_build_from_dt'
      arch/arm/mach-omap2/omap_device.c:133: warning: Excess function parameter 'pdev_id' description in 'omap_device_build_from_dt'
      arch/arm/mach-omap2/omap_device.c:133: warning: Excess function parameter 'oh' description in 'omap_device_build_from_dt'
      arch/arm/mach-omap2/omap_device.c:133: warning: Excess function parameter 'pdata' description in 'omap_device_build_from_dt'
      arch/arm/mach-omap2/omap_device.c:133: warning: Excess function parameter 'pdata_len' description in 'omap_device_build_from_dt'
      arch/arm/mach-omap2/omap_device.c:309: warning: Function parameter or member 'pdev' not described in 'omap_device_get_context_loss_count'
      arch/arm/mach-omap2/omap_device.c:309: warning: Excess function parameter 'od' description in 'omap_device_get_context_loss_count'
      arch/arm/mach-omap2/omap_device.c:335: warning: Function parameter or member 'ohs' not described in 'omap_device_alloc'
      arch/arm/mach-omap2/omap_device.c:335: warning: Function parameter or member 'oh_cnt' not described in 'omap_device_alloc'
      arch/arm/mach-omap2/omap_device.c:335: warning: Excess function parameter 'oh' description in 'omap_device_alloc'
      arch/arm/mach-omap2/omap_device.c:335: warning: Excess function parameter 'pdata' description in 'omap_device_alloc'
      arch/arm/mach-omap2/omap_device.c:335: warning: Excess function parameter 'pdata_len' description in 'omap_device_alloc'
      arch/arm/mach-omap2/omap_device.c:659: warning: Function parameter or member 'pdev' not described in 'omap_device_register'
      arch/arm/mach-omap2/omap_device.c:659: warning: Excess function parameter 'od' description in 'omap_device_register'
      arch/arm/mach-omap2/omap_device.c:682: warning: Function parameter or member 'pdev' not described in 'omap_device_enable'
      arch/arm/mach-omap2/omap_device.c:682: warning: Excess function parameter 'od' description in 'omap_device_enable'
      arch/arm/mach-omap2/omap_device.c:713: warning: Function parameter or member 'pdev' not described in 'omap_device_idle'
      arch/arm/mach-omap2/omap_device.c:713: warning: Excess function parameter 'od' description in 'omap_device_idle'
      Signed-off-by: default avatarBen Dooks (Codethink) <ben.dooks@codethink.co.uk>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      7b6560b4
    • Tony Lindgren's avatar
    • Uwe Kleine-König's avatar
      ARM: OMAP1: drop duplicated dependency on ARCH_OMAP1 · dafd24c7
      Uwe Kleine-König authored
      All of arch/arm/mach-omap1/Kconfig is enclosed in a big "if ARCH_OMAP1"
      and so every symbol already has a dependency on ARCH_OMAP1 even without
      mentioning it in their list of dependencies.
      
      Also dependencies on ARCH_OMAP can be dropped as it is selected by
      ARCH_OMAP1.
      Signed-off-by: default avatarUwe Kleine-König <uwe@kleine-koenig.org>
      Acked-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      dafd24c7
  3. 06 Nov, 2019 2 commits
  4. 04 Nov, 2019 6 commits
  5. 29 Oct, 2019 2 commits
  6. 28 Oct, 2019 5 commits
  7. 26 Oct, 2019 3 commits
  8. 25 Oct, 2019 1 commit
  9. 24 Oct, 2019 2 commits
    • Olof Johansson's avatar
      Merge tag 'omap-for-v5.5/soc-signed' of... · cd474464
      Olof Johansson authored
      Merge tag 'omap-for-v5.5/soc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/soc
      
      SoC changes for omaps for v5.5
      
      This series of changes contains SoC related clean-up, and some PM
      improvments:
      
      - SoC clean-up to drop unused enable_wakeup and disable_wakeup,
        simplify clkdm_clock_enable and disable, and few sparse fixes
      
      - Drop pdata-quirks for TI bluetooth, this is now handled by a serdev
        driver
      
      - A series of PM changes to re-enable core oswr (open switch retention)
        for omap4 that got disabled earlier because of various gpio-omap issues
        that have been fixed earlier this year. We want to do this in small
        steps for the pwrdm_set_logic_retst() changes so we can identify the
        domain in case of unexpected issues
      
      - A series of PM changes to configure voltage controller for droid4.
        Eventually the voltage controller configuration should use device tree,
        but we want to get things working first. These changes bring down
        down the idle power consumption for droid4 with LCD blanked, WLAN
        connected, USB disabled, and modem disabled to about 32 to 35mW from
        about 39 to 45 mW
      
      * tag 'omap-for-v5.5/soc-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: (24 commits)
        ARM: OMAP2+: Remove duplicated include from pmic-cpcap.c
        ARM: OMAP2+: pdata-quirks: drop TI_ST/KIM support
        ARM: OMAP2+: make omap44xx_sha0_hwmod and omap44xx_l3_main_2__des static
        ARM: OMAP2+: prm44xx: make prm_{save,restore}_context static
        ARM: OMAP2+: make dra7xx_sha0_hwmod static
        ARM: OMAP2+: do not export am43xx_control functions
        ARM: OMAP2+: Configure voltage controller for cpcap to low-speed
        ARM: OMAP2+: Configure voltage controller for retention
        ARM: OMAP2+: Make some functions static
        ARM: OMAP2+: Simplify code for clkdm_clock_enable and disable
        ARM: OMAP2+: Drop unused enable_wakeup and disable_wakeup
        ARM: OMAP2+: Initialize voltage controller for omap4
        ARM: OMAP2+: Allow core oswr for omap4
        ARM: OMAP2+: Allow per oswr for omap4
        ARM: OMAP2+: Configure voltage controller for cpcap
        ARM: OMAP2+: Update 4430 voltage controller operating points
        ARM: OMAP2+: Remove bogus warnings for machines without twl PMIC
        ARM: OMAP2+: Drop bogus wkup domain oswr setting
        ARM: OMAP2+: Remove unused wakeup_cpu
        ARM: dts: Use level interrupt for omap4 & 5 wlcore
        ...
      
      Link: https://lore.kernel.org/r/pull-1571934890-285615@atomide.comSigned-off-by: default avatarOlof Johansson <olof@lixom.net>
      cd474464
    • Olof Johansson's avatar
      Merge tag 'arm-soc/for-5.5/soc' of https://github.com/Broadcom/stblinux into arm/soc · becbe95e
      Olof Johansson authored
      This pull request contains Broadcom ARM-based SoCs machine/Kconfig
      updates for 5.5, please pull the following:
      
      - Stefan adds a machine descriptor for BCM2711 (Raspberry Pi 4) which
        sets up the appropriate DMA aperture for the Pi peripherals to work
        (1GB window at 3GB offset)
      
      - Ben fixes a number of sparse warnings for the Kona SMC code and the
        BCM2836 SMP code
      
      * tag 'arm-soc/for-5.5/soc' of https://github.com/Broadcom/stblinux:
        ARM: bcm: fix missing __iomem in bcm_kona_smc.c
        ARM: bcm: include local platsmp.h for bcm2836_smp_ops
        ARM: bcm: Add support for BCM2711 SoC
      
      Link: https://lore.kernel.org/r/20191023212814.30622-4-f.fainelli@gmail.comSigned-off-by: default avatarOlof Johansson <olof@lixom.net>
      becbe95e
  10. 23 Oct, 2019 2 commits
  11. 22 Oct, 2019 3 commits
  12. 21 Oct, 2019 5 commits
  13. 19 Oct, 2019 1 commit
  14. 18 Oct, 2019 2 commits
    • Tony Lindgren's avatar
      ARM: OMAP2+: Configure voltage controller for cpcap to low-speed · c145649b
      Tony Lindgren authored
      Looks like the i2c timings in high-speed mode do not work properly to
      allow us to clear I2C_DISABLE bits for PRM_VOLTCTRL register and the
      device reboots if I2C_DISABLE bits are cleared.
      
      Let's configure the voltage controller i2c for low-speed mode as done in
      the Motorola Mapphone Android Linux kernel. This saves us about 7mW of
      power during retention compared to the high-speed values.
      
      Let's also change the low-speed warning to pr_info about relying on the
      bootloader configured low-speed values like we currently do.
      
      Cc: Merlijn Wajer <merlijn@wizzup.org>
      Cc: Pavel Machek <pavel@ucw.cz>
      Cc: Sebastian Reichel <sre@kernel.org>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      c145649b
    • Tony Lindgren's avatar
      ARM: OMAP2+: Configure voltage controller for retention · 71065d3f
      Tony Lindgren authored
      Similar to existing omap3_vc_set_pmic_signaling(), let's add omap4
      specific omap4_vc_set_pmic_signaling(). This allows the configured
      devices to enable voltage controller for retention later on during
      init.
      
      Cc: Merlijn Wajer <merlijn@wizzup.org>
      Cc: Pavel Machek <pavel@ucw.cz>
      Cc: Sebastian Reichel <sre@kernel.org>
      Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
      71065d3f