Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1213301 > unrolled thread

Re: Using firmware interface to write configuration blob to MMR space

Started byMurali Karicheri <m-karicheri2@ti.com>
First post2015-08-25 22:20 +0200
Last post2015-08-26 16:40 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Using firmware interface to write configuration blob to MMR space Murali Karicheri <m-karicheri2@ti.com> - 2015-08-25 22:20 +0200
    Re: Using firmware interface to write configuration blob to MMR  space Ben Hutchings <ben@decadent.org.uk> - 2015-08-26 01:00 +0200
      Re: Using firmware interface to write configuration blob to MMR space Murali Karicheri <m-karicheri2@ti.com> - 2015-08-26 16:40 +0200

#1213301 — Re: Using firmware interface to write configuration blob to MMR space

FromMurali Karicheri <m-karicheri2@ti.com>
Date2015-08-25 22:20 +0200
SubjectRe: Using firmware interface to write configuration blob to MMR space
Message-ID<q1sRl-ky-25@gated-at.bofh.it>
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.
>


-- 
Murali Karicheri
Linux Kernel, Keystone
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [next] | [standalone]


#1213420 — Re: Using firmware interface to write configuration blob to MMR space

FromBen Hutchings <ben@decadent.org.uk>
Date2015-08-26 01:00 +0200
SubjectRe: Using firmware interface to write configuration blob to MMR space
Message-ID<q1vma-422-7@gated-at.bofh.it>
In reply to#1213301

[Multipart message — attachments visible in raw view] — view raw

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.

[toc] | [prev] | [next] | [standalone]


#1213927

FromMurali Karicheri <m-karicheri2@ti.com>
Date2015-08-26 16:40 +0200
Message-ID<q1K1Q-8vu-35@gated-at.bofh.it>
In reply to#1213420
On 08/25/2015 06:57 PM, Ben Hutchings wrote:
> 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,

Thanks for your quick response. Ok, we will use request_firmware() in 
this case.

Thanks
-- 
Murali Karicheri
Linux Kernel, Keystone
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web