Skip to content

mach/io.h cleanup and removal

Tony Lindgren linux-arm-kernel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 15 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 15 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/15] mach/io.h cleanup and removal
Quoted 15 lines · Rob Herring
Quoted 14 lines · Tony Lindgren
Quoted 3 lines · Rob Herring
 arch/arm/mach-at91/include/mach/at91_io.h         |   44 +++++++++++++++++
 arch/arm/mach-at91/include/mach/at91sam9_ddrsdr.h |    2 +
 arch/arm/mach-at91/include/mach/at91sam9_sdramc.h |    2 +

...

Quoted 5 lines
 arch/arm/mach-msm/include/mach/msm_iomap-7x00.h   |    6 ++
 arch/arm/mach-msm/include/mach/msm_iomap-7x30.h   |    4 ++
 arch/arm/mach-msm/include/mach/msm_iomap-8960.h   |    4 ++
 arch/arm/mach-msm/include/mach/msm_iomap-8x50.h   |    4 ++
 arch/arm/mach-msm/include/mach/msm_iomap-8x60.h   |    4 ++

...

Considering the naming above..

Quoted 8 lines
Quoted 3 lines
Quoted 1 line
 arch/arm/mach-tegra/include/mach/iomap.h          |   48 ++++++++++++++++++

..should this be called tegra-iomap.h instead?

Probably, but it's not a new header. Fixing include paths or names is a separate problem when we start having multiple mach include directories. Perhaps we can get them removed altogether before we have to start renaming. Much of it is device addresses that will go in dts files.

Yes should be just the legacy drivers needing this for most part, so that's currently most of omap1 drivers for us.

Anyways I'm using plat/omap-iomap.h for the name, so if somebody has better ideas for naming to avoid further search and replace later on, let me know.

I guess in the long run we could have

#include <mach-omap1/iomap.h>

instead of

#include <plat/omap-iomap.h>

as the plat can't be used for multi-subarch builds.

Regards,

Tony