From: Tony Lindgren <tony@atomide.com>
To: Adam Ford <aford173@gmail.com>
Cc: Paul Walmsley <paul@pwsan.com>,
linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 10/14] ARM: OMAP2+: Remove legacy data from hwmod for omap3
Date: Tue, 14 Feb 2017 09:47:11 -0800 [thread overview]
Message-ID: <20170214174710.GK21809@atomide.com> (raw)
In-Reply-To: <20170214174446.GJ21809@atomide.com>
* Tony Lindgren <tony@atomide.com> [170214 09:46]:
> * Adam Ford <aford173@gmail.com> [170214 09:01]:
> > On Fri, Nov 11, 2016 at 1:17 PM, Tony Lindgren <tony@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.
>
> Oh OK sorry about that.
>
> > 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.
>
> That's all there is to it :) You must have missed some part of it.
> Below is a fix that seems to work for me, care to test?
>
> --- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
> +++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
> @@ -1946,6 +1946,7 @@ static struct omap_hwmod_ocp_if omap3xxx_dss__l3 = {
> };
>
> /* l3_core -> usbhsotg interface */
> +
> static struct omap_hwmod_ocp_if omap3xxx_usbhsotg__l3 = {
> .master = &omap3xxx_usbhsotg_hwmod,
> .slave = &omap3xxx_l3_main_hwmod,
This extra line should not be there, will remove.
Tony
WARNING: multiple messages have this Message-ID (diff)
From: tony@atomide.com (Tony Lindgren)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 10/14] ARM: OMAP2+: Remove legacy data from hwmod for omap3
Date: Tue, 14 Feb 2017 09:47:11 -0800 [thread overview]
Message-ID: <20170214174710.GK21809@atomide.com> (raw)
In-Reply-To: <20170214174446.GJ21809@atomide.com>
* Tony Lindgren <tony@atomide.com> [170214 09:46]:
> * Adam Ford <aford173@gmail.com> [170214 09:01]:
> > On Fri, Nov 11, 2016 at 1:17 PM, Tony Lindgren <tony@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.
>
> Oh OK sorry about that.
>
> > 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.
>
> That's all there is to it :) You must have missed some part of it.
> Below is a fix that seems to work for me, care to test?
>
> --- a/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
> +++ b/arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
> @@ -1946,6 +1946,7 @@ static struct omap_hwmod_ocp_if omap3xxx_dss__l3 = {
> };
>
> /* l3_core -> usbhsotg interface */
> +
> static struct omap_hwmod_ocp_if omap3xxx_usbhsotg__l3 = {
> .master = &omap3xxx_usbhsotg_hwmod,
> .slave = &omap3xxx_l3_main_hwmod,
This extra line should not be there, will remove.
Tony
next prev parent reply other threads:[~2017-02-14 17:47 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-11 19:16 [PATCH 00/14] Drop some unused omap platform_data Tony Lindgren
2016-11-11 19:16 ` Tony Lindgren
2016-11-11 19:16 ` [PATCH 01/14] ARM: OMAP2+: Remove legacy serial.c Tony Lindgren
2016-11-11 19:16 ` Tony Lindgren
2016-11-11 19:16 ` [PATCH 02/14] ARM: OMAP2+: Remove legacy i2c.c platform init code Tony Lindgren
2016-11-11 19:16 ` Tony Lindgren
2016-11-11 19:17 ` [PATCH 03/14] ARM: OMAP2+: Remove legacy PM init Tony Lindgren
2016-11-11 19:17 ` Tony Lindgren
2016-11-11 19:17 ` [PATCH 04/14] ARM: OMAP2+: Remove legacy twl4030 platform init code Tony Lindgren
2016-11-11 19:17 ` Tony Lindgren
2016-11-11 19:17 ` [PATCH 05/14] ARM: OMAP2+: Remove legacy usb-host.c " Tony Lindgren
2016-11-11 19:17 ` Tony Lindgren
2016-11-11 19:17 ` [PATCH 06/14] ARM: OMAP2+: Remove legacy muxing for usb-tusb6010.c Tony Lindgren
2016-11-11 19:17 ` Tony Lindgren
2016-11-11 19:17 ` [PATCH 07/14] ARM: OMAP2+: Remove legacy usb-musb.c platform init code Tony Lindgren
2016-11-11 19:17 ` Tony Lindgren
2016-11-11 19:17 ` [PATCH 08/14] ARM: OMAP2+: Remove legacy hwmod mux code Tony Lindgren
2016-11-11 19:17 ` Tony Lindgren
2016-11-11 19:17 ` [PATCH 10/14] ARM: OMAP2+: Remove legacy data from hwmod for omap3 Tony Lindgren
2016-11-11 19:17 ` Tony Lindgren
2017-02-14 16:59 ` Adam Ford
2017-02-14 16:59 ` Adam Ford
2017-02-14 17:44 ` Tony Lindgren
2017-02-14 17:44 ` Tony Lindgren
2017-02-14 17:47 ` Tony Lindgren [this message]
2017-02-14 17:47 ` Tony Lindgren
2017-02-14 17:56 ` Adam Ford
2017-02-14 17:56 ` Adam Ford
2016-11-11 19:17 ` [PATCH 11/14] ARM: OMAP2+: Remove legacy smsc911x and smc91x GPMC support Tony Lindgren
2016-11-11 19:17 ` Tony Lindgren
2016-11-11 19:17 ` [PATCH 12/14] ARM: OMAP2+: Remove legacy board-flash.c Tony Lindgren
2016-11-11 19:17 ` Tony Lindgren
2016-11-11 19:17 ` [PATCH 13/14] ARM: OMAP2+: Drop legacy ads7846 init Tony Lindgren
2016-11-11 19:17 ` Tony Lindgren
2016-11-11 19:17 ` [PATCH 14/14] ARM: OMAP2+: Drop legacy sdram timings Tony Lindgren
2016-11-11 19:17 ` Tony Lindgren
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170214174710.GK21809@atomide.com \
--to=tony@atomide.com \
--cc=aford173@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=paul@pwsan.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.