Commit Graph

5 Commits

Author SHA1 Message Date
David Collins 253ec77614 bif: bif-core: add BIF NVM object writing support
Add a function to the bif-core driver which provides a means to
write new BIF data objects into the non-volatile memory (NVM)
of a BIF slave.  Also add functions which can be used to
overwrite or delete an existing BIF object.

Change-Id: I6cd48409c696bd60a4d52b0fac8782c58d744df1
Signed-off-by: David Collins <collinsd@codeaurora.org>
2013-10-10 13:29:46 -07:00
David Collins 5bfb07eada bif: bif-core: add BIF object matching support
Update the BIF slave matching criteria so that BIF consumer
drivers can find BIF slaves which contain BIF objects of a
certain type.  Also add functions which allow consumers to get
handles for the BIF objects which match specified search
criteria.

Change-Id: Ice7042ecb3829db8f5601d91940c5f7bef383d3d
Signed-off-by: David Collins <collinsd@codeaurora.org>
2013-10-10 13:29:45 -07:00
David Collins 356ab1e444 bif: bif-core: add support for BIF slave NVM read and write
Add support for reading and writing the non-volatile memory (NVM)
of BIF slaves.

Change-Id: Ie422ec57327102584bab2b039a733505320b065b
Signed-off-by: David Collins <collinsd@codeaurora.org>
2013-10-10 13:29:44 -07:00
David Collins d53a2a36f3 bif: bif-core: add auto task triggering support
Add support in the bif-core driver for enabling and disabling
automatic task triggering for specified tasks.  One example of
auto task triggering is the periodic polling method employed by
the BIF slave temperature function to check for high or low
temperature conditions.

Change-Id: If01071debd430c084be344549ecf2e8b281d4e05
Signed-off-by: David Collins <collinsd@codeaurora.org>
2013-10-10 13:29:41 -07:00
David Collins aee00183ab Documentation: Add documentation for the MIPI-BIF framework
Add a documentation file which provides an overview of the
MIPI-BIF hardware interface as well as the API provided in the
Linux kernel for MIPI-BIF communication.

Change-Id: I25d26753d89c069e3cc8c2435401433b24131ce3
Signed-off-by: David Collins <collinsd@codeaurora.org>
2013-09-04 16:14:56 -07:00