mbox series

[GIT,PULL,1/3] Driver changes for omaps for genpd support

Message ID pull-1617004205-537424@atomide.com
State New
Headers show
Series [GIT,PULL,1/3] Driver changes for omaps for genpd support | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v5.13/ti-sysc-signed

Message

Tony Lindgren March 29, 2021, 7:55 a.m. UTC
From: "Tony Lindgren" <tony@atomide.com>

The following changes since commit 4c9f4865f4604744d4f1a43db22ac6ec9dc8e587:

  Merge branch 'fixes-rc2' into fixes (2021-03-08 11:34:12 +0200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v5.13/ti-sysc-signed

for you to fetch changes up to d995d3d025bbd2d89abf12418f20d19bc0cb0130:

  bus: ti-sysc: Use kzalloc for allocating only one thing (2021-03-24 13:44:04 +0200)

----------------------------------------------------------------
Driver changes for omaps for genpd support for v5.13

In order to move omap4/5 and dra7 to probe with devicetree data and genpd,
we need to patch the related drivers to prepare.

These are mostly ti-sysc interconnect target module driver changes and soc
init changes. However, there are minor changes to other drivers too. There
are changes for pci-dra7xx probe, omap-prm idle configuration, and a omap5
clock change:

- ti-sysc needs iorange check improved when the interconnect target module
  has no control registers listed

- ti-sysc needs to probe l4_wkup and l4_cfg interconnects first to avoid
  issues with missing resources and unnecessary deferred probe

- ti-sysc debug option can now detect more devices

- ti-sysc now warns if an old incomplete devicetree data is found as we
  now rely on it being complete for am3 and 4

- soc init code needs to check for prcm and prm nodes for omap4/5 and
  dra7

- omap-prm driver needs to enable autoidle retention support for omap4

- omap5 clocks are missing gpmc and ocmc clock registers

- pci-dra7xx now needs to use builtin_platform_driver instead of using
  builtin_platform_driver_probe for deferred probe to work

There are also few minor non-urgent fixes:

- soc init code pdata_quirks_init_clocks should be static

- ti-sysc has few unneeded semiconon typos

- ti-sysc can use kzalloc instead of kcalloc for a single element

----------------------------------------------------------------
Tony Lindgren (8):
      bus: ti-sysc: Fix initializing module_pa for modules without sysc register
      bus: ti-sysc: Probe for l4_wkup and l4_cfg interconnect devices first
      bus: ti-sysc: Detect more modules for debugging
      bus: ti-sysc: Check for old incomplete dtb
      ARM: OMAP2+: Init both prm and prcm nodes early for clocks
      soc: ti: omap-prm: Allow hardware supported retention when idle
      clk: ti: omap5: Add missing gpmc and ocmc clkctrl
      PCI: pci-dra7xx: Prepare for deferred probe with module_platform_driver

Wei Yongjun (1):
      ARM: OMAP2+: Make symbol 'pdata_quirks_init_clocks' static

Yang Li (1):
      bus: ti-sysc: remove unneeded semicolon

Zheng Yongjun (1):
      bus: ti-sysc: Use kzalloc for allocating only one thing

 arch/arm/mach-omap2/pdata-quirks.c      | 29 ++++++++----
 drivers/bus/ti-sysc.c                   | 84 ++++++++++++++++++++++++++++++---
 drivers/clk/ti/clk-54xx.c               |  2 +
 drivers/pci/controller/dwc/pci-dra7xx.c | 13 ++---
 drivers/soc/ti/omap_prm.c               | 16 +++++--
 include/dt-bindings/clock/omap5.h       |  2 +
 6 files changed, 122 insertions(+), 24 deletions(-)

Comments

Arnd Bergmann April 1, 2021, 7:24 p.m. UTC | #1
From: Arnd Bergmann <arnd@arndb.de>

On Mon, 29 Mar 2021 10:55:20 +0300, Tony Lindgren wrote:
> The following changes since commit 4c9f4865f4604744d4f1a43db22ac6ec9dc8e587:
> 
>   Merge branch 'fixes-rc2' into fixes (2021-03-08 11:34:12 +0200)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap tags/omap-for-v5.13/ti-sysc-signed
> 
> [...]

Merged into arm/drivers, thanks!

merge commit: 1d79dca631e8e7fe886f44f49b1e0a16e1ac1dfc

       Arnd