linux_dsm_epyc7002/arch/arm
Tony Lindgren 2b2f7def05 bus: ti-sysc: Add support for missing clockdomain handling
We need to let ti-sysc driver manage clockdomain autoidle for the
duration of of reset, enable and idle. And we need to do it before we
enable the clock and after we disable it. Currently we are still
relying on platform callbacks indirectly managing clockdomain autoidle.
But I noticed that for device tree only probed drivers it now happens
only after we enabling the clocks and before we disable the clocks,
while it should be the other way around. So far I have not noticed
any issues with this though.

Let's add new ti_sysc_clkdm_deny_idle() and ti_sysc_clkdm_allow_idle()
functions for ti-sysc driver to use to manage clockdomains directly via
platform data callbacks. Note that we can implement the clockdomain
functions in pdata-quirks.c as for probing devices without "ti,hwmods"
custom property we don't need to use the other platform data callbacks.

Let's do this in one patch as there's is still an unlikely chance we
may need to apply this as a fix for v5.2 for dropping legacy platform
data for some devices. We also do have the option of adding back the
platform data if needed in case of trouble.

Tested-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2019-05-28 05:19:14 -07:00
..
boot Merge branch 'omap-for-v5.2/ti-sysc' into fixes 2019-05-20 08:33:03 -07:00
common treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
configs ARM: SoC: late updates 2019-05-19 10:16:39 -07:00
crypto crypto: shash - remove shash_desc::flags 2019-04-25 15:38:12 +08:00
include * ARM: support for SVE and Pointer Authentication in guests, PMU improvements 2019-05-17 10:33:30 -07:00
kernel More power management updates for 5.2-rc1 2019-05-15 08:46:44 -07:00
kvm Make anon_inodes unconditional 2019-04-19 14:03:11 +02:00
lib
mach-actions
mach-alpine
mach-artpec
mach-asm9260
mach-aspeed
mach-at91 Merge branch 'timers-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2019-05-19 11:11:20 -07:00
mach-axxia
mach-bcm
mach-berlin
mach-clps711x
mach-cns3xxx
mach-davinci One more patch to remove io.h from clk-provider.h. We used to need this 2019-05-16 19:05:35 -07:00
mach-digicolor
mach-dove clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
mach-ebsa110
mach-efm32
mach-ep93xx ARM: SoC platform updates 2019-05-16 08:31:32 -07:00
mach-exynos
mach-footbridge
mach-gemini
mach-highbank
mach-hisi
mach-imx ARM: SoC platform updates 2019-05-16 08:31:32 -07:00
mach-integrator treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
mach-iop13xx treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
mach-iop32x
mach-iop33x
mach-ixp4xx ARM: ixp4xx: Remove duplicated include from common.c 2019-05-16 10:53:15 -07:00
mach-keystone
mach-ks8695 treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
mach-lpc18xx
mach-lpc32xx ARM: lpc32xx: use SPDX license identifier 2019-04-19 22:59:30 +03:00
mach-mediatek clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
mach-meson
mach-milbeaut
mach-mmp
mach-moxart
mach-mv78xx0 clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
mach-mvebu Merge tag 'mvebu-arm-5.2-1' of git://git.infradead.org/linux-mvebu into arm/late 2019-05-16 10:53:23 -07:00
mach-mxs
mach-netx
mach-nomadik
mach-npcm
mach-nspire
mach-omap1 Merge tag 'omap-for-v5.1/fixes-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/late 2019-05-16 10:53:18 -07:00
mach-omap2 bus: ti-sysc: Add support for missing clockdomain handling 2019-05-28 05:19:14 -07:00
mach-orion5x clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
mach-oxnas
mach-picoxcell
mach-prima2 treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
mach-pxa treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
mach-qcom
mach-rda
mach-realview
mach-rockchip One more patch to remove io.h from clk-provider.h. We used to need this 2019-05-16 19:05:35 -07:00
mach-rpc
mach-s3c24xx treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
mach-s3c64xx
mach-s5pv210
mach-sa1100 treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
mach-shmobile
mach-socfpga
mach-spear
mach-sti
mach-stm32 ARM: stm32: add AMBA support for stm32 family 2019-04-28 23:01:47 -07:00
mach-sunxi
mach-tango
mach-tegra ARM: SoC-related driver updates 2019-05-16 09:19:14 -07:00
mach-u300 ARM: u300: regulator: add MODULE_LICENSE() 2019-04-28 23:10:36 -07:00
mach-uniphier
mach-ux500
mach-versatile
mach-vexpress
mach-vt8500
mach-w90x900 treewide: replace #include <asm/sizes.h> with #include <linux/sizes.h> 2019-05-14 19:52:52 -07:00
mach-zx
mach-zynq clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
mm ARM development updates: 2019-05-16 09:41:54 -07:00
net
nwfpe
oprofile
plat-iop
plat-omap Remove MODULE_ALIAS() calls that take undefined macro 2019-05-07 21:50:24 +09:00
plat-orion
plat-pxa
plat-samsung
plat-versatile
probes
tools uapi: Wire up the mount API syscalls on non-x86 arches [ver #2] 2019-05-16 12:23:45 -04:00
vdso ARM development updates: 2019-05-16 09:41:54 -07:00
vfp
xen xen/arm: Use p2m entry with lock protection 2019-04-30 11:26:08 -07:00
Kconfig ARM: SoC platform updates 2019-05-16 08:31:32 -07:00
Kconfig-nommu
Kconfig.debug ARM: SoC platform updates 2019-05-16 08:31:32 -07:00
Makefile ARM development updates: 2019-05-16 09:41:54 -07:00