| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
Mark all stub functions in the BIF consumer.h header file with
'static inline' in order to avoid compilation errors in files
that include consumer.h when CONFIG_BIF=n.
Change-Id: I3a5c7dc58f8eed93b1f30d0e021b65ab200b4271
Signed-off-by: David Collins <collinsd@codeaurora.org>
|
|
|
Add a BIF framework which implements core features of the MIPI
(Mobile Industry Processor Interace) BIF (Battery Interface)
specification. MIPI-BIF defines an interface which can be used
to communicate with smart battery packs.
BIF controller drivers register with the BIF framework and
implement hardware specific features. BIF consumers can make use
of an extensive API to communicate with BIF slaves present on a
BIF bus.
Change-Id: Id640344aadf878a49e93b12b16a5ecb181dd5aeb
Signed-off-by: David Collins <collinsd@codeaurora.org>
|