devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rob Herring <robherring2@gmail.com>
To: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Grant Likely <grant.likely@secretlab.ca>,
	devicetree-discuss@lists.ozlabs.org
Subject: Re: HOWTO Undo/Revert of_platform_populate?
Date: Thu, 07 Mar 2013 18:07:53 -0600	[thread overview]
Message-ID: <51392BD9.4010209@gmail.com> (raw)
In-Reply-To: <CAPybu_3LfWLYLSn52dgFDuBTASLvQ0_XWsywH=Avpma+4s921g@mail.gmail.com>

On 03/07/2013 04:32 AM, Ricardo Ribalda Delgado wrote:
> Hi
> 
> I have an FPGA attached to the pci bus. The FPGA has an internal bus
> with multiple cores that are already supported in the kernel.
> 
> I have made a driver that populates those cores using a user provided
> device tree. I use the function of_platform_populate for that.
> 
> All this is working fine, but now I need a method to undo what
> of_platform_populate does when the fpga is reprogrammed.
> 
> I haven't found any function that does this in the api.
> 
> Before implementing my own I would like to know if am I missing something?

It's not possible in the current kernel. You need DT overlay support
that was posted recently.

Rob

  reply	other threads:[~2013-03-08  0:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-07 10:32 HOWTO Undo/Revert of_platform_populate? Ricardo Ribalda Delgado
2013-03-08  0:07 ` Rob Herring [this message]
     [not found]   ` <51392BD9.4010209-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2013-04-15 13:40     ` Grant Likely

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=51392BD9.4010209@gmail.com \
    --to=robherring2@gmail.com \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=grant.likely@secretlab.ca \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ricardo.ribalda@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).