* Re: Using firmware interface to write configuration blob to MMR space [not found] <55DCB985.10700@ti.com> @ 2015-08-25 20:12 ` Murali Karicheri 2015-08-25 22:57 ` Ben Hutchings 0 siblings, 1 reply; 3+ messages in thread From: Murali Karicheri @ 2015-08-25 20:12 UTC (permalink / raw) To: linux-firmware; +Cc: Kwok, WingMan, linux-kernel 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Using firmware interface to write configuration blob to MMR space 2015-08-25 20:12 ` Using firmware interface to write configuration blob to MMR space Murali Karicheri @ 2015-08-25 22:57 ` Ben Hutchings 2015-08-26 14:31 ` Murali Karicheri 0 siblings, 1 reply; 3+ messages in thread From: Ben Hutchings @ 2015-08-25 22:57 UTC (permalink / raw) To: Murali Karicheri, linux-firmware; +Cc: Kwok, WingMan, linux-kernel [-- 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 --] ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Using firmware interface to write configuration blob to MMR space 2015-08-25 22:57 ` Ben Hutchings @ 2015-08-26 14:31 ` Murali Karicheri 0 siblings, 0 replies; 3+ messages in thread From: Murali Karicheri @ 2015-08-26 14:31 UTC (permalink / raw) To: Ben Hutchings, linux-firmware; +Cc: Kwok, WingMan, linux-kernel 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-08-26 14:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <55DCB985.10700@ti.com>
2015-08-25 20:12 ` Using firmware interface to write configuration blob to MMR space Murali Karicheri
2015-08-25 22:57 ` Ben Hutchings
2015-08-26 14:31 ` Murali Karicheri
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox