ARM: omap1: move some headers to include/linux/soc
authorArnd Bergmann <arnd@arndb.de>
Tue, 6 Aug 2019 13:24:58 +0000 (15:24 +0200)
committerArnd Bergmann <arnd@arndb.de>
Thu, 21 Apr 2022 13:01:02 +0000 (15:01 +0200)
commit1e9ca7c811f76b16c7822ad009b6b0c352227a15
treea580724e315072b3d04e9bc66cd5764f7b09dd7c
parente8e77e97507bf3ec5419b8067d242b538cf75cba
ARM: omap1: move some headers to include/linux/soc

There are three remaining header files that are used by omap1
specific device drivers:

- mach/soc.h provides cpu_is_omapXXX abstractions
- mach/hardware.h provides omap_read/omap_write functions
  and physical addresses
- mach/mux.h provides an omap specific pinctrl abstraction

This is generally not how we do platform abstractions today,
and it would be good to completely get rid of these in favor
of passing information through platform devices and the pinctrl
subsystem.

However, given that nobody is working on that, just move it
one step forward by splitting out the header files that are
used by drivers today from the machine headers that are only
used internally.

Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-omap1/board-ams-delta.c
arch/arm/mach-omap1/include/mach/hardware.h
arch/arm/mach-omap1/include/mach/memory.h
arch/arm/mach-omap1/include/mach/mux.h
arch/arm/mach-omap1/soc.h
arch/arm/plat-omap/dma.c
include/linux/soc/ti/omap1-io.h [new file with mode: 0644]
include/linux/soc/ti/omap1-mux.h [new file with mode: 0644]
include/linux/soc/ti/omap1-soc.h [moved from arch/arm/mach-omap1/include/mach/soc.h with 90% similarity]