mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ben Hutchings <ben@decadent.org.uk>
To: Murali Karicheri <m-karicheri2@ti.com>, linux-firmware@kernel.org
Cc: "Kwok, WingMan" <w-kwok2@ti.com>, linux-kernel@vger.kernel.org
Subject: Re: Using firmware interface to write configuration blob to MMR space
Date: Tue, 25 Aug 2015 23:57:46 +0100	[thread overview]
Message-ID: <1440543466.26026.5.camel@decadent.org.uk> (raw)
In-Reply-To: <55DCCC35.9060305@ti.com>

[-- Attachment #1: Type: text/plain, Size: 1005 bytes --]

On Tue, 2015-08-25 at 16:12 -0400, Murali Karicheri wrote:
> On 08/25/2015 02:52 PM, Murali Karicheri wrote:
> > All,
> > 
> > One of our SoC integrates a hardware block from a hardware vendor. The
> > vendor has provided a configuration blob that is used to customize the
> > hardware block for a specific application. This configuration blob is to
> > be written to the MMR space to customize the hardware. The vendor is not
> > willing to provide details of the registers. So I am wondering if I
> > could use the firmware API (request_firmware) to copy the blob to the
> > kernel space so that driver could write these values to the MMR space.
> > Is this an acceptable way of using the firmware interface? My research
> > so far doesn't see the interface used this way and looking for your
> > expert opinion.

I think this would be an entirely reasonable use of request_firmware().

Ben.

-- 
Ben Hutchings
If you seem to know what you are doing, you'll be given more to do.


[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 811 bytes --]

  reply	other threads:[~2015-08-25 22:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <55DCB985.10700@ti.com>
2015-08-25 20:12 ` Murali Karicheri
2015-08-25 22:57   ` Ben Hutchings [this message]
2015-08-26 14:31     ` Murali Karicheri

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=1440543466.26026.5.camel@decadent.org.uk \
    --to=ben@decadent.org.uk \
    --cc=linux-firmware@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=m-karicheri2@ti.com \
    --cc=w-kwok2@ti.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

all inboxes | Powered by JetHome®