[PATCH 10/14] ARM: OMAP2+: Remove legacy data from hwmod for omap3

Adam Ford aford173 at gmail.com
Tue Feb 14 08:59:42 PST 2017


On Fri, Nov 11, 2016 at 1:17 PM, Tony Lindgren <tony at atomide.com> wrote:
> This data is now coming from device tree so we can remove the
> duplicate data. Let's keep the DSS and DMA related things for now
> until those have been converted to device tree completely.
>
> While at it, let's also add the trailing commas to data structures
> so further processing with scripts will be a bit easier.
>
Tony,

I am having some errors with this patch.

Smartreflex on a DM3730 drops a few errors:

[    1.209747] smartreflex smartreflex.0: invalid resource
[    1.215301] smartreflex smartreflex.0: omap_sr_probe: ioremap fail
[    1.221832] smartreflex smartreflex.1: invalid resource
[    1.227294] smartreflex smartreflex.1: omap_sr_probe: ioremap fail
[    1.233856] sr_init: platform driver register failed for SR

I used Git bisect to narrow it down to this patch, and I confirmed it
manually.  Sorry it took so long to get feedback on this, but I was on
vacation.

I attempted to just add back the smartreflex stuff for the omap36xx,
but that didn't work.  I am going to assume something is missing or
wrong in the device tree, but I could be wrong. If you  have any
suggestions before I go down a rabbit hole, I am open for ideas.

adam


> Cc: Paul Walmsley <paul at pwsan.com>
> Signed-off-by: Tony Lindgren <tony at atomide.com>
> ---
>  .../omap_hwmod_2xxx_3xxx_interconnect_data.c       | 149 +---
>  .../mach-omap2/omap_hwmod_2xxx_3xxx_ipblock_data.c | 201 +-----
>  .../mach-omap2/omap_hwmod_2xxx_interconnect_data.c |   4 -
>  arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c |   1 -
>  arch/arm/mach-omap2/omap_hwmod_3xxx_data.c         | 787 +--------------------
>  arch/arm/mach-omap2/omap_hwmod_common_data.h       |  15 -
>  6 files changed, 43 insertions(+), 1114 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_interconnect_data.c b/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_interconnect_data.c
> --- a/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_interconnect_data.c
> +++ b/arch/arm/mach-omap2/omap_hwmod_2xxx_3xxx_interconnect_data.c
> @@ -17,156 +17,11 @@
>
[ Stuff Deleted]

> --
> 2.10.2
>
> _______________________________________________
> linux-arm-kernel mailing list
> linux-arm-kernel at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-arm-kernel



More information about the linux-arm-kernel mailing list