]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
soc: ti: add firmware file name as part of the driver
authorMurali Karicheri <m-karicheri2@ti.com>
Tue, 13 Oct 2015 20:49:04 +0000 (13:49 -0700)
committerSantosh Shilimkar <ssantosh@kernel.org>
Tue, 13 Oct 2015 20:49:04 +0000 (13:49 -0700)
commit96ee19becc3bd7b2cebae5828c3eacfebb50b993
tree73603a2b96a9dec191bcebc10caf5131153c47e3
parent29204a8272aae490a1dd252e48e55ca235c3959c
soc: ti: add firmware file name as part of the driver

Currently firmware file name is included in the DTS. This is not scalable
as user has to change the DTS if they need upgrade to a new firmware.
Instead, add the firmware file name in the driver itself. As long as there
is no API change, new firmware upgrade is easy and require no driver
change. User is expected to copy the firmware image to the file system
and add a sym link to the new firmware for doing an upgrade. Driver add
a array of firmware file names to search for the available firmware blobs.
This scheme also prepare the driver for future changes to API if ever
happens. In such case it is assumed that driver needs to change to
accommodate the new firmware and new firmware file name will get added to
the array.

Also update the DT document to remove the firmware attribute and add
description about firmware in the driver documentation.

Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
Documentation/arm/keystone/knav-qmss.txt
Documentation/devicetree/bindings/soc/ti/keystone-navigator-qmss.txt
drivers/soc/ti/knav_qmss.h
drivers/soc/ti/knav_qmss_queue.c